files:
- file1: N/A:Please select the GOG installer
- file2: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
config_file: $GAMEDIR/dosboxBAK.conf
main_file: DOSBOX/dosboxBAK_single.conf
installer:
- extract:
dst: $CACHE
file: $file2
- execute:
args: -d "$CACHE" "$file1"
file: $CACHE/innoextract
- merge:
dst: $GAMEDIR
src: $CACHE/app
- merge:
dst: $GAMEDIR/DOSBOX
src: $GAMEDIR/dosboxBAK_single.conf
- write_config:
file: $GAMEDIR/dosboxBAK.conf
key: aspect
section: render
value: true
- write_config:
file: $GAMEDIR/dosboxBAK.conf
key: fullscreen
section: sdl
value: false
- write_config:
file: $GAMEDIR/dosboxBAK.conf
key: fullresolution
section: sdl
value: 1920x1080
- write_config:
file: $GAMEDIR/dosboxBAK.conf
key: midiconfig
section: midi
value: '128:0'
- write_file:
content: '[IPX]
Enable=0
Connection=0
ipx=false
[autoexec]
# Lines in this section will be run at startup.
@ECHO OFF
mount C ".."
imgmount d "..\bak.inst" -t iso -fs iso
c:
cls
INSTALL.EXE
exit
'
file: $GAMEDIR/DOSBOX/dosboxBAK_settings.conf
description: This is the dosbox version that requires the GOG windows installer.
game_slug: betrayal-at-krondor
gogslug: betrayal_at_krondor
humblestoreid: ''
installer_slug: betrayal-at-krondor-dosbox-gog
name: Betrayal at Krondor
notes: "The game runs fine but without sound. In order to make the sound work you\
\ need to manually run install.exe from the game's directory inside dosbox and select\
\ the soundblaster/adlib soundcard for the music and effects. After saving the setup\
\ the sound will work fine as well.\r\n\r\nTo run INSTALL.EXE:\r\n I - Configure\
\ --> Game Options --> Main File --> Select 'dosboxBAK_settings.conf'\r\n II -\
\ Run the game and you'll start the Setup\r\n III - Choose Music --> Soundblaster\
\ /AdLib Card (or compatibles)\r\n IV - Accept these choices and save configuration\r\
\n V - In Lutris, Configure --> Game Options --> Main File --> Select 'dosboxBAK_single.conf'\r\
\n VI - Start the game\r\n\r\nFor better quality MIDI audio perform the same steps\
\ as above. But instead for Music select 'General MIDI'.\r\nThen you need to install\
\ fluid-soundfont-gm and fluidsynth. For Mint 19:\r\nsudo apt install -y fluid-soundfont-gm\
\ fluidsynth\r\nOpen terminal and run the command (needs to be run each time you\
\ want to play):\r\nfluidsynth -l -s -i -aalsa -o audio.alsa.device=default /usr/share/sounds/sf2/FluidR3_GM.sf2\r\
\nThen start the game."
runner: dosbox
script:
files:
- file1: N/A:Please select the GOG installer
- file2: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
config_file: $GAMEDIR/dosboxBAK.conf
main_file: DOSBOX/dosboxBAK_single.conf
installer:
- extract:
dst: $CACHE
file: $file2
- execute:
args: -d "$CACHE" "$file1"
file: $CACHE/innoextract
- merge:
dst: $GAMEDIR
src: $CACHE/app
- merge:
dst: $GAMEDIR/DOSBOX
src: $GAMEDIR/dosboxBAK_single.conf
- write_config:
file: $GAMEDIR/dosboxBAK.conf
key: aspect
section: render
value: true
- write_config:
file: $GAMEDIR/dosboxBAK.conf
key: fullscreen
section: sdl
value: false
- write_config:
file: $GAMEDIR/dosboxBAK.conf
key: fullresolution
section: sdl
value: 1920x1080
- write_config:
file: $GAMEDIR/dosboxBAK.conf
key: midiconfig
section: midi
value: '128:0'
- write_file:
content: '[IPX]
Enable=0
Connection=0
ipx=false
[autoexec]
# Lines in this section will be run at startup.
@ECHO OFF
mount C ".."
imgmount d "..\bak.inst" -t iso -fs iso
c:
cls
INSTALL.EXE
exit
'
file: $GAMEDIR/DOSBOX/dosboxBAK_settings.conf
slug: betrayal-at-krondor-dosbox-gog
steamid: null
version: Dosbox + GOG
year: 1993
{
"game_slug": "betrayal-at-krondor",
"version": "Dosbox + GOG",
"description": "This is the dosbox version that requires the GOG windows installer.",
"notes": "The game runs fine but without sound. In order to make the sound work you need to manually run install.exe from the game's directory inside dosbox and select the soundblaster/adlib soundcard for the music and effects. After saving the setup the sound will work fine as well.\r\n\r\nTo run INSTALL.EXE:\r\n I - Configure --> Game Options --> Main File --> Select 'dosboxBAK_settings.conf'\r\n II - Run the game and you'll start the Setup\r\n III - Choose Music --> Soundblaster /AdLib Card (or compatibles)\r\n IV - Accept these choices and save configuration\r\n V - In Lutris, Configure --> Game Options --> Main File --> Select 'dosboxBAK_single.conf'\r\n VI - Start the game\r\n\r\nFor better quality MIDI audio perform the same steps as above. But instead for Music select 'General MIDI'.\r\nThen you need to install fluid-soundfont-gm and fluidsynth. For Mint 19:\r\nsudo apt install -y fluid-soundfont-gm fluidsynth\r\nOpen terminal and run the command (needs to be run each time you want to play):\r\nfluidsynth -l -s -i -aalsa -o audio.alsa.device=default /usr/share/sounds/sf2/FluidR3_GM.sf2\r\nThen start the game.",
"name": "Betrayal at Krondor",
"year": 1993,
"steamid": null,
"gogslug": "betrayal_at_krondor",
"humblestoreid": "",
"runner": "dosbox",
"slug": "betrayal-at-krondor-dosbox-gog",
"installer_slug": "betrayal-at-krondor-dosbox-gog",
"script": {
"files": [
{
"file1": "N/A:Please select the GOG installer"
},
{
"file2": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
}
],
"game": {
"config_file": "$GAMEDIR/dosboxBAK.conf",
"main_file": "DOSBOX/dosboxBAK_single.conf"
},
"installer": [
{
"extract": {
"dst": "$CACHE",
"file": "$file2"
}
},
{
"execute": {
"args": "-d \"$CACHE\" \"$file1\"",
"file": "$CACHE/innoextract"
}
},
{
"merge": {
"dst": "$GAMEDIR",
"src": "$CACHE/app"
}
},
{
"merge": {
"dst": "$GAMEDIR/DOSBOX",
"src": "$GAMEDIR/dosboxBAK_single.conf"
}
},
{
"write_config": {
"file": "$GAMEDIR/dosboxBAK.conf",
"key": "aspect",
"section": "render",
"value": true
}
},
{
"write_config": {
"file": "$GAMEDIR/dosboxBAK.conf",
"key": "fullscreen",
"section": "sdl",
"value": false
}
},
{
"write_config": {
"file": "$GAMEDIR/dosboxBAK.conf",
"key": "fullresolution",
"section": "sdl",
"value": "1920x1080"
}
},
{
"write_config": {
"file": "$GAMEDIR/dosboxBAK.conf",
"key": "midiconfig",
"section": "midi",
"value": "128:0"
}
},
{
"write_file": {
"content": "[IPX]\nEnable=0\nConnection=0\nipx=false\n\n[autoexec]\n# Lines in this section will be run at startup.\n\n@ECHO OFF\nmount C \"..\"\nimgmount d \"..\\bak.inst\" -t iso -fs iso\nc:\ncls\nINSTALL.EXE\nexit\n",
"file": "$GAMEDIR/DOSBOX/dosboxBAK_settings.conf"
}
}
]
}
}