files:
- game: N/A:Select Install.exe
game:
main_file: $GAMEDIR/Ark.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISK1
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/DISK1
file: $CACHE/bulkcopy.sh
- write_file:
content: '[sdl]
capture_mouse=onclick middlerelease
[autoexec]
mount D "$GAMEDIR/CDD/DISK1" -t cdrom
mount C "$GAMEDIR/HDD" -t dir
D:
install.exe
exit'
file: $GAMEDIR/Ark-setup.conf
- task:
config_file: $GAMEDIR/Ark-setup.conf
name: dosexec
working_dir: $GAMEDIR/HDD
- write_file:
content: '[sdl]
capture_mouse=onclick middlerelease
[autoexec]
mount D "$GAMEDIR/CDD/DISK1" -t cdrom
mount C "$GAMEDIR/HDD" -t dir
cls
ECHO OFF
goto launcher
:launcher
cls
ECHO -------------------------------------------
ECHO Ark of Time
ECHO -------------------------------------------
ECHO 1) Play
ECHO 2) Setup
ECHO 3) Install
ECHO -------------------------------------------
ECHO 4) exit program
ECHO -------------------------------------------
choice /c1234 /s Which program do you want to run? [1-3]: /n
if errorlevel 4 goto exit
if errorlevel 3 goto install
if errorlevel 2 goto setup
if errorlevel 1 goto game
:game
cls
c:
cd AOT
AOT
goto exit
:setup
cls
c:
cd AOT
setup.exe
goto launcher
:install
cls
D:
install.exe
goto launcher
:exit
exit'
file: $GAMEDIR/Ark.conf
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
description: null
game_slug: ark-of-time
gogslug: ''
humblestoreid: ''
installer_slug: ark-of-time-cdrom
name: Ark of Time
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select Install.exe
game:
main_file: $GAMEDIR/Ark.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISK1
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/DISK1
file: $CACHE/bulkcopy.sh
- write_file:
content: '[sdl]
capture_mouse=onclick middlerelease
[autoexec]
mount D "$GAMEDIR/CDD/DISK1" -t cdrom
mount C "$GAMEDIR/HDD" -t dir
D:
install.exe
exit'
file: $GAMEDIR/Ark-setup.conf
- task:
config_file: $GAMEDIR/Ark-setup.conf
name: dosexec
working_dir: $GAMEDIR/HDD
- write_file:
content: '[sdl]
capture_mouse=onclick middlerelease
[autoexec]
mount D "$GAMEDIR/CDD/DISK1" -t cdrom
mount C "$GAMEDIR/HDD" -t dir
cls
ECHO OFF
goto launcher
:launcher
cls
ECHO -------------------------------------------
ECHO Ark of Time
ECHO -------------------------------------------
ECHO 1) Play
ECHO 2) Setup
ECHO 3) Install
ECHO -------------------------------------------
ECHO 4) exit program
ECHO -------------------------------------------
choice /c1234 /s Which program do you want to run? [1-3]: /n
if errorlevel 4 goto exit
if errorlevel 3 goto install
if errorlevel 2 goto setup
if errorlevel 1 goto game
:game
cls
c:
cd AOT
AOT
goto exit
:setup
cls
c:
cd AOT
setup.exe
goto launcher
:install
cls
D:
install.exe
goto launcher
:exit
exit'
file: $GAMEDIR/Ark.conf
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
slug: ark-of-time-cdrom
steamid: null
version: CDrom
year: 1997
{
"game_slug": "ark-of-time",
"version": "CDrom",
"description": null,
"notes": "",
"name": "Ark of Time",
"year": 1997,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "dosbox",
"slug": "ark-of-time-cdrom",
"installer_slug": "ark-of-time-cdrom",
"script": {
"files": [
{
"game": "N/A:Select Install.exe"
}
],
"game": {
"main_file": "$GAMEDIR/Ark.conf"
},
"installer": [
{
"execute": {
"args": "$GAMEDIR/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISK1",
"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/DISK1",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"write_file": {
"content": "[sdl]\ncapture_mouse=onclick middlerelease\n[autoexec]\nmount D \"$GAMEDIR/CDD/DISK1\" -t cdrom\nmount C \"$GAMEDIR/HDD\" -t dir\nD:\ninstall.exe\nexit",
"file": "$GAMEDIR/Ark-setup.conf"
}
},
{
"task": {
"config_file": "$GAMEDIR/Ark-setup.conf",
"name": "dosexec",
"working_dir": "$GAMEDIR/HDD"
}
},
{
"write_file": {
"content": "[sdl]\ncapture_mouse=onclick middlerelease\n\n[autoexec]\nmount D \"$GAMEDIR/CDD/DISK1\" -t cdrom\nmount C \"$GAMEDIR/HDD\" -t dir\ncls\nECHO OFF\ngoto launcher\n:launcher\ncls\nECHO -------------------------------------------\nECHO Ark of Time\nECHO -------------------------------------------\nECHO 1) Play\nECHO 2) Setup\nECHO 3) Install\nECHO -------------------------------------------\nECHO 4) exit program\nECHO -------------------------------------------\nchoice /c1234 /s Which program do you want to run? [1-3]: /n\nif errorlevel 4 goto exit\nif errorlevel 3 goto install\nif errorlevel 2 goto setup\nif errorlevel 1 goto game\n\n:game\ncls\nc:\ncd AOT\nAOT\ngoto exit\n\n:setup\ncls\nc:\ncd AOT\nsetup.exe\ngoto launcher\n\n:install\ncls\nD:\ninstall.exe\ngoto launcher\n\n:exit\nexit",
"file": "$GAMEDIR/Ark.conf"
}
},
{
"execute": {
"args": "-R 775 \"$GAMEDIR\"",
"file": "/bin/chmod"
}
}
]
}
}