A widescreen and resolution patch to fix issues on modern PC especially with resolutions higher than 1920x1080.
After almost 16 (!!) years we have finally defeated the famous "Texture or surface size is too big (esurface.cpp, 129)" error!
Widescreen and Resolution fix for Soldiers: Heroes of World War 2
It also fixes the famous `Texture or surface size is too big (esurface.cpp, 129)` error!
Installation
- Download zip from and unpack the files inside next to the Soldiers.exe
- Set the following properties (important)
NOTE: if you don't set `Disable fullscreen optimizations` you will get this error
Supported Versions
- Zoom-Platform 1.28.3E
- GOG 1.28.3E
- GOG Game Editor (since v1.7)
- Steam 1.28.3E (since v1.3)
Known Limitations
- videos might only play sound with black screen - no idea why :(
- editor was only tested with the bat script from the GOG version
Showcase
Menu
Original Zoom
Patched Zoom
Note
Feel free to checkout the GitHub Page as well ;).
Thank you so much !
glad you like it ;)
Fabulous !
Many thanks for this precious tol.
Cheers.
thank you!
I hope that ppl will enjoy the game in full 4k now xD
Thanks for this new version, zocker_160.
Cheers.
yep I added support for the Steam version, which sadly was a bit more work than the GOG one.
Hi Dev,
Super awesome work, I couldnt believe that someone fixed it.
I got the steam version and now this is a long shot but I have to ask...
Would you be able to make it work for resolution 5120x1440 ?
When I use your fix the game offers me to set this resolution (5120x1440) but when I set it it just displays "Texture or surface size is too big (esurface.cpp, 129)" error
I dont understand how this engine or your fix works. If it would be just tweaking some numbers in your fix then it would be super appreciated but I understand if not.
Just tried 3440x1440 (21:9) and it works fine. But cant get 5120x1440 to work.
I am sorry for the late reply, but ModDB does not notify me when a guest creates a comment.
This fix here does increase the resolution limit from 2048 to 4096px. That is why it causes issues with 5120x1440.
It is possible for me to increase the limit even higher, the problem is, that I also need to patch the camera and the zoom and this is not easy, because I cannot test it. I myself only have a 3440x1440 screen.
If you have a GitHub account, feel free to open an issue and lets discuss it there, with your help I can make 5120x1440 work.
Link to the GitHub is in the description above,
Sure ! Created account and replied to the GitHub thread.
Hey, nice job on this!
I am currently trying to get the editor working (running Windows 11), and get it going with 3840x2160 (my monitor's native resolution). Any clue on how I can get that working? :)
Best Regards,
Skull Kid
Hi,
this patch does not support the editor (as stated in the description).
In order to make it work, one would need to create a separate hack for the editor since it suffers from the same problems as the game, there is sadly no other way.
zocker_160
Ah, my bad. I missed that. If you get the time, then please check if you can repeat this for the editor as well. If you don't have the time that's ok, because I found out that I can make it run in 1920x1080.
yes I will look into it and also yes up to 1080p it will work
both the game and the editor have a hard limit of 2048px which can only be removed with a hack.
Alright. Thanks for taking the time :)
SkullKid2000 I have added support for the editor shipped with the GOG version.
It took a bit longer because it was fk pain in the ***, because the editor does sideload the engine code into memory on startup for whatever reason.
Thanks again :)
Thnaks for updating this great tool, zocker_160.
Cheers.
I installed this mod and followed the instructions but my game is super zoomed in on the intros and then to the main menu screen.
Setting your global desktop scaling to 100% should fix this issue.
Hello, I have a problem with my soldiers and heroes of world war 2 game. I can open the game at 1920x1080 resolution, but the game is constantly flickering and stuttering like lag, as I move the mouse, the fps drops and the game stuttering. Flickering happens as I move the mouse. When I copy d3d8.dll to the game folder with dgvoodo, the flickering and stuttering goes away, but the resolution is only 1024x768 and does not change.Can you please help me? I've been searching for days and can't find a solution.
I still encounter the same problems... :-(. After correctly applying the fix, the error of having to reboot the computer persists... what to do?