Struct (RW Section)

From GTAMods Wiki
Revision as of 10:04, 30 August 2010 by Jyrno42 (talk | contribs) (Texture Dictionary)
Jump to navigation Jump to search
40px-Ambox rewrite orange.svg.png This article may need to be rewritten.
Please help improve this article. The discussion page may contain suggestions.
{{{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

Struct sections are multiple purpose sections, in most cases their content depends on the type of their parent section:

Atomic

- coming soon -

Clump

This section contained slightly wrong information and needs to be rewritten. For more information see the discussion page

Frame List

See main article: Frame List Struct

Geometry

See main article: Geometry Struct

Geometry List

See main article: Geometry List Struct

Material

- coming soon -

Material List

- coming soon -

Texture

- coming soon -

Texture Dictionary

typedef struct txd_info_s {
 uint32_t id;               // 0x01 (1)
 uint32_t chunk_size;       // 0x04 (4)
 uint32_t marker;
 uint16_t count;            // number of textures in the dictionary
 uint16_t unknown;
} txd_info_t;

Texture Native

See main article: Texture Native Struct

Tools & Scripts