files:
- game: N/A:Select the file INSTALL.EXE
game:
main_file: $GAMEDIR/Death_Gate.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISC
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/CDD/DISC
file: $CACHE/bulkcopy.sh
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
- write_file:
content: '[sdl]
sensitivity=20
fullresolution=desktop
windowresolution=original
fullscreen=true
output=opengl
[render]
aspect=true
scaler=normal2x
[autoexec]
mount D "$GAMEDIR/CDD/DISC" -t dir
mount C "$GAMEDIR/HDD" -t dir
C:
cd DGATE
cls
ECHO OFF
goto launcher
:launcher
cls
ECHO -------------------------------------------
ECHO Death Gate
ECHO -------------------------------------------
ECHO 1) Play Game
ECHO 2) Setup
ECHO -------------------------------------------
ECHO 3) exit program
ECHO -------------------------------------------
choice /c123 /s Which program do you want to run? [1-3]: /n
if errorlevel 3 goto exit
if errorlevel 2 goto setup
if errorlevel 1 goto game
:game
cls
DGate.exe
goto exit
:setup
cls
install.exe
goto launcher
:exit
exit'
file: $GAMEDIR/Death_Gate.conf
- write_file:
content: '[sdl]
sensitivity=20
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
mount D "$GAMEDIR/CDD/DISC" -t dir
D:
install.exe
exit'
file: $GAMEDIR/Death_Gate-setup.conf
- task:
config_file: $GAMEDIR/Death_Gate-setup.conf
name: dosexec
working_dir: $GAMEDIR/HDD
description: null
game_slug: death-gate
gogslug: death_gate
humblestoreid: ''
installer_slug: death-gate-cdrom
name: Death Gate
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select the file INSTALL.EXE
game:
main_file: $GAMEDIR/Death_Gate.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISC
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/CDD/DISC
file: $CACHE/bulkcopy.sh
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
- write_file:
content: '[sdl]
sensitivity=20
fullresolution=desktop
windowresolution=original
fullscreen=true
output=opengl
[render]
aspect=true
scaler=normal2x
[autoexec]
mount D "$GAMEDIR/CDD/DISC" -t dir
mount C "$GAMEDIR/HDD" -t dir
C:
cd DGATE
cls
ECHO OFF
goto launcher
:launcher
cls
ECHO -------------------------------------------
ECHO Death Gate
ECHO -------------------------------------------
ECHO 1) Play Game
ECHO 2) Setup
ECHO -------------------------------------------
ECHO 3) exit program
ECHO -------------------------------------------
choice /c123 /s Which program do you want to run? [1-3]: /n
if errorlevel 3 goto exit
if errorlevel 2 goto setup
if errorlevel 1 goto game
:game
cls
DGate.exe
goto exit
:setup
cls
install.exe
goto launcher
:exit
exit'
file: $GAMEDIR/Death_Gate.conf
- write_file:
content: '[sdl]
sensitivity=20
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
mount D "$GAMEDIR/CDD/DISC" -t dir
D:
install.exe
exit'
file: $GAMEDIR/Death_Gate-setup.conf
- task:
config_file: $GAMEDIR/Death_Gate-setup.conf
name: dosexec
working_dir: $GAMEDIR/HDD
slug: death-gate-cdrom
steamid: null
version: CDrom
year: 1994
{
"game_slug": "death-gate",
"version": "CDrom",
"description": null,
"notes": "",
"name": "Death Gate",
"year": 1994,
"steamid": null,
"gogslug": "death_gate",
"humblestoreid": "",
"runner": "dosbox",
"slug": "death-gate-cdrom",
"installer_slug": "death-gate-cdrom",
"script": {
"files": [
{
"game": "N/A:Select the file INSTALL.EXE"
}
],
"game": {
"main_file": "$GAMEDIR/Death_Gate.conf"
},
"installer": [
{
"execute": {
"args": "$GAMEDIR/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISC",
"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/CDD/DISC",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"execute": {
"args": "-R 775 \"$GAMEDIR\"",
"file": "/bin/chmod"
}
},
{
"write_file": {
"content": "[sdl]\nsensitivity=20\nfullresolution=desktop\nwindowresolution=original\nfullscreen=true\noutput=opengl\n[render]\naspect=true\nscaler=normal2x\n[autoexec]\nmount D \"$GAMEDIR/CDD/DISC\" -t dir\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd DGATE\ncls\nECHO OFF\ngoto launcher\n:launcher\ncls\nECHO -------------------------------------------\nECHO Death Gate\nECHO -------------------------------------------\nECHO 1) Play Game\nECHO 2) Setup\nECHO -------------------------------------------\nECHO 3) exit program\nECHO -------------------------------------------\n\nchoice /c123 /s Which program do you want to run? [1-3]: /n\nif errorlevel 3 goto exit\nif errorlevel 2 goto setup\nif errorlevel 1 goto game\n\n:game\ncls\nDGate.exe\ngoto exit\n\n:setup\ncls\ninstall.exe\ngoto launcher\n\n\n:exit\nexit",
"file": "$GAMEDIR/Death_Gate.conf"
}
},
{
"write_file": {
"content": "[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC\" -t dir\nD:\ninstall.exe\nexit",
"file": "$GAMEDIR/Death_Gate-setup.conf"
}
},
{
"task": {
"config_file": "$GAMEDIR/Death_Gate-setup.conf",
"name": "dosexec",
"working_dir": "$GAMEDIR/HDD"
}
}
]
}
}