Static Track Data

Revision as of 10:02, 3 September 2022 by Edness (talk | contribs) (→‎Versions: 0x25 was last modified in 2004-06-01, and 0x26 ranges from 2004-06-03 - 2004-06-22)

This container format is used to store textures and mesh data in all games from Takedown to Dominator. It uses the filename STATIC.DAT.

Versions

Version
0x21 0x25 0x26 0x27 0x30 0x32 0x34 0x3C 0x3E
Date Apr 2004 May 2004 Jun 2004 Jul 2004
???
May 2005 Jul 2005 Feb 2006 Jan 2007
Games Takedown (Early Demo) Takedown (Preview Build) Takedown
Legends
Dominator(PSP) Revenge (Early Demo)
Revenge (Alpha 7 Build)
Revenge(PS2/Xbox) Revenge(360) Dominator(PS2)

Layout (Version 0x34)

Header

Offset Name Type Value Notes
0x00 Version number int 0x34
0x04 File size (bytes) uint
0x08 Materials Track Material*[] Pointer to an array of Track Materials
0x0C Material count int16
0x0E Animated material count int16
0x10 Animated material indices int16*
0x16 Texture count 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 Collision Tree*
0x54 Hull count int16
0x58 Stream seek offsets (1P) Seek Data*[]
0x5C Stream seek offsets (2P) Seek Data*[]