Posted August 06, 2024
The gold version of Dungeon Keeper originally came with high resolution textures for the faster Pentium Pro machines of the time that made the game look as good as it does today with KeeperFX. Trouble is the GOG version of the game uses Dosbox to run the game and dosbox can only emulate a slow Pentium 1 machine at most. So when you manually enable these textures with Alt+R in-game, the game looks perfect but is unplayably laggy.
This guide outlines the steps to use the more powerful Dosbox-X that can emulate Pentium Pro all the way up to Pentium III machines, allowing you to play the gog version of the game with better looks, lag free and as intended for those who want to play the vanilla Dungeon Keeper and Deeper Dungeons without KeeperFx bugs, modifications to game balance and playability. These instructions are for windows but Doxbox-X is cross compatible with Linux and macOS.
TLDR; Replace GOG's dosbox with dosbox-x, configure it and point a shortcut to dosbox-x to launch the game.
1. Install Dungeon Keeper Gold (current GOG version 10.1)
2. Download Dosbox-X from here (current version dosbox-x-mingw-win64-20240702034526.zip) and extract the mingw folder to C:\GOG Games\Dungeon Keeper Gold\ (or wherever you installed DK)
3. Right click dosbox-x.exe in the mingw folder and create shortcut
4. Right click the shortcut > Properties and modify the "Target" field so that it reads like this:
"C:\GOG Games\Dungeon Keeper Gold\mingw\dosbox-x.exe" -conf "..\dosbox-x.conf" -conf "..\dosboxDK_single.conf" -noconsole -c "exit"
This shortcut will be used to launch the game so move it somewhere convenient like your desktop and rename it approriately
5. Copy the dosbox-x.conf file in the mingw folder to the root game folder C:\GOG Games\Dungeon Keeper Gold\
6. Open C:\GOG Games\Dungeon Keeper Gold\dosbox-x.conf in a text editor and change the following fields (listed in order of appearance):
fullscreen = true
fullresolution = desktop
output = openglnb
maximize = true
# Load the game faster by not waiting for the 1 second bios prompt
fastbioslogo = true
startbanner = false
# vesa_nolfb allows you to use the maximum 16MB of video memory
machine = vesa_nolfb
# RAM
memsize = 128
# The game looks crisp as is so there's no longer any need to take the performance hit of using scalers
scaler = none
# The masximum supported video memory
vmemsize = 16
core = dynamic
cputype = pentium_iii
# The cycles number is highly system dependent. If you're still experiencing lag, try changing it to cycles=max to see if it fixes the issue. If the game runs too fast, try reducing it to between 100000 and 180000.
cycles = fixed 200000
turbo = true
7. Run the game and test. The game should detect the higher system configuration and automatically enable high res textures but if you're upgrading from an old installation, you can also do this manually with Alt+R in-game.
The above settings should suffice but I find using glide (a 3d acceleration card of the time) improves performance maybe another 5%. You can find glide instructions here if you want to try it. dgvoodoo offers 64bit versions of the glide wrapper for 64 bit systems. Place the glide wrapper dll in the dosbox-x folder and change/add the following to the dosbox-x config:
glide = true
# under [cpu]
ignore undefined msr = true
Known issues:
At cycles=[100k+ or max] the deeper dungeons level selector scrolls so fast that you cannot select some of the later levels. A workaround is to set cycles=50000, select the level you want, save and reset cycles to your preferred value before loading and playing the save.
This guide outlines the steps to use the more powerful Dosbox-X that can emulate Pentium Pro all the way up to Pentium III machines, allowing you to play the gog version of the game with better looks, lag free and as intended for those who want to play the vanilla Dungeon Keeper and Deeper Dungeons without KeeperFx bugs, modifications to game balance and playability. These instructions are for windows but Doxbox-X is cross compatible with Linux and macOS.
TLDR; Replace GOG's dosbox with dosbox-x, configure it and point a shortcut to dosbox-x to launch the game.
1. Install Dungeon Keeper Gold (current GOG version 10.1)
2. Download Dosbox-X from here (current version dosbox-x-mingw-win64-20240702034526.zip) and extract the mingw folder to C:\GOG Games\Dungeon Keeper Gold\ (or wherever you installed DK)
3. Right click dosbox-x.exe in the mingw folder and create shortcut
4. Right click the shortcut > Properties and modify the "Target" field so that it reads like this:
"C:\GOG Games\Dungeon Keeper Gold\mingw\dosbox-x.exe" -conf "..\dosbox-x.conf" -conf "..\dosboxDK_single.conf" -noconsole -c "exit"
This shortcut will be used to launch the game so move it somewhere convenient like your desktop and rename it approriately
5. Copy the dosbox-x.conf file in the mingw folder to the root game folder C:\GOG Games\Dungeon Keeper Gold\
6. Open C:\GOG Games\Dungeon Keeper Gold\dosbox-x.conf in a text editor and change the following fields (listed in order of appearance):
fullscreen = true
fullresolution = desktop
output = openglnb
maximize = true
# Load the game faster by not waiting for the 1 second bios prompt
fastbioslogo = true
startbanner = false
# vesa_nolfb allows you to use the maximum 16MB of video memory
machine = vesa_nolfb
# RAM
memsize = 128
# The game looks crisp as is so there's no longer any need to take the performance hit of using scalers
scaler = none
# The masximum supported video memory
vmemsize = 16
core = dynamic
cputype = pentium_iii
# The cycles number is highly system dependent. If you're still experiencing lag, try changing it to cycles=max to see if it fixes the issue. If the game runs too fast, try reducing it to between 100000 and 180000.
cycles = fixed 200000
turbo = true
7. Run the game and test. The game should detect the higher system configuration and automatically enable high res textures but if you're upgrading from an old installation, you can also do this manually with Alt+R in-game.
The above settings should suffice but I find using glide (a 3d acceleration card of the time) improves performance maybe another 5%. You can find glide instructions here if you want to try it. dgvoodoo offers 64bit versions of the glide wrapper for 64 bit systems. Place the glide wrapper dll in the dosbox-x folder and change/add the following to the dosbox-x config:
glide = true
# under [cpu]
ignore undefined msr = true
Known issues:
At cycles=[100k+ or max] the deeper dungeons level selector scrolls so fast that you cannot select some of the later levels. A workaround is to set cycles=50000, select the level you want, save and reset cycles to your preferred value before loading and playing the save.
Post edited August 09, 2024 by narbarel