files:
- file1: N/A:Please select the GOG installer
- file2: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
config_file: $GAMEDIR/dosboxMortalKombat2.conf
main_file: DOSBOX/dosboxMortalKombat2_single.conf
installer:
- extract:
dst: $CACHE
file: $file2
- execute:
args: -d "$CACHE" "$file1"
file: $CACHE/innoextract
- merge:
dst: $GAMEDIR
src: $CACHE/app
- merge:
dst: $GAMEDIR/DOSBOX
src: $GAMEDIR/dosboxMortalKombat2_single.conf
- write_config:
file: $GAMEDIR/dosboxMortalKombat2.conf
key: aspect
section: render
value: true
- write_config:
file: $GAMEDIR/dosboxMortalKombat2.conf
key: fullscreen
section: sdl
value: false
description: Script modified from Lutris MK 1 to make an installer to MK 2
game_slug: mortal-kombat-ii
gogslug: mortal_kombat_123
humblestoreid: ''
installer_slug: mortal-kombat-ii-dosbox-gog
name: Mortal Kombat II
notes: ''
runner: dosbox
script:
files:
- file1: N/A:Please select the GOG installer
- file2: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
config_file: $GAMEDIR/dosboxMortalKombat2.conf
main_file: DOSBOX/dosboxMortalKombat2_single.conf
installer:
- extract:
dst: $CACHE
file: $file2
- execute:
args: -d "$CACHE" "$file1"
file: $CACHE/innoextract
- merge:
dst: $GAMEDIR
src: $CACHE/app
- merge:
dst: $GAMEDIR/DOSBOX
src: $GAMEDIR/dosboxMortalKombat2_single.conf
- write_config:
file: $GAMEDIR/dosboxMortalKombat2.conf
key: aspect
section: render
value: true
- write_config:
file: $GAMEDIR/dosboxMortalKombat2.conf
key: fullscreen
section: sdl
value: false
slug: mortal-kombat-ii-dosbox-gog
steamid: null
version: Dosbox GOG
year: 1993
{
"game_slug": "mortal-kombat-ii",
"version": "Dosbox GOG",
"description": "Script modified from Lutris MK 1 to make an installer to MK 2",
"notes": "",
"name": "Mortal Kombat II",
"year": 1993,
"steamid": null,
"gogslug": "mortal_kombat_123",
"humblestoreid": "",
"runner": "dosbox",
"slug": "mortal-kombat-ii-dosbox-gog",
"installer_slug": "mortal-kombat-ii-dosbox-gog",
"script": {
"files": [
{
"file1": "N/A:Please select the GOG installer"
},
{
"file2": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
}
],
"game": {
"config_file": "$GAMEDIR/dosboxMortalKombat2.conf",
"main_file": "DOSBOX/dosboxMortalKombat2_single.conf"
},
"installer": [
{
"extract": {
"dst": "$CACHE",
"file": "$file2"
}
},
{
"execute": {
"args": "-d \"$CACHE\" \"$file1\"",
"file": "$CACHE/innoextract"
}
},
{
"merge": {
"dst": "$GAMEDIR",
"src": "$CACHE/app"
}
},
{
"merge": {
"dst": "$GAMEDIR/DOSBOX",
"src": "$GAMEDIR/dosboxMortalKombat2_single.conf"
}
},
{
"write_config": {
"file": "$GAMEDIR/dosboxMortalKombat2.conf",
"key": "aspect",
"section": "render",
"value": true
}
},
{
"write_config": {
"file": "$GAMEDIR/dosboxMortalKombat2.conf",
"key": "fullscreen",
"section": "sdl",
"value": false
}
}
]
}
}