files:
- wrapper: https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.9.0.0/cnc-ddraw.zip
- patch: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/Age_of_Empires_II/aoe2_aok_patch_2.0a.zip
game:
exe: drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/EMPIRES2.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Preparing wineprefix...
name: create_prefix
prefix: $GAMEDIR
- task:
app: directplay
description: Installing directplay for multiplayer support
name: winetricks
prefix: $GAMEDIR
silent: true
- insert-disc:
requires: aoesetup.exe
- task:
executable: $DISC/aoesetup.exe
name: wineexec
prefix: $GAMEDIR
return_code: 256
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II
file: patch
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II
file: wrapper
- write_config:
data:
ddraw:
fullscreen: true
maintas: true
windowed: true
file: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/ddraw.ini
merge: true
wine:
overrides:
ddraw: n,b
description: 'Play "Age of Empires II: The Age of Kings" CD edition on Linux!'
game_slug: age-of-empires-ii-the-age-of-kings
gogslug: ''
humblestoreid: ''
installer_slug: age-of-empires-ii-the-age-of-cd-patch-20a
name: 'Age of Empires II: The Age of Kings'
notes: "- Patch 2.0a included\r\n- Choose the full install or you won't be able to\
\ see the cutscenes\r\n- Once installed, you can play the game without a CD, but\
\ the CD is required to play the background music"
runner: wine
script:
files:
- wrapper: https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.9.0.0/cnc-ddraw.zip
- patch: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/Age_of_Empires_II/aoe2_aok_patch_2.0a.zip
game:
exe: drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/EMPIRES2.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Preparing wineprefix...
name: create_prefix
prefix: $GAMEDIR
- task:
app: directplay
description: Installing directplay for multiplayer support
name: winetricks
prefix: $GAMEDIR
silent: true
- insert-disc:
requires: aoesetup.exe
- task:
executable: $DISC/aoesetup.exe
name: wineexec
prefix: $GAMEDIR
return_code: 256
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II
file: patch
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II
file: wrapper
- write_config:
data:
ddraw:
fullscreen: true
maintas: true
windowed: true
file: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/ddraw.ini
merge: true
wine:
overrides:
ddraw: n,b
slug: age-of-empires-ii-the-age-of-cd-patch-20a
steamid: null
version: CD + patch 2.0a
year: 1999
{
"game_slug": "age-of-empires-ii-the-age-of-kings",
"version": "CD + patch 2.0a",
"description": "Play \"Age of Empires II: The Age of Kings\" CD edition on Linux!",
"notes": "- Patch 2.0a included\r\n- Choose the full install or you won't be able to see the cutscenes\r\n- Once installed, you can play the game without a CD, but the CD is required to play the background music",
"name": "Age of Empires II: The Age of Kings",
"year": 1999,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "age-of-empires-ii-the-age-of-cd-patch-20a",
"installer_slug": "age-of-empires-ii-the-age-of-cd-patch-20a",
"script": {
"files": [
{
"wrapper": "https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.9.0.0/cnc-ddraw.zip"
},
{
"patch": "https://lutris.nyc3.cdn.digitaloceanspaces.com/games/Age_of_Empires_II/aoe2_aok_patch_2.0a.zip"
}
],
"game": {
"exe": "drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/EMPIRES2.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"description": "Preparing wineprefix...",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "directplay",
"description": "Installing directplay for multiplayer support",
"name": "winetricks",
"prefix": "$GAMEDIR",
"silent": true
}
},
{
"insert-disc": {
"requires": "aoesetup.exe"
}
},
{
"task": {
"executable": "$DISC/aoesetup.exe",
"name": "wineexec",
"prefix": "$GAMEDIR",
"return_code": 256
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II",
"file": "patch"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II",
"file": "wrapper"
}
},
{
"write_config": {
"data": {
"ddraw": {
"fullscreen": true,
"maintas": true,
"windowed": true
}
},
"file": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/ddraw.ini",
"merge": true
}
}
],
"wine": {
"overrides": {
"ddraw": "n,b"
}
}
}
}