Skip to content

Warhammer 40,000 Chaos Gate

Elisha Riedlinger edited this page Feb 10, 2017 · 9 revisions

Warhammer 40,000 Chaos Gate

Warhammer 40,000 Chaos Gate

Status

Supported on Windows 10

I am using the version of Warhammer 40,000 Chaos Gate from GOG.

Problem

The problem I had with Warhammer 40,000 Chaos Gate was that it runs very slow on Windows 10. It runs as if the frame rate has been set to run only few frames per second. Basically the game is unplayable by default on Windows 10.

Solution

After a bit of troubleshooting I found out that Chaos Gate would run ok using the DdrawCompat libraries. However the issue was that WH40K.exe always loaded the ddraw.dll file from the system folder. But I needed WH40K.exe to load the custom ddraw.dll file that I created. So I opened Process Monitor and checked what order it loaded the dll files and which files it tried to open from the local folder first. I found out that it tried to open dplayx.dll before ddraw.dll and it would try to load dplayx.dll from the local folder.

The next problem I had was that I did not have a wrapper from dplayx.dll yet. The solution was simple:

  1. Create a wrapper for dplayx.dll.
  2. Use dplayx.dll to load ddraw.dll.

Installation

In order to install the Windows 10 patch for Warhammer 40,000 Chaos Gate you can follow the following steps:

  1. Download the fix below.
  2. Unzip the files to your Warhammer 40,000 Chaos Gate installation folder (where the WH40K.exe file exists).
  3. Start the game and enjoy!

If you run into issues check the compatibility settings. I am running with all the compatibility settings off.

Compatibility Settings

Download

Here is the Download for the patch to fix Warhammer 40,000 Chaos Gate on Windows 10.

This download contains 4 files:

  • ddraw.dll
  • ddraw.ini
  • dplayx.dll
  • dplayx.ini