#CALL OF DUTY 2 WINDOWED
A friend told me about the missing windowed mode for Call of Duty 2 and that he tries to fix it with reverse engineering.
It was a good reason to check out what we can do. I'm always interested in finding solutions... even for a creepy old game...
##How does it work?
It's very simple for Windows 10. I was really wondering but it's enough to create a form application and change the parent of the game. Then you only have to handle the resize functions for great flexibility.
The fix is similiar for older Windows versions. But before we can do that we have to change 2 bytes in 'gfx_d3d_mp_x86_s.dll' to force windowed mode.
To prevent md5 mismatch issues in PunkBuster it creates copies for 'CoD2MP_s.exe' and 'gfx_d3d_mp_x86_s.dll' for patching. The copied 'CoD2MP_s.exe' gets a patch to load the patched copy of 'gfx_d3d_mp_x86_s.dll' instead of the original.
That's the trick for PunkBuster... Looks like the best anti cheat protection ever! Do you understand sarcasm? If not: PunkBuster is no anti cheat protection it's only a simulator for ingame lags!
##Requirements:
- Microsoft Windows Vista or higher
- Microsoft .NET Framework Version 4.5+
Would you like to help support me? Donate by PayPal or Report a Problem! Please also feel free to report suggestions as well!