Call of Duty®

Call of Duty®

View Stats:
This topic has been locked
Lunah Oct 26, 2022 @ 8:28am
18 FILES CORRUPTED FIX - - FRAME RATE FIX - - CRASH FIX - step by step!! BUMP THIS THREAD!
18 corrupted files fix at the bottom** this is only 1 potential fix that i have found to have worked...

AWARDS APPRECIATED AS MANY HOURS WENT INTO THIS :)


---------FRAME RATE FIXES AND CRASH FIXES---------
Please do these adjustment at YOUR own risk as I DO NOT take ownership for the unlikely event of damage or the extremely unlikely event that the developers start doing account bans for back-end file adjustments (HIGHLY HIGHLY UNLIKELY***)


------------------FIRST ADJUSTMENT FOR CRASH AND FRAME RATE------------------
So, I've an 8 Core Processor (i7-10700KA) and for some reason 2022 MW2 is only using 7 of those, but while in game I'm only using 4 logical processors... here's how to adjust the backend settings for this Call of Duty title for potentially more performance.

1. Please ensure your game is not open and that all forms of launchers (steam, blizzard and/or whatever other launchers there are...) are closed completely (including through the task manager/task bar)
2. Open Task Manager and select the Performance tab
3. Click on CPU and on the bottom right you’ll see how many cores your PC has (e.g. 8 in my case)
4. Now open the My Documents / Documents folder
5. Find "Call of Duty"
6. Select the ‘players’ folder
Mine was in this location (just to state the obvious... **replace** [INSERT YOUR USERNAME HERE] with your username on your PC)

C:\Users\[INSERT YOUR USERNAME HERE]\OneDrive\Documents\Call of Duty\players

7) Open the ‘ options.3.cod22 ’ file in Notepad or a similar software(it is a CST file so most text software will work)
8) Scroll down to the very bottom and you'll find " // System " subheading
9) Under this heading, locate this following text(yours may have a different number to 7 depending on your CPU core count):

// Thread count for handling the job queue
RendererWorkerCount:0.0 = "7" // -1 to 16

10) Set the ‘ RenderWorkerCount ’ to equal your number of cores (so I changed mine from 7 to 8 as I have 8 cores and 16 threads):

// Thread count for handling the job queue
RendererWorkerCount:0.0 = "8" // -1 to 16

11) Save and Exit the text file (VERY IMPORTANT THAT YOU SAVE AND EXIT BEFORE RELAUNCHING THE LAUNCHERS & MW2 2022) and you should see an improvement in CODMW2 (2022) performance.

!![SUGGESTION] **However this being said, please try both at max number of threads used (YOUR max core count in your task manager) and also a decreased number of threads(lower the thread count by 1 from the original value.
Example - I have tried 6 threads instead of the original 7, I tried 8 and had far better frames than both 6 and 7) under similar loads and in game circumstances to see if there is a noticeable difference.

Some people I have helped with this have found a lower thread count gets their frames higher(not sure why...) - if there is not a noticeable difference I would suggest returning it back to how it was originally.
The theory behind this potentially going either way is that the we know that the adjustment is made so that MW2 2022 can designate a set number of cores for your game to use is a set value designated by the prescribed number associated with ' RendererWorkerCount ' and when YOU set it to the max number of cores, your game may attempt to split the work on this one program between all of the CPU's cores, and potentially slowing down vital system processes in the process (the amount this change to all cores rather than the default number or even a lesser number can depending on what background software is running, what hardware and Operating system YOU are using, it all depends on what you've got rather than the game itself...).
So, potentially if you leave a few cores open to handle the regular upkeep of your back ground processors, things COULD run much smoother.
Also, if you were to split MW2 2022 between 12 cores at 5ghz instead of the default 10 cores at 5ghz **for example**, it could potentially be overkill on the processing power's allocation, and unnecessary (you might not notice a difference??) and therefore, potentially slowing down your PC just to spread the overall workload thinner than necessary.



---------------SECOND ADJUSTMENT FOR CRASH AND FRAME RATE--------------------
This second adjustment that I have made to improve MW2 2022 is adjusting the Target fraction value for the PC's video memory to be used by the MW2 2022 application.

** [MUST READ] Do this at your own risk - I do not take ownership for damage and the risk in receiving ban is extremely unlikely but this falls on yourself if you do make adjustments to this.

Before continuing, I would not recommend surpassing a value of ' 1.150000 ' or higher as it MAY cause damage to your hardware, you may get crashes (you may even BSOD). I have found that you MAY get diminishing returns at anything passed the value of ' 0.950000 ' with it becoming unstable at ' 1.050000 ' to 1.100000 or higher during my testing.
I also found for my PC specifications that there was no noticeable difference between ' 0.950000 ' and ' 1.050000 ' so I took the less 'taxing' option and went for ' 0.950000 '. **

1. Please ensure your game is not open and that all forms of launchers (steam, blizzard and/or whatever other launchers there are...) are closed completely (including through the task manager/task bar)

2) Read steps under the "FIRST ADJUSTMENT" section above

3) The second noticeable adjustment I found was the very bottom line in the ' options.3.cod22 ' text file which should look as follows:

// Set a target fraction of your PC's video memory to be used by the game
VideoMemoryScale:0.0 = "0.850000" // 0.000000 to 2.000000

This is theoretically limiting your Video memory assigned to MW22 2022 at *85% of YOUR video memory usage... this option gives the value range between 0 and 2 with 2 being *200% usage... if you want to play around with setting then do so at your own risk. I have change this setting on my end a lot since the campaign launch and settled on the following as my optimal scale value:

// Set a target fraction of your PC's video memory to be used by the game
VideoMemoryScale:0.0 = "0.950000" // 0.000000 to 2.000000

4) after changing this to the value YOU want to 'try',
Save and Exit the ' options.3.cod22 ' text file. (VERY IMPORTANT THAT YOU SAVE AND EXIT BEFORE RELAUNCHING THE LAUNCHERS & MW2 2022)



-----------------------IN CASE OF EMERGENCY----------------
If your computer crashes or anything after changing any values in the ' options.3.cod22 ' text file, and want to reverse it back to the original values. or... if you cannot remember what the original values were... follow the following steps:
1. Please ensure your game is not open and that all forms of launchers (steam, blizzard and/or whatever other launchers there are...) are closed completely (including through the task manager/task bar)
2. read from step 2 until step 8 under the "FIRST ADJUSTMENT" up the top of this thread THEN proceed with the step below:

3) change the following line from "true" to "0" in the same "options.3.cod22" text file - this is how it will look before:

// Indicates whether recommended settings have been set, will reset settings to recommended if set to 0
RecommendedSet:0.0 = "true"

The line should look like this in order to reset settings to default:

// Indicates whether recommended settings have been set, will reset settings to recommended if set to 0
RecommendedSet:0.0 = "0"

4) after changing this, Save and Exit the ' options.3.cod22 ' text file. (VERY IMPORTANT THAT YOU SAVE AND EXIT BEFORE RELAUNCHING THE LAUNCHERS & MW2 2022)


------ 18 FILES CORRUPTED ON GAME LAUNCH (POTENTIAL FIX) ------

After doing some research on these back end changes above ^^ This issue was brought to the surface in the discussion feed on steam - this "18 files corrupted error" has popped up all over the place since campaign was released a few days ago.

The cause of this error is believed to be due to the windows antivirus or windows defender may have mistaken the files for malware or virus and deleted them and continues to do so each time you try to re-download them // verify your files.

**please do this potential fix quickly as possible to not leave your PC open to security breaches -- I also DO NOT take ownership for any damage that may be caused to your pc**

1) Search for windows defender in the windows search

2) On the left side of the window you should see the option to disable
(or i believe for a new windows operating system you should see that there is "domain network" , "private network" and "public network" and there should be the word (active) next to one of them and you are to click on the one with (active next to it) and turn off the microsoft defender firewall - then on the right side of the screen you'll see 'virus and threat protection' - click on that, then 'virus & threat protection settings' followed by turning all sliders to the off position.)

(and if you're running a third party antivirus make sure to do both windows firewall & virus protection along with your third-party antivirus)

3) re-verify the files whilst the antivirus is disabled

4) Try rebooting the game after download - if it works then move down to the next step, if it doesn't work then uninstall the game and re-download all of the game again whilst antivirus is off.
--------------------------
5) If the game runs when the antivirus is off then we need to create an exception for these files through the antivirus (until this issue gets rectified by the devs)

6) Press Windows + S to open the Windows Search Tab and Type Firewall

7) Reopen the Window Defender Firewall

8) Click on Allow an app or feature through Windows Defender Firewall (this will be on the left hand side of the window or in *blue font bellow 'public network')

**YOU WILL NEED ADMIN PRIVILEGES GOING FORWARDS**

9) Click on change settings

10) scroll down until you find "Call of Duty: Modern Warfare II" make sure this is checked for both public and private - then hit OK*

11) Next we are going back over to "Virus and Threat Protection" on the Left side of the window

12) Under virus and threat protection settings, select Manage settings

13) Scroll down to locate Exclusions and click on Add or remove exclusions (should be down the very bottom or somewhere close by)

14) Click on Add an exclusion and select Folder

15) go to your install location mine is below, yours might be different depending on your launcher and/or file download location.
C:\Program Files (x86)\Steam\steamapps\common

16) select the folder named "Call of Duty HQ" then hit okay

**you may not have a "Call of Duty Modern Warfare II Beta" folder but if you do you will also need to repeat from step 14 and add this folder wherever it is on your PC (if you had previously played the beta there should* be a folder on your PC) **

17) we are again going to add another exclusion by clicking on exclusion and then selecting Folder once more.

18) go to your documents Folder on your "This PC" and find the file that says "Call of Duty" - we are going to add the "Call of Duty" as an exclusion also. This folder may have a link to your "onedrive" or something similar and that's okay. **IMPORTANT** (This will contain player data from both the MW2 2022 and the beta)

* Recap of exclusion folders
- "Call of Duty HQ" (installation files)
- "Call of Duty Modern Warfare II Beta" (installation files)
- "Call of Duty" (saved data, settings, player details)

**note: i have not written out steps for exceptions for thirdparty antivirus as i would be here all night. However, steps should be similar...**

19) turn on antivirus and firewall - try to reboot game :)

if all is working as intended then will be the fix to one set of this error... mind you - from the 5 people i have attempted this with in the past 24hours, it has been successful 3 of those times.



Good luck, happy gaming -

AWARDS APPRECIATED AS MANY HOURS WENT INTO THIS :)

Written by: Trumpssy
Author, researcher and data miner
Last edited by Lunah; Oct 26, 2022 @ 8:32am
< >
Showing 1-3 of 3 comments
Lunah Oct 27, 2022 @ 8:03am 
Bump
draliiia192 Feb 5, 2024 @ 3:01pm 
Heeey pls tell me you have à solution for mw3 beug on pc😭
Yandy Feb 6, 2024 @ 4:22am 
This thread was quite old before the recent post, so we're locking it to prevent confusion.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Oct 26, 2022 @ 8:28am
Posts: 3