Skip to content

Warhammer 40,000 Chaos Gate

Elisha Riedlinger edited this page Oct 18, 2023 · 9 revisions

Warhammer 40,000 Chaos Gate

Status

Supported on Windows 10/11

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

Patch updated: October 17th, 2023

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.

Initial 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, create a wrapper for dplayx.dll.

Current Solution

The current solution no longer requires DDrawCompat. Instead I am using Dd7to9, which is able to convert the DirectDraw APIs to Direct3D 9.

This solution still uses the dplayx.dll wrapper.

Installation

In order to install the Windows 10 patch for Warhammer 40,000 Chaos Gate you can follow these 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 the Windows 7 compatibility mode enabled. It seems to work better this way.

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
  • dplayx.dll
  • dxwrapper.dll
  • dxwrapper.ini