Welcome, Guest.
Username: Password: Remember me

TOPIC: [SOLVED] Call of Duty 2 CTD with new versions of Reshade

Call of Duty 2 CTD with new versions of Reshade 8 months 2 weeks ago #1

Hello, any time I try to use any newer version of Reshade with Call of Duty 2 the game crashes straight to the desktop after the first splash screen pops up with no errors. So far i have tried version 3.5 up to 3.8 and the result stays the same. I have also uninstalled and re installed the game a few times and to different locations on my pc.

I am running the physical retail version of the game and my specs are a gtx 960 2gb version, 16 gbs of ram, Amd fx 8320 cpu and Windows 10 Pro 64 bit.

Thank you.
The administrator has disabled public write access.

Call of Duty 2 CTD with new versions of Reshade 8 months 2 weeks ago #2

  • crosire
  • crosire's Avatar
  • Online
  • Posts: 3003
  • Thank you received: 1755
That game defines a very small stack size for its executable (only 64 kilobytes, the default on Windows is 1 megabyte), which isn't enough memory for ReShade to work with, thus causing a stack overflow during effect compilation.
This can be fixed by modifying the game executable file to allocate a larger stack on startup.
I quickly wrote a simple tool which does that: download link.
Make a backup of the executable ("CoD2SP_s.exe") and then drag and drop the original on the tool. It should then fix up the file provided you have full writing permissions to the directory. Btw., the tool works on any executable, so should there be more older games with this issue, it will fix those too.
Cheers, crosire =)
Last Edit: 8 months 2 weeks ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: BlueSkyKnight