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: lab
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
find "$src" -maxdepth 1 -type d \(-iname *support -o \) -exec rm -r {} \;
find "$src" -maxdepth 1 -type f \( -iname "*.dll" -o -iname "goggame*" -o -iname
"*.exe" \) -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
description: null
game_slug: the-labyrinth-of-time
gogslug: labyrinth_of_time_the
humblestoreid: ''
installer_slug: the-labyrinth-of-time-gog-windows
name: The Labyrinth of Time
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: lab
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
find "$src" -maxdepth 1 -type d \(-iname *support -o \) -exec rm -r {} \;
find "$src" -maxdepth 1 -type f \( -iname "*.dll" -o -iname "goggame*" -o
-iname "*.exe" \) -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
slug: the-labyrinth-of-time-gog-windows
steamid: 266980
version: GOG (Windows)
year: 1993
{
"game_slug": "the-labyrinth-of-time",
"version": "GOG (Windows)",
"description": null,
"notes": "",
"name": "The Labyrinth of Time",
"year": 1993,
"steamid": 266980,
"gogslug": "labyrinth_of_time_the",
"humblestoreid": "",
"runner": "scummvm",
"slug": "the-labyrinth-of-time-gog-windows",
"installer_slug": "the-labyrinth-of-time-gog-windows",
"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": "lab",
"path": "$GAMEDIR"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\nfind \"$src\" -maxdepth 1 -type d \\(-iname *support -o \\) -exec rm -r {} \\;\nfind \"$src\" -maxdepth 1 -type f \\( -iname \"*.dll\" -o -iname \"goggame*\" -o -iname \"*.exe\" \\) -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"
}
}
]
}
}