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: swordsofxeen
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
file=$3
find "$src" -maxdepth 1 -type f \( -iname $file \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy2.sh
- chmodx: $CACHE/selectcopy2.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -d "$CACHE" "$game"
file: $CACHE/innoextract
- execute:
args: $CACHE $GAMEDIR *.pdf
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR SWORDS.EXE
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR SWRD.*
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR XEEN.*
file: $CACHE/selectcopy2.sh
scummvm:
fullscreen: true
description: null
game_slug: swords-of-xeen
gogslug: ''
humblestoreid: ''
installer_slug: swords-of-xeen-windows-gog-v1-1
name: Swords of Xeen
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: swordsofxeen
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
file=$3
find "$src" -maxdepth 1 -type f \( -iname $file \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy2.sh
- chmodx: $CACHE/selectcopy2.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -d "$CACHE" "$game"
file: $CACHE/innoextract
- execute:
args: $CACHE $GAMEDIR *.pdf
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR SWORDS.EXE
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR SWRD.*
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR XEEN.*
file: $CACHE/selectcopy2.sh
scummvm:
fullscreen: true
slug: swords-of-xeen-windows-gog-v1-1
steamid: null
version: Windows GOG - V1
year: 1995
{
"game_slug": "swords-of-xeen",
"version": "Windows GOG - V1",
"description": null,
"notes": "",
"name": "Swords of Xeen",
"year": 1995,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "scummvm",
"slug": "swords-of-xeen-windows-gog-v1-1",
"installer_slug": "swords-of-xeen-windows-gog-v1-1",
"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": "swordsofxeen",
"path": "$GAMEDIR"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\nfile=$3\nfind \"$src\" -maxdepth 1 -type f \\( -iname $file \\) -exec cp {} \"$dst\" \\;",
"file": "$CACHE/selectcopy2.sh"
}
},
{
"chmodx": "$CACHE/selectcopy2.sh"
},
{
"extract": {
"dst": "$CACHE",
"file": "$inno"
}
},
{
"execute": {
"args": "-d \"$CACHE\" \"$game\"",
"file": "$CACHE/innoextract"
}
},
{
"execute": {
"args": "$CACHE $GAMEDIR *.pdf",
"file": "$CACHE/selectcopy2.sh"
}
},
{
"execute": {
"args": "$CACHE $GAMEDIR SWORDS.EXE",
"file": "$CACHE/selectcopy2.sh"
}
},
{
"execute": {
"args": "$CACHE $GAMEDIR SWRD.*",
"file": "$CACHE/selectcopy2.sh"
}
},
{
"execute": {
"args": "$CACHE $GAMEDIR XEEN.*",
"file": "$CACHE/selectcopy2.sh"
}
}
],
"scummvm": {
"fullscreen": true
}
}
}