Difference between revisions of "Struct (RW Section)"
Jump to navigation
Jump to search
m |
(→Texture Dictionary) |
||
| Line 40: | Line 40: | ||
==[[Texture Dictionary (RW Section)|Texture Dictionary]]== | ==[[Texture Dictionary (RW Section)|Texture Dictionary]]== | ||
| − | + | <source lang="c"> | |
| + | 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; | ||
| + | </source> | ||
==[[Texture Native (RW Section)|Texture Native]]== | ==[[Texture Native (RW Section)|Texture Native]]== | ||
Revision as of 10:04, 30 August 2010
| 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:
Contents
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
GTAForums: RW Analyze – by steve-m