The setup files are all the files within the players directory such
as *.lo1, *.fe2, *.mu1, *.lo3, etc. They contain the settings for
tire pressures, toe in angles, etc. I've only worked on the G1 settings,
so there may be quite drastic changes between these and the G2 & G3
cars - most noticeable in the gears.
Bytes | Values | Notes |
0-3
4-7 8-11 12- |
"PGTS"
2 or 3 Data size data... |
File type, reversed to STGP (settings Grand Prix?)
File sub-type, either 2 or 3 Size of following data (depends on sub-type) |
The rest of the file looks like this (Type: FL=float, Int=integer, Byte=8bit integer) (What? FL=Front left, FR=Front right, RL=Rear left, RR=Rear right).
The last four bytes only appear if the sub-type (bytes 4-7) is 3.
If it is 2, the last four bytes don't exist. Strange...
Bytes | Type | What? |
12-15
16-19 20-23 24-27 28-31 32-35 36-39 40-43 44-47 48-51 52-55 56-59 60-63 64-67 68-71 72-75 76-79 80-83 84-87 88-91 92-95 96-99 100-103 104-107 108-111 112-115 116-119 120-123 124-127 128-131 132-135 136-139 140-143 144-147 148-151 152-155 156-159 160-163 164-167 168-171 172-175 176-179 180-184 184-187 188-191 192-195 196-199 200-203 204-207 208-211 212-215 216-219 220-223 224-227 228-231 232-235 236-239 240-243 244-247 248-251 252-255 256-259 260 261 262 263 |
FL
FL FL FL FL FL FL FL FL Int Int Int Int Int Int Int Int Int FL FL FL FL FL FL FL FL FL FL Int Int Int Int Int Int Int Int FL FL FL FL FL FL FL FL FL FL FL FL FL FL FL FL FL FL FL FL FL FL Int FL FL Int Byte Byte Byte Byte |
Reverse Gear (-2.6923)
Neutral Gear (0) 1st Gear 2nd Gear 3rd Gear 4th Gear 5th Gear 6th Gear Differential Ratio Reverse GearSet Neutral GearSet 1st GearSet 2nd GearSet 3rd GearSet 4th GearSet 5th GearSet 6th GearSet GearSet Differential Ramp angle (2nd value) Ramp angle (1st value) Tire pressure FL Tire pressure FR Tire pressure RL Tire pressure RR Wheel rate FL Wheel rate FR Wheel rate RL Wheel rate RR Bump FL Bump FR Bump RL Bump RR Rebound FL Rebound FR Rebound RL Rebound RR Camber FL Camber FR Camber RL Camber RR Unknown (800.0)(tire readings?) Unknown (800.0)(tire readings?) Unknown (800.0)(tire readings?) Unknown (800.0)(tire readings?) Unknown (7.0)(tire readings?) Unknown (7.0)(tire readings?) Unknown (7.0)(tire readings?) Unknown (7.0)(tire readings?) Bump rubber FL Bump rubber FR Bump rubber RL Bump rubber RR Toe in Front Toe in Rear Roll Bar Front Roll Bar Rear Ride Height Front Ride Height Rear No. of clutches Gallons of fuel Steering Ratio (n:1) Front Brake Bias Asymmetrical Edit (0= tick in game, 1=cross) 0x20 0x20 0x20 |
ID | Values | Calculated |
0
1 2 3 4 5 6 7 8 9 --- 10 11 12 13 14 15 16 17 --- 18 19 20 21 22 23 24 --- 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 --- 86 87 88 89 |
13/46
14/46 14/45 12/35 13/35 16/42 15/38 14/34 14/33 14/32 ------ 16/42 15/38 14/34 17/41 14/33 14/32 15/33 16/31 ------ 15/32 15/31 16/32 16/30 17/31 17/30 17/29 ------ 14/34 17/41 14/33 14/32 15/33 15/32 15/31 16/32 16/31 20/38 16/30 17/31 17/30 17/29 20/34 18/30 18/29 18/28 19/29 21/32 19/28 18/26 19/27 24/34 20/28 21/29 24/33 25/34 20/27 24/32 25/33 19/25 23/30 21/27 25/32 26/33 19/24 23/29 25/31 21/26 26/32 19/23 24/29 27/32 22/26 25/29 19/22 27/31 28/32 22/25 25/28 27/30 28/31 29/32 22/24 24/26 25/27 23/24 24/24 25/24 26/24 ------ 7/31 8/31 9/31 10/31 |
3.5385
3.2857 3.2143 2.9167 2.6923 2.625 2.5333 2.4286 2.3571 2.2857 ------- 2.625 2.5333 2.4286 2.4118 2.3571 2.2857 2.2 1.9375 ------- 2.1333 2.0667 2 1.875 1.8235 1.7647 1.7059 ------- 2.4286 2.4118 2.3571 2.2857 2.2 2.1333 2.0667 2 1.9375 1.9 1.875 1.8235 1.7647 1.7059 1.7 1.6667 1.6111 1.5556 1.5263 1.5238 1.4737 1.7647 ? 1.7059 ? 2.4286 ? 1.4 1.3810 1.375 1.36 1.35 1.3333 1.32 1.3158 1.3043 1.2857 1.28 1.2692 1.2632 1.2609 1.24 1.2381 1.2308 1.2105 1.2083 1.1852 1.1818 1.16 1.1579 1.1481 1.1429 1.1364 1.12 1.1111 1.1071 1.1034 1.0909 1.0833 1.08 1.0435 1 1.0417 1.0833 ------- 4.4286 3.875 3.4444 3.1 |