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:

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:

SessionStart

Logged when a new session has started. SectionData consists of:

SessionLoad

Logged when a session is continued from a saved game. SectionData consists of:

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:

Lap

Logged at the end of each lap. TyreType is one of the following: SectionData consists of:

Entry

Logged in the first lap of a session. It contains driver info. TyreManufacturer is either 0 or 1. SectionData consists of:

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:

PitOut

Logged when a car ends a pitstop. SectionData consists of:

Retired

Logged when a car is out of the race. SectionData consists of:

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:

Advanced options

Some options can only be specified in gpxlap.ini:
SectionOptionValuesDefaultDescription
[Misc]RaceOverDurationseconds6 Specifies how long the 'race over' message is displayed. Increase to have time for a victory lap.
[Setup]DisplayDurationmilliseconds3000 Specifies how long the in-car setup settings are shown after it has changed.
[Setup]SymmetricalEditing
0asymmetrical
1symmetrical
1 Set to 0 to setup the left and right of the car separately.
[Setup]ShowWear
0hide
1show
1 Show tyre and plank wear, during any session.
[ATL]NumFastestCars0..93 Specifies how many currently fastest cars are shown in magenta in the ATL race boards.
[ATL]DefaultLock
0no
1yes
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]PanelOffsetX0 Specifies the horizontal offset of the panel. Negative aligns to the right.
[ATL]PanelOffsetY0 Specifies the vertical offset of the panel. Negative aligns to the bottom.
[Quicksave]Dirquicksaves Specifies the quicksave/autosave directory, either an absolute path or a name of a sub directory under gpsaves.
[Quicksave]ShowQuickIcon0..1true Specifies if the quicksave icon should be shown.
[Quicksave]ShowAutoIcon0..1true Specifies if the autosave icon should be shown.
[Quicksave]IconDurationms1500 Specifies how long the quicksave/autosave icon should be shown.
[Quicksave]IconFadeDurationms750 Specifies how long it takes for the quicksave/autosave icon to fade out.


Main |  GPxPatch |  GPxSet |  GPxTrack |  GPxLap |  GPxSAT |  GPxCInfo |  GPxSound