Difference between revisions of "Texture Dictionary (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
  
 
'''Texture Dictionary''' is usually the root section of [[texture archive|TXD files]], thus it only contains child sections, no data. It is normally accompanied by a [[Struct (RW Section)#Texture_Dictionary|Struct]] section.
 
'''Texture Dictionary''' is usually the root section of [[texture archive|TXD files]], thus it only contains child sections, no data. It is normally accompanied by a [[Struct (RW Section)#Texture_Dictionary|Struct]] section.
 +
 +
<source lang="c">typedef struct txd_file_s {
 +
uint32_t id;              // 0x16 (22)
 +
uint32_t chunk_size        // file_size - 12
 +
uint32_t marker;
 +
uint8_t  data[chunk_size];
 +
} txd_file_t;</source>

Revision as of 10:03, 30 August 2010

{{{NAME}}}
RenderWare Stream Section
Vendor {{{VENDORNAME}}}
Module {{{MODULENAME}}}
Module ID 0x{{{MODULEID}}}
Identifier 0x{{{IDENTIFIER}}}
Chunk ID 0x{{{MODULEID}}}{{{IDENTIFIER}}}
Versions All
Hierarchy
Parents:
None
Children:
None
Extensions:
None
File Format

Texture Dictionary is usually the root section of TXD files, thus it only contains child sections, no data. It is normally accompanied by a Struct section.

typedef struct txd_file_s {
 uint32_t id;               // 0x16 (22)
 uint32_t chunk_size        // file_size - 12
 uint32_t marker;
 uint8_t  data[chunk_size];
} txd_file_t;