GP2Lap is a real-time extension for GP2. Its main functions include logging information for online competitions, like processor occupancy, and showing on-screen information such as the current standings, fastest lap times, and a track map.
GP2Lap should work with all (language) versions of GP2. If you have trouble getting it to work with your version then please let us know.
Under Windows XP or newer, GP2 can be run inside DOSBox. A whole copy of GP2 including a DOSBox configuration can be found on OldGames.sk.
GP2Lap can be cross compiled to DOS/4G with Open Watcom.
The included Makefile requires Windows XP/Vista/7/8, with the Watcom/BINNT directory in the search PATH. It can be run with nmake.exe and it will use wcc386.exe, wasm.exe and wlink.exe to build gp2lap.exe. To run gp2lap.exe in DOSBox, dos4gw.exe needs to be present too. It can be copied from the Watcom/BINW diretory.
The very first time, use "nmake init" to create output directories.
Use plain "nmake" to create "out\gp2lap.exe".
Use "nmake publish" to create a zip and documentation in "pub".
Open Watcom v2 also ships Linux-hosted versions of the same tools (wcc386, wasm, wlink and wmake),
so GP2Lap can be built natively on Linux using makefile.lin. The Windows makefile is left untouched.
Install Open Watcom v2 (for example under ~/watcom) and load its environment; Open Watcom provides
an owenv.sh that sets WATCOM and PATH:
. ~/watcom/owenv.sh
Then build from the repository root with wmake:
wmake -f makefile.lin init # first time only: create the output directories
wmake -f makefile.lin # build out/gp2lap.exe
As on Windows, dos4gw.exe must be present next to gp2lap.exe to run it, and the result runs under DOSBox (tested with DOSBox-X and DOSBox-Staging on Linux).