files:
- game: N/A:Select the file Zork3.BAT
game:
main_file: $GAMEDIR/zork3.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/zork3
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/zork3
file: $CACHE/bulkcopy.sh
- write_file:
content: '[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd zork3
zork3
exit'
file: $GAMEDIR/zork3.conf
description: null
game_slug: zork-iii
gogslug: ''
humblestoreid: ''
installer_slug: zork-iii-dos
name: Zork III
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select the file Zork3.BAT
game:
main_file: $GAMEDIR/zork3.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/zork3
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/zork3
file: $CACHE/bulkcopy.sh
- write_file:
content: '[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd zork3
zork3
exit'
file: $GAMEDIR/zork3.conf
slug: zork-iii-dos
steamid: null
version: DOS
year: 1982
{
"game_slug": "zork-iii",
"version": "DOS",
"description": null,
"notes": "",
"name": "Zork III",
"year": 1982,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "dosbox",
"slug": "zork-iii-dos",
"installer_slug": "zork-iii-dos",
"script": {
"files": [
{
"game": "N/A:Select the file Zork3.BAT"
}
],
"game": {
"main_file": "$GAMEDIR/zork3.conf"
},
"installer": [
{
"execute": {
"args": "$GAMEDIR/HDD $GAMEDIR/HDD/zork3",
"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/zork3",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"write_file": {
"content": "[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd zork3\nzork3\nexit",
"file": "$GAMEDIR/zork3.conf"
}
}
]
}
}