files:
- darkness: 'N/A: Select Pools of Darkness 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/DARKNESS
file: darkness
- write_file:
content: "1\r\nV\r\nM\r\nC:\\DARKNESS\\SAVE\\\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/DARKNESS/POOL4.CFG
- execute:
command: mkdir "$GAMEDIR/drive_c/GAMES/DOS/BLADES"
description: Creating empty Secret of the Silver Blades directory
- write_file:
content: "#!/bin/sh\n\nTARGET=`find drive_c/GAMES/DOS/DARKNESS -iname game.ovr`\n\
\nBYTES=`xxd -p -s 0x37f2 -l 2 \"$TARGET\"`\nif [ \"$BYTES\" = '740b' ]; then\n\
\ echo 'Patching out copy protection'\n echo '6f0a' | xxd -p -s 0x37f2 -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 DARKNESS
START.BAT
'
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 Pools of Darkness with Gold Box Companion on Linux!
game_slug: pools-of-darkness
gogslug: dd_classics
humblestoreid: ''
installer_slug: pools-of-darkness-dos
name: Pools of Darkness
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 Pools of Darkness version 1.1. You will need to set the install directory\
\ when first running Gold Box Companion, it is C:\\GAMES\\DOS\\DARKNESS. See the\
\ Gold Box Companion documentation for more details.\r\n\r\nPools of Darkness allows\
\ importing characters directly from Secret of the Silver Blades. A placeholder\
\ directory has been created at [install directory]/drive_c/GAMES/BLADES, you can\
\ copy your game files here if you would like to use this feature.\r\n\r\nThis installer\
\ creates a bash script for disabling the copy protection from Pools of Darkness\
\ version 1.1, 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 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:
- darkness: 'N/A: Select Pools of Darkness 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/DARKNESS
file: darkness
- write_file:
content: "1\r\nV\r\nM\r\nC:\\DARKNESS\\SAVE\\\r\nC:\\BLADES\\SAVE\\\r\nF\r\n\
0\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/DARKNESS/POOL4.CFG
- execute:
command: mkdir "$GAMEDIR/drive_c/GAMES/DOS/BLADES"
description: Creating empty Secret of the Silver Blades directory
- write_file:
content: "#!/bin/sh\n\nTARGET=`find drive_c/GAMES/DOS/DARKNESS -iname game.ovr`\n\
\nBYTES=`xxd -p -s 0x37f2 -l 2 \"$TARGET\"`\nif [ \"$BYTES\" = '740b' ]; then\n\
\ echo 'Patching out copy protection'\n echo '6f0a' | xxd -p -s 0x37f2 -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 DARKNESS
START.BAT
'
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: pools-of-darkness-dos
steamid: null
version: DOS
year: 1991
{
"game_slug": "pools-of-darkness",
"version": "DOS",
"description": "Play Pools of Darkness 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 Pools of Darkness version 1.1. You will need to set the install directory when first running Gold Box Companion, it is C:\\GAMES\\DOS\\DARKNESS. See the Gold Box Companion documentation for more details.\r\n\r\nPools of Darkness allows importing characters directly from Secret of the Silver Blades. A placeholder directory has been created at [install directory]/drive_c/GAMES/BLADES, you can copy your game files here if you would like to use this feature.\r\n\r\nThis installer creates a bash script for disabling the copy protection from Pools of Darkness version 1.1, 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 to pass the check.\r\n\r\nThe DOSBox config is located at [install directory]/drive_c/GAMES/DOSBOX/DOSBOX.CONF.",
"name": "Pools of Darkness",
"year": 1991,
"steamid": null,
"gogslug": "dd_classics",
"humblestoreid": "",
"runner": "wine",
"slug": "pools-of-darkness-dos",
"installer_slug": "pools-of-darkness-dos",
"script": {
"files": [
{
"darkness": "N/A: Select Pools of Darkness 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/DARKNESS",
"file": "darkness"
}
},
{
"write_file": {
"content": "1\r\nV\r\nM\r\nC:\\DARKNESS\\SAVE\\\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/DARKNESS/POOL4.CFG"
}
},
{
"execute": {
"command": "mkdir \"$GAMEDIR/drive_c/GAMES/DOS/BLADES\"",
"description": "Creating empty Secret of the Silver Blades directory"
}
},
{
"write_file": {
"content": "#!/bin/sh\n\nTARGET=`find drive_c/GAMES/DOS/DARKNESS -iname game.ovr`\n\nBYTES=`xxd -p -s 0x37f2 -l 2 \"$TARGET\"`\nif [ \"$BYTES\" = '740b' ]; then\n echo 'Patching out copy protection'\n echo '6f0a' | xxd -p -s 0x37f2 -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 DARKNESS\nSTART.BAT\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"
}
}
]
}
}