GPxPatch Speed and Time (GPxSAT)
GPxSAT is an extension for GPxPatch that shows timing- and speed information during various race sessions and practice sessions.
This extension was developed by:
- Marc Aarts: Classic and Digital.
- Markus Krötz: Digital 2004.
- René Smit: Digital 2010.
Initial work has been done by Andrzej Barganski.
Original Digital 2010 graphics were copied from rfDynHUD.
Graphics have been converted to .tga and resized for compatibility with DirectX 7 (GP3).
Thanks to F1Racer, Christian Schäfers, PK Arnall and 'mclarenaustralia' for their suggestions and help.
Features
Timing info during qualifying
In qualifying GPxSAT tries to recreate the timing information displayed in real F1.
Everything I could think of is included and to me it looks pretty much like it is for real.
Timing info during the race
During the race GPxSAT shows the difference between yourself and either the car in front of you, or the car behind you at each split.
An attempt is made to show the previous differences as well, though there are circumstances that this is not working 100% correctly.
Speedtrap info during the race
One of the things the GP series never had is speedtraps. GPxSAT brings this to GPx and shows you the speedtraps like in real F1 at the 2 splits and at start/finish.
As GPx doesn't deal with this at all, everything is computed and derived from things happening during the race.
Position info during the race
Once again, hopefully very much like in real F1, I have tried to show the positions of the drivers in blocks of 8 per page.
Once a driver retires, he will no longer be listed. See below what keys are used for this mode.
Replacements of GPx's skymessages
GPx has pretty ugly messages it projects in the sky (hence "skymessages"), and some of them can be replaced now. Choose which ones you want to replace from GPxPatch's configuration screen.
Track Map
One thing players ever missed on Grand Prix 3 was a track map. GPxSAT tries to enable a simple track map while racing.
Microtime
In all GPx sessions, you can display a small window in the top-left corner of the screen that displays information about your laptimes in a style similar to GP2lap.
The maximum length of the driver name is 10 by default (longer names will be shown in a condensed font). This can be changed by specifying a value in gpxsat.ini using a key named MaxNameLength under the [Microtime] section.
Configuration options
GPxPatch configurable options like the font used and whether text is shown in color or not also affects GPxSAT.
Show in cockpit
By popular demand, you can now choose to also see GPxSAT's info from within the cockpit.
The default value is OFF.
Speed trap width
This determines how long info will be on screen. GPxSAT shows it's information at 3 points on the track. This option sets how far in front of these points info will be displayed, and how long after the point the will stay.
The default value for this option is 50. You might want to increase it to 75 or 100 when you want the info longer on your screen. Please make sure that you're not making it too big, and not below 0.
Skymessages
All replaceable skymessages can be turned either on or off. If not turned on, you will see GPx's original messages.
Digital vs Classic mode
GPxSAT can be run in multiple modes. The "classic style" (aka "terrestrial feed"), the "digital look" that has been available to subscriber-only channels,
the "digital 2004 look" used since 2004, and the "digital 2010 look" used since 2010.
This option can be toggled on the GPxSAT tab in GPxPatch's GUI.
No effect in GP3-2000 if it's specified in a season set and GPxSet is enabled.
Cars per page
In the standings screen, the number of cars shown in classic and digital 2004 mode is 8, in digital mode it is 6, and in digital 2010 mode it is 5.
With this option, although not realistic, you can change this.
Font
Select the font to use in the selected mode. Fonts can be edited on the GPxPatch tab.
Tyre type bitmaps (no effect in GP3-2000 if they are specified in a season set)
Select a bitmap for brand 1 and brand 2 here. Default bitmaps are available for Bridgestone, Michelin, Goodyear, Pirelli, Avon, Continental, Dunlop, Firestone, and Englebert.
Note : "digital 2004", "digital" and "classic" modes use different bitmaps.
The first two brands can be configured through the GPxPatch GUI, more brands and other options can be configured directly in the "gpxsat.ini" file.
Note 2: the tyre type bitmaps are not (yet) used in digital 2010 mode.
Logo animation
The Tag Heuer and Siemens logo's shown in classic mode are animated. To change the duration of the animation add/edit the following values under a [Logo] section in gpxsat.ini:
- FadeInDuration1. The time (in ms) it takes to expand the first logo. Default is 0.
- ShowDuration1. The time it takes to show the first logo. Default is 1500.
- FadeOutDuration1. The time it takes to shrink the first logo. Default is 1500.
- IdleDuration1. The time it takes after the first logo to start the second logo. Default is 500.
- FadeInDuration2. Same as above, but for second logo. Default is 0.
- ShowDuration2. Default is 1500.
- FadeOutDuration2. Default is 500.
- IdleDuration2. Default is 500.
Digital2004 animation
All screens in Digital2004 are animated. To change the display of the animation add/edit the following values under a [Digital2004] section in gpxsat.ini:
- FadingSpeed. The timestep (in ms) it takes to fade in. Default is 10.
- RotatingSpeed. The timestep (in ms) it takes to rotate elements. Default is 10.
Track map settings
There are some settings related to the track map. If you want to change the display of the track map edit the following values under a [TrackMap] section in gpxsat.ini:
- TrackMap. Default is 1. Enter 0 if you want to disable the track map or if there are problems with its creation.
- TrackMapPosX. Default is 0. Set the x coordinate of the track map in pixels.
- TrackMapPosY. Default is 0. Set the y coordinate of the track map in pixels.
- TrackMapSize. Default is 256. Set the width/height of the track map in pixels. Value is relative to 1024x768 resolution and will be scaled to the actual resolution. The aspect ratio of the track is always retained.
- TrackMapColor. Default is 0xffe0e0e0. Set the color (format: alpha, red, green, blue) of the track as hex code.
- TrackMapEdgeColor. Default is 0xff202020. Set the color (format: alpha, red, green, blue) of the track edge as hex code.
- TrackMapBackground. Default is 0. Set to 1 to draw a half transparent background.
- ShowCars. Default is 1. Set to 0 to hide all cars on the track.
- ShowCCs. Default is 1. Set to 0 to hide all computer cars on the track. Only relevant when ShowCars is 1.
- ShowYellowZones. Default is 1. Set to 0 to disable drawing yellow flag zones on the map. Too many/large zones will have some impact on the performance.
- AutoShowEnabled. Default is 1. Set to 0 to disable the show mode (toggle with '8') in which the track map is shown automatically when there's a yellow flag zone anywhere on the track.
Configurable strings
All strings in GPxSAT are configurable through gpxsat.ini under a section named [String].
A different section is possible by specifying that section name with a Section key, default is "String" itself.
See gpxsat.ini for the available strings (the default values will be written when GPxSAT is started).
Configurable 3-letter codes
In digital 2010 mode the standings will show 3-letter codes for the driver names.
Custom codes can be entered in gpxpdata\drivers.ini. Use full driver names as section names (case insensitive), e.g. [juan pablo montoya].
Specify the 3-letter code under this section using key Code, e.g. Code=MOY.
This file may contain further data (e.g. country code) in the future.
An additional copy of this file may be specified through GPxSet's performance manager. For this, GPxSet must be enabled, the performance manager
must be enabled (a performance file is optional), and in [gpxset.ini] the drivers .ini path should be specified under section [PerfManager]
using key DriversIniPath. It can be relative to the GPx directory. This file will be searched first, before searching the global drivers.ini file.
If a driver name is not found in either file, GPxSAT will use generic rules to determine the code:
- Take the first 3 characters from the last surname.
- For each other surname, insert the first character at the front.
- If not unique, use the further surname characters until unique.
- If still not unique (i.e. surnames are equal), then for each duplicate insert the first character of the first name, or the 2nd etc. until unique.
Keys
Listed here are the default keys assignments, which can be re-configured through the keys.ini file. The default values are used here to describe the different functions of GPxSAT.
All non-race sessions
- T : Toggle the display of the "remaining session time".
- S : Toggle between split time and speed trap information. In digital 2010 mode speed traps are not supported.
Qualifying and race weekend practice sessions
- B : Toggle the display of the current positions. In digital 2010 mode, it will toggle between relative and absolute lap times.
Turning this on will suppress the time display in "classic mode".
- V : Browse through all the cars in the positions screen.
Race sessions
- T : Toggle the display of the "lap counter".
- D : Toggles between showing or not showing the director's cut.
- S : Toggle between time and speed trap information. Time information consists of two screens: 'difference to car ahead' and 'difference to car behind'. In digital 2010 mode speed traps are not supported.
- B : Toggle the display between the current race positions, the current race positions with pit stops and off. Turning this on will suppress the speed/time display (above).
- F : Same as B, but toggles the bottom tower race positions (digital 2010 mode only).
- E : Toggles the left tower that shows the race positions and difference with the grid positions (digital 2010 mode only).
- V : Browse through all the cars in the positions screen.
All sessions
- 1 : Show GPxSAT information map. Highlighted items are displayed by GPxSAT.
- K : Suppress on-screen information generated by GPxSAT. It toggles between showing all, sky messages only, and nothing.
- 8 : Toggles between showing the track map, showing it only during a yellow flag (if AutoShowEnabled is set to 1), and hiding it.
- M : Toggle the display of Microtime
- H : Toggle Microtime comparisons between the absolute fastest laptime in the session, and your own fastest laptime.
- J : Toggle Microtime comparisons between relative (i.e. + 0.123) or absolute (i.e. 1:23.456) time display.
Advanced options
Some options can only be specified in gpxsat.ini:
Section(s) | Option | Values | Default | Description |
[Misc] | MaxCarsRace | 1..22 | 22 |
Maximum number of cars to show during a race. |
[Microtime] | MaxNameLength | 1..24 | 10 |
Maximum length of a driver name in Microtime. |
[Tyres] | Team #<nn> | 0..10 | Performance text file. |
Specifies a tyre type (brand logo) for each team or car, with nn = 00..10. This will override the tyre type specified in a performance text file.
The tyre type can be specified for the individual cars by specifying two comma separated values. |
[Classic] | FontShadow | | 1 |
Show a black font shadow under the text to make it more readable. |
[Classic], [Digital], [Digital2004] | Scaling | | 0 |
Specifies how the overlays should scale to widescreen resolutions. |
[Classic], [Digital], [Digital2004] | Type<n> | path relative to gpxpdata\gfx | Michelin/Bridgestone bitmaps for Type1/Type2 |
Specifies tyre type (brand) bitmaps, with n = 1..11. |
[Digital] | DriverNameFormat | 0 | initial with surname | 1 | full name |
| 0 |
Specifies the format of the driver names. |
[Digital], [Digital2004] | DisableRidingWithOnCameraChange | | 0 |
Disable 'riding with' sky message upon a camera change. Only works when the sky message is replaced. |
[Digital], [Digital2004] | LapsLeftMode | 0 | remaining laps | 1 | current lap |
| 0 |
Show either the current lap or the remaining laps in digital mode. |
[Digital2004] | ShowSiemensLogo | | 1 |
Show Siemens logo in digital 2004 mode. |
[Digital2004] | ShowShortSessionName | | 1 |
Show short session name in non-race sessions in digital 2004 mode. |
[Digital2010] | ShowF1Logo | 0 | hide | 1 | show | 2 | show in external view |
| 2 |
Show F1 logo in digital 2010 mode. |
[Digital2010] | CarsPerBottomPage | 1..22 | 5 |
Number of cars per page shown in the bottom standings. |
[Digital2010] | RaceTowerLeftCars | 1..22 | 10 |
Number of cars shown in race progression tower. |
[Digital2010] | QualTowerLeftCars | 1..22 | 22 |
Number of cars shown in the qualify standings tower. |
[Digital2010] | AlwaysShowTowerStandings | | 0 |
Always show bottom tower standings, even while normal standings are displayed. |
[Digital2010] | ShowLapInStandings | | 1 |
Show the lap number behind leader in normal standings. |
[Digital2010] | ShowPitIconWhenInPitLane | 0 | pit box only | 1 | also in pit lane |
| 1 |
Show the P pit icon when the car is in pit lane during qualify/practice. |
[Digital2010] | ColorTextLight | 0xAARRGGBB | 0xfffefefe |
ARGB text color in hexadecimal format. |
[Digital2010] | ColorTextDark | 0xAARRGGBB | 0xff010101 |
ARGB text color in hexadecimal format. |
[Digital2010] | ColorTextPit | 0xAARRGGBB | 0xfffe0000 |
ARGB text color in hexadecimal format. |
[Digital2010] | ColorTextPitExit | 0xAARRGGBB | 0xff339900 |
ARGB text color in hexadecimal format. |
[Digital2010] | ColorTextFaster | 0xAARRGGBB | 0xff339900 |
ARGB text color in hexadecimal format. |
[Digital2010] | ColorTextRetired | 0xAARRGGBB | 0xa0fefefe |
ARGB text color in hexadecimal format. |
[Digital2010] | ShowDriver | 0..1 | 1 |
Show driver picture above driver name (requires driver pictures, see below). |
[Digital2010] | ShowDriverForTiming | 0..1 | 0 |
Show driver picture for the timing screen in non-race sessions. |
[Digital2010] | ShowDriverForFastestLap | 0..1 | 0 |
Show driver picture for the fastest lap in the race. |
[Digital2010] | ShowDriverForWinner | 0..1 | 0 |
Show driver picture for the race winner. |
Country flags
In digital 2010 mode flags can be shown behind driver names. GPxPatch does not provide these flags, so you will have to make your own or download them from somewhere.
The flag will take up space from the driver name. If the driver name doesn't fit anymore, its font will be condensed until it fits. It is drawn on top of data_neutral.tga.
The flag to be shown is determined from the same gpxpdata\drivers.ini file as the 3-letter name codes (see above).
In this file the nationality can be specified using a key named Country under each driver name section.
This must be an ISO 3166-1-alpha-2 code,
which is a 2-letter country code. These codes can also be specified in a performance text file, which has precedence over drivers.ini.
Flags can be specified using a key named FlagsDir in gpxsat.ini under section [Digital2010]. Default is "Flags".
This is the name of the subdirectory under gpxpdata\gfx\digital2010 that contains flag images. Each image must be named after the country code specified in drivers.ini.
Within this directory, a file named flags.ini can be stored along the images that contains some meta information:
Section(s) | Option | Values | Default | Description |
[Image] | Ext | tga, png, ... | tga |
Image file extension. This is the file extension of the flag image files.
Note that for GP3 and GP3-2000 tga is required (png only works for GP4) and the image width/height needs to be a power of 2 (e.g. 64 or 128). |
[Image] | Width | | 0 |
Image source width. This is the width of the flag inside the image. Only useful for tga images, where the image width is usually larger (rounded up to a power of 2).
Value 0 means the width will be taken from the image. |
[Image] | Height | | 0 |
Image source height. This is the height of the flag inside the image. See Width. |
[Image] | AdjustWidth | 0..1 | 1 |
Adjust image width to 120%. Most digital 2010 graphic widths are scaled to 120% to make more room for the driver names.
Use value 0 to disable or 1 to enable the same scaling for the flag image. |
Driver pictures
In digital 2010 mode driver pictures can be shown. Similar to the flags, GPxPatch does not provide these pictures.
The driver picture will be shown above the driver name for the "riding with" replacement. See advanced options for enabling it also for timing, fastest lap and winner.
The image will be scaled to the width of the box around the name.
It is assumed that the driver in the image is aligned to the bottom center.
Driver images can be specified using a key named DriversDir in gpxsat.ini under section [Digital2010]. Default is "Drivers".
This is the name of the subdirectory under gpxpdata\gfx\digital2010 that contains driver images. Each image must be named after the driver (e.g. "lewis hamilton.tga").
Within this directory, a file named drivers.ini can be stored along the images that contains some meta information:
Section(s) | Option | Values | Default | Description |
[Image] | Ext | tga, png, ... | tga |
Image file extension. This is the file extension of the driver image files.
Note that for GP3 and GP3-2000 tga is required (png only works for GP4) and the image width/height needs to be a power of 2 (e.g. 64 or 128). |
Main |
GPxPatch |
GPxSet |
GPxTrack |
GPxLap |
GPxSAT |
GPxCInfo |
GPxSound
Last modified : May 26rd, 2014