files:
- game: N/A:Select Setup.exe
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
game_id: sci
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
find "$src" -maxdepth 1 -type d \( -iname app -o -iname commonappdata -o -iname
*redist -o -iname scummvm -o -iname *support -o -iname dosbox -o -iname ega
-o -iname bin -o -iname license -o -iname tmp \) -exec rm -r {} \;
find "$src" -maxdepth 1 -type f \( -iname "goggame*" -iname "999.*" -o -iname
"994.*" \) -exec rm {} \;'
file: $CACHE/remove.sh
- chmodx: $CACHE/remove.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -d "$GAMEDIR" "$game"
file: $CACHE/innoextract
- execute:
args: $GAMEDIR
file: $CACHE/remove.sh
scummvm:
fullscreen: true
description: null
game_slug: police-quest-swat
gogslug: police_quest_swat_1_2
humblestoreid: ''
installer_slug: police-quest-swat-gog
name: Police Quest - SWAT
notes: ''
runner: scummvm
script:
files:
- game: N/A:Select Setup.exe
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
game_id: sci
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
find "$src" -maxdepth 1 -type d \( -iname app -o -iname commonappdata -o -iname
*redist -o -iname scummvm -o -iname *support -o -iname dosbox -o -iname ega
-o -iname bin -o -iname license -o -iname tmp \) -exec rm -r {} \;
find "$src" -maxdepth 1 -type f \( -iname "goggame*" -iname "999.*" -o -iname
"994.*" \) -exec rm {} \;'
file: $CACHE/remove.sh
- chmodx: $CACHE/remove.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -d "$GAMEDIR" "$game"
file: $CACHE/innoextract
- execute:
args: $GAMEDIR
file: $CACHE/remove.sh
scummvm:
fullscreen: true
slug: police-quest-swat-gog
steamid: 560350
version: GOG
year: 1995
{
"game_slug": "police-quest-swat",
"version": "GOG",
"description": null,
"notes": "",
"name": "Police Quest - SWAT",
"year": 1995,
"steamid": 560350,
"gogslug": "police_quest_swat_1_2",
"humblestoreid": "",
"runner": "scummvm",
"slug": "police-quest-swat-gog",
"installer_slug": "police-quest-swat-gog",
"script": {
"files": [
{
"game": "N/A:Select Setup.exe"
},
{
"inno": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
}
],
"game": {
"game_id": "sci",
"path": "$GAMEDIR"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\nfind \"$src\" -maxdepth 1 -type d \\( -iname app -o -iname commonappdata -o -iname *redist -o -iname scummvm -o -iname *support -o -iname dosbox -o -iname ega -o -iname bin -o -iname license -o -iname tmp \\) -exec rm -r {} \\;\nfind \"$src\" -maxdepth 1 -type f \\( -iname \"goggame*\" -iname \"999.*\" -o -iname \"994.*\" \\) -exec rm {} \\;",
"file": "$CACHE/remove.sh"
}
},
{
"chmodx": "$CACHE/remove.sh"
},
{
"extract": {
"dst": "$CACHE",
"file": "$inno"
}
},
{
"execute": {
"args": "-d \"$GAMEDIR\" \"$game\"",
"file": "$CACHE/innoextract"
}
},
{
"execute": {
"args": "$GAMEDIR",
"file": "$CACHE/remove.sh"
}
}
],
"scummvm": {
"fullscreen": true
}
}
}