Difference between revisions of "TBL File Format in KCD"

From Nexus Mods Wiki
Jump to: navigation, search
m (moved KCD TBL File Format to TBL File Format in KCD: Ensuring a better alpha order of articles)
m (Top-Level File Format: Add info about string data)
Line 6: Line 6:
 
!Type
 
!Type
 
|-
 
|-
|0
+
|<code>0</code>
 
|Header
 
|Header
 
|Header
 
|Header
 
|-
 
|-
|28
+
|<code>28</code>
 
|Rows
 
|Rows
 
|Type Depends On Table Structure, count is <code>Line Count</code> in <code>Header</code>
 
|Type Depends On Table Structure, count is <code>Line Count</code> in <code>Header</code>
 +
|-
 +
|<code>28 + line size * line count</code>
 +
|String Data
 
|}
 
|}
  

Revision as of 10:14, 26 February 2018

Top-Level File Format

Offset Name Type
0 Header Header
28 Rows Type Depends On Table Structure, count is Line Count in Header
28 + line size * line count String Data

Header Format

Offset Name Type
0 File Format Version 32-bit signed int
4 Descriptors Hash 32-bit unsigned int
8 Layout Hash 32-bit unsigned int
12 Table Version 32-bit signed int
16 Line Count 32-bit signed int
20 String Data Size 32-bit signed int
24 Unique String Count 32-bit signed int