WineHQ

Dungeon Keeper 2

All retail versions of full game.

Application Details:

Version: 1.x
License: Retail
URL: http://www.dungeonkeeper.com/
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

Basically everything after some configuring.

What does not

There are graphical errors in the resolution I am using (1360x768), namely text on the ingame menu missing and the map displaying smaller than it actually is. To select the "Sell" function, you must click about an inch to the right of where the button is actually rendered. Normal resolutions work fine.

Workarounds

What was not tested

Everything was tested. The only multiplayer function that works is ipx, and it allows you to play against other players on lan. Other than that, everything seems to work.

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

To get IPX multiplayer working, a few things had to be done. After a ton of research, I have found way to get it going. Obviously, you must have have Dungeon Keeper installed in Wine to configure it to run. This document assumes it is already installed. First, I installed ipx 2.2.6-8 on Ubuntu. You have to configure IPX to actually use a networking device, so head to the terminal and become super user. sudo su works in Ubuntu, but other distros may have to log in the old fashioned way. After SU, type: #ipx_interface add -p (device) 802.3 (device) depends on what kind of connection to the internet your computer uses. Wireless connections will use wlan0 usually, and ethernet plugs will take eth0. Sometimes, there may be a strange configuration that will make wlan0 or eth0 not default, but you could use "iwconfig" to check from a terminal. After the ipx_interface command is done, you can check to make sure it is configured with: #ipx_interface check (device) 802.3 After you are satisfied with the IPX configuration, close the terminal. Next, you should open winetricks (which should be installed by default. If you don't have it installed, it is not the purpose of this document to get it installed). Inside winetricks, select "Select the default wineprefix" and click OK. Next, select "Install a Windows DLL or component" and click OK. Scroll down, click the checkbox next to directplay, and then OK. The file that will download will take a few minutes to do so, which may be a good time to go get a delicious sammich. After the installation is complete, select "Run winecfg", go to the "Graphics" tab. Unselect "Allow the window manager to decorate the windows" and "Allow the window manager to control the windows". Select "Emulate a virtual desktop" and put in a resolution. This is the tricky part; the max resolution I was able to play without the game crashing was 1360x768. This is lucky for some, since the native resolution of many laptops is 1366x768. 6 pixels more does not crash the game, and this is tested on a separate laptop than mine. To make the game play in fullscreen, you must set your desktop resolution to the resolution you just put in the "virtual desktop size" in winecfg. Click OK. Leave Winetricks open for the next step. To get the registry populated with the next settings we will adjust, you should run Dungeon Keeper II up to the menu, and exit back to Ubuntu. Then, click back to Winetricks and then "Run regedit". Inside regedit, click HKEY_CURRENT_USER>Software>Bullfrog Productions Ltd>Dungeon Keeper II>Configuration and click Video. Inside, select "Screen Height" and right click. Select "Modify", change the "Base" to Decimal, and change the value to whatever the second number in your screen resolution is (1360x*768*). Do the same with "Screen Width", but change it to the first number in your resolution (*1360*x768). After these settings have been adjusted, you will be able to play the game in fullscreen, although the main menu will remain about 640x800, but going into the game will be the resolution you selected. For multiplayer, you must select IPX in the multiplayer screen. If IPX is not available, directplay is not installed properly. There are still random crashes that may happen, especially since the game is from 1999. Some people change the compatibility to Windows 98 or 2000. You can do this in Winetricks and "Change Settings". I wrote this up since nowhere I have seen on the internet was able to tell me how to set everything up, from forcing a resolution to getting multiplayer to work. Everything should work with these settings.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
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

WARNING

SAFE DISC ISSUE
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!

HOWTO

Installation:

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):

Configuration:

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.

regedit

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.

Running:

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"

Troubleshooting:

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.

Comments

Back