files:
- game: N/A:Select the BAT or EXE file
game:
main_file: $GAMEDIR/starcross.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/star
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/HDD/star
file: $CACHE/bulkcopy.sh
- write_file:
content: '[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd star
STARCROS
exit'
file: $GAMEDIR/starcross.conf
description: null
game_slug: starcross
gogslug: ''
humblestoreid: ''
installer_slug: starcross-msdos
name: Starcross
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select the BAT or EXE file
game:
main_file: $GAMEDIR/starcross.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/star
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/HDD/star
file: $CACHE/bulkcopy.sh
- write_file:
content: '[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd star
STARCROS
exit'
file: $GAMEDIR/starcross.conf
slug: starcross-msdos
steamid: null
version: MSDOS
year: 1982
{
"game_slug": "starcross",
"version": "MSDOS",
"description": null,
"notes": "",
"name": "Starcross",
"year": 1982,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "dosbox",
"slug": "starcross-msdos",
"installer_slug": "starcross-msdos",
"script": {
"files": [
{
"game": "N/A:Select the BAT or EXE file"
}
],
"game": {
"main_file": "$GAMEDIR/starcross.conf"
},
"installer": [
{
"execute": {
"args": "$GAMEDIR/HDD $GAMEDIR/HDD/star",
"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/HDD/star",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"write_file": {
"content": "[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd star\nSTARCROS\nexit",
"file": "$GAMEDIR/starcross.conf"
}
}
]
}
}