Texture Dictionary: Difference between revisions

From Burnout Wiki
Content added Content deleted
mNo edit summary
No edit summary
Line 8: Line 8:
! Type
! Type
! Value
! Value
! Notes
|-
|-
| 0x00 || File magic (<code>TEXDIC</code>)|| GtID || <tt>0x00003C5481EDDEBC ||
| 0x00 || File magic (<code>TEXDIC</code>)|| GtID || <tt>0x00003C5481EDDEBC
|-
|-
| 0x08 || Texture count || UInt8 || ||
| 0x08 || Texture count in hex || UInt8 ||
|-
| 0x10 || Array of texture entries || [[Texture_Dictionary#Texture_Entry|Texture Entry]][] ||
|-
|-
|}
|}
Line 23: Line 24:
! Type
! Type
! Value
! Value
! Notes
|-
|-
| 0x00 || Index || UInt8 || ||
| 0x00 || Index || UInt8 ||
|-
|-
| 0x08 || Texture pointer || Texture* || ||
| 0x08 || Texture pointer || Texture* ||
|}
|}

Revision as of 00:42, 8 March 2021

The Texture Dictionary container format is used to store a collection of textures. It uses the extension .TXD.

Header

Offset Name Type Value
0x00 File magic (TEXDIC) GtID 0x00003C5481EDDEBC
0x08 Texture count in hex UInt8
0x10 Array of texture entries Texture Entry[]

Texture Entry

Offset Name Type Value
0x00 Index UInt8
0x08 Texture pointer Texture*