files:
- game: N/A:Select GOG installer.
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
game_id: sword1
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
find "$src" -maxdepth 1 -type d \( -iname scummvm -o -iname save \) -exec rm
-r {} \;
find "$src" -maxdepth 1 -type f \( -iname "*.dll" -o -iname "*.ico" -o -iname
"*.ini" \) -exec rm {} \;'
file: $CACHE/remove.sh
- chmodx: $CACHE/remove.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -I app -d "$CACHE" "$game"
file: $CACHE/innoextract
- merge:
dst: $GAMEDIR
src: $CACHE/app
- execute:
args: $GAMEDIR
file: $CACHE/remove.sh
scummvm:
fullscreen: true
description: The script installs original Broken Sword game files from the GOG v2
installer
game_slug: broken-sword-the-shadow-of-the-templars
gogslug: broken_sword_directors_cut
humblestoreid: broken-sword-shadow-of-the-templars-the-directors-cut
installer_slug: broken-sword-the-shadow-of-th-gog-orginal-game
name: 'Broken Sword: The Shadow of the Templars'
notes: ''
runner: scummvm
script:
files:
- game: N/A:Select GOG installer.
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
game_id: sword1
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
find "$src" -maxdepth 1 -type d \( -iname scummvm -o -iname save \) -exec
rm -r {} \;
find "$src" -maxdepth 1 -type f \( -iname "*.dll" -o -iname "*.ico" -o -iname
"*.ini" \) -exec rm {} \;'
file: $CACHE/remove.sh
- chmodx: $CACHE/remove.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -I app -d "$CACHE" "$game"
file: $CACHE/innoextract
- merge:
dst: $GAMEDIR
src: $CACHE/app
- execute:
args: $GAMEDIR
file: $CACHE/remove.sh
scummvm:
fullscreen: true
slug: broken-sword-the-shadow-of-th-gog-orginal-game
steamid: 57640
version: GOG Orginal Game
year: 1996
{
"game_slug": "broken-sword-the-shadow-of-the-templars",
"version": "GOG Orginal Game",
"description": "The script installs original Broken Sword game files from the GOG v2 installer",
"notes": "",
"name": "Broken Sword: The Shadow of the Templars",
"year": 1996,
"steamid": 57640,
"gogslug": "broken_sword_directors_cut",
"humblestoreid": "broken-sword-shadow-of-the-templars-the-directors-cut",
"runner": "scummvm",
"slug": "broken-sword-the-shadow-of-th-gog-orginal-game",
"installer_slug": "broken-sword-the-shadow-of-th-gog-orginal-game",
"script": {
"files": [
{
"game": "N/A:Select GOG installer."
},
{
"inno": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
}
],
"game": {
"game_id": "sword1",
"path": "$GAMEDIR"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\nfind \"$src\" -maxdepth 1 -type d \\( -iname scummvm -o -iname save \\) -exec rm -r {} \\;\nfind \"$src\" -maxdepth 1 -type f \\( -iname \"*.dll\" -o -iname \"*.ico\" -o -iname \"*.ini\" \\) -exec rm {} \\;",
"file": "$CACHE/remove.sh"
}
},
{
"chmodx": "$CACHE/remove.sh"
},
{
"extract": {
"dst": "$CACHE",
"file": "$inno"
}
},
{
"execute": {
"args": "-I app -d \"$CACHE\" \"$game\"",
"file": "$CACHE/innoextract"
}
},
{
"merge": {
"dst": "$GAMEDIR",
"src": "$CACHE/app"
}
},
{
"execute": {
"args": "$GAMEDIR",
"file": "$CACHE/remove.sh"
}
}
],
"scummvm": {
"fullscreen": true
}
}
}