Disclaimer: The reverse engineering and most of the code were done by Claude, using my existing fixes as a base, under my oversight.
An ultra-wide solution for Warhammer 40,000: Dawn of War IV
Support
Please consider supporting this project! Your contributions help keep the fixes updated and maintained, improving the overall experience for everyone.
Thank you for your support!
Features
Tested against the Steam version. 32:9 was tested in a window of that shape, not on a real monitor.
- Every resolution your monitor supports is listed in the game's options, not only 16:9, 16:10 and ultrawide, and your monitor's own resolution is always there
- The game starts at your monitor's resolution until you pick another one
- Menus and the battle HUD can be kept in the middle of the screen at 16:9, 21:9 or any shape you like, instead of spread to the far edges. Backgrounds and shading still fill the screen
- Ctrl+U switches the menu and HUD width in game
- The title and loading screen artwork is shown whole instead of cut off at the top and bottom
- Videos are shown whole, with bars at the sides
- Skips the start-up logos, the health warning and "press any key"
Online play
The fix changes the game, and the developers ban cheating in online play. So by default the game starts offline:
Offline=1(default): no sign-in. Multiplayer, co-op, Last Stand, faction experience and the profile page are not availableOffline=2: the game signs in, but games against other players are blocked (the Multiplayer tab is greyed out). Last Stand, co-op, faction experience and the profile page work, and Last Stand runs go on the leaderboardsOffline=0: the game signs in as normal
2 and 0 are at your own risk. This setting only changes when the game starts.
Notes
- Made for the current Steam version. If the game is updated and the fix no longer fits, it switches the affected parts off instead of guessing, and says so in
DawnOfWar4.Ultrawide.log. If online play cannot be blocked, the fix changes nothing at all. - Some menu panels slide in from the edge of the menu area. With the menus kept at 16:9 or 21:9 they slide in from the edge of that area, as they would on a monitor of that shape.
Why an ASI plugin and not BepInEx
This fix is a small native plugin loaded by Ultimate ASI Loader, not a BepInEx plugin like most of my other fixes. We could not get BepInEx to run reliably with this game, including the Dawn of War IV BepInEx Pack on Nexus. The ASI plugin needs no BepInEx install, nothing is generated on the first launch, and it is ready before the game shows its first screen, which the intro skip and the offline setting need.
Compatibility
- BepInEx: BepInEx loads through
winhttp.dlland this fix throughwinmm.dll, so the files do not clash. They have not been tested together, and BepInEx gave us trouble with this game on its own. - Other ultrawide and HUD mods (such as UW Fix or Centered HUD): this fix already covers what they do, so use one or the other. With both installed they will fight over the same screens.
- Intro skip mods that ship their own copy of Ultimate ASI Loader (for example as
version.dll): not needed with this fix, which skips the intro itself. Remove them, so only one loader is installed. - ReShade and other
dxgi.dlltools are not affected.
Configuration
Open DawnOfWar4.Ultrawide.ini in the game folder with Notepad.
UIAspect- width of the menus and battle HUD.Autospreads them across the whole screen as the game does;16:9,21:9or any otherwidth:heightkeeps them in the middle at that shape. Applies as soon as the file is saved, and Ctrl+U in game steps through Auto, 16:9, 21:9 and 32:9 and saves it here (defaultAuto)NativeResolution- lists every resolution the monitor supports, and starts the game at the monitor's own (default1)WholeBackgroundArtwork- shows the title and loading screen artwork whole (default1)WholeVideos- shows videos whole with bars at the sides,0fills the screen and cuts off the top and bottom (default1)SkipIntro- skips the logos, health warning and "press any key" (default1)Offline- see Online play above (default1)
Screenshots
Installation
- Grab the latest release from below. You will need a 7z capable extractor such as NanaZip, 7-Zip (Windows), PeaZip (Windows/Linux), or WinRAR (Windows/Linux).
- Extract the archive to the game folder (e.g.
steamapps\common\DawnOfWar4\DawnOfWar4for Steam on Windows), ensuring it's not in a sub-folder with the same name as the archive.winmm.dllshould end up next toDawnOfWar4.exe. - Run the game and enjoy!
Steam Deck/Linux Additional Instructions
You do not need to do this if you are using Windows!
- Open up the game properties in Steam and add
WINEDLLOVERRIDES="winmm=n,b" %command%to the launch options.
Changes
0.1.0 - 5th December 2026
- Initial release
Credits
- Ultimate ASI Loader by ThirteenAG, included as
winmm.dll. - MinHook by Tsuda Kageyu.
