Static Track Data: Difference between revisions
Content added Content deleted
AcuteSyntax (talk | contribs) No edit summary |
AcuteSyntax (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
{| class="wikitable" |
{| class="wikitable" |
||
! rowspan="2" | |
! rowspan="2" | |
||
! colspan=" |
! colspan="6" | Version |
||
|- |
|- |
||
! 0x21 || 0x26 || 0x27 || 0x32 || 0x34 |
! 0x21 || 0x26 || 0x27 || 0x30 || 0x32 || 0x34 |
||
|- |
|- |
||
| Date || Apr 2004 || May 2004 || Jul 2004 || May 2005 || Jul 2005 |
| Date || Apr 2004 || May 2004 || Jul 2004 || May 2005 || Jul 2005 |
||
|- |
|- |
||
| Games || Takedown (Early Demo) || Takedown (Preview Build) || Takedown<br>Legends |
| Games || Takedown (Early Demo) || Takedown (Preview Build) || Takedown<br>Legends || Revenge (Early Demo)<br>Revenge (Alpha 7 Build) || Revenge<br>Dominator<sup>(PS2)</sup> |
||
|} |
|} |
||
= Layout (Version 0x34) = |
|||
= Header = |
|||
=== |
=== Header === |
||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|- |
||
Line 23: | Line 23: | ||
! Notes |
! Notes |
||
|- |
|- |
||
| 0x00 || Version number || |
| 0x00 || Version number || int || 0x32 || |
||
|- |
|- |
||
| 0x04 || File size (bytes) || |
| 0x04 || File size (bytes) || uint || || |
||
|- |
|- |
||
| 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 |
|||
|- |
|- |
||
| |
| 0x0C || Material count || int16 || || |
||
|- |
|||
| 0x0E || Animated material count || int16 || || |
|||
|- |
|||
| 0x10 || Animated material indices || 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*[] || || |
|||
|- |
|- |
||
⚫ | |||
|} |
|} |