Dungeon Keeper 2

All retail versions of full game.

Application Details:

Version: 1.x
License: Retail
Votes: 9
Latest Rating: Gold
Latest Wine Version Tested: 5.3-staging

Maintainers: About Maintainership

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Version: 1.0 

the installer

What does not

everything else. Got the following on running:

err:module:import_dll Library ntoskrnl.exe (which is needed by L"C:\\windows\\system32\\drivers\\SECDRV.SYS") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\drivers\\SECDRV.SYS" failed, status c0000135
err:module:import_dll Library ntoskrnl.exe (which is needed by L"C:\\windows\\system32\\drivers\\SECDRV.SYS") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\drivers\\SECDRV.SYS" failed, status c0000135
wine: Unhandled page fault on read access to 0x0ef7abad at address 0x406b32 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x0ef7abad in 32-bit code (0x00406b32).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:00406b32 ESP:0033fda0 EBP:0033fe7c EFLAGS:00010206( - 00 - RIP1)
EAX:00400000 EBX:00000018 ECX:00000000 EDX:0003f000
ESI:00400000 EDI:00000001
Stack dump:
0x0033fda0: 0040b1c7 00000000 00400000 7ffdf000
0x0033fdb0: 001158c0 7b8a8e40 00000094 00000005
0x0033fdc0: 00000000 00000893 00000002 76726553
0x0033fdd0: 20656369 6b636150 7b003420 00450f98
0x0033fde0: 7bc77280 0033fe44 7bc3750e 00450020
0x0033fdf0: 7b8602e1 00000800 0033fe28 0033ff08
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119
=>1 0x00406b32 in dkii (+0x6b32) (0x0033fe7c)
2 0x004114e2 in dkii (+0x114e2) (0x0033ff08)
3 0x7b86fd4e in kernel32 (+0x4fd4e) (0x0033ffe8)
4 0xf7e125c7 wine_switch_to_stack+0x17 in (0x00000000)
0x00406b32: subl 0xef7abad(%ecx),%esi
Module Address Debug info Name (42 modules)
PE 400000-441000 Export dkii
PE 10000000-1000c000 Deferred drvmgt
ELF 7b800000-7b91a000 Export kernel32
\-PE 7b820000-7b91a000 \ kernel32
ELF 7bc00000-7bc82000 Deferred ntdll
\-PE 7bc10000-7bc82000 \ ntdll
ELF 7bf00000-7bf03000 Deferred
ELF 7e9d3000-7ea42000 Deferred
ELF 7ea56000-7ea5e000 Deferred
ELF 7ea5e000-7eb27000 Deferred
ELF 7eb27000-7eb34000 Deferred
ELF 7eb34000-7ebbf000 Deferred winex11
\-PE 7eb40000-7ebbf000 \ winex11
ELF 7ebbf000-7ebd3000 Deferred
ELF 7ebd3000-7ec3d000 Deferred
ELF 7ec3f000-7ec44000 Deferred
ELF 7ec44000-7ec4d000 Deferred
ELF 7ec4d000-7ec54000 Deferred
ELF 7ec54000-7ec59000 Deferred
ELF 7ec59000-7ec72000 Deferred version
\-PE 7ec60000-7ec72000 \ version
ELF 7ec72000-7ecb8000 Deferred advapi32
\-PE 7ec80000-7ecb8000 \ advapi32
ELF 7ecb8000-7ecc3000 Deferred
ELF 7eda2000-7ee58000 Deferred gdi32
\-PE 7edc0000-7ee58000 \ gdi32
ELF 7ee58000-7ef8e000 Deferred user32
\-PE 7ee70000-7ef8e000 \ user32
ELF 7ef8e000-7ef99000 Deferred
ELF 7ef99000-7efa2000 Deferred
ELF 7efa5000-7efaa000 Deferred
ELF 7efaa000-7efbe000 Deferred lz32
\-PE 7efb0000-7efbe000 \ lz32
ELF 7efbe000-7efe4000 Deferred
ELF 7efe7000-7efea000 Deferred
ELF 7efea000-7f000000 Deferred
ELF f7ca3000-f7ca7000 Deferred
ELF f7ca7000-f7ddb000 Deferred
ELF f7ddc000-f7def000 Deferred
ELF f7e01000-f7e0b000 Deferred
ELF f7e0b000-f7f1c000 Export
ELF f7f1e000-f7f3b000 Deferred
process tid prio (all id:s are in hex)
0000000b 0
00000008 (D) C:\Program Files\Bullfrog\Dungeon Keeper 2\DKII.exe
00000009 0 <==


What was not tested


Hardware tested


  • GPU:
  • Driver:

Additional Comments

Tested with Wine running on AMD64.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
ShowDebian GNU/Linux Unstable "Sid" x86_64Mar 09 20205.3-stagingYes Yes YesGoldSki-lleR 
ShowDebian GNU/Linux Unstable "Sid" x86_64Feb 24 20151.7.37Yes Yes GoldLyn 
ShowFedora 20 x86_64May 23 20141.7.19No Not installable GarbagePatrick 
ShowLinux Mint 17.1 "Rebecca" x86-64Jun 16 20151.6.2Yes Yes Silveran anonymous user 
ShowUbuntu 13.04 "Raring" amd64 (+ variants like Kubuntu)Jun 01 20131.5.31Yes Yes PlatinumLuis Alvarado 

Known Bugs

Bug # Description Status Resolution Other apps affected
14340 Dungeon Keeper 2 crashes randomly during gameplay with unhandled page fault NEW View
45896 Dungeon Keeper 2 - Patched v1.8 - doesn't start UNCONFIRMED View

Show all bugs

HowTo / Notes


For those wondering, the reason DK2 fails to work and/or crash is due to the SafeDisc issue in WINE. Once this is solved, this game will function. At this time it has no safedisc support. A few fixes have been posted.

The fix is to get a crack, follow the 'HowTo' below!



Insert your Dungeon Keeper 2 disc, and change into its directory:

wine Setup.exe

Install the game, but do not choose to run the game at the end. We must patch the game first:

wine Dk2Update130to170_English.exe

To avoid safedisc issues (bug 219), your only option is to find a crack. This is illegal in some countries, so you should investigate the legal issues before you to do this.

If you have now obtained a crack in a zip file, simply extract it into the program directory (ensure this is the correct path for you):


To avoid mouse warp issues, you will need to use the MouseWarpOverride key as described at UsefulRegistryKeys. Make sure you have at the latest version of Wine (at least Wine 1.1.3), otherwise this will not work.


Navigate to HKCU / Software / Wine. Create the DirectInput folder/key and create the MouseWarpOverride string value and modify the data to 'disable'.

If you do not understand these instructions, make sure you read UsefulRegistryKeys. If the mouse is warping in the game menu, you haven't done it right.

No native dlls are required anymore for the proper operation of this game.


You must run the game from the crack (Dkii.exe) rather than the original executable (DKII.exe). You may do this by changing the properties of the desktop icon, or by using this command to start the game:

wine "C:\Program Files\Bullfrog\Dungeon Keeper 2\Dkii.exe"


Cursor sticks/warps to centre of screen: This is bug 8354. You must apply the MouseWarpOverride UsefulRegistryKey as described above.

Mouse hits invisible corner: Move your mouse to the opposite corner of the screen.

Cursor surrounded by strange black box: Disable Hardware Rendering from the graphics options in-game. Warning: This may cause crashes.

Game does not start / blank screen for 1s: Make sure you use the Windows formatted command for starting the game (wine "C:\Program Files\Bullfrog\Dungeon Keeper 2\Dkii.exe"). Do not directly specify the executable.

Sound issues: Try visiting the Audio options in winecfg and switching between ALSA and OSS, as well as reducing their settings to lower values.

Patch does not finish installing: First run the patch in its own empty wineprefix, then try patching the game again.