files:
- game: N/A:Please select the GOG.com Windows installer
game:
config_file: $GAMEDIR/dosboxSettlers2.conf
main_file: $GAMEDIR/dosboxSettlers2_single.conf
installer:
- task:
description: Creating Wine prefix
name: wine.create_prefix
prefix: $GAMEDIR
- task:
key: winemenubuilder.exe
name: wine.set_regedit
path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
prefix: $GAMEDIR
type: REG_SZ
value: ''
- task:
args: /DIR=C:/game
description: Installing ...
executable: $game
name: wine.wineexec
prefix: $GAMEDIR
- execute:
args: -c 'mv $GAMEDIR/drive_c/game/* $GAMEDIR'
description: cleaning...
file: /bin/sh
terminal: false
- execute:
args: -c 'rm -rf $GAMEDIR/drive_c $GAMEDIR/dosdevices $GAMEDIR/*.reg'
description: cleaning...
file: /bin/sh
terminal: false
- execute:
args: -i 's|mount C ".."|mount C "."|g' $GAMEDIR/dosboxSettlers2_single.conf
file: /bin/sed
terminal: false
- execute:
args: -i 's|..\settlers2.inst|settlers2.inst|g' $GAMEDIR/dosboxSettlers2_single.conf
file: /bin/sed
terminal: false
- execute:
args: -c 'rm -rf $GAMEDIR/DOSBOX'
file: /bin/sh
terminal: false
description: null
game_slug: the-settlers-ii-gold-edition
gogslug: the_settlers_2_gold_edition
humblestoreid: ''
installer_slug: the-settlers-ii-gold-edition-gog
name: 'The Settlers II: Gold Edition'
notes: ''
runner: dosbox
script:
files:
- game: N/A:Please select the GOG.com Windows installer
game:
config_file: $GAMEDIR/dosboxSettlers2.conf
main_file: $GAMEDIR/dosboxSettlers2_single.conf
installer:
- task:
description: Creating Wine prefix
name: wine.create_prefix
prefix: $GAMEDIR
- task:
key: winemenubuilder.exe
name: wine.set_regedit
path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
prefix: $GAMEDIR
type: REG_SZ
value: ''
- task:
args: /DIR=C:/game
description: Installing ...
executable: $game
name: wine.wineexec
prefix: $GAMEDIR
- execute:
args: -c 'mv $GAMEDIR/drive_c/game/* $GAMEDIR'
description: cleaning...
file: /bin/sh
terminal: false
- execute:
args: -c 'rm -rf $GAMEDIR/drive_c $GAMEDIR/dosdevices $GAMEDIR/*.reg'
description: cleaning...
file: /bin/sh
terminal: false
- execute:
args: -i 's|mount C ".."|mount C "."|g' $GAMEDIR/dosboxSettlers2_single.conf
file: /bin/sed
terminal: false
- execute:
args: -i 's|..\settlers2.inst|settlers2.inst|g' $GAMEDIR/dosboxSettlers2_single.conf
file: /bin/sed
terminal: false
- execute:
args: -c 'rm -rf $GAMEDIR/DOSBOX'
file: /bin/sh
terminal: false
slug: the-settlers-ii-gold-edition-gog
steamid: null
version: GOG
year: 1996
{
"game_slug": "the-settlers-ii-gold-edition",
"version": "GOG",
"description": null,
"notes": "",
"name": "The Settlers II: Gold Edition",
"year": 1996,
"steamid": null,
"gogslug": "the_settlers_2_gold_edition",
"humblestoreid": "",
"runner": "dosbox",
"slug": "the-settlers-ii-gold-edition-gog",
"installer_slug": "the-settlers-ii-gold-edition-gog",
"script": {
"files": [
{
"game": "N/A:Please select the GOG.com Windows installer"
}
],
"game": {
"config_file": "$GAMEDIR/dosboxSettlers2.conf",
"main_file": "$GAMEDIR/dosboxSettlers2_single.conf"
},
"installer": [
{
"task": {
"description": "Creating Wine prefix",
"name": "wine.create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"key": "winemenubuilder.exe",
"name": "wine.set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
"prefix": "$GAMEDIR",
"type": "REG_SZ",
"value": ""
}
},
{
"task": {
"args": "/DIR=C:/game",
"description": "Installing ...",
"executable": "$game",
"name": "wine.wineexec",
"prefix": "$GAMEDIR"
}
},
{
"execute": {
"args": "-c 'mv $GAMEDIR/drive_c/game/* $GAMEDIR'",
"description": "cleaning...",
"file": "/bin/sh",
"terminal": false
}
},
{
"execute": {
"args": "-c 'rm -rf $GAMEDIR/drive_c $GAMEDIR/dosdevices $GAMEDIR/*.reg'",
"description": "cleaning...",
"file": "/bin/sh",
"terminal": false
}
},
{
"execute": {
"args": "-i 's|mount C \"..\"|mount C \".\"|g' $GAMEDIR/dosboxSettlers2_single.conf",
"file": "/bin/sed",
"terminal": false
}
},
{
"execute": {
"args": "-i 's|..\\settlers2.inst|settlers2.inst|g' $GAMEDIR/dosboxSettlers2_single.conf",
"file": "/bin/sed",
"terminal": false
}
},
{
"execute": {
"args": "-c 'rm -rf $GAMEDIR/DOSBOX'",
"file": "/bin/sh",
"terminal": false
}
}
]
}
}