files:
- game: N/A:Select the file pcdizzy.exe
game:
main_file: $GAMEDIR/fantastic_dizzy_dosbox.conf
installer:
- execute:
args: $GAMEDIR/HDD
file: mkdir
- execute:
args: $GAMEDIR/HDD/dizzy
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/dizzy
file: $CACHE/bulkcopy.sh
- write_file:
content: '[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd dizzy
PCDIZZY.EXE
exit'
file: $GAMEDIR/fantastic_dizzy_dosbox.conf
description: null
game_slug: fantastic-dizzy
gogslug: ''
humblestoreid: ''
installer_slug: fantastic-dizzy-ms-dos-floppy
name: Fantastic Dizzy
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select the file pcdizzy.exe
game:
main_file: $GAMEDIR/fantastic_dizzy_dosbox.conf
installer:
- execute:
args: $GAMEDIR/HDD
file: mkdir
- execute:
args: $GAMEDIR/HDD/dizzy
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/dizzy
file: $CACHE/bulkcopy.sh
- write_file:
content: '[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd dizzy
PCDIZZY.EXE
exit'
file: $GAMEDIR/fantastic_dizzy_dosbox.conf
slug: fantastic-dizzy-ms-dos-floppy
steamid: null
version: MS-DOS Floppy
year: 1993
{
"game_slug": "fantastic-dizzy",
"version": "MS-DOS Floppy",
"description": null,
"notes": "",
"name": "Fantastic Dizzy",
"year": 1993,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "dosbox",
"slug": "fantastic-dizzy-ms-dos-floppy",
"installer_slug": "fantastic-dizzy-ms-dos-floppy",
"script": {
"files": [
{
"game": "N/A:Select the file pcdizzy.exe"
}
],
"game": {
"main_file": "$GAMEDIR/fantastic_dizzy_dosbox.conf"
},
"installer": [
{
"execute": {
"args": "$GAMEDIR/HDD",
"file": "mkdir"
}
},
{
"execute": {
"args": "$GAMEDIR/HDD/dizzy",
"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/dizzy",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"write_file": {
"content": "[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd dizzy\nPCDIZZY.EXE\nexit",
"file": "$GAMEDIR/fantastic_dizzy_dosbox.conf"
}
}
]
}
}