Installer driver-cd-fixes
files:
- fixes: N/A:Please download & select lutris-files-driver.zip from https://github.com/keenanweaver/lutris-files/archive/refs/heads/driver.zip
Check for details on these files here https://github.com/keenanweaver/lutris-files/blob/driver/README.MD
- winmm: https://github.com/dippy-dipper/ogg-winmm/files/5636818/ogg-winmm_rev3.zip
game:
arch: win32
exe: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Game.exe
prefix: $GAMEDIR
installer:
- insert-disc:
description: Please mount the Driver disc and browse to the directory
requires: setup.exe
- task:
arch: win32
description: Installing Driver. Please use default options.
executable: $DISC/setup.exe
name: wineexec
prefix: $GAMEDIR
- extract:
dst: $CACHE
src: fixes
- extract:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Music
src: $CACHE/Music.zip
- task:
arch: win32
description: Installing patch
executable: $CACHE/driverpcpatchusav2_1.exe
name: wineexec
prefix: $GAMEDIR
- task:
arch: win32
description: Installing level fix. Please enter C:\Program Files\GT Interactive\Driver
executable: $CACHE/levelspatch.exe
name: wineexec
prefix: $GAMEDIR
- task:
arch: win32
description: Installing map fix. Please enter C:\Program Files\GT Interactive\Driver
executable: $CACHE/drvlevel.exe
name: wineexec
prefix: $GAMEDIR
- execute:
command: curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest
| grep browser_download_url | grep -vE '(dbg|API)' | cut -d '"' -f 4 | wget
--no-check-certificate -i- -P $CACHE
description: Download latest dgVoodoo2 release
- execute:
command: find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'
description: Extract latest dgVoodoo2 release to $CACHE
- merge:
description: Copy dgVoodoo2 components to $GAMEDIR
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/MS/x86/DDraw.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/MS/x86/D3DImm.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/3Dfx/x86/Glide.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/3Dfx/x86/Glide2x.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/3Dfx/x86/Glide3x.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/dgVoodooCpl.exe
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/dgVoodoo.conf
- write_config:
data:
DirectX:
Antialiasing: 8x
AppControlledScreenMode: false
DisableAltEnterToToggleScreenMode: false
Filtering: 16
Resolution: max_isf
VRAM: 64
VideoCard: internal3D
dgVoodooWatermark: false
General:
ScalingMode: stretched_ar
Glide:
3DfxSplashScreen: false
3DfxWatermark: false
Antialiasing: 8x
Resolution: max_isf
VideoCard: voodoo_2
description: Write dgVoodoo.conf file
file: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver/dgVoodoo.conf
merge: false
- execute:
command: mv "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Game.exe" "$GAMEDIR/drive_c/Program
Files/GT Interactive/Driver/Game.exe.bak"
- execute:
command: mv "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Config.exe"
"$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Config.exe.bak"
- copy:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/config.exe
- copy:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/Game.exe
- extract:
description: Extract ogg-winmm
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
file: winmm
- task:
arch: win32
description: Please select your desired options
executable: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver/config.exe
name: wineexec
prefix: $GAMEDIR
wine:
overrides:
ddraw.dll: n,b
winmm: n,b
description: Includes game patches, fixes for CD audio & graphical glitches, no-CD
support, and options for DirectX and Glide.
game_slug: driver
gogslug: ''
humblestoreid: ''
installer_slug: driver-cd-fixes
name: Driver
notes: "If you run the config.exe after initially installing, you may need to move\
\ the generated CONFIG.DAT file from the root of the Wine prefix to the game's install\
\ folder.\r\n\r\nIf you use Glide and choose one of the available widescreen resolutions,\
\ you will experience screen cutoff. It is recommended to either use DirectX mode\
\ or Glide non-widescreen."
runner: wine
script:
files:
- fixes: N/A:Please download & select lutris-files-driver.zip from https://github.com/keenanweaver/lutris-files/archive/refs/heads/driver.zip
Check for details on these files here https://github.com/keenanweaver/lutris-files/blob/driver/README.MD
- winmm: https://github.com/dippy-dipper/ogg-winmm/files/5636818/ogg-winmm_rev3.zip
game:
arch: win32
exe: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Game.exe
prefix: $GAMEDIR
installer:
- insert-disc:
description: Please mount the Driver disc and browse to the directory
requires: setup.exe
- task:
arch: win32
description: Installing Driver. Please use default options.
executable: $DISC/setup.exe
name: wineexec
prefix: $GAMEDIR
- extract:
dst: $CACHE
src: fixes
- extract:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Music
src: $CACHE/Music.zip
- task:
arch: win32
description: Installing patch
executable: $CACHE/driverpcpatchusav2_1.exe
name: wineexec
prefix: $GAMEDIR
- task:
arch: win32
description: Installing level fix. Please enter C:\Program Files\GT Interactive\Driver
executable: $CACHE/levelspatch.exe
name: wineexec
prefix: $GAMEDIR
- task:
arch: win32
description: Installing map fix. Please enter C:\Program Files\GT Interactive\Driver
executable: $CACHE/drvlevel.exe
name: wineexec
prefix: $GAMEDIR
- execute:
command: curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest
| grep browser_download_url | grep -vE '(dbg|API)' | cut -d '"' -f 4 | wget
--no-check-certificate -i- -P $CACHE
description: Download latest dgVoodoo2 release
- execute:
command: find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'
description: Extract latest dgVoodoo2 release to $CACHE
- merge:
description: Copy dgVoodoo2 components to $GAMEDIR
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/MS/x86/DDraw.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/MS/x86/D3DImm.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/3Dfx/x86/Glide.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/3Dfx/x86/Glide2x.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/3Dfx/x86/Glide3x.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/dgVoodooCpl.exe
- merge:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/dgVoodoo.conf
- write_config:
data:
DirectX:
Antialiasing: 8x
AppControlledScreenMode: false
DisableAltEnterToToggleScreenMode: false
Filtering: 16
Resolution: max_isf
VRAM: 64
VideoCard: internal3D
dgVoodooWatermark: false
General:
ScalingMode: stretched_ar
Glide:
3DfxSplashScreen: false
3DfxWatermark: false
Antialiasing: 8x
Resolution: max_isf
VideoCard: voodoo_2
description: Write dgVoodoo.conf file
file: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver/dgVoodoo.conf
merge: false
- execute:
command: mv "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Game.exe"
"$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Game.exe.bak"
- execute:
command: mv "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Config.exe"
"$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Config.exe.bak"
- copy:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/config.exe
- copy:
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
src: $CACHE/Game.exe
- extract:
description: Extract ogg-winmm
dst: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver
file: winmm
- task:
arch: win32
description: Please select your desired options
executable: $GAMEDIR/drive_c/Program Files/GT Interactive/Driver/config.exe
name: wineexec
prefix: $GAMEDIR
wine:
overrides:
ddraw.dll: n,b
winmm: n,b
slug: driver-cd-fixes
steamid: null
version: CD + fixes
year: 1999
{
"game_slug": "driver",
"version": "CD + fixes",
"description": "Includes game patches, fixes for CD audio & graphical glitches, no-CD support, and options for DirectX and Glide.",
"notes": "If you run the config.exe after initially installing, you may need to move the generated CONFIG.DAT file from the root of the Wine prefix to the game's install folder.\r\n\r\nIf you use Glide and choose one of the available widescreen resolutions, you will experience screen cutoff. It is recommended to either use DirectX mode or Glide non-widescreen.",
"name": "Driver",
"year": 1999,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "driver-cd-fixes",
"installer_slug": "driver-cd-fixes",
"script": {
"files": [
{
"fixes": "N/A:Please download & select lutris-files-driver.zip from https://github.com/keenanweaver/lutris-files/archive/refs/heads/driver.zip Check for details on these files here https://github.com/keenanweaver/lutris-files/blob/driver/README.MD"
},
{
"winmm": "https://github.com/dippy-dipper/ogg-winmm/files/5636818/ogg-winmm_rev3.zip"
}
],
"game": {
"arch": "win32",
"exe": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Game.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"insert-disc": {
"description": "Please mount the Driver disc and browse to the directory",
"requires": "setup.exe"
}
},
{
"task": {
"arch": "win32",
"description": "Installing Driver. Please use default options.",
"executable": "$DISC/setup.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"extract": {
"dst": "$CACHE",
"src": "fixes"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Music",
"src": "$CACHE/Music.zip"
}
},
{
"task": {
"arch": "win32",
"description": "Installing patch",
"executable": "$CACHE/driverpcpatchusav2_1.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win32",
"description": "Installing level fix. Please enter C:\\Program Files\\GT Interactive\\Driver",
"executable": "$CACHE/levelspatch.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win32",
"description": "Installing map fix. Please enter C:\\Program Files\\GT Interactive\\Driver",
"executable": "$CACHE/drvlevel.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"execute": {
"command": "curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest | grep browser_download_url | grep -vE '(dbg|API)' | cut -d '\"' -f 4 | wget --no-check-certificate -i- -P $CACHE",
"description": "Download latest dgVoodoo2 release"
}
},
{
"execute": {
"command": "find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'",
"description": "Extract latest dgVoodoo2 release to $CACHE"
}
},
{
"merge": {
"description": "Copy dgVoodoo2 components to $GAMEDIR",
"dst": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver",
"src": "$CACHE/MS/x86/DDraw.dll"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver",
"src": "$CACHE/MS/x86/D3DImm.dll"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver",
"src": "$CACHE/3Dfx/x86/Glide.dll"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver",
"src": "$CACHE/3Dfx/x86/Glide2x.dll"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver",
"src": "$CACHE/3Dfx/x86/Glide3x.dll"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver",
"src": "$CACHE/dgVoodooCpl.exe"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver",
"src": "$CACHE/dgVoodoo.conf"
}
},
{
"write_config": {
"data": {
"DirectX": {
"Antialiasing": "8x",
"AppControlledScreenMode": false,
"DisableAltEnterToToggleScreenMode": false,
"Filtering": 16,
"Resolution": "max_isf",
"VRAM": 64,
"VideoCard": "internal3D",
"dgVoodooWatermark": false
},
"General": {
"ScalingMode": "stretched_ar"
},
"Glide": {
"3DfxSplashScreen": false,
"3DfxWatermark": false,
"Antialiasing": "8x",
"Resolution": "max_isf",
"VideoCard": "voodoo_2"
}
},
"description": "Write dgVoodoo.conf file",
"file": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/dgVoodoo.conf",
"merge": false
}
},
{
"execute": {
"command": "mv \"$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Game.exe\" \"$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Game.exe.bak\""
}
},
{
"execute": {
"command": "mv \"$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Config.exe\" \"$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/Config.exe.bak\""
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver",
"src": "$CACHE/config.exe"
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver",
"src": "$CACHE/Game.exe"
}
},
{
"extract": {
"description": "Extract ogg-winmm",
"dst": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver",
"file": "winmm"
}
},
{
"task": {
"arch": "win32",
"description": "Please select your desired options",
"executable": "$GAMEDIR/drive_c/Program Files/GT Interactive/Driver/config.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
}
],
"wine": {
"overrides": {
"ddraw.dll": "n,b",
"winmm": "n,b"
}
}
}
}