This is a patch for the Settlers 5: Heritage of Kings (non-History Edition), which updates the executable to replace the existing windowed mode with fullscreen borderless window mode.
https://github.com/gherkster/settlers-5-borderless-window/releases/latest
A registry update is required to enable the resolution picker on game startup, which includes the required windowed mode.
- Navigate to the correct registry key for your system
- 64 bit Windows -
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Blue Byte\The Settlers – Heritage of Kings\Development - 32 bit Windows -
HKEY_LOCAL_MACHINE\SOFTWARE\Blue Byte\The Settlers - Heritage Of Kings\Development
- Create or update the
DefaultResolutionregistry string key with valueselect.
More details can be found on the PC Gaming Wiki.
Each time the game is launched, the default RenderWare resolution picker will open, defaulted to windowed mode in the primary monitor's resolution.
By installing this patch and selecting this option, the game will launch using that resolution in borderless window mode.
Note: This patch does not support launching on the non-primary monitor. Funnily enough, the original game did not work with this option either using this menu.
This patch supports the latest 1.6.217.0 version of the game, and is the same executable in the GoG release. It is also compatible with the Windows 10 Creators update fix.
The SHA-256 hashes of those executables are
- GoG -
A65C8AF96AB43D9C006B9FC5EDC8C2A63A425DF2F04CF88CB43F3F0F726066D7(4.80 MB) - Patched CE -
B020EECD2C6D5925116C70E8FB204BACFF49794A92CC4441FCF77E4DBDEB5AEF(4.80 MB)
It will likely work with any other copy which is the same file size, but will not work for other copies direct from the Ubisoft updater, which are over 6 MB.
Patch the game executable using the provided xdelta patch with:
<installation directory>\bin\settlershok.exefor the base game<installation directory>\extra1\bin\settlershok.exefor the Nebelreich expansion<installation directory>\extra2\bin\settlershok.exefor the Legenden expansion

