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•16mo 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
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•16mo 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
Yup, they're also in the .info file for the game
Does gogdl do anything with these
compatibilityFlags
?sensitive-blue•16mo 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-greenOP•15mo ago
I've found this on GOG: https://support.gog.com/hc/en-us/articles/360016103593-Soldiers-Heroes-of-World-War-II-Texture-or-surface-size-is-too-big-error?product=gog
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...
The error you're getting is actually different from mine

The texture size one should be resolved by switching to Wine-Staging, deleting your Wineprefix, then enabling Virtual Desktop in
winecfg
sunny-greenOP•15mo 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
What were the exact setting you used? Mind sharing a game log now that it's working?
sunny-greenOP•15mo ago
here you go:
sunny-greenOP•15mo ago
I've just set gamescope and upscaling from 1920x1080 to 1560x1440
maybe it's a Wayland issue?