PDA

View Full Version : Running Call of Duty 1 in wine Fixing: Microsoft Visual C++ Runtime Library exception



kung foo man
4th June 2024, 14:40
Full error: Microsoft Visual C++ Runtime Library exception: "Buffer overrun detected"

Solution: MESA_EXTENSION_MAX_YEAR=2002 wine CoDSP.exe

Even works on Raspberry Pi 4 via `box86` (statically translated from x86 to ARM via DynaRec)!

Don't forget:



r_customwidth 1920
r_customheight 1080
r_mode -1
vid_restart


Raspberry Pi 4 FPS:
1920x1080: ~10-20fps (e.g. 20fps inside a house in mp_carentan since not much geometry)
1024x768: ~30-60fps (same as above, rendering sky and terrain makes it a bit slower)

kung foo man
13th June 2024, 07:16
Thank you conductoid, this is for running Call of Duty United Offensive via wine:


MESA_EXTENSION_MAX_YEAR=2003 force_s3tc_enable=true __GL_ExtensionStringVersion=17700 WINEPREFIX=~/.wine wine CoDUOMP.exe +set r_ignorehwgamma 1 +exec fps.cfg

(previously it would start into the start menu, while crashing after loading a map)