game:
game_id: tlj
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
cp -avr "$src/." "$dst"'
file: $CACHE/bulkcopy-alt.sh
- chmodx: $CACHE/bulkcopy-alt.sh
- insert-disc:
description: Please insert disc
requires: SETUP.EXE
- task:
arch: win32
install_mono: false
name: wine.create_prefix
prefix: $GAMEDIR
- task:
arch: win32
executable: $DISC/SETUP.EXE
name: wine.wineexec
prefix: $GAMEDIR
- execute:
args: '''$GAMEDIR/drive_c/Program Files/Funcom/The Longest Journey'' ''$GAMEDIR'''
file: $CACHE/bulkcopy-alt.sh
- execute:
args: -R 775 $GAMEDIR
file: /bin/chmod
- execute:
args: $GAMEDIR/configure.exe
file: /bin/rm
- execute:
args: -r $GAMEDIR/drive_c
file: /bin/rm
- execute:
args: -r $GAMEDIR/dosdevices
file: /bin/rm
- execute:
args: -r $GAMEDIR/system.reg
file: /bin/rm
- execute:
args: -r $GAMEDIR/user.reg
file: /bin/rm
- execute:
args: -r $GAMEDIR/userdef.reg
file: /bin/rm
description: null
game_slug: the-longest-journey
gogslug: the_longest_journey
humblestoreid: ''
installer_slug: the-longest-journey-dvd
name: The Longest Journey
notes: ''
runner: residualvm
script:
game:
game_id: tlj
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
cp -avr "$src/." "$dst"'
file: $CACHE/bulkcopy-alt.sh
- chmodx: $CACHE/bulkcopy-alt.sh
- insert-disc:
description: Please insert disc
requires: SETUP.EXE
- task:
arch: win32
install_mono: false
name: wine.create_prefix
prefix: $GAMEDIR
- task:
arch: win32
executable: $DISC/SETUP.EXE
name: wine.wineexec
prefix: $GAMEDIR
- execute:
args: '''$GAMEDIR/drive_c/Program Files/Funcom/The Longest Journey'' ''$GAMEDIR'''
file: $CACHE/bulkcopy-alt.sh
- execute:
args: -R 775 $GAMEDIR
file: /bin/chmod
- execute:
args: $GAMEDIR/configure.exe
file: /bin/rm
- execute:
args: -r $GAMEDIR/drive_c
file: /bin/rm
- execute:
args: -r $GAMEDIR/dosdevices
file: /bin/rm
- execute:
args: -r $GAMEDIR/system.reg
file: /bin/rm
- execute:
args: -r $GAMEDIR/user.reg
file: /bin/rm
- execute:
args: -r $GAMEDIR/userdef.reg
file: /bin/rm
slug: the-longest-journey-dvd
steamid: 6310
version: DVD
year: 1999
{
"game_slug": "the-longest-journey",
"version": "DVD",
"description": null,
"notes": "",
"name": "The Longest Journey",
"year": 1999,
"steamid": 6310,
"gogslug": "the_longest_journey",
"humblestoreid": "",
"runner": "residualvm",
"slug": "the-longest-journey-dvd",
"installer_slug": "the-longest-journey-dvd",
"script": {
"game": {
"game_id": "tlj",
"path": "$GAMEDIR"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\ncp -avr \"$src/.\" \"$dst\"",
"file": "$CACHE/bulkcopy-alt.sh"
}
},
{
"chmodx": "$CACHE/bulkcopy-alt.sh"
},
{
"insert-disc": {
"description": "Please insert disc",
"requires": "SETUP.EXE"
}
},
{
"task": {
"arch": "win32",
"install_mono": false,
"name": "wine.create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win32",
"executable": "$DISC/SETUP.EXE",
"name": "wine.wineexec",
"prefix": "$GAMEDIR"
}
},
{
"execute": {
"args": "'$GAMEDIR/drive_c/Program Files/Funcom/The Longest Journey' '$GAMEDIR'",
"file": "$CACHE/bulkcopy-alt.sh"
}
},
{
"execute": {
"args": "-R 775 $GAMEDIR",
"file": "/bin/chmod"
}
},
{
"execute": {
"args": "$GAMEDIR/configure.exe",
"file": "/bin/rm"
}
},
{
"execute": {
"args": "-r $GAMEDIR/drive_c",
"file": "/bin/rm"
}
},
{
"execute": {
"args": "-r $GAMEDIR/dosdevices",
"file": "/bin/rm"
}
},
{
"execute": {
"args": "-r $GAMEDIR/system.reg",
"file": "/bin/rm"
}
},
{
"execute": {
"args": "-r $GAMEDIR/user.reg",
"file": "/bin/rm"
}
},
{
"execute": {
"args": "-r $GAMEDIR/userdef.reg",
"file": "/bin/rm"
}
}
]
}
}