Texture Dictionary: Difference between revisions

From Burnout Wiki
Content added Content deleted
(Created page with "The '''Texture Dictionary''' container format is used to store a collection of textures. It uses the extension <code>.TXD</code>. = Header = {|class="wikitable |- ! Offset !...")
 
m (minor touchups)
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
! Type
! Type
! Value
! Value
! Notes
|-
|-
| 0x00 || File magic (<code>TEXDIC</code>)|| GtID || <tt>0x00003C5481EDDEBC ||
| 0x00 || Dictionary ID || [[GtID]] || <tt>0x00003C5481EDDEBC (<code>TEXDIC</code>)
|-
|-
| 0x08 || Texture count || UInt8 || ||
| 0x08 || Entry count (hex) || uint8 ||
|-
| 0x10 || Entries offset|| Entry*[] ||
|-
|-
|}
|}


= Texture Entry =
= Entry =
{|class="wikitable
{|class="wikitable
|-
|-
Line 23: Line 24:
! Type
! Type
! Value
! Value
! Notes
|-
|-
| 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