Original Stunts Track-Format

# Original Stunts (4D Sports Driving) Track-Format

A Stunts track-file (*.trk) has 1802 bytes. A Track is composed of 900 (30x30) squares. Each byte represents a square.
At first, from byte 0 to 899 are the Items on the Track located (from left to right and from top to bottom).
Then comes one byte for the skybox (0=desert; 1=tropical; 2=alpine; 3=city; 4=county)
Afterwards (byte 901-1800) the terraininformation beginns. The Squares are ordered from left to right and from bottom to top!
About the last byte I dont't know anything.

### Terrain (Bytes 901-1800)

Hex | Icon | Info
--- | --- | ---
0x00 |  | a flat piece of land at sea level
0x01 |  | a square of water at sea level
0x02 |  | an element of coast, with land on the right, water on the left, and a top left to bottom right division
0x03 |  | an element of coast, with land on the left, water on the right, and a top right to bottom left division
0x04 |  | an element of coast, with land on the left, water on the right, and a top left to bottom right division
0x05 |  | an element of coast, with land on the right, water on the left, and a top right to bottom left division
0x06 |  | a flat piece of land at an elevated level
0x07 |  | a horizontal slope, with the low end at the bottom
0x08 |  | a vertical slope, with the low end on the right
0x09 |  | a horizontal slope, with the low end at the top
0x0a |  | a vertical slope, with the low end on the left
0x0b |  | a diagonal slope with three corners at sea level, the one in the top left being instead elevated
0x0c |  | a diagonal slope with three corners at sea level, the one in the bottom left being instead elevated
0x0d |  | a diagonal slope with three corners at sea level, the one in the bottom right being instead elevated
0x0e |  | a diagonal slope with three corners at sea level, the one in the top right being instead elevated
0x0f |  | a diagonal slope with three corners elevated, the one in the bottom right being instead at sea level
0x10 |  | a diagonal slope with three corners elevated, the one in the top right being instead at sea level
0x11 |  | a diagonal slope with three corners elevated, the one in the top left being instead at sea level
0x12 |  | a diagonal slope with three corners elevated, the one in the bottom left being instead at sea level

### Items (Bytes 0-899)

Hex | Icon | Info
--- | --- | ---
0x00 |  | blank field
0x01 |  |
0x04 |  | a vertical piece of normal road
0x05 |  | a horizontal piece of normal road
0x06 |  | a tight corner of normal road connecting the bottom of a square to the right
0x07 |  | a tight corner of normal road connecting the bottom of a square to the left
0x08 |  | a tight corner of normal road connecting the top of a square to the right
0x09 |  | a tight corner of normal road connecting the top of a square to the left
0x0a |  | a corner of normal road connecting the bottom of a four square area to the right
0x0b |  | a corner of normal road connecting the bottom of a four square area to the left
0x0c |  | a corner of normal road connecting the top of a four square area to the right
0x0d |  | a corner of normal road connecting the top of a four square area to the left
0x0e |  | a vertical piece of dirty road
0x0f |  | a horizontal piece of dirty road
0x10 |  | a tight corner of dirty road connecting the bottom of a square to the right
0x11 |  | a tight corner of dirty road connecting the bottom of a square to the left
0x12 |  | a tight corner of dirty road connecting the top of a square to the right
0x13 |  | a tight corner of dirty road connecting the top of a square to the left
0x14 |  | a corner of dirty road connecting the bottom of a four square area to the right
0x15 |  | a corner of dirty road connecting the bottom of a four square area to the left
0x16 |  | a corner of dirty road connecting the top of a four square area to the right
0x17 |  | a corner of dirty road connecting the top of a four square area to the left
0x18 |  | a vertical piece of icy road
0x19 |  | a horizontal piece of icy road
0x1a |  | a tight corner of icy road connecting the bottom of a square to the right
0x1b |  | a tight corner of icy road connecting the bottom of a square to the left
0x1c |  | a tight corner of icy road connecting the top of a square to the right
0x1d |  | a tight corner of icy road connecting the top of a square to the left
0x1e |  | a corner of icy road connecting the bottom of a four square area to the right
0x1f |  | a corner of icey road connecting the bottom of a four square area to the left
0x20 |  | a corner of icy road connecting the top of a four square area to the right
0x21 |  | a corner of icy road connecting the top of a four square area to the left
0x22 |  | a vertical section of raised road
0x23 |  | a horizontal section of raised road
0x24 |  | a raised ramp, connecting to a rightward raised section
0x25 |  | a raised ramp, connecting to a leftward raised section
0x26 |  | a raised ramp, connecting to an upward raised section
0x27 |  | a raised ramp, connecting to a downward raised section
0x28 |  |
0x29 |  |
0x2a |  |
0x2b |  |
0x2c |  |
0x2d |  |
0x2e |  |
0x2f |  |
0x30 |  |
0x31 |  |
0x32 |  |
0x33 |  |
0x34 |  |
0x35 |  |
0x36 |  |
0x37 |  |
0x38 |  | a bridge, connecting to a rightward raised section
0x39 |  | a bridge, connecting to a leftward raised section
0x3a |  | a bridge, connecting to an upward raised section
0x3b |  | a bridge, connecting to a downward raised section
0x3c |  |
0x3d |  |
0x3e |  |
0x3f |  |
0x40 |  |
0x41 |  |
0x42 |  |
0x43 |  |
0x44 |  |
0x45 |  |
0x46 |  |
0x47 |  |
0x48 |  |
0x49 |  |
0x4a |  | a normal cross road
0x4b |  |
0x4c |  |
0x4d |  |
0x4e |  |
0x4f |  |
0x50 |  |
0x51 |  |
0x52 |  |
0x53 |  |
0x54 |  |
0x55 |  |
0x56 |  |
0x57 |  |
0x58 |  |
0x59 |  |
0x5a |  |
0x5b |  |
0x5c |  |
0x5d |  |
0x5e |  |
0x5f |  | a solid ramp, connecting to a rightward raised section
0x60 |  | a solid ramp, connecting to a leftward raised section
0x61 |  | a solid ramp, connecting to an upward raised section
0x62 |  | a solid ramp, connecting to a downward raised section
0x63 |  | a vertical section of solid road
0x64 |  | a horizontal section of solid road
0x65 |  | a vertical section of elevated span above a horizontal road section
0x66 |  | a horizontal section of elevated span above a vertical road section
0x67 |  | a vertical section of elevated span
0x68 |  | a horizontal section of elevated span
0x69 |  | a raised corner connecting the bottom of a square to the right
0x6a |  | a raised corner connecting the bottom of a square to the left
0x6b |  | a raised corner connecting the top of a square to the right
0x6c |  | a raised corner connecting the top of a square to the left
0x6d |  |
0x6e |  |
0x6f |  |
0x70 |  |
0x71 |  |
0x72 |  |
0x73 |  |
0x74 |  |
0x75 |  |
0x76 |  |
0x77 |  |
0x78 |  |
0x79 |  |
0x7a |  |
0x7b |  |
0x7c |  |
0x7d |  | a dirty cross road
0x7e |  |
0x7f |  |
0x80 |  |
0x81 |  |
0x82 |  |
0x83 |  |
0x84 |  |
0x85 |  |
0x86 |  |
0x87 |  |
0x88 |  |
0x89 |  |
0x8a |  | an icy cross road
0x8b |  |
0x8c |  |
0x8d |  |
0x8e |  |
0x8f |  |
0x90 |  |
0x91 |  |
0x92 |  |
0x93 |  |
0x94 |  |
0x95 |  |
0x96 |  |
0x97 |  |
0x98 |  |
0x99 |  |
0x9a |  |
0x9b |  |
0x9c |  |
0x9d |  |
0x9e |  |
0x9f |  |
0xa0 |  |
0xa1 |  |
0xa2 |  |
0xa3 |  |
0xa4 |  |
0xa5 |  |
0xa6 |  |
0xa7 |  |
0xa8 |  |
0xa9 |  |
0xaa |  |
0xab |  |
0xac |  |
0xad |  |
0xae |  |
0xaf |  |
0xb0 |  |
0xb1 |  |
0xb2 |  |
0xb3 |  |
0xb4 |  |
0xb5 |  |
0xfd |  | blank field (the item on the top left needs this space)
0xfe |  | blank field (the item on the top needs this space)
0xff |  | blank field (the item on the left needs this space)