BNTX

From ZeldaMods (Breath of the Wild)
Revision as of 18:42, 1 September 2022 by Arch Leaders (talk | contribs) (Add some more header data offsets)
Jump to navigation Jump to search

Header

Header Specification
Offset Size Data Type Description
0x00 4 Bytes BNTX File Signature (magic) 42 4E 54 58
0x04 4 UInt32 4 bytes of padding
0x08 4 Bytes 4 byte version where each byte is a version increment. (00 40 00 FF - 0.4.0.0
0x0C 2 Bytes Endianess. FFFE (LE) : FEFF (BE)
0x0E 1 Byte Alignment
0x0F 1 Byte Target Address Size
0x10 4 UInt32 File Name Offset
0x14 2 UInt16 Flag
0x16 2 UInt16 Block Offset
0x18 4 UInt32 Relocation Table Offset
0x1C 4 UInt32 File Size
0x20 4 Bytes Target platform. (NX )
0x24 4 Int32 Texture Count
0x28 8 Int64 Texture Array Offset
0x30 8 Int64 Texture Data Length
0x38 8 Int64 Texture Resource Offset