files:
- game: N/A:Select the file Install.EXE
game:
main_file: $GAMEDIR/startrek.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISC1
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/DISC1
file: $CACHE/bulkcopy.sh
- write_file:
content: '[sdl]
sensitivity=20
[autoexec]
mount D "$GAMEDIR/CDD/DISC1" -t cdrom
mount C "$GAMEDIR/HDD" -t dir
cls
ECHO OFF
goto launcher
:launcher
cls
ECHO -------------------------------------------
ECHO Star Trek 25th Anniversary Launcher
ECHO -------------------------------------------
ECHO 1) Play
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
C:
cd TREKCD
STARTREK.exe
goto exit
:setup
cls
D:
INSTALL.EXE
C:
cd TREKCD
Setup.exe
goto launcher
:exit
exit'
file: $GAMEDIR/startrek.conf
- write_file:
content: '[sdl]
sensitivity=20
[autoexec]
mount D "$GAMEDIR/CDD/DISC1" -t cdrom
mount C "$GAMEDIR/HDD" -t dir
D:
INSTALL.EXE
C:
cd TREKCD
Setup.exe
exit'
file: $GAMEDIR/startrek-setup.conf
- task:
config_file: $GAMEDIR/startrek-setup.conf
name: dosexec
working_dir: $GAMEDIR/HDD
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
description: null
game_slug: star-trek-25th-anniversary
gogslug: star_trek_25th_anniversary
humblestoreid: ''
installer_slug: star-trek-25th-anniversary-cdrom
name: 'Star Trek: 25th Anniversary'
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select the file Install.EXE
game:
main_file: $GAMEDIR/startrek.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISC1
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/DISC1
file: $CACHE/bulkcopy.sh
- write_file:
content: '[sdl]
sensitivity=20
[autoexec]
mount D "$GAMEDIR/CDD/DISC1" -t cdrom
mount C "$GAMEDIR/HDD" -t dir
cls
ECHO OFF
goto launcher
:launcher
cls
ECHO -------------------------------------------
ECHO Star Trek 25th Anniversary Launcher
ECHO -------------------------------------------
ECHO 1) Play
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
C:
cd TREKCD
STARTREK.exe
goto exit
:setup
cls
D:
INSTALL.EXE
C:
cd TREKCD
Setup.exe
goto launcher
:exit
exit'
file: $GAMEDIR/startrek.conf
- write_file:
content: '[sdl]
sensitivity=20
[autoexec]
mount D "$GAMEDIR/CDD/DISC1" -t cdrom
mount C "$GAMEDIR/HDD" -t dir
D:
INSTALL.EXE
C:
cd TREKCD
Setup.exe
exit'
file: $GAMEDIR/startrek-setup.conf
- task:
config_file: $GAMEDIR/startrek-setup.conf
name: dosexec
working_dir: $GAMEDIR/HDD
- execute:
args: -R 775 "$GAMEDIR"
file: /bin/chmod
slug: star-trek-25th-anniversary-cdrom
steamid: 359650
version: CDrom
year: 1992
{
"game_slug": "star-trek-25th-anniversary",
"version": "CDrom",
"description": null,
"notes": "",
"name": "Star Trek: 25th Anniversary",
"year": 1992,
"steamid": 359650,
"gogslug": "star_trek_25th_anniversary",
"humblestoreid": "",
"runner": "dosbox",
"slug": "star-trek-25th-anniversary-cdrom",
"installer_slug": "star-trek-25th-anniversary-cdrom",
"script": {
"files": [
{
"game": "N/A:Select the file Install.EXE"
}
],
"game": {
"main_file": "$GAMEDIR/startrek.conf"
},
"installer": [
{
"execute": {
"args": "$GAMEDIR/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISC1",
"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/DISC1",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"write_file": {
"content": "[sdl]\nsensitivity=20\n[autoexec]\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nmount C \"$GAMEDIR/HDD\" -t dir\ncls\nECHO OFF\ngoto launcher\n:launcher\ncls\nECHO -------------------------------------------\nECHO Star Trek 25th Anniversary Launcher\nECHO -------------------------------------------\nECHO 1) Play\nECHO 2) Setup\nECHO -------------------------------------------\nECHO 3) exit program\nECHO -------------------------------------------\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\nC:\ncd TREKCD\nSTARTREK.exe\ngoto exit\n\n:setup\ncls\nD:\nINSTALL.EXE\nC:\ncd TREKCD\nSetup.exe\ngoto launcher\n\n\n:exit\nexit",
"file": "$GAMEDIR/startrek.conf"
}
},
{
"write_file": {
"content": "[sdl]\nsensitivity=20\n[autoexec]\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nmount C \"$GAMEDIR/HDD\" -t dir\nD:\nINSTALL.EXE\nC:\ncd TREKCD\nSetup.exe\nexit",
"file": "$GAMEDIR/startrek-setup.conf"
}
},
{
"task": {
"config_file": "$GAMEDIR/startrek-setup.conf",
"name": "dosexec",
"working_dir": "$GAMEDIR/HDD"
}
},
{
"execute": {
"args": "-R 775 \"$GAMEDIR\"",
"file": "/bin/chmod"
}
}
]
}
}