Difference between revisions of "Struct (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
(Texture Dictionary)
Line 1: Line 1:
{{File-stub}}
 
{{cleanup-rewrite}}
 
 
 
{{RW Section|Struct|0x0001}}
 
{{RW Section|Struct|0x0001}}
  
'''Struct''' sections are multiple purpose sections, in most cases their content depends on the type of their parent section:
+
'''Struct''' sections are multiple purpose sections. In most cases their content depends on the type of their parent section.
 
 
==[[Atomic (RW Section)|Atomic]]==
 
 
 
''- coming soon -''
 
 
 
==[[Clump (RW Section)|Clump]]==
 
 
 
''This section contained slightly wrong information and needs to be rewritten. For more information see the [[Talk:Struct (RW Section)|discussion page]]''
 
 
 
==[[Frame List (RW Section)|Frame List]]==
 
 
 
''See main article: [[Frame List Struct]]''
 
 
 
==[[Geometry (RW Section)|Geometry]]==
 
 
 
''See main article: [[Geometry Struct]]''
 
 
 
==[[Geometry List (RW Section)|Geometry List]]==
 
 
 
''See main article: [[Geometry List Struct (RW Section)|Geometry List Struct]]''
 
 
 
==[[Material (RW Section)|Material]]==
 
 
 
''- coming soon -''
 
 
 
==[[Material List (RW Section)|Material List]]==
 
 
 
''- coming soon -''
 
 
 
==[[Texture (RW Section)|Texture]]==
 
 
 
''- coming soon -''
 
 
 
==[[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]]==
+
== Types ==
  
''See main article: [[Texture Native Struct]]''
+
* [[Atomic (RW Section)#Structure|Atomic]]
 +
* [[Clump (RW Section)#Structure|Clump]]
 +
* [[Geometry (RW Section)#Structure|Geometry]]
 +
* [[Geometry List (RW Section)#Structure|Geometry List]]
 +
* [[Frame List (RW Section)#Structure|Frame List]]
 +
* [[Material (RW Section)#Structure|Material]]
 +
* [[Material List (RW Section)#Structure|Material List]]
 +
* [[Texture (RW Section)#Structure|Texture]]
 +
* [[Texture Dictionary (RW Section)#Structure|Texture Dictionary]]
 +
* [[Texture Native (RW Section)#Structure|Texture Native]]
  
==Tools & Scripts==
+
== See also ==  
* {{GTAF|128451|RW Analyze}} &ndash; by {{U|steve-m}}
+
* [[RenderWare_binary_stream_file|RW file format specification]]
  
{{SA-navi}}
+
{{N|SA|VC}}
[[Category:3D_File_Formats]]
 

Revision as of 16:29, 29 October 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

Struct sections are multiple purpose sections. In most cases their content depends on the type of their parent section.

Types

See also