Results 1 to 2 of 2

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

  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,014
    Thanks
    2,110
    Thanked 1,086 Times in 753 Posts

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

    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:

    Code:
    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)
    timescale 0.01

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,014
    Thanks
    2,110
    Thanked 1,086 Times in 753 Posts
    Thank you conductoid, this is for running Call of Duty United Offensive via wine:

    Code:
    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)
    timescale 0.01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •