Texture Dictionary: Difference between revisions

From Burnout Wiki
Content added Content deleted
m (minor touchups)
 
Line 9: Line 9:
! Value
! Value
|-
|-
| 0x00 || File magic (<code>TEXDIC</code>)|| [[GtID]] || <tt>0x00003C5481EDDEBC
| 0x00 || Dictionary ID || [[GtID]] || <tt>0x00003C5481EDDEBC (<code>TEXDIC</code>)
|-
|-
| 0x08 || Texture count in hex || UInt8 ||
| 0x08 || Entry count (hex) || uint8 ||
|-
|-
| 0x10 || Array of texture entries || [[Texture_Dictionary#Texture_Entry|Texture Entry]][] ||
| 0x10 || Entries offset|| Entry*[] ||
|-
|-
|}
|}


= Texture Entry =
= Entry =
{|class="wikitable
{|class="wikitable
|-
|-
Line 25: Line 25:
! Value
! Value
|-
|-
| 0x00 || Index || UInt8 ||
| 0x00 || Index || uint8 ||
|-
|-
| 0x08 || Texture pointer || Texture* ||
| 0x08 || Data offset || GtTexture* ||
|-
| 0x0C || User flags || int ||
|}
|}


[[Category:Formats_(Takedown-Dominator)]]

Latest revision as of 22:15, 5 February 2022

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

Header

Offset Name Type Value
0x00 Dictionary ID GtID 0x00003C5481EDDEBC (TEXDIC)
0x08 Entry count (hex) uint8
0x10 Entries offset Entry*[]

Entry

Offset Name Type Value
0x00 Index uint8
0x08 Data offset GtTexture*
0x0C User flags int