WineHQ

Warhammer 40,000: Dawn of War

Warhammer 40,000: Dawn of War: Dark Crusade - Released 2006 - The second expansion pack for DoW

Application Details:

Version: Dark Crusade
License: Retail
URL: http://www.dawnofwargame.com/
Votes: 8
Latest Rating: Platinum
Latest Wine Version Tested: 3.13

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

- Game is starting (with all windows versions) - LAN / Skirmish mode works fine

- Sound works fine (Alsa)

- Singleplayer

- Mods

What does not

---

Workarounds

What was not tested

- installing

- patching

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Videodriver used: NVIDIA-drivers: 100.14.11 ; Kernel: 2.6.20-16 ; For better performance i changed the videoram from default 64mb to its actual size: http://wiki.winehq.org/UsefulRegistryKeys ; GraphicsConfig.exe wont detect your specific graficcard but you can still play the game smoothly ; After loading a mod the sound is gone but a simple game restart will solve that.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowFedora 28 x86_64Jul 29 20183.13Yes Yes NoPlatinumBen 
ShowFedora 25 x86_64Jun 06 20172.9Yes Yes NoPlatinummateriyolo 
ShowArch Linux x86_64Sep 23 20161.9.19Yes Yes NoPlatinumTharbad 
ShowDebian GNU/Linux 8.x "Jessie" x86_64Jul 22 20161.9.14Yes Yes NoPlatinuman anonymous user 
ShowArch Linux x86_64Jul 16 20161.9.14Yes Yes NoPlatinumnis 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

directX 9

After you installed the game you may get a performance boost if you use the latest version of DirectX 9.

The easiest way to do so, is using winetricks:

winetricks directx9

Read more about winetricks, here:

http://wiki.winehq.org/winetricks

HOWTO

(This is an attempt to summarize the steps needed to run Dark Crusade and to compile a list of tweaks to make the game run as smootly as possible, if you have any additions, please make a reply with the subject "Extra tips for DOW:DA!" and it will be tested, and if verified, added to this howto)

1. Installing the game

"wine setup.exe". During the install you will be asked for your key and where to place the game. So far I've only tested with the default install location of "C:\Program Files\THQ\Dawn of War - Dark Crusade", comments on custom install locations are welcome.

2. Running the game

2.1 Audio

Contrary to many games, you may have stuttering sound if you're using the OSS wine driver. Sound tweaking seems to be highly system dependant, but a good place to start is:

1) Run winecfg, go to the audio tab:

Uncheck all audio drivers except "ALSA Driver", to make sure that this will be the selected driver.

Then start off with

"Hardware Acceleration" Full

Default Sample Rate: 22050

Default Bits Per Sample: 8

2.2 A script to run the game
You can of course run the game by simply going to the directory and running "wine DarkCrusade.exe", however, I found this tweak in the gentoo world of warcraft guide and altered it a tad. Supposedly you get a little extra performance, it helped my sound a bit as well. But the best thing about this is that you can easily switch between the game and your desktop, as well as killing the game with [CTRL]+[ALT]+[BACKSPACE] without taking your entire desktop down with it.

#!/bin/sh

X :3 -ac &

cd ~/".wine/drive_c/Program Files/THQ/Dawn of War - Dark Crusade"

sleep 2

DISPLAY=:3 /bin/nice -20 /usr/bin/wine DarkCrusade.exe

/usr/bin/kill $(ps ax|grep "X :3")

What this does is launching a seperate X session on display 3 and running the program within that display. The last line kills the Xsession after use. (The last line could probably be written in a cleaner fashion with pgrep or so, but this works fine)

some report that for them the game runs better without the renicing of the process, so if the game is running at unacceptable levels, try altering the script and remove the "/bin/nice -20" part to let it run at it's default nice level.

3. Troubleshooting

Chances are the game runs perfectly. Chances are that since you're reading this, it isn't. Most of the time you should seriously think on whether or not your wine distribution is put together right or think about "rolling your own". Also, try creating a new user and run the game there, so that the .wine directory is fresh. It may simply be that a configuration setting of yours is preventing the game from running. This happened to me while I was testing Halo.

That was the general part, here comes a couple of problems that some users have reported having:

3.1 When starting the game I get asked for my CD keys but they turn up invalid!

If you only install Dawn of War: Dark Crusade, then this shouldn't turn up. The first time you attempt to run either Dawn of War or Winter Assault however, registry keys are created and then the game seems to expect you to input these serials as well.

I will continue to experiment with this, but I copied over my Dawn of War and Winter Assault and patched the game to 1.50 .. But I have noticed two new registry keys being created in the Dark Crusade directory which is supposed to handle the new keys. Go to:

HKEY_LOCAL_MACHINE\Software\THQ\Dawn of War - Dark Crusade

and if you see the string values W40KCDKEY and the other WXPCDKEY, try putting your Dawn of War key into W40KCDKEY and your winter assault key into WXPCDKEY. You can see how the Dark Crusade key is intered in the CDKEY string value, just duplicate that layout. Use lowercase letters and dashes between the blocks, like: xxxx-xxxx-xxxx-xxxx-xxxx

3.3 Patching the game / Circumventing the copy protection

Some report being unable to use the ingame patcher which automatically appears inside the game after you've created an online profile. However, it worked for me when emulating windows 98.

It is important that you get the game updated to 1.50 as they have removed the cd-check with this patch, this allows wine to run the game without a no-cd crack thus allowing you to play online!

The patching mechanisms are the same for the games. Download the patches needed from sites such as fileshack.com .I f you run the patches without containing them in a virtual desktop, you may risk having a black screen so therefore try running them like so:

wine explorer /desktop=foo,1024x768 dow-140-141.exe

This example runs the DOW 1.40 to 1.41 patch in a virtual desktop with the resolution 1024x768.

Changes made to the guide since last update:

* removed the part about which Windows version to emulate, as the default setting of Windows 2000 works fine with newer versions of wine such as 0.9.35.

* Added a glitches note to the bottom and recommended 0.9.35 for running DOW as both users and I have experienced, that this version of Wine works best for DOW.

Earlier changes:

*Based on user input a suggestion about removing the renicing part of the script has been made for those who may experience problems with this.

* Fixed incorrect command syntax for running the patches, before it would run windowed, though it wouldn't accept the specified resolution, this has been fixed.

 

Installing DC without DoW/WA - Full 7 races in Multiplayer

If you want a problem in accessibility the 7 races in Multiplayer - you must realzie  guide from  this  site:
http://forums.relicnews.com/showthread.php?p=1827182#post1827182 Maybe Iron Lore change this in new addon Soul Storm - but in now one must use a this trick in registry.

 



Glitches

Versions of wine and their DOW compatability 

Some users report that using versions of wine newer than 0.9.35 gives severe perfomance penalties which usually takes the form of stuttering graphics - This is confirmed by amaintainer using both 0.9.39 and 0.9.40

Solution: use Wine 0.9.35 for optimal performance, to compile this for yourself on Debian/Ubuntu, you can do the following:

sudo apt-get build-dep wine # to get the needed dependencies for building wine

CFLAGS=-fno-stack-protector ./configure --prefix="/home/[USERNAME]/.winebuilds/0.9.35/"
make depend && make
make install

This should install wine 0.9.35 in your home directory.

You can now run this version of wine by issueing:

'~/.winebuilds/0.9.35/bin/wine' instead of 'wine'

and '~/.winebuilds/0.9.35/bin/winecfg' instead of 'winecfg'

Which windows version should I emulate ?

With older versions of wine, such as 0.9.28, it was recommended to emulate windows 98 for optimal performance (read: the game had difficulties even starting otherwise!). As of at least wine 0.9.35, this is no longer an issue, the default version of 'Win2k' will work fine.

Corrupted textures?

If you have problems with completely corrupted textures the problem might be that your systems lacks a library that is used for texture compression in Dawn of War.

Under Debian based system install the package "libtxc-dxtn-s2tc0" and try again.

Tweaking Graphics
Dawn of War's settings are quite careful chosen which means that you could improve the graphics a lot. Here is a guide on tweaking DoW's graphics which sums it up.

Comments

Back