Jump to content

Call of Duty 2 - Custom Patch v2


About This File

Patches applied in memory at startup without modifying original file on hard disk

Supports: SP v1.2/MP v1.3 (Retail/Steam)

- No Black screen: Fixes issue at startup with multiplayer game exe
- Distance fix: Fixes object popping by rendering all models at highest level of detail from start
- No Optimal settings: Disables legacy "Optimal settings" function at startup
- No Safemode: Disables legacy "Safemode" function at startup
- No Intro: Skips logos and game intro at startup
- No Splash: Skips splash screen at startup
- Sets com_hunkMegs to 512MB by default
- Disables pure server only filtering and voice chat option for new game config
- Windowed mode: Enable via ini file (supports singleplayer and multiplayer)
- No cheat protected dvars: Disables cheat/write protection
- Play without key: Play without authorization and even key (only servers using the patch)
- Steam version: Play without Steam using original steam files

Note:
- Patches can be disabled/enabled via "cod2patch" ini file


Installation
Copy "winmm" (Steam: "steam") dll and "cod2patch" ini file into the game folder

 





User Feedback

Recommended Comments

First, thank you for this patch! I've been playing with v1 of your patch for years.

That said, I've been having trouble with getting this patch to load successfully in some cases. I think it has something to do with the location, or with some metadata that Windows has attached to the location.

For example, I have a working installation in "C:\Games\COD2". I can tell that the patch is working fine by e.g. enabling WindowedMode or NoStartupBlackscreen. I copy-paste that working folder to "C:\Games\data" and run `CoD2MP_s.exe` from there, I can tell that the patch still loads. If I copy-paste the installation to "C:\Code\COD2\data", it stops working. No matter how many times I clear out that location and copy-paste the working install to it, it does not work. When it does not work, I get the long black screen, and some of my settings get reset. I've tried copy-pasting it to other places, and sometimes it works, sometimes it doesn't.

These installations are 100% identical at the time of launch due to the copy. If I attach to `CoD2MP_s.exe` with the IDA debugger, I can tell that in the cases where the patch gets loaded successfully, the `winmm.dll` in the folder alongside the `exe` gets loaded, but in cases where the patch doesn't load, that local `winmm.dll` never gets loaded. I think it might have something to do with certain threads starting earlier for some reason, but I am not sure.

I am very confused about what might be causing this. I hope you might be able to replicate this issue via copy-pasting your installation. Otherwise, would you consider offering a pre-patched version of `CoD2MP_s.exe` for those of us who run into this issue?

 

Share this comment


Link to comment
Share on other sites

@sourceror
Thanks for the feedback, I will look into it.

Edit:
It works on my end in path "C:\Code\COD2\data" and can't reproduce it.

Try the following:
1.Open the "CoD2MP_s" exe file with e.g hex editor or cff explorer and change  -> "WINMM.dll" to "patch.dll" -> save.
2.Rename winmm.dll to patch.dll file and test if it changes anything

Sounds strange in any case. If anyone reads this and also has the same problem, please contact me.

Share this comment


Link to comment
Share on other sites

Ok, can you tell me what i'm doing wrong, because it's not working...

 

1VY26KT.png

 

I have installed the 1.3 patch.

Thx in advance.

Share this comment


Link to comment
Share on other sites

Patch via winmm dll file not working?
Download updated custom patch and use dbghelp dll from "retail\winmm_alternative" folder

Share this comment


Link to comment
Share on other sites

Hey there.. I have version 1.2 (retail)
I copied winmm.dll and the cod2patch.ini in my game folder but it doesn't do anything!

I tried the dsound.dll method and it worked, but I need dsound.dll from DSOAL so I can't use that!

Also doesn't matter which version I use: Multiplayer doesn't work anymore.. it just crashes to desktop without an error message

Share this comment


Link to comment
Share on other sites

@psxmicha
dsound.dll: Thanks for the very useful feedback, Now I know why it doesn't work with winmm on some systems. (I will add further options)
 

Quote

I have version 1.2 (retail)

v1.2 mp or sp ? (mp v1.2 not supported)

 

Quote

Also doesn't matter which version I use: Multiplayer doesn't work anymore.. it just crashes to desktop without an error message

with custom patch? what you mean by "version"?

Share this comment


Link to comment
Share on other sites

 

40 minutes ago, LuKeStorm said:

@psxmicha

 

v1.2 mp or sp ? (mp v1.2 not supported)

 

with custom patch? what you mean by "version"?

Oh my fault.. seems like my install was broken. I reinstalled the game and now everything works fine! but only with the Dsound.dll which I can't really use because of the dsound.dll from DSOAL 😄

Share this comment


Link to comment
Share on other sites

Update 20250811
- Added: Alternative dbghelp dll proxy

In case winmm dll doesn't work, there is now an alternative.
Let me know if the alternative also doesn't work @psxmicha and others

Share this comment


Link to comment
Share on other sites

13 minutes ago, LuKeStorm said:

Update 20250811
- Added: Alternative dbghelp dll proxy

In case winmm dll doesn't work, there is now an alternative.
Let me know if the alternative also doesn't work.

no doesn't work for me 😕 just to get it right: I just have to copy dbghelp.dll and cod2patch.ini into my cod 2 folder, right?

 

Share this comment


Link to comment
Share on other sites

Update 20250812
- Updated: winmm dll proxy (should now also work where it didn’t work before)
- Removed: Alternative dbghelp dll proxy (not working by default)
- Fixed: typo

Thanks @psxmichafor feedback and testing!

Share this comment


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...