files:
- nocd: https://github.com/keenanweaver/lutris-files/raw/godfather/godfather.exe
- widescreen: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/thegodfather/TheGodfather.WidescreenFix.zip
- silentpatch: https://github.com/CookiePLMonster/SilentPatchGF/releases/latest/download/SilentPatchGF.zip
game:
arch: win32
exe: drive_c/Program Files/Electronic Arts/The Godfather The Game/godfather.exe
prefix: $GAMEDIR
installer:
- insert-disc:
description: Please mount your 'The Godfather The Game' disc and browse to the
directory
requires: godfather.exe
- merge:
description: Extracting installation data from disc, please wait ...
dst: $CACHE/godfathersetup
src: $DISC
- execute:
command: sed -i 's/DirectXVersion=9.0c/DirectXVersion=0/g' "$CACHE/godfathersetup/AutoRun/autorun.cfg"
- execute:
command: sed -i 's/EReg=1/EReg=0/g' "$CACHE/godfathersetup/AutoRun/autorun.cfg"
- task:
arch: win32
description: Creating Wine prefix ...
install_gecko: false
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- task:
arch: win32
description: Enter your CD-key when prompted and choose default options, do NOT
launch the game when the installer is finished.
executable: $CACHE/godfathersetup/AutoRun.exe
name: wineexec
prefix: $GAMEDIR
- merge:
dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game
src: nocd
- extract:
dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game
src: widescreen
- extract:
dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game
src: silentpatch
- rename:
dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game/d3d9.dll
src: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game/dinput8.dll
- write_config:
data:
SilentPatch:
FPSLimit: 60
file: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game/scripts/SilentPatchGF.ini
wine:
overrides:
d3d9: n,b
description: Requires CD key. Includes SilentPatch and widescreen fix.
game_slug: the-godfather
gogslug: ''
humblestoreid: ''
installer_slug: the-godfather-dvd
name: The Godfather
notes: This installer will copy the contents of the entire disc into a temporary directory
so it can modify the install configuration, in order to prevent a fatal DirectX
version error that occurs when installing in an empty Wine prefix.
runner: wine
script:
files:
- nocd: https://github.com/keenanweaver/lutris-files/raw/godfather/godfather.exe
- widescreen: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/thegodfather/TheGodfather.WidescreenFix.zip
- silentpatch: https://github.com/CookiePLMonster/SilentPatchGF/releases/latest/download/SilentPatchGF.zip
game:
arch: win32
exe: drive_c/Program Files/Electronic Arts/The Godfather The Game/godfather.exe
prefix: $GAMEDIR
installer:
- insert-disc:
description: Please mount your 'The Godfather The Game' disc and browse to the
directory
requires: godfather.exe
- merge:
description: Extracting installation data from disc, please wait ...
dst: $CACHE/godfathersetup
src: $DISC
- execute:
command: sed -i 's/DirectXVersion=9.0c/DirectXVersion=0/g' "$CACHE/godfathersetup/AutoRun/autorun.cfg"
- execute:
command: sed -i 's/EReg=1/EReg=0/g' "$CACHE/godfathersetup/AutoRun/autorun.cfg"
- task:
arch: win32
description: Creating Wine prefix ...
install_gecko: false
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- task:
arch: win32
description: Enter your CD-key when prompted and choose default options, do
NOT launch the game when the installer is finished.
executable: $CACHE/godfathersetup/AutoRun.exe
name: wineexec
prefix: $GAMEDIR
- merge:
dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game
src: nocd
- extract:
dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game
src: widescreen
- extract:
dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game
src: silentpatch
- rename:
dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game/d3d9.dll
src: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game/dinput8.dll
- write_config:
data:
SilentPatch:
FPSLimit: 60
file: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game/scripts/SilentPatchGF.ini
wine:
overrides:
d3d9: n,b
slug: the-godfather-dvd
steamid: 24820
version: DVD
year: 2006
{
"game_slug": "the-godfather",
"version": "DVD",
"description": "Requires CD key. Includes SilentPatch and widescreen fix.",
"notes": "This installer will copy the contents of the entire disc into a temporary directory so it can modify the install configuration, in order to prevent a fatal DirectX version error that occurs when installing in an empty Wine prefix.",
"name": "The Godfather",
"year": 2006,
"steamid": 24820,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "the-godfather-dvd",
"installer_slug": "the-godfather-dvd",
"script": {
"files": [
{
"nocd": "https://github.com/keenanweaver/lutris-files/raw/godfather/godfather.exe"
},
{
"widescreen": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/thegodfather/TheGodfather.WidescreenFix.zip"
},
{
"silentpatch": "https://github.com/CookiePLMonster/SilentPatchGF/releases/latest/download/SilentPatchGF.zip"
}
],
"game": {
"arch": "win32",
"exe": "drive_c/Program Files/Electronic Arts/The Godfather The Game/godfather.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"insert-disc": {
"description": "Please mount your 'The Godfather The Game' disc and browse to the directory",
"requires": "godfather.exe"
}
},
{
"merge": {
"description": "Extracting installation data from disc, please wait ...",
"dst": "$CACHE/godfathersetup",
"src": "$DISC"
}
},
{
"execute": {
"command": "sed -i 's/DirectXVersion=9.0c/DirectXVersion=0/g' \"$CACHE/godfathersetup/AutoRun/autorun.cfg\""
}
},
{
"execute": {
"command": "sed -i 's/EReg=1/EReg=0/g' \"$CACHE/godfathersetup/AutoRun/autorun.cfg\""
}
},
{
"task": {
"arch": "win32",
"description": "Creating Wine prefix ...",
"install_gecko": false,
"install_mono": false,
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win32",
"description": "Enter your CD-key when prompted and choose default options, do NOT launch the game when the installer is finished.",
"executable": "$CACHE/godfathersetup/AutoRun.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game",
"src": "nocd"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game",
"src": "widescreen"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game",
"src": "silentpatch"
}
},
{
"rename": {
"dst": "$GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game/d3d9.dll",
"src": "$GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game/dinput8.dll"
}
},
{
"write_config": {
"data": {
"SilentPatch": {
"FPSLimit": 60
}
},
"file": "$GAMEDIR/drive_c/Program Files/Electronic Arts/The Godfather The Game/scripts/SilentPatchGF.ini"
}
}
],
"wine": {
"overrides": {
"d3d9": "n,b"
}
}
}
}