game:
game_id: sci
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
cp -avr "$src/." "$dst"'
file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- insert-disc:
description: Please insert disc 1
requires: version
- execute:
args: $DISC $GAMEDIR
file: $CACHE/bulkcopy.sh
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
- execute:
args: $GAMEDIR/resource.aud $GAMEDIR/RESAUD.000
file: /bin/mv
- insert-disc:
description: Please insert disc 2
requires: resource.aud
- execute:
args: $DISC $GAMEDIR
file: $CACHE/bulkcopy.sh
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
- execute:
args: $GAMEDIR/resource.aud $GAMEDIR/RESAUD.001
file: /bin/mv
description: null
game_slug: lighthouse-the-dark-being
gogslug: lighthouse_the_dark_being
humblestoreid: ''
installer_slug: lighthouse-the-dark-being-2cd
name: 'Lighthouse: The Dark Being'
notes: ''
runner: scummvm
script:
game:
game_id: sci
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
cp -avr "$src/." "$dst"'
file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- insert-disc:
description: Please insert disc 1
requires: version
- execute:
args: $DISC $GAMEDIR
file: $CACHE/bulkcopy.sh
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
- execute:
args: $GAMEDIR/resource.aud $GAMEDIR/RESAUD.000
file: /bin/mv
- insert-disc:
description: Please insert disc 2
requires: resource.aud
- execute:
args: $DISC $GAMEDIR
file: $CACHE/bulkcopy.sh
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
- execute:
args: $GAMEDIR/resource.aud $GAMEDIR/RESAUD.001
file: /bin/mv
slug: lighthouse-the-dark-being-2cd
steamid: null
version: 2CD
year: 1996
{
"game_slug": "lighthouse-the-dark-being",
"version": "2CD",
"description": null,
"notes": "",
"name": "Lighthouse: The Dark Being",
"year": 1996,
"steamid": null,
"gogslug": "lighthouse_the_dark_being",
"humblestoreid": "",
"runner": "scummvm",
"slug": "lighthouse-the-dark-being-2cd",
"installer_slug": "lighthouse-the-dark-being-2cd",
"script": {
"game": {
"game_id": "sci",
"path": "$GAMEDIR"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\ncp -avr \"$src/.\" \"$dst\"",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"chmodx": "$CACHE/bulkcopy.sh"
},
{
"insert-disc": {
"description": "Please insert disc 1",
"requires": "version"
}
},
{
"execute": {
"args": "$DISC $GAMEDIR",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"execute": {
"args": "-R 775 \"$GAMEDIR\"",
"file": "/bin/chmod"
}
},
{
"execute": {
"args": "$GAMEDIR/resource.aud $GAMEDIR/RESAUD.000",
"file": "/bin/mv"
}
},
{
"insert-disc": {
"description": "Please insert disc 2",
"requires": "resource.aud"
}
},
{
"execute": {
"args": "$DISC $GAMEDIR",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"execute": {
"args": "-R 775 \"$GAMEDIR\"",
"file": "/bin/chmod"
}
},
{
"execute": {
"args": "$GAMEDIR/resource.aud $GAMEDIR/RESAUD.001",
"file": "/bin/mv"
}
}
]
}
}