files:
- blades: 'N/A: Select Secret of the Silver Blades zip'
- gbc: 'N/A: Select zip file containing Gold Box Companion'
- dosbox:
filename: DOSBox0.74-3-win32-installer.exe
url: https://sourceforge.net/projects/dosbox/files/dosbox/0.74-3/DOSBox0.74-3-win32-installer.exe/download
game:
exe: drive_c/GAMES/START.BAT
launch_configs:
- exe: drive_c/GAMES/GBC/SGE.exe
name: Save Game Editor
prefix: $GAMEDIR
working_dir: $GAMEDIR
installer:
- task:
arch: win64
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- extract:
description: Extracting game
dst: $GAMEDIR/drive_c/GAMES/DOS/BLADES
file: blades
- write_file:
content: "E\r\nP\r\nM\r\nC:\\BLADES\\SAVE\\\r\nF\r\n0\r\n0\r\n0\r\n0\r\n0\r\n\
0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n"
description: Creating config
file: $GAMEDIR/drive_c/GAMES/DOS/BLADES/BLADES.CFG
- write_file:
content: "#!/bin/sh\n\nTARGET=`find drive_c/GAMES/DOS/BLADES -iname start.exe`\n\
\nBYTES=`xxd -p -s 0x4c2 -l 1 \"$TARGET\"`\nif [ \"$BYTES\" = '74' ]; then\n\
\ echo 'Patching out copy protection'\n echo 'eb' | xxd -p -s 0x4c2 -r - \"\
$TARGET\"\nelse\n echo 'Unable to patch out copy protection'\nfi\n"
description: Creating remove-copy-protection.sh
file: $GAMEDIR/remove-copy-protection.sh
- chmodx: $GAMEDIR/remove-copy-protection.sh
- extract:
description: Extracting Gold Box Companion
dst: $GAMEDIR/drive_c/GAMES/GBC
file: gbc
- task:
args: /S /D=C:\\GAMES\\DOSBOX
description: Installing DOSBox
executable: dosbox
name: wineexec
- write_file:
content: '[sdl]
fullscreen=false
fulldouble=false
fullresolution=original
windowresolution=original
output=surface
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper-0.74-3.map
usescancodes=true
[dosbox]
language=
machine=svga_s3
captures=capture
memsize=16
[render]
frameskip=0
aspect=false
scaler=normal2x
[cpu]
core=auto
cputype=auto
cycles=7000
cycleup=10
cycledown=20
[mixer]
nosound=false
rate=44100
blocksize=1024
prebuffer=25
[midi]
mpu401=intelligent
mididevice=default
midiconfig=
[sblaster]
sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
sbmixer=true
oplmode=auto
oplemu=default
oplrate=44100
[gus]
gus=false
gusrate=44100
gusbase=240
gusirq=5
gusdma=3
ultradir=C:\ULTRASND
[speaker]
pcspeaker=true
pcrate=44100
tandy=auto
tandyrate=44100
disney=true
[joystick]
joysticktype=auto
timed=true
autofire=false
swap34=false
buttonwrap=false
[serial]
serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled
[dos]
xms=true
ems=true
umb=true
keyboardlayout=auto
[ipx]
ipx=false
[autoexec]
MOUNT C C:\GAMES\DOS
C:
CD BLADES
START.EXE
'
description: Creating DOSBox config
file: $GAMEDIR/drive_c/GAMES/DOSBOX/DOSBOX.CONF
- write_file:
content: 'start C:\GAMES\DOSBOX\DOSBOX.EXE -conf C:\GAMES\DOSBOX\DOSBOX.CONF
start C:\GAMES\GBC\GBC.EXE
'
description: Creating startup script
file: $GAMEDIR/drive_c/GAMES/START.BAT
description: Play Secret of the Silver Blades with Gold Box Companion on Linux!
game_slug: secret-of-the-silver-blades
gogslug: dd_classics
humblestoreid: ''
installer_slug: secret-of-the-silver-blades-dos
name: Secret of the Silver Blades
notes: "This installer requires a zip archive of the original application files.\r\
\n\r\nDownload Gold Box Companion from https://gbc.zorbus.net/\r\n\r\nGold Box Companion\
\ requires Secret of the Silver Blades version 1.3. You will need to set the install\
\ directory when first running Gold Box Companion, it is C:\\GAMES\\DOS\\BLADES.\
\ See the Gold Box Companion documentation for more details.\r\n\r\nThis installer\
\ creates a bash script for disabling the copy protection from Secret of the Silver\
\ Blades version 1.3, it requires xxd to function. Run remove-copy-protection.sh\
\ in the install directory. With the copy protection patched you can press enter\
\ at the copy protection screen three times to pass the check.\r\n\r\nThe DOSBox\
\ config is located at [install directory]/drive_c/GAMES/DOSBOX/DOSBOX.CONF."
runner: wine
script:
files:
- blades: 'N/A: Select Secret of the Silver Blades zip'
- gbc: 'N/A: Select zip file containing Gold Box Companion'
- dosbox:
filename: DOSBox0.74-3-win32-installer.exe
url: https://sourceforge.net/projects/dosbox/files/dosbox/0.74-3/DOSBox0.74-3-win32-installer.exe/download
game:
exe: drive_c/GAMES/START.BAT
launch_configs:
- exe: drive_c/GAMES/GBC/SGE.exe
name: Save Game Editor
prefix: $GAMEDIR
working_dir: $GAMEDIR
installer:
- task:
arch: win64
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- extract:
description: Extracting game
dst: $GAMEDIR/drive_c/GAMES/DOS/BLADES
file: blades
- write_file:
content: "E\r\nP\r\nM\r\nC:\\BLADES\\SAVE\\\r\nF\r\n0\r\n0\r\n0\r\n0\r\n0\r\n\
0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n"
description: Creating config
file: $GAMEDIR/drive_c/GAMES/DOS/BLADES/BLADES.CFG
- write_file:
content: "#!/bin/sh\n\nTARGET=`find drive_c/GAMES/DOS/BLADES -iname start.exe`\n\
\nBYTES=`xxd -p -s 0x4c2 -l 1 \"$TARGET\"`\nif [ \"$BYTES\" = '74' ]; then\n\
\ echo 'Patching out copy protection'\n echo 'eb' | xxd -p -s 0x4c2 -r -\
\ \"$TARGET\"\nelse\n echo 'Unable to patch out copy protection'\nfi\n"
description: Creating remove-copy-protection.sh
file: $GAMEDIR/remove-copy-protection.sh
- chmodx: $GAMEDIR/remove-copy-protection.sh
- extract:
description: Extracting Gold Box Companion
dst: $GAMEDIR/drive_c/GAMES/GBC
file: gbc
- task:
args: /S /D=C:\\GAMES\\DOSBOX
description: Installing DOSBox
executable: dosbox
name: wineexec
- write_file:
content: '[sdl]
fullscreen=false
fulldouble=false
fullresolution=original
windowresolution=original
output=surface
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper-0.74-3.map
usescancodes=true
[dosbox]
language=
machine=svga_s3
captures=capture
memsize=16
[render]
frameskip=0
aspect=false
scaler=normal2x
[cpu]
core=auto
cputype=auto
cycles=7000
cycleup=10
cycledown=20
[mixer]
nosound=false
rate=44100
blocksize=1024
prebuffer=25
[midi]
mpu401=intelligent
mididevice=default
midiconfig=
[sblaster]
sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
sbmixer=true
oplmode=auto
oplemu=default
oplrate=44100
[gus]
gus=false
gusrate=44100
gusbase=240
gusirq=5
gusdma=3
ultradir=C:\ULTRASND
[speaker]
pcspeaker=true
pcrate=44100
tandy=auto
tandyrate=44100
disney=true
[joystick]
joysticktype=auto
timed=true
autofire=false
swap34=false
buttonwrap=false
[serial]
serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled
[dos]
xms=true
ems=true
umb=true
keyboardlayout=auto
[ipx]
ipx=false
[autoexec]
MOUNT C C:\GAMES\DOS
C:
CD BLADES
START.EXE
'
description: Creating DOSBox config
file: $GAMEDIR/drive_c/GAMES/DOSBOX/DOSBOX.CONF
- write_file:
content: 'start C:\GAMES\DOSBOX\DOSBOX.EXE -conf C:\GAMES\DOSBOX\DOSBOX.CONF
start C:\GAMES\GBC\GBC.EXE
'
description: Creating startup script
file: $GAMEDIR/drive_c/GAMES/START.BAT
slug: secret-of-the-silver-blades-dos
steamid: null
version: DOS
year: 1990
{
"game_slug": "secret-of-the-silver-blades",
"version": "DOS",
"description": "Play Secret of the Silver Blades with Gold Box Companion on Linux!",
"notes": "This installer requires a zip archive of the original application files.\r\n\r\nDownload Gold Box Companion from https://gbc.zorbus.net/\r\n\r\nGold Box Companion requires Secret of the Silver Blades version 1.3. You will need to set the install directory when first running Gold Box Companion, it is C:\\GAMES\\DOS\\BLADES. See the Gold Box Companion documentation for more details.\r\n\r\nThis installer creates a bash script for disabling the copy protection from Secret of the Silver Blades version 1.3, it requires xxd to function. Run remove-copy-protection.sh in the install directory. With the copy protection patched you can press enter at the copy protection screen three times to pass the check.\r\n\r\nThe DOSBox config is located at [install directory]/drive_c/GAMES/DOSBOX/DOSBOX.CONF.",
"name": "Secret of the Silver Blades",
"year": 1990,
"steamid": null,
"gogslug": "dd_classics",
"humblestoreid": "",
"runner": "wine",
"slug": "secret-of-the-silver-blades-dos",
"installer_slug": "secret-of-the-silver-blades-dos",
"script": {
"files": [
{
"blades": "N/A: Select Secret of the Silver Blades zip"
},
{
"gbc": "N/A: Select zip file containing Gold Box Companion"
},
{
"dosbox": {
"filename": "DOSBox0.74-3-win32-installer.exe",
"url": "https://sourceforge.net/projects/dosbox/files/dosbox/0.74-3/DOSBox0.74-3-win32-installer.exe/download"
}
}
],
"game": {
"exe": "drive_c/GAMES/START.BAT",
"launch_configs": [
{
"exe": "drive_c/GAMES/GBC/SGE.exe",
"name": "Save Game Editor"
}
],
"prefix": "$GAMEDIR",
"working_dir": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"description": "Creating Wine prefix",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"extract": {
"description": "Extracting game",
"dst": "$GAMEDIR/drive_c/GAMES/DOS/BLADES",
"file": "blades"
}
},
{
"write_file": {
"content": "E\r\nP\r\nM\r\nC:\\BLADES\\SAVE\\\r\nF\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n0\r\n",
"description": "Creating config",
"file": "$GAMEDIR/drive_c/GAMES/DOS/BLADES/BLADES.CFG"
}
},
{
"write_file": {
"content": "#!/bin/sh\n\nTARGET=`find drive_c/GAMES/DOS/BLADES -iname start.exe`\n\nBYTES=`xxd -p -s 0x4c2 -l 1 \"$TARGET\"`\nif [ \"$BYTES\" = '74' ]; then\n echo 'Patching out copy protection'\n echo 'eb' | xxd -p -s 0x4c2 -r - \"$TARGET\"\nelse\n echo 'Unable to patch out copy protection'\nfi\n",
"description": "Creating remove-copy-protection.sh",
"file": "$GAMEDIR/remove-copy-protection.sh"
}
},
{
"chmodx": "$GAMEDIR/remove-copy-protection.sh"
},
{
"extract": {
"description": "Extracting Gold Box Companion",
"dst": "$GAMEDIR/drive_c/GAMES/GBC",
"file": "gbc"
}
},
{
"task": {
"args": "/S /D=C:\\\\GAMES\\\\DOSBOX",
"description": "Installing DOSBox",
"executable": "dosbox",
"name": "wineexec"
}
},
{
"write_file": {
"content": "[sdl]\nfullscreen=false\nfulldouble=false\nfullresolution=original\nwindowresolution=original\noutput=surface\nautolock=true\nsensitivity=100\nwaitonerror=true\npriority=higher,normal\nmapperfile=mapper-0.74-3.map\nusescancodes=true\n\n[dosbox]\nlanguage=\nmachine=svga_s3\ncaptures=capture\nmemsize=16\n\n[render]\nframeskip=0\naspect=false\nscaler=normal2x\n\n[cpu]\ncore=auto\ncputype=auto\ncycles=7000\ncycleup=10\ncycledown=20\n\n[mixer]\nnosound=false\nrate=44100\nblocksize=1024\nprebuffer=25\n\n[midi]\nmpu401=intelligent\nmididevice=default\nmidiconfig=\n\n[sblaster]\nsbtype=sb16\nsbbase=220\nirq=7\ndma=1\nhdma=5\nsbmixer=true\noplmode=auto\noplemu=default\noplrate=44100\n\n[gus]\ngus=false\ngusrate=44100\ngusbase=240\ngusirq=5\ngusdma=3\nultradir=C:\\ULTRASND\n\n[speaker]\npcspeaker=true\npcrate=44100\ntandy=auto\ntandyrate=44100\ndisney=true\n\n[joystick]\njoysticktype=auto\ntimed=true\nautofire=false\nswap34=false\nbuttonwrap=false\n\n[serial]\nserial1=dummy\nserial2=dummy\nserial3=disabled\nserial4=disabled\n\n[dos]\nxms=true\nems=true\numb=true\nkeyboardlayout=auto\n\n[ipx]\nipx=false\n\n[autoexec]\nMOUNT C C:\\GAMES\\DOS\nC:\nCD BLADES\nSTART.EXE\n",
"description": "Creating DOSBox config",
"file": "$GAMEDIR/drive_c/GAMES/DOSBOX/DOSBOX.CONF"
}
},
{
"write_file": {
"content": "start C:\\GAMES\\DOSBOX\\DOSBOX.EXE -conf C:\\GAMES\\DOSBOX\\DOSBOX.CONF\nstart C:\\GAMES\\GBC\\GBC.EXE\n",
"description": "Creating startup script",
"file": "$GAMEDIR/drive_c/GAMES/START.BAT"
}
}
]
}
}