files:
- game: N/A:Select the file INSTALL.EXE
game:
game_id: torin
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
cp -avr "$src_path/." "$dst"'
file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- execute:
args: $game $GAMEDIR
file: $CACHE/bulkcopy.sh
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
description: null
game_slug: torins-passage
gogslug: torins_passage
humblestoreid: ''
installer_slug: torins-passage-cdrom
name: Torin's Passage
notes: ''
runner: scummvm
script:
files:
- game: N/A:Select the file INSTALL.EXE
game:
game_id: torin
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
cp -avr "$src_path/." "$dst"'
file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- execute:
args: $game $GAMEDIR
file: $CACHE/bulkcopy.sh
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
slug: torins-passage-cdrom
steamid: null
version: CDrom
year: 1995
{
"game_slug": "torins-passage",
"version": "CDrom",
"description": null,
"notes": "",
"name": "Torin's Passage",
"year": 1995,
"steamid": null,
"gogslug": "torins_passage",
"humblestoreid": "",
"runner": "scummvm",
"slug": "torins-passage-cdrom",
"installer_slug": "torins-passage-cdrom",
"script": {
"files": [
{
"game": "N/A:Select the file INSTALL.EXE"
}
],
"game": {
"game_id": "torin",
"path": "$GAMEDIR"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\ncp -avr \"$src_path/.\" \"$dst\"",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"chmodx": "$CACHE/bulkcopy.sh"
},
{
"execute": {
"args": "$game $GAMEDIR",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"execute": {
"args": "-R 775 \"$GAMEDIR\"",
"file": "/bin/chmod"
}
}
]
}
}