Installer age-of-empires-ii-the-age-of-cd-patch-20a
files:
- game_cd_cue: https://archive.org/download/aoe2_20210130/IMAGE.cue
- game_cd_bin: https://archive.org/download/aoe2_20210130/IMAGE.bin
- game_patch: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/Age_of_Empires_II/aoe2_aok_patch_2.0a.zip
- wrapper_vid: https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.9.0.0/cnc-ddraw.zip
- wrapper_cd: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/CDAudio%20proxy/cdaemu.7z
- cd_tools: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/cdrtools/cdrtools.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
- extract:
dst: $CACHE
file: cd_tools
- execute:
command: cd "$CACHE" ; ./bchunk -w "$game_cd_bin" "$game_cd_cue" "aoe2_aok" ;
mv aoe2_aok02.wav Track02.wav ;
- extract:
dst: $CACHE/CD
file: $CACHE/aoe2_aok01.iso
- task:
description: Installing Age of Empires II - The Age of Kings, let all options
to default. Do not launch game at ending install, just exit window.
executable: $CACHE/CD/aoesetup.exe
name: wineexec
prefix: $GAMEDIR
return_code: 256
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/avi
src: $CACHE/CD/GAME/AVI
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/sound/stream
src: $CACHE/CD/GAME/SOUND/STREAM
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/sound/campaign
src: $CACHE/CD/GAME/SOUND/CAMPAIGN
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/Campaign/Media
src: $CACHE/CD/GAME/CAMPAIGN/MEDIA
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/Music
src: $CACHE/Track02.wav
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II
file: game_patch
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II
file: wrapper_vid
- 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
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II
file: wrapper_cd
- task:
app: directplay
description: Installing directplay for multiplayer support
name: winetricks
prefix: $GAMEDIR
silent: true
wine:
overrides:
ddraw: n,b
winmm: 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: "- Game CD image will be directly downloaded from Internet Archives\r\n- Update\
\ 2.0a included\r\n- Using cnc-draw and CDAudio proxy open source projects to play\
\ this game in good conditions on modern computer/OS"
runner: wine
script:
files:
- game_cd_cue: https://archive.org/download/aoe2_20210130/IMAGE.cue
- game_cd_bin: https://archive.org/download/aoe2_20210130/IMAGE.bin
- game_patch: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/Age_of_Empires_II/aoe2_aok_patch_2.0a.zip
- wrapper_vid: https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.9.0.0/cnc-ddraw.zip
- wrapper_cd: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/CDAudio%20proxy/cdaemu.7z
- cd_tools: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/cdrtools/cdrtools.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
- extract:
dst: $CACHE
file: cd_tools
- execute:
command: cd "$CACHE" ; ./bchunk -w "$game_cd_bin" "$game_cd_cue" "aoe2_aok"
; mv aoe2_aok02.wav Track02.wav ;
- extract:
dst: $CACHE/CD
file: $CACHE/aoe2_aok01.iso
- task:
description: Installing Age of Empires II - The Age of Kings, let all options
to default. Do not launch game at ending install, just exit window.
executable: $CACHE/CD/aoesetup.exe
name: wineexec
prefix: $GAMEDIR
return_code: 256
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/avi
src: $CACHE/CD/GAME/AVI
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/sound/stream
src: $CACHE/CD/GAME/SOUND/STREAM
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/sound/campaign
src: $CACHE/CD/GAME/SOUND/CAMPAIGN
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/Campaign/Media
src: $CACHE/CD/GAME/CAMPAIGN/MEDIA
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/Music
src: $CACHE/Track02.wav
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II
file: game_patch
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II
file: wrapper_vid
- 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
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II
file: wrapper_cd
- task:
app: directplay
description: Installing directplay for multiplayer support
name: winetricks
prefix: $GAMEDIR
silent: true
wine:
overrides:
ddraw: n,b
winmm: 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": "- Game CD image will be directly downloaded from Internet Archives\r\n- Update 2.0a included\r\n- Using cnc-draw and CDAudio proxy open source projects to play this game in good conditions on modern computer/OS",
"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": [
{
"game_cd_cue": "https://archive.org/download/aoe2_20210130/IMAGE.cue"
},
{
"game_cd_bin": "https://archive.org/download/aoe2_20210130/IMAGE.bin"
},
{
"game_patch": "https://lutris.nyc3.cdn.digitaloceanspaces.com/games/Age_of_Empires_II/aoe2_aok_patch_2.0a.zip"
},
{
"wrapper_vid": "https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.9.0.0/cnc-ddraw.zip"
},
{
"wrapper_cd": "https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/CDAudio%20proxy/cdaemu.7z"
},
{
"cd_tools": "https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/cdrtools/cdrtools.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"
}
},
{
"extract": {
"dst": "$CACHE",
"file": "cd_tools"
}
},
{
"execute": {
"command": "cd \"$CACHE\" ; ./bchunk -w \"$game_cd_bin\" \"$game_cd_cue\" \"aoe2_aok\" ; mv aoe2_aok02.wav Track02.wav ;"
}
},
{
"extract": {
"dst": "$CACHE/CD",
"file": "$CACHE/aoe2_aok01.iso"
}
},
{
"task": {
"description": "Installing Age of Empires II - The Age of Kings, let all options to default. Do not launch game at ending install, just exit window.",
"executable": "$CACHE/CD/aoesetup.exe",
"name": "wineexec",
"prefix": "$GAMEDIR",
"return_code": 256
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/avi",
"src": "$CACHE/CD/GAME/AVI"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/sound/stream",
"src": "$CACHE/CD/GAME/SOUND/STREAM"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/sound/campaign",
"src": "$CACHE/CD/GAME/SOUND/CAMPAIGN"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/Campaign/Media",
"src": "$CACHE/CD/GAME/CAMPAIGN/MEDIA"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II/Music",
"src": "$CACHE/Track02.wav"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II",
"file": "game_patch"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II",
"file": "wrapper_vid"
}
},
{
"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
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II",
"file": "wrapper_cd"
}
},
{
"task": {
"app": "directplay",
"description": "Installing directplay for multiplayer support",
"name": "winetricks",
"prefix": "$GAMEDIR",
"silent": true
}
}
],
"wine": {
"overrides": {
"ddraw": "n,b",
"winmm": "n,b"
}
}
}
}