files:
- game: N/A:Select GOG installer
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
main_file: $GAMEDIR/dragon.conf
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
find "$src" -maxdepth 1 -type f \( -iname "*.EXE*" -o -iname "*.COM" -o -iname
"*.CFG" -o -iname "volume.*" \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -d "$CACHE" "$game"
file: $CACHE/innoextract
- execute:
args: $GAMEDIR/dragon
file: mkdir
- copy:
dst: $GAMEDIR
src: $CACHE/app/Comic.pdf
- copy:
dst: $GAMEDIR
src: $CACHE/app/Manual.pdf
- copy:
dst: $GAMEDIR
src: $CACHE/app/HintBook.pdf
- execute:
args: $CACHE/app $GAMEDIR/dragon
file: $CACHE/selectcopy.sh
- write_file:
content: '[sdl]
sensitivity=30
fullresolution=desktop
windowresolution=original
fullscreen=true
output=opengl
capture_mouse = onstart middlerelease
[render]
aspect=true
scaler=normal2x
[autoexec]
mount C "$GAMEDIR" -t dir
C:
cd dragon
cls
ECHO OFF
goto launcher
:launcher
cls
ECHO -------------------------------------------
ECHO Rise of the Dragon
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
dragon
goto exit
:setup
cls
install
goto launcher
:exit
exit'
file: $GAMEDIR/dragon.conf
description: null
game_slug: rise-of-the-dragon
gogslug: rise_of_the_dragon
humblestoreid: ''
installer_slug: rise-of-the-dragon-gog
name: Rise of the Dragon
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select GOG installer
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
main_file: $GAMEDIR/dragon.conf
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
find "$src" -maxdepth 1 -type f \( -iname "*.EXE*" -o -iname "*.COM" -o -iname
"*.CFG" -o -iname "volume.*" \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -d "$CACHE" "$game"
file: $CACHE/innoextract
- execute:
args: $GAMEDIR/dragon
file: mkdir
- copy:
dst: $GAMEDIR
src: $CACHE/app/Comic.pdf
- copy:
dst: $GAMEDIR
src: $CACHE/app/Manual.pdf
- copy:
dst: $GAMEDIR
src: $CACHE/app/HintBook.pdf
- execute:
args: $CACHE/app $GAMEDIR/dragon
file: $CACHE/selectcopy.sh
- write_file:
content: '[sdl]
sensitivity=30
fullresolution=desktop
windowresolution=original
fullscreen=true
output=opengl
capture_mouse = onstart middlerelease
[render]
aspect=true
scaler=normal2x
[autoexec]
mount C "$GAMEDIR" -t dir
C:
cd dragon
cls
ECHO OFF
goto launcher
:launcher
cls
ECHO -------------------------------------------
ECHO Rise of the Dragon
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
dragon
goto exit
:setup
cls
install
goto launcher
:exit
exit'
file: $GAMEDIR/dragon.conf
slug: rise-of-the-dragon-gog
steamid: null
version: GOG
year: 1990
{
"game_slug": "rise-of-the-dragon",
"version": "GOG",
"description": null,
"notes": "",
"name": "Rise of the Dragon",
"year": 1990,
"steamid": null,
"gogslug": "rise_of_the_dragon",
"humblestoreid": "",
"runner": "dosbox",
"slug": "rise-of-the-dragon-gog",
"installer_slug": "rise-of-the-dragon-gog",
"script": {
"files": [
{
"game": "N/A:Select GOG installer"
},
{
"inno": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
}
],
"game": {
"main_file": "$GAMEDIR/dragon.conf"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\nfind \"$src\" -maxdepth 1 -type f \\( -iname \"*.EXE*\" -o -iname \"*.COM\" -o -iname \"*.CFG\" -o -iname \"volume.*\" \\) -exec cp {} \"$dst\" \\;",
"file": "$CACHE/selectcopy.sh"
}
},
{
"chmodx": "$CACHE/selectcopy.sh"
},
{
"extract": {
"dst": "$CACHE",
"file": "$inno"
}
},
{
"execute": {
"args": "-d \"$CACHE\" \"$game\"",
"file": "$CACHE/innoextract"
}
},
{
"execute": {
"args": "$GAMEDIR/dragon",
"file": "mkdir"
}
},
{
"copy": {
"dst": "$GAMEDIR",
"src": "$CACHE/app/Comic.pdf"
}
},
{
"copy": {
"dst": "$GAMEDIR",
"src": "$CACHE/app/Manual.pdf"
}
},
{
"copy": {
"dst": "$GAMEDIR",
"src": "$CACHE/app/HintBook.pdf"
}
},
{
"execute": {
"args": "$CACHE/app $GAMEDIR/dragon",
"file": "$CACHE/selectcopy.sh"
}
},
{
"write_file": {
"content": "[sdl]\nsensitivity=30\nfullresolution=desktop\nwindowresolution=original\nfullscreen=true\noutput=opengl\ncapture_mouse = onstart middlerelease\n[render]\naspect=true\nscaler=normal2x\n[autoexec]\nmount C \"$GAMEDIR\" -t dir\nC:\ncd dragon\ncls\nECHO OFF\ngoto launcher\n:launcher\ncls\nECHO -------------------------------------------\nECHO Rise of the Dragon\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\ndragon\ngoto exit\n\n:setup\ncls\ninstall\ngoto launcher\n\n\n:exit\nexit",
"file": "$GAMEDIR/dragon.conf"
}
}
]
}
}