files:
- game: N/A:Select file HHH.exe
game:
game_id: hugo1
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
description: null
game_slug: hugos-house-of-horrors
gogslug: ''
humblestoreid: ''
installer_slug: hugos-house-of-horrors-ms-dos
name: Hugo's House of Horrors
notes: ''
runner: scummvm
script:
files:
- game: N/A:Select file HHH.exe
game:
game_id: hugo1
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
slug: hugos-house-of-horrors-ms-dos
steamid: null
version: MS-DOS
year: 1990
{
"game_slug": "hugos-house-of-horrors",
"version": "MS-DOS",
"description": null,
"notes": "",
"name": "Hugo's House of Horrors",
"year": 1990,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "scummvm",
"slug": "hugos-house-of-horrors-ms-dos",
"installer_slug": "hugos-house-of-horrors-ms-dos",
"script": {
"files": [
{
"game": "N/A:Select file HHH.exe"
}
],
"game": {
"game_id": "hugo1",
"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"
}
}
]
}
}