TRK file structure
Definition
Geometry length
int |
0 |
0 |
2048
|
Empty line
|
Empty line
|
Geometry
|
Tuples?
|
Empty line
|
Stunts table?
|
Empty line
|
Textures
|
Empty line
|
?
|
Empty line
|
Geometry
Track geometry.
int
|
int
|
int
|
int
|
int
|
int
|
int
|
Yaw rotation, clockwise (°)
float
|
Pitch rotation, upwards (°)
float
|
Roll rotation, clockwise (°)
float
|
int
|
int
|
int
|
int
|
Track grip
int
|
int
|
Banking grip
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
float
|
float
|
float
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
int
|
Empty line
|
...
|
Tuples?
Empty on some tracks.
Stunts table?
Empty on some tracks.
Geometry index?
int |
int |
int |
int |
int |
int |
int |
int |
int |
int
|
...
|
-1
|
Textures
Texture file
TEX:<DRH file>
|
Building texture file
BLD:<DRH file>
|
BACKS:
|
int |
int
|
...
|
|
-1
|
?
Not present on some tracks.
int
|
int |
int |
int |
int |
int |
int
|
float |
int |
float
|
Values
Grip
Effects
Bonus 7
- Swapping yaw and pitch: loop
- Swapping yaw and roll: twisting line
- Swapping yaw and pitch, roll 90.00000: vertical ring to the left
- Swapping yaw and pitch, negative pitch: turnright