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