Bought Settlers 5 as part of History Edition.
In Windows 10, using UPlay launcher (or executing \theSettlers5\bin\SettlersHoK.exe directly) would launch black window titled "The Settlers 5 - Heritage of Kings" and then pop up a Windows dialog with an error: RwEngineSetVideoMode
Thought it was a display resolution issue. Spent a while getting my widescreen display to switch from 16:9 resolutions to 4:3. 800x600 didn't make a difference, error still occurred. Once I got 1024x768 working, game launched fine.
Weirdly, I since set my resolution back to 16:9 (1280x720) and the game still works for now.
So now I never see the black window and the game launches straight into opening animation/logo.
Hey LastManClan!
I'm glad to hear you've been able to resolve your issue as random as it was!
Thanks for posting it here for us to see and for other players who may experience similar.
I'd also recommend this guide for any other players to try some troubleshooting if adjusting the resolution doesn't resolve it.
Hi there, I'm having this issue too.
Thanks for this thread. It helped me launch The Settlers 5, but unfortunately this is the only way to launch it for me.
I use two monitors (HDMI landscape, DP portrait), and it will work on the DP monitor at 1024x768 with and without compatibility mode - another solution offered.
I followed this thread, and unfortunately, changing the options when it is working will not create an Options.ini file anywhere.
Another solution I have heard of is following this video and downloading someone's custom .exe files, but it doesn't work either.
Have there been any solutions or support offered by Ubisoft in the past couple of years?
I actually found a solution to my problem in a Steam guide: https://steamcommunity.com/sharedfil...?id=1689822240
The display resolution comment made me think of launching in windowed mode, and I followed this guide:
Goto -> "C:\Users\%username%\Documents\THE SETTLERS 5 - History Edition\Data"
and open the file GDB.xml with notepad++ or similar editor
Find the entry:
<ListData>
<Name>TextureResolution</Name>
<Object classname="GDB::CValue" classid="0x93bcc6f3">
<Value>0.000000e+00</Value>
</Object>
</ListData>
add following lines directly below:
<ListData>
<Name>Windowed</Name>
<Object classname="GDB::CValue" classid="0x93bcc6f3">
<Value>1.000000e+00</Value>
</Object>
</ListData>
or for borderless window (big thanks to Vexillarius):
<ListData>
<Name>BorderlessWindowed</Name>
<Object classname="GDB::CValue" classid="0x93bcc6f3">
<Value>1.000000e+00</Value>
</Object>
</ListData>
Example:
<ListData>
<Name>TextureResolution</Name>
<Object classname="GDB::CValue" classid="0x93bcc6f3">
<Value>0.000000e+00</Value>
</Object>
</ListData>
<ListData>
<Name>Windowed</Name>
<Object classname="GDB::CValue" classid="0x93bcc6f3">
<Value>1.000000e+00</Value>
</Object>
</ListData>
</Object>
Hello, LastManClan! I am sorry to hear that you are encountering this error as well. Would you be willing to verify your game files to test if that helps resolve this at all for you?