HGL
sunny-green

Soldiers: Heroes of World War 2 crash: Texture or surface size is too big (esurface,cpp,129)

I have problem with running old windows game Soldiers: Heroes of World War 2. On loading screen I'm getting an error Texture or surface size is too big (esurface,cpp,129) I'm adding log from Heroic
12 Replies
sensitive-blue
sensitive-blue16mo ago
found similar issue https://forums.linuxmint.com/viewtopic.php?t=167002 not sure what's up with that game, but looking at protondb it doesn't look promising
CommandMC
CommandMC16mo ago
FWIW I tried throwing d3d8to9 at this thing, which caused it to leak memory at multiple GB/s (and thus to promptly crash)
sensitive-blue
sensitive-blue16mo ago
according to PC gaming wiki on Windows the workaround is to set the compatibility mode for the game .exe to Windows 2000, Windows XP SP2 or SP3
CommandMC
CommandMC16mo ago
Yup, they're also in the .info file for the game Does gogdl do anything with these compatibilityFlags?
sensitive-blue
sensitive-blue16mo ago
it doesn't it's not like wine supports them in the first place also this is the first game I found that actually makes proper use of them
sunny-green
sunny-greenOP15mo ago
GOG SUPPORT CENTER
Soldiers: Heroes of World War II "Texture or surface size is too bi...
If you are encountering this error, there is a possibility that you are trying to launch the game at a screen resolution which is not supported(over 1920x1080/FullHD). As a workaround, please chang...
CommandMC
CommandMC15mo ago
The error you're getting is actually different from mine
No description
CommandMC
CommandMC15mo ago
The texture size one should be resolved by switching to Wine-Staging, deleting your Wineprefix, then enabling Virtual Desktop in winecfg
sunny-green
sunny-greenOP15mo ago
I've figured it out by using gamescope and upscaling this game from FullHD to 1440p now its working try run this through gamescope
CommandMC
CommandMC15mo ago
What were the exact setting you used? Mind sharing a game log now that it's working?
sunny-green
sunny-greenOP15mo ago
here you go:
sunny-green
sunny-greenOP15mo ago
I've just set gamescope and upscaling from 1920x1080 to 1560x1440 maybe it's a Wayland issue?

Did you find this page helpful?