files:
- game: N/A:Select a file with the extension *.pak
game:
game_id: kyra1
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: the-legend-of-kyrandia-book-one
gogslug: legend_of_kyrandia
humblestoreid: ''
installer_slug: the-legend-of-kyrandia-book-o-ms-dos
name: 'The Legend of Kyrandia: Book One'
notes: ''
runner: scummvm
script:
files:
- game: N/A:Select a file with the extension *.pak
game:
game_id: kyra1
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: the-legend-of-kyrandia-book-o-ms-dos
steamid: null
version: MS-DOS
year: 1992
{
"game_slug": "the-legend-of-kyrandia-book-one",
"version": "MS-DOS",
"description": null,
"notes": "",
"name": "The Legend of Kyrandia: Book One",
"year": 1992,
"steamid": null,
"gogslug": "legend_of_kyrandia",
"humblestoreid": "",
"runner": "scummvm",
"slug": "the-legend-of-kyrandia-book-o-ms-dos",
"installer_slug": "the-legend-of-kyrandia-book-o-ms-dos",
"script": {
"files": [
{
"game": "N/A:Select a file with the extension *.pak"
}
],
"game": {
"game_id": "kyra1",
"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"
}
}
]
}
}