files:
- game: N/A:Select the file SHOGUN.EXE
game:
main_file: $GAMEDIR/SHOGUN.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/SHOGUN
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/SHOGUN
file: $CACHE/bulkcopy.sh
- write_file:
content: '[sdl]
sensitivity=20
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd SHOGUN
SHOGUN.EXE
exit'
file: $GAMEDIR/SHOGUN.conf
description: null
game_slug: james-clavells-shogun
gogslug: ''
humblestoreid: ''
installer_slug: james-clavells-shogun-ms-dos
name: James Clavell's Shogun
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select the file SHOGUN.EXE
game:
main_file: $GAMEDIR/SHOGUN.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/SHOGUN
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/SHOGUN
file: $CACHE/bulkcopy.sh
- write_file:
content: '[sdl]
sensitivity=20
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd SHOGUN
SHOGUN.EXE
exit'
file: $GAMEDIR/SHOGUN.conf
slug: james-clavells-shogun-ms-dos
steamid: null
version: MS-DOS
year: 1989
{
"game_slug": "james-clavells-shogun",
"version": "MS-DOS",
"description": null,
"notes": "",
"name": "James Clavell's Shogun",
"year": 1989,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "dosbox",
"slug": "james-clavells-shogun-ms-dos",
"installer_slug": "james-clavells-shogun-ms-dos",
"script": {
"files": [
{
"game": "N/A:Select the file SHOGUN.EXE"
}
],
"game": {
"main_file": "$GAMEDIR/SHOGUN.conf"
},
"installer": [
{
"execute": {
"args": "$GAMEDIR/HDD $GAMEDIR/HDD/SHOGUN",
"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/SHOGUN",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"write_file": {
"content": "[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd SHOGUN\nSHOGUN.EXE\nexit",
"file": "$GAMEDIR/SHOGUN.conf"
}
}
]
}
}