Track Commands

These are the various commands that appear for track sections.

0x80: Object placement
0x81: Display distance forwards
0x82: Display distance backwards
0x83: Disable drawing of background picture/horizon
0x84: Enable drawing of background picture/horizon
0x85: Track width change
0x86: Connect start of pit lane to track
0x87: Connect end of pit lane to track
0x88: Pit parking zone marking left-hand pit lane
0x89: Pit parking zone marking for right-hand pit lane
0x8A: Track markings
0x8B: Starting grid markings
0x8C: Changes unknown element on the left?
0x8D: Changes unknown element on the right?
0x8E: Left kerb starts
0x8F: Right kerb starts
0x90: Reverse object placement
0x91: Unknown Monaco command
0x92: Sector in which unknown action 1 is taken?
0x93: Sector in which unknown action 2 is taken?
0x94: Computer car coaching left
0x95: Computer car coaching right
0x96: Pit lane start
0x97: Pit lane end
0x98: Left fence height change
0x99: Right fence height change
0x9A: Custom fence height
0x9B: Unknown pit lane marker
0x9C: Unknown pit lane marker 2
0x9D: Unknown pit lane marker 3
0x9E: Unknown pit lane marker 4
0x9F: Pit lane fences start
0xA0: Pit lane fences end
0xA1: Pit lane entry, join right lane fences
0xA2: Pit lane entry, join left lane fences
0xA3: Pit lane exit, join right lane fences
0xA4: Pit lane exit, join left lane fences
0xA5: Change the sign of the first two sector arguments
0xA6: Set unknown section flags 1
0xA7: Set unknown section flags 2
0xA8: Section that triggers the chequered flag
0xA9: Pit lane view distance
0xAA: Computer cars pit lane modifier?
0xAB: Unknown, maybe unused
0xAC: Palette change

0x80: Object placement

Places a track-side object.

Arguments

Arg Description Common values
0 Distance from start of sector
1 Object description offset

The "Object description offset" refers to the offset of the Object settings instance. Since each object setting takes 16 bytes, the offset value is the zero-based index of the object multiplied by 16.

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 153 76 107 157 102 134 90 66 172 105 174 167 84 123 93 148
Pit Lane 3 6 4 19 6 6 5 8 7 6 2 4 5 5 5 7


0x81: Display distance forwards

Arguments

Arg Description Common values
0 Unknown 0 to 150
1 Draw distance? 87 to 248

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 8 10 9 3 9 10 11 14 17 6 13 22 8 7 10 11
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x82: Display distance backwards

Arguments

Arg Description Common values
0 Unknown 0 to 250
1 Draw distance? 72 to 249

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 4 8 5 2 6 6 4 8 18 6 10 14 3 5 6 5
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x83: Disable drawing of background picture/horizon

This command only appears in Monaco.

Arguments

Arg Description Common values
0 Unknown 3 in only usage

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x84: Enable drawing of background picture/horizon

This command only appears in Monaco.

Arguments

Arg Description Common values
0 Unknown 3 in only usage

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x85: Track width change

Always from center?

Arguments

Arg Description Common values
0 Distance from start of sector? Always 0
1 Transition length 4 to 74
2 New width 960 to 1920

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x86: Connect start of pit lane to track

Defines where the pit lane starts. Only occurs once per track.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x87: Connect end of pit lane to track

Defines where the pit lane ends. Only occurs once per track.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x88: Pit parking zone marking left-hand pit lane

Only used on tracks where the pit lane is to the left of the track.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0
1 Length of zone marking? Always 18

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0


0x89: Pit parking zone marking for right-hand pit lane

Only used on tracks where the pit lane is to the right of the track.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0
1 Length of zone marking? Always 18

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 0 0 1 1 0 1 0 1 1 1 1 1 1 1 1 1


0x8A: Track markings

GP2: 'Track Markings Type A'

Arguments

Arg Description Common values
0 Unknown 0 to 108
1 Unknown -16376, 3, 8456, 8968 or 14088
2 Length of track markings? 1 to 13
3 Unknown -1960 to 2000
4 Unknown -880, -200, 0 or 880
5 Unknown 257, 513, 771 or 1281

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 32 3 3 3 3 3 3 3 3 3 3 3 3 3 3 2
Pit Lane 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2


0x8B: Starting grid markings

GP2 'Track Markings Type B'

Arguments

Arg Description Common values
0 Unknown 1 to 93
1 Unknown -16381, 8456, 9480 or 14088
2 Width of grid markings? Length of grid slots? 1, 9 or 13
3 Unknown -1960 to 2000
4 Unknown -880, 0 or 880
5 Unknown 257, 513, 771 or 1281

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
Pit Lane 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2


0x8C: Changes unknown element on the left?

Never occurs in any of the default tracks.

Arguments

Arg Description Common values
0 Unknown
1 Length?

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x8D: Changes unknown element on the right?

Never occurs in any of the default tracks.

Arguments

Arg Description Common values
0 Unknown
1 Length?

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x8E: Left kerb starts

Used when the start of the kerb shouldn't occur at the start of the section.

Arguments

Arg Description Common values
0 Unknown/unused Always 0
1 Offset into sector 0, 1, 3, 4, 6 or 29
2 Length 4 to 30

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 2 0 0 0 0 4 0 2 2 2 0 5 7 0 2 10
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x8F: Right kerb starts

Used when the start of the kerb shouldn't occur at the start of the section.

Arguments

Arg Description Common values
0 Unknown/unused Always 0
1 Offset into sector 0, 1, 3, 4, 6 or 29
2 Length 4 to 30

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 2 6 0 2 2 0 2 0 0 0 0 2 0 5 4
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x90: Reverse object placement

Arguments

Arg Description Common values
0 Unknown 0 to 242
1 Unknown 10 to 150

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 0 4 15 0 1 0 0 51 0 21 6 0 2 0 0
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x91: Unknown Monaco command

Only occurs once, in Monaco

Arguments

Arg Description Common values
0 Unknown Always 0
1 Unknown Always 10

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x92: Sector in which unknown action 1 is taken?

Arguments

Arg Description Common values
0 Unknown 0 to 137
1 Unknown 7 to 55

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 5 5 6 1 0 0 1 0 3 4 0 1 2 2 1
Pit Lane 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x93: Sector in which unknown action 2 is taken?

Never used in any of the default tracks.

Arguments

Arg Description Common values
0 Unknown
1 Unknown

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x94: Computer car coaching left

Arguments

Arg Description Common values
0 Unknown/unused? Always 0
1 Coaching factor 1 to 16

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 3 4 0 31 4 4 4 0 2 0 2 0 2 2 8 6
Pit Lane 2 4 2 3 2 2 2 4 3 3 1 0 2 3 2 2


0x95: Computer car coaching right

Arguments

Arg Description Common values
0 Unknown/unused? Always 0
1 Coaching factor 1 to 16

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 3 2 5 17 0 2 0 0 3 2 0 2 6 0 7 0
Pit Lane 2 4 2 3 2 2 2 4 3 3 1 0 2 3 2 2


0x96: Pit lane start

Arguments

Arg Description Common values
0 Unknown 0, 2 or 4

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1


0x97: Pit lane end

Arguments

Arg Description Common values
0 Unknown Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1


0x98: Left fence height change

Arguments

Arg Description Common values
0 Unknown/unused? Always 0
1 Height modification 1 to 8

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 4 0 7 7 4 3 0 0 0 0 2 0 2 0 0
Pit Lane 3 3 1 1 3 2 3 2 1 3 1 1 2 1 2 1


0x99: Right fence height change

Arguments

Arg Description Common values
0 Unknown/unused? Always 0
1 Height modification 1 to 7

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 2 4 5 13 0 4 0 0 0 0 3 3 3 0 3 3
Pit Lane 2 2 3 3 2 3 2 3 3 3 3 3 3 3 3 3


0x9A: Custom fence height

Only used in Monaco and Barcelona.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0
1 Height identifier 3, 5, 7 or 8 (but can probably by 1 to 8)
1 New height value to be used when previous param used in 0x98,0x99 256, 384, 1280 or 3200

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 3 0 0 0 0 0 0 0 0 0 1 0 0
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0x9B: Unknown pit lane marker

Always occurs once per track, in the first section of the pit lane.

Arguments

Arg Description Common values
0 Unknown 4, 5, 6 or 7

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1


0x9C: Unknown pit lane marker 2

Always occurs once per track, in one of the early pit lane sections.

Arguments

Arg Description Common values
0 Unknown Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1


0x9D: Unknown pit lane marker 3

Always occurs once per track, in one of the later pit lane sections.

Arguments

Arg Description Common values
0 Unknown Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1


0x9E: Unknown pit lane marker 4

Always occurs once per track, in one of the later pit lane sections, slightly later than command 0x9D.

Pit lane end length?

Arguments

Arg Description Common values
0 Unknown 3 to 17

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1


0x9F: Pit lane fences start

Always occurs once, in the pit lane.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1


0xA0: Pit lane fences end

Always occurs once, in the pit lane.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1


0xA1: Pit lane entry, join right lane fences

Always occurs once per track.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0xA2: Pit lane entry, join left lane fences

Always occurs once per track.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0xA3: Pit lane exit, join right lane fences

Always occurs once per track.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0xA4: Pit lane exit, join left lane fences

Always occurs once per track.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0xA5: Change the sign of the first two sector arguments

Arguments

Arg Description Common values
0 Unknown/unused? Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 16 6 7 8 10 2 11 3 6 9 1 0 2 0 1
Pit Lane 0 1 0 1 0 1 0 0 0 0 1 0 0 0 0 0


0xA6: Set unknown section flags 1

Arguments

Arg Description Common values
0 Unknown 0, 2 or 5
1 Unknown 1 to 56
2 Unknown 1 to 14

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 4 1 4 2 0 0 0 0 0 0 0 0 1 0 0
Pit Lane 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0


0xA7: Set unknown section flags 2

Arguments

Arg Description Common values
0 Unknown 0 or 5
1 Unknown 2 to 82
2 Unknown 1 to 13

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 1 0 2 0 0 0 3 0 0 1 0 0 1 0 0
Pit Lane 0 0 2 0 0 1 0 0 0 0 1 0 0 0 0 0


0xA8: Section that triggers the chequered flag

Defines the track section that triggers the chequered flag man to be visiblewhen driving into it on the final lap.

Always occurs just once per track.

Arguments

Arg Description Common values
0 Unknown/unused? Always 0

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0xA9: Pit lane view distance

Arguments

Arg Description Common values
0 Unknown/unused? Always 0
1 Distance in which the pitlane can be seen? (default=60?) 0, 1, 3, 4, 6 or 29

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pit Lane 1 0 1 0 0 0 0 0 1 0 1 1 0 0 0 0


0xAA: Computer cars pit lane modifier?

Arguments

Arg Description Common values
0 Unknown/unused? Always 0
1 Length for computer cars to angle towards pitlane (backwards)? 0 to 70
2 Length for computer cars to angle out of pits? 0, 7 or 60
3 Computer car pit lane speed 6656, 11264 or 12800

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 0 0 0 1 0 1 0 0 0 1 1 1 1 0 1
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0xAB: Unknown, maybe unused

Occurs once per track.

Arguments

Arg Description Common values
0 Unknown Always 0
1 Unknown Always 44
2 Unknown 18 to 208

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


0xAC: Palette change

The command is used to make minor changes to how the asphalt (gray) and grass (green) look for each track. For example, the asphalt in Mexico is a brighter gray, whilst the asphalt in France is much darker.

This command occurs once or twice per track, always in the first section. The tracks where it occurs once are Phoenix and Monaco, which do not have any grass to change the color of.

Arguments

Arg Description Common values
0 Unknown Always 0
1 Palette index 18 (grass) or 26 (asphalt)
2 Red color value 14 to 36
3 Green color value 23 to 42
4 Blue color value 4 to 35

Changing the color of palette index 26 alters the grey asphalt color. Palette index 18 alters the green grass. Changing any other palette index does not seem to have any effect.

Interestingly, changing the green color also affect the color of the in-game messages such as the "Riding with" text.

Occurrences by track
Location US BRA SM MON CAN MEX FRA GB GER HUN BEL ITA POR SPA JAP AUS
Track 1 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2
Pit Lane 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0