Overview
This is a minor edit to the Dawn of War Widescreen Guide, all credit goes to Yorith, I changed some values in their guide. Inspiration comes from the 21:9 guide by Ghazzgul (who did a similar thing for 21:9 resolutions). Their guides are linked below.Yorith’s Original Guide:https://steamcommunity.com/sharedfiles/filedetails/?id=205040803Ghazzgul’s 21:9 Guide:https://steamcommunity.com/sharedfiles/filedetails/?id=1132691115The major change between this and the original guide is fixing the stretching that occurs on the game world, however this slightly worsens the issue with the minimap overlapping (however I tinkered with a few values with W40k.exe and W40kWA.exe to minimise this and I would still say it is acceptable) and a minor visual bug on the hub of the main menu.WARNING – THIS GUIDE PROVIDES NO SOLUTIONS FOR NON-16:9 ASPECT RATIOS
Setting Your Resolution
First, ensure you are happy with your graphics options in Dawn of War itself as changing any graphics setting afterwards reverts the changes.
After you have done that, go to your Dawn of War directory and open “local.ini” with a text editor like Notepad or Notepad++.
Find “screenheight” (without inverted commas) and change the value to that of your vertical resolution (e.g. for 1920×1080 change it to 1080) of your 16:9 display.
Then find “screenwidth” (without inverted commas) and change the value to that of your horizontal resolution (e.g. for 1920×1080 change it to 1920) of your 16:9 display.
Changing Hex Values
You should then download a hex editor such as HxD (https://mh-nexus.de/en/hxd/) and open the following files in it and replacing the values.
For “Platform.dll”, “spDX9.dll” and “UserInterface.dll” – Open them in HxD, click search in the top bar, then replace and switch to the “Hex-values” tab and put ABAAAA3F in the “Search for:” box and then put 398EE33F in the “Replace with:” box and click “Replace all”. Save the file and then move on to the next.
Once you have completed changing those hex-values, open “W40k.exe” and “W40kWA.exe” in a HxD as well. In both do the same as before but change the “Replace with:” value to 0000A03F.
Once this is done, you should be able to boot the game. If the main menu looks like below, this is normal and is a side-effect of the changes, outside this screen and the minimap the game works 100% as usual.
[link]Farewell
Congratulations, Dawn of War should now run in widescreen with a few less visual annoyances!
[link]