game:
game_id: borderzone
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
find "$src_path" -type f \( -iname "BORDERZO.DAT" \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- insert-disc:
description: Please insert Lost Treasures of Infocom II CD
requires: DOS
- execute:
args: $DISC "$GAMEDIR"
file: $CACHE/selectcopy.sh
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
description: null
game_slug: border-zone
gogslug: ''
humblestoreid: ''
installer_slug: border-zone-infocom-treasures-ii
name: Border Zone
notes: ''
runner: scummvm
script:
game:
game_id: borderzone
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
find "$src_path" -type f \( -iname "BORDERZO.DAT" \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- insert-disc:
description: Please insert Lost Treasures of Infocom II CD
requires: DOS
- execute:
args: $DISC "$GAMEDIR"
file: $CACHE/selectcopy.sh
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
slug: border-zone-infocom-treasures-ii
steamid: null
version: Infocom Treasures II CD
year: 1987
{
"game_slug": "border-zone",
"version": "Infocom Treasures II CD",
"description": null,
"notes": "",
"name": "Border Zone",
"year": 1987,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "scummvm",
"slug": "border-zone-infocom-treasures-ii",
"installer_slug": "border-zone-infocom-treasures-ii",
"script": {
"game": {
"game_id": "borderzone",
"path": "$GAMEDIR"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\nfind \"$src_path\" -type f \\( -iname \"BORDERZO.DAT\" \\) -exec cp {} \"$dst\" \\;",
"file": "$CACHE/selectcopy.sh"
}
},
{
"chmodx": "$CACHE/selectcopy.sh"
},
{
"insert-disc": {
"description": "Please insert Lost Treasures of Infocom II CD",
"requires": "DOS"
}
},
{
"execute": {
"args": "$DISC \"$GAMEDIR\"",
"file": "$CACHE/selectcopy.sh"
}
},
{
"execute": {
"args": "-R 775 \"$GAMEDIR\"",
"file": "/bin/chmod"
}
}
]
}
}