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/alone-in-the-dark.conf
installer:
- extract:
dst: $CACHE
file: $inno
- execute:
args: -I app -d "$CACHE" "$game"
file: $CACHE/innoextract
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/INDARK $GAMEDIR/CDD $GAMEDIR/CDD/DISC1
file: mkdir
- copy:
dst: $GAMEDIR/CDD/DISC1
src: $CACHE/app/GAME.INST
- copy:
dst: $GAMEDIR/CDD/DISC1
src: $CACHE/app/GAME.GOG
- copy:
dst: $GAMEDIR
src: $CACHE/app/manual.pdf
- merge:
dst: $GAMEDIR/HDD/INDARK
src: $CACHE/app/INDARK
- write_file:
content: '[sdl]
sensitivity=30
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
imgmount D "$GAMEDIR/CDD/DISC1/GAME.INST" -t iso
C:
cd INDARK
cls
ECHO OFF
goto launcher
:launcher
cls
ECHO -------------------------------------------
ECHO Alone in the Dark 1
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
INDARK
goto exit
:setup
cls
install
goto launcher
:exit
exit'
file: $GAMEDIR/alone-in-the-dark.conf
description: null
game_slug: alone-in-the-dark-1
gogslug: alone_in_the_dark_the_trilogy_123
humblestoreid: ''
installer_slug: alone-in-the-dark-1-windows-gog-v1
name: Alone in the Dark 1
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/alone-in-the-dark.conf
installer:
- extract:
dst: $CACHE
file: $inno
- execute:
args: -I app -d "$CACHE" "$game"
file: $CACHE/innoextract
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/INDARK $GAMEDIR/CDD $GAMEDIR/CDD/DISC1
file: mkdir
- copy:
dst: $GAMEDIR/CDD/DISC1
src: $CACHE/app/GAME.INST
- copy:
dst: $GAMEDIR/CDD/DISC1
src: $CACHE/app/GAME.GOG
- copy:
dst: $GAMEDIR
src: $CACHE/app/manual.pdf
- merge:
dst: $GAMEDIR/HDD/INDARK
src: $CACHE/app/INDARK
- write_file:
content: '[sdl]
sensitivity=30
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
imgmount D "$GAMEDIR/CDD/DISC1/GAME.INST" -t iso
C:
cd INDARK
cls
ECHO OFF
goto launcher
:launcher
cls
ECHO -------------------------------------------
ECHO Alone in the Dark 1
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
INDARK
goto exit
:setup
cls
install
goto launcher
:exit
exit'
file: $GAMEDIR/alone-in-the-dark.conf
slug: alone-in-the-dark-1-windows-gog-v1
steamid: null
version: Windows GOG v1
year: 1992
{
"game_slug": "alone-in-the-dark-1",
"version": "Windows GOG v1",
"description": null,
"notes": "",
"name": "Alone in the Dark 1",
"year": 1992,
"steamid": null,
"gogslug": "alone_in_the_dark_the_trilogy_123",
"humblestoreid": "",
"runner": "dosbox",
"slug": "alone-in-the-dark-1-windows-gog-v1",
"installer_slug": "alone-in-the-dark-1-windows-gog-v1",
"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/alone-in-the-dark.conf"
},
"installer": [
{
"extract": {
"dst": "$CACHE",
"file": "$inno"
}
},
{
"execute": {
"args": "-I app -d \"$CACHE\" \"$game\"",
"file": "$CACHE/innoextract"
}
},
{
"execute": {
"args": "$GAMEDIR/HDD $GAMEDIR/HDD/INDARK $GAMEDIR/CDD $GAMEDIR/CDD/DISC1",
"file": "mkdir"
}
},
{
"copy": {
"dst": "$GAMEDIR/CDD/DISC1",
"src": "$CACHE/app/GAME.INST"
}
},
{
"copy": {
"dst": "$GAMEDIR/CDD/DISC1",
"src": "$CACHE/app/GAME.GOG"
}
},
{
"copy": {
"dst": "$GAMEDIR",
"src": "$CACHE/app/manual.pdf"
}
},
{
"merge": {
"dst": "$GAMEDIR/HDD/INDARK",
"src": "$CACHE/app/INDARK"
}
},
{
"write_file": {
"content": "[sdl]\nsensitivity=30\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nimgmount D \"$GAMEDIR/CDD/DISC1/GAME.INST\" -t iso\nC:\ncd INDARK\ncls\nECHO OFF\ngoto launcher\n:launcher\ncls\nECHO -------------------------------------------\nECHO Alone in the Dark 1\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\nINDARK\ngoto exit\n\n:setup\ncls\ninstall\ngoto launcher\n\n\n:exit\nexit",
"file": "$GAMEDIR/alone-in-the-dark.conf"
}
}
]
}
}