BNTX: Difference between revisions

12 bytes removed ,  2 years ago
Fix formatting errors
(Document BNTX sub types (except BNTI for now). Credit to KillzXGaming and Syroot for all the data offsets.)
(Fix formatting errors)
 
Line 92: Line 92:


==String Pool (_STR)==
==String Pool (_STR)==
Stores a list of Strings.


{| class=wikitable
{| class=wikitable
Line 111: Line 109:
|4
|4
|UInt32
|UInt32
|End of String Pool (?)
|End of String Pool. (?)
|-
|-
|<code>0x08</code>
|<code>0x08</code>
|8
|8
|Int64
|Int64
|End of String Pool (?)
|End of String Pool. (?)
|-
|-
|<code>0x10</code>
|<code>0x10</code>
|4
|4
|UInt32
|UInt32
|String Pool Entry Count
|String Pool Entry Count.
|-
|-
|}
|}
Line 170: Line 168:
|4
|4
|Int32
|Int32
|String Dictionary entry count
|String Dictionary entry count.
|-
|-
|<code>0x08</code>
|<code>0x08</code>
|8
|8
|Bytes
|Bytes
|Padding/unknown data
|Padding/unknown data.
|-
|-
|}
|}
Line 192: Line 190:
|4
|4
|UInt32
|UInt32
|Reference
|Reference.
|-
|-
|<code>0x04</code>
|<code>0x04</code>
|2
|2
|UInt16
|UInt16
|Left Index
|Left Index.
|-
|-
|<code>0x06</code>
|<code>0x06</code>
|2
|2
|UInt16
|UInt16
|Right Index
|Right Index.
|-
|-
|<code>0x08</code>
|<code>0x08</code>
|8
|8
|UInt64
|UInt64
|String Pool offset
|String Pool offset.
|-
|-
|}
|}
Line 233: Line 231:
|4
|4
|UInt32
|UInt32
|Position
|Position.
|-
|-
|<code>0x08</code>
|<code>0x08</code>
|4
|4
|UInt32
|UInt32
|Always 2
|Always 2.
|-
|<code>0x0C</code>
|<code>0x0C</code>
|14
|14
|Bytes
|Bytes
|Padding (?)
|Padding. (?)
|-
|-
|}
|}