GPxLap
The GPxLap extension contains the following features:
At The Line
A remake of this popular GP2Lap feature with some extra stuff added.
It contains detailed information about the race, like race position,
difference to leader, lap times, fastest lap times, pit status information,
retirements, pitstops done, and failure information. In non-race sessions, it shows
the lap times and fastest lap times.
At The Line can be activated by pressing '9' during the game, and
deactivated by pressing '0'. When activated, pressing '9' again will cycle
through four pages: standings sorted by track order, fastest lap times,
lap times, and standings sorted by race position.
Pressing 'U' will toggle between split times and sector times. In the
standings screens 'U' will toggle between showing and hiding retired drivers.
Also in the standings screens, 'Y' will toggle between showing and hiding computer controlled cars.
In non-race sessions there are two pages: fastest lap times and lap times.
The lap time page only shows the cars that are on the track. The magenta
number in the second column indicates the qualify position.
Before each car appears a 'P' if it's the player car, and '> <' in yellow if
it's the selected car. In the standings page, the L/S column means lap/sector,
where sector is 0, 1 or 2, depending which split has been passed. The
status column shows extra information, like pit information, failures,
and retirements. After the race position can appear a magenta '1', '2', or
'3', etc, which indicates the fastest lap position, so those are the x
fastest cars on the track. The same numbers appear in the lap time table.
In the fastest lap table these numbers indicate the race position.
In hotseat mode, an extra row at the top is inserted that shows the
number of turns left (initially the number of players multiplied with
the number of turns specified in the menu options), the current state,
and the time left until the next state begins. Examples of states are
the period in which "Automatic in..." is shown, or the period in which
a player has control. You can jump directly to the next state with the
key LAP_HotseatJump (default 'J'). Note that the game calculates
the time a driver has control using the number of turns left and the
number of laps left, so each time you skip to the next turn the turns
get longer.
Also in the standings page you will see each line can change color.
The line is colored white if the car is in the same sector as the leader,
light gray if it's one sector behind, and gray if it's two sectors or more
behind. It's red if the car is out of the race.
To see more cars, use the TAB key to make the list bigger, or shift+TAB to
make it smaller. Use the keypad cursor up and down keys to scroll
through the drivers (this will also remove the 'lock' on the selected car).
Keypad 5 will enable the lock on the selected car to stay in the
middle of the list (on by default). Keypad cursor left and right change
the opacity (alpha) of the background panel.
Note that in a replay the race positions could be in the wrong order.
This is because the game doesn't update the race positions at the start of
the replay.
Quicksave and autosave
This allows you to save the game without having to leave the cockpit. By pressing F12 the game will
saved to gpsaves\quicksaves\quicksave. A copy of the previous quicksave will be made first.
The copy is called gpsaves\quicksaves\quicksave1. The file extension depends on the race type
and track, just like normal save games. This means you will see at most 2 quicksave games for each
race type and track combination. Note that the saved game is not compressed, to avoid a small delay while saving.
Uncompressed games can be loaded just fine by the game, but they are about four times bigger.
If autosave is enabled, a quicksave is done automatically each time the race leader starts a new lap.
The name of this autosave game will be gpsaves\quicksaves\autosave. Only works in race sessions.
Extended games
This feature is for most part the same as in GP2Lap. Lap by lap information
is being logged and attached to a game or hotlap upon saving. It can be
used by race or hotlap leagues to check the validity of the game/hotlap and of
the player's game configuration.
The extended data can be viewed outside the game using HOFxLap.
Checksums
Part of the extended data consists of checksums. Each checksum is calculated
over data in certain memory ranges. A checksum is an easy way to check the
integrity of this data. If any data changes you can be sure that the checksum
changes too. GPxLap logs four checksums:
- Init. Includes all physics data (editable with the physics editor).
- Car. Includes the car shape (not used for GP4). A different car shape
shouldn't give any advantage though, so this checksum should probably not be used.
- Damage. Includes all damage settings data.
- CC. Includes all data from performance files: car power per team,
failure probabilities per team, driver skill values, and driver inconsistency values.
Unique ID
GPxLap can log a unique ID. This feature was added by Yuri Kuznetsov. Some leagues
might want to use this to identify their participants. If two hotlaps have ID's that
are the same and not zero, you can be sure that they were driven on the same pc. The
reverse is not true though.
On-screen log viewer
Most messages that are logged are also visible on-screen by pressing '2'
in the cockpit. The panel can be made larger or smaller with the TAB key,
and the text can be scrolled with the numpad keys (with numlock on).
The panel can be turned off again by pressing '0'.
Only works in hardware accelerated graphics mode.
Text logging
Informative lap data that is put into extended games can also be logged to
a text file. Authentication data is not logged this way. Computers cars are logged too.
The format is as follows:
SectionName,SectionData
SectionData consists of comma-separated values and usually starts with a timestamp in the form yyyymmddhhmmss.
If it contains a string, it could be surrounded by quotes. CarType is C for a computer car,
P for the active player, H for a computer controlled player in hotseat mode, and M for
a multiplayer player.
SectionName can be one of the following:
GameStart
Logged when game is started.
SectionData consists of Timestamp,Version.
Version is incremented in case the log format changes in later versions.
GameEnd
Logged when game is quit.
SectionData consists of:
TrackLoad
Logged when a track file has been loaded.
SectionData consists of:
- Version 1+: Timestamp,TrackNr,Checksum,TrackName.
SessionStart
Logged when a new session has started.
SectionData consists of:
- Version 1: Timestamp,SessionMode.
- Version 2+: Timestamp,SessionMode,SessionLaps,TrackLength.
SessionLoad
Logged when a session is continued from a saved game.
SectionData consists of:
- Version 1+: Timestamp,SessionMode,SessionTime,FileName.
Standings
Logged when a race session has started/loaded or the standings are updated due to cars overtaking each other during a race.
SectionData consists of the current lap and all the car numbers in race standings order:
- Version 8+: Timestamp,LapNr,SessionTime,CarNr1,CarNr2,...,CarNr22.
Lap
Logged at the end of each lap. TyreType is one of the following:
- SD: Soft Dry.
- HD: Hard Dry.
- I: Intermediate.
- SW: Soft Wet.
- HW: Hard Wet.
- M: Monsoon.
SectionData consists of:
- Version 1, 2: Timestamp,LapNr,CarType,CarNr,RacePos,FastLapPos,SplitTime1,SplitTime2,LapTime,SessionTime.
- Version 3: Timestamp,LapNr,CarType,CarNr,RacePos,FastLapPos,SplitTime1,SplitTime2,LapTime,SessionTime,MinSpeed,MaxSpeed.
- Version 4: Timestamp,LapNr,CarType,CarNr,RacePos,FastLapPos,SplitTime1,SplitTime2,LapTime,SessionTime,MinSpeed,MaxSpeed,Speed1,Speed2,Speed3.
- Version 5: Timestamp,LapNr,CarType,CarNr,RacePos,FastLapPos,SplitTime1,SplitTime2,LapTime,SessionTime,MinSpeed,MaxSpeed,Speed1,Speed2,Speed3,FuelLaps.
- Version 6: Timestamp,LapNr,CarType,CarNr,RacePos,FastLapPos,SplitTime1,SplitTime2,LapTime,SessionTime,MinSpeed,MaxSpeed,Speed1,Speed2,Speed3,FuelLaps,Temperature.
- Version 7+: Timestamp,LapNr,CarType,CarNr,RacePos,FastLapPos,SplitTime1,SplitTime2,LapTime,SessionTime,MinSpeed,MaxSpeed,Speed1,Speed2,Speed3,FuelLaps,Temperature,TyreType.
Entry
Logged in the first lap of a session. It contains driver info. TyreManufacturer is either 0 or 1.
SectionData consists of:
- Version 1, 2, 3, 4: CarType,CarNr,DriverName,TeamName,EngineName,FrontWing,RearWing,BrakeBias,Gear1,Gear2,Gear3,Gear4,Gear5,Gear6.
- Version 5+: CarType,CarNr,DriverName,TeamName,EngineName,TyreManufacturer,FrontWing,RearWing,BrakeBias,Gear1,Gear2,Gear3,Gear4,Gear5,Gear6.
PitIn
Logged when a car starts a pitstop. It is slightly different from extended data because here a Lap section will be
logged separately. The PitIn section can be logged either before or after the corresponding Lap section, depending
on the pit box location.
SectionData consists of:
- Version 1+: Timestamp,LapNr,CarType,CarNr,RacePos,FastLapPos,SessionTime.
PitOut
Logged when a car ends a pitstop.
SectionData consists of:
- Version 1+: Timestamp,LapNr,CarType,CarNr,RacePos,FastLapPos,SessionTime.
Retired
Logged when a car is out of the race.
SectionData consists of:
- Version 8+: Timestamp,LapNr,CarType,CarNr,RacePos,FastLapPos,SessionTime.
Split times in race
Normally, split times are not shown during the race, but with GPxLap they are.
In-car setup changes
There are two setup menu's available in GPxLap: the in-car setup menu and the pit setup menu.
The in-car setup menu is always available, even while driving, and the pit setup menu is
only available in non-race sessions while in the pits.
Use the user-configurable L (LAP_ToggleSetupMenuOnOff) key to toggle between showing
and hiding the in-car setup menu in the bottom left corner of the screen. Use Shift+L
to do the same for the pit setup menu.
When hidden, a change will temporarily show the new setting. The duration can
be changed in gpxlap.ini.
In-car setup menu
This menu allows you to make certain setup changes while driving. Currently the implemented
setup items are brake balance and differential. Due to a technical limitation it's
not possible to implement adjustment of wings.
Use the F1 key to select an item,
and the F3 and F4 key to move it down/backwards or up/forwards, respectively.
The step size is the same as in the game's car setup menu. Pressing both F3 and F4 at the same
time will reset the setting to the setup value. Since these keys are already used by GPx itself
(to toggle auto-brake, auto-spin and indestructability), they will only work if these
driver aids are disabled (e.g. by driving on ace level). The reason these keys are
used is that they are recorded by GPx for replays and hotlaps. This way the setup
adjustments are also applied during those replays and hotlaps. To support older
hotlaps or hotlaps with this feature disabled, a saved game will contain a version
number that's tied to this feature. When a game or hotlap is loaded, the version number
is also loaded from that game, and will be used until a new session is started. Since
the version number is stored in the extended GPxLap data, authentication must be enabled
for this feature to work.
Because the changes are done directly in the internal car data, the changes are not
saved to the setup.
Pit setup menu
This menu was added to prevent having to leave the cockpit to make setup adjustments,
which can be quite time consuming. Each setup item available in the game can be edited
here, and it is changed in both the actual setup and the car's internal data. Setup items
that are hidden in-game because the advancement level is set to 1 aren't editable in
this pit setup menu either. Note that the replay buffer will be reset after a change.
At the moment, the menu is linear. In the future this could change to a more
user friendly system. Use the \ key to select the next item (with the Shift
key it will select the previous item). Use the [ and ] keys to change
an item. Pressing both will reset to the minimum or maximum value, depending on which
you pressed first. Unlike the in-car setup menu, trying to change while the menu is
not visible will not change anything, but just show the menu first.
By default, the menu edits the setup symmetrically.
If you prefer asymmetrical editing, it's possible to change this in gpxlap.ini.
Like the game's setup menu, the plank and tyre wear is also shown. This is even shown while driving.
For qualify and race sessions, it will be hidden by default (it can be toggled on and off with Shift+L).
The show/hidden state is remembered for qualify, race and practice separately.
The setup menu is disabled in the race.
Save/Restore car state
This feature allows you to save your car's state so you can restore it later in the session.
Unlike a replay, none of the other session state is saved/restored, so your car will just
be reset back in time as if it's being warped. It's even possible to hit a computer car
when being restored. It's mainly intended for hotlappers who don't use the quicklaps mode.
It has to be activated in the configuration, which is also being logged in saved games and hotlaps.
It should work in all sessions except qualify and race.
The default key to save is Shift+Backspace and to restore is Backspace.
It's possible that hotlaps fail to work, even if you restore before the s/f line.
It seems that using a longer replay duration makes it far less likely though.
Configuration options
The following options are available for GPxLap:
- Enable authentication.
Enables extended saved games and hotlaps, mostly for use in leagues.
Also needed for in-car setup changes.
- Log unique ID.
Enables logging of a unique id within the extended data.
- Enable in-car setup changes.
See above for an explanation.
Authentication required, as well as disabled F1, F3 and F4 driver aids.
- Enable save/restore car state.
Enables the ability to save and restore the player's car state.
- Enable autosave.
Enables autosaving the game each lap.
- Show best split time in qualify.
Show the split time of the pole sitter instead of your own best
split time during qualifying. It's like the GP2Split utility
for GP2, by Martin Granberg. Disabled in GP3-2000.
- Enable external view in pitlane. Normally, GP3 switches
to the cockpit when you're driving near or on the pitlane. This
check disables that behavior.
- Fix pitstop bug for race. GP4 only: if checked an attempt is done to fix the pitstop bug in GP4.
The result is that you won't be stuck in the pits anymore during a race. However, a side effect
is that you will be able to drive away earlier during pitstops in the race than you can without this fix.
Even when you have a broken rear wing you can drive away early (with a fixed wing).
For non-race sessions the result is that you can drive away from the pits earlier.
For unlimited practice this is always enabled, even if this option is turned off.
Note: This option is logged into saved games and hotlaps.
- Hide replay menu (Not available for GP3). Will hide the replay menu by default (replay info icons).
Can still be toggled in-game using F9.
- Text logging. Check to enable text logging. Additional options
are Mode to specify where data should be logged, File to
specify the log file name, and Append to file to specify if
new log data should be appended to the log file or not.
- ATL font. Select the font to use in the ATL screen ('9'). Fonts can be edited on the GPxPatch tab.
- Log font. Select the font to use in the log screen ('2'). Fonts can be edited on the GPxPatch tab.
- ATL panel color. Select the color to use for the ATL panel. Default is black.
- Engine temperature. Press this button to specify how the engine (water)
temperature changes. The maximum is when it blows up (if engine
failures are enabled in the game). For the other ones just play
around with them and you'll see what they do. Clearing a value
will reset it to the default.
- RCR distances. Press this button to set the distance at which the RCR jams
are shown instead of the normal car model. Chosing a shorter
distance might improve your PO. There's a setting for each
camera type.
Advanced options
Some options can only be specified in gpxlap.ini:
Section | Option | Values | Default | Description |
[Misc] | RaceOverDuration | seconds | 6 |
Specifies how long the 'race over' message is displayed. Increase to have time for a victory lap. |
[Setup] | DisplayDuration | milliseconds | 3000 |
Specifies how long the in-car setup settings are shown after it has changed. |
[Setup] | SymmetricalEditing | 0 | asymmetrical | 1 | symmetrical |
| 1 |
Set to 0 to setup the left and right of the car separately. |
[Setup] | ShowWear | | 1 |
Show tyre and plank wear, during any session. |
[ATL] | NumFastestCars | 0..9 | 3 |
Specifies how many currently fastest cars are shown in magenta in the ATL race boards. |
[ATL] | DefaultLock | | 1 |
Specifies if the selected car is locked in view by default or not.
If set to 0 it can be turned on in-game using the NUMPAD 5 key. |
[ATL] | PanelOffsetX | | 0 |
Specifies the horizontal offset of the panel. Negative aligns to the right. |
[ATL] | PanelOffsetY | | 0 |
Specifies the vertical offset of the panel. Negative aligns to the bottom. |
[Quicksave] | Dir | | quicksaves |
Specifies the quicksave/autosave directory, either an absolute path or a name of a sub directory under gpsaves. |
[Quicksave] | ShowQuickIcon | 0..1 | true |
Specifies if the quicksave icon should be shown. |
[Quicksave] | ShowAutoIcon | 0..1 | true |
Specifies if the autosave icon should be shown. |
[Quicksave] | IconDuration | ms | 1500 |
Specifies how long the quicksave/autosave icon should be shown. |
[Quicksave] | IconFadeDuration | ms | 750 |
Specifies how long it takes for the quicksave/autosave icon to fade out. |
Main |
GPxPatch |
GPxSet |
GPxTrack |
GPxLap |
GPxSAT |
GPxCInfo |
GPxSound