Static Track Data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4:
{| class="wikitable"
! rowspan="2" |
! colspan="56" | Version
|-
! 0x21 || 0x26 || 0x27 || 0x30 || 0x32 || 0x34
|-
| Date || Apr 2004 || May 2004 || Jul 2004 || May 2005 || Jul 2005
|-
| Games || Takedown (Early Demo) || Takedown (Preview Build) || Takedown<br>Legends<br>Dominator<sup>(PSP)</sup> || Revenge (Early Demo)<br>Revenge (Alpha 7 Build) || Revenge<br>Dominator<sup>(PS2)</sup>
|}
 
= Layout (Version 0x34) =
= Header =
=== Version 0x27Header ===
{| class="wikitable"
|-
Line 23:
! Notes
|-
| 0x00 || Version number || UInt32int || 0x270x32 ||
|-
| 0x04 || File size (bytes) || UInt32uint || ||
|-
| 0x08 || Materials || Track Material*[] || || Pointer to an array of Track Materials
| 0x08 || Texture-related || * || || Possibly UV map data, as zeroing this out results in none of the file's textures being drawn to the track
|-
| 0x160x0C || TextureMaterial count || UInt16int16 || ||
|-
| 0x0E || Animated material count || int16 || ||
|-
| 0x10 || Animated material indices || int16* || ||
|-
| 0x600x16 || Texture offsetscount || Texture*[]int16 || ||
|-
| 0x18 || Textures || word* || Pointer to an array of Texture offsets
|-
| 0x1C || Backdrop count || int16 || ||
|-
| 0x1E || Chevron count || int16 || ||
|-
| 0x20 || Water count || int16 || ||
|-
| 0x22 || Reflection count || int16 || ||
|-
| 0x24 || Backdrops || Backdrop Object*[] || || Pointer to an array of Backdrop Objects
|-
| 0x28 || Chevrons || Chevron*[] || ||
|-
| 0x2C || Water || Water*[] || ||
|-
| 0x30 || Reflections || Reflection*[] || ||
|-
| 0x34 || Instance count || int16 || ||
|-
| 0x38 || Instances || Track Instance*[] || || Pointer to an array of Track Instances
|-
| 0x3C || Prop geometry || Prop Geometry*[] || || Pointer to an array of Prop Geometry
|-
| 0x40 || Prop type count || int || ||
|-
| 0x44 || First payload prop type index || int || ||
|-
| 0x48 || Prop instance count || int || ||
|-
| 0x4C || Prop types || Prop Type*[] || || Pointer to an array of Prop Types
|-
| 0x50 || Collision tree offset || [[Streamed_Track_Data#Collision_Tree|Collision Tree]]* || ||
|-
| 0x54 || Hull count || int16 || ||
|-
| 0x58 || Stream seek offsets (1P) || Seek Data*[] || ||
|-
| 0x5C || Stream seek offsets (2P) || Seek Data*[] || ||
|-
| 0x60 || Texture offsets || Texture*[] || ||
|}