files:
- game: N/A:Select the file Eric.EXE
game:
main_file: $GAMEDIR/Eric.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/Eric
file: mkdir
- 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/HDD/Eric
file: $CACHE/bulkcopy.sh
- write_file:
content: '[sdl]
sensitivity=20
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd Eric
Eric.EXE mt32
exit'
file: $GAMEDIR/Eric.conf
description: null
game_slug: eric-the-unready
gogslug: eric_the_unready
humblestoreid: ''
installer_slug: eric-the-unready-ms-dos
name: Eric the Unready
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select the file Eric.EXE
game:
main_file: $GAMEDIR/Eric.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/Eric
file: mkdir
- 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/HDD/Eric
file: $CACHE/bulkcopy.sh
- write_file:
content: '[sdl]
sensitivity=20
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd Eric
Eric.EXE mt32
exit'
file: $GAMEDIR/Eric.conf
slug: eric-the-unready-ms-dos
steamid: 1006450
version: MS-DOS
year: 1993
{
"game_slug": "eric-the-unready",
"version": "MS-DOS",
"description": null,
"notes": "",
"name": "Eric the Unready",
"year": 1993,
"steamid": 1006450,
"gogslug": "eric_the_unready",
"humblestoreid": "",
"runner": "dosbox",
"slug": "eric-the-unready-ms-dos",
"installer_slug": "eric-the-unready-ms-dos",
"script": {
"files": [
{
"game": "N/A:Select the file Eric.EXE"
}
],
"game": {
"main_file": "$GAMEDIR/Eric.conf"
},
"installer": [
{
"execute": {
"args": "$GAMEDIR/HDD $GAMEDIR/HDD/Eric",
"file": "mkdir"
}
},
{
"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/HDD/Eric",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"write_file": {
"content": "[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd Eric\nEric.EXE mt32\nexit",
"file": "$GAMEDIR/Eric.conf"
}
}
]
}
}