We are hiring a new server admin! Click here to see job details on our forum.

Call of Duty 4: Modern Warfare

From PCGamingWiki, the wiki about fixing PC games
Call of Duty 4: Modern Warfare
Call of Duty 4: Modern Warfare cover
Developers
Infinity Ward
macOS (OS X) i5works[1][2]
macOS (OS X) Aspyr Media
Publishers
Activision
OS X Aspyr Media
Engines
IW 3.0
Release dates
Windows November 5, 2007
macOS (OS X) September 26, 2008
Call of Duty 4: Modern Warfare guide at StrategyWiki
Call of Duty 4: Modern Warfare at Wikipedia
Call of Duty
Call of Duty 2003
Call of Duty 2 2005
Call of Duty 4: Modern Warfare 2007
Call of Duty: World at War 2008
Call of Duty: Modern Warfare 2 2009
Call of Duty: Black Ops 2010
Call of Duty: Modern Warfare 3 2011
Call of Duty: Black Ops II 2012
Call of Duty: Ghosts 2013
Call of Duty: Online 2013
Call of Duty: Advanced Warfare 2014
Call of Duty: Heroes 2014
Call of Duty: Black Ops III 2015
Call of Duty: Infinite Warfare 2016
Call of Duty: Modern Warfare Remastered 2016
Call of Duty: WWII 2017
Call of Duty: Black Ops IIII 2018

This page is for the original release. For the updated version, see Call of Duty: Modern Warfare Remastered.

Key points

Official mod support.
PunkBuster must be manually updated to play on protected servers. See "Unable to initialize PunkBuster. PunkBuster is disabled." error

General information

Official Call of Duty series site
Call of Duty Wiki - A detailed wiki for every Call of Duty game made.
Planet Call of Duty - Very old hub for all Call of Duty games. Has mods, guides, and news on the Call of Duty communities. Hasn't been updated for a while.
Steam Community Discussions

Availability[edit]

Demo

Downloadable content (DLC) and expansions

Name Notes
Variety Map Pack Available for free. Included with Patch v1.6 (v1.7 for OS X) and any digital release of the game. See Patches for a download link.
Windows
macOS (OS X)

Essential improvements[edit]

Patches[edit]

There are 7 patches in total, but only the last two are required.

The Steam version and the retail GOTY edition are already patched.

Patch v1.6[edit]

Includes the Variety Map Pack

Patch v1.7[edit]

Windows[edit]
Requires Patch v1.6 to be already installed
macOS[edit]
Not required for Steam and Mac App Store versions of the game
Contains all the fixes and content from previous patches

CoD4X Mod[edit]

A client and server mod for multiplayer that adds enhanced functionality and security to servers, bug fixes, and its own serverlist.

It can be downloaded from the official website.

Skip intro videos[edit]

Use the seta com_introplayed "1" command line argument[citation needed]

Useful console commands[edit]

  • cl_maxpackets 100 Maximum number of packets sent per frame (Domain is any integer from 15 to 100)
  • com_maxfps 100 Cap frames per second (Domain is any integer from 0 to 1000)
  • snaps 30 Snapshot rate (Domain is any integer from 1 to 30)
  • cg_fov 80 The field of view angle in degrees (Domain is any number from 65 to 80)

Sources: [1]

[2]

[3]

[4]

Game data[edit]

In-game general settings.
In-game general settings.

Configuration file(s) location[edit]

System Location
Windows <path-to-game>\players\profiles\<user-id>\config.cfg
macOS (OS X)
Linux (Proton) <Steam-folder>/steamapps/compatdata/7940/pfx/[Note 2]

Save game data location[edit]

System Location
Windows <path-to-game>\players\profiles\
macOS (OS X)
Linux (Proton) <Steam-folder>/steamapps/compatdata/7940/pfx/[Note 2]

Save game cloud syncing[edit]

System Native Notes
Steam Cloud

Video settings[edit]

In-game graphics settings.
In-game graphics settings.
In-game textures settings.
In-game textures settings.
Graphics option Option WSGF Notes
Widescreen resolution
Multi-monitor
Use Widescreen Fixer.
Ultra-widescreen
Use Widescreen Fixer.
4K Ultra HD
In-game AA must be disabled. If stuck in black screen, set seta r_aaSamples to "1" in 'config.cfg'/'config_mp.cfg'. Force AA externally.
Field of view (FOV)
65-80° without sv_cheats 1; see Field of view (FOV).
Windowed
See Windowed.
Borderless fullscreen windowed
See the glossary page for potential workarounds.
Anisotropic filtering (AF)
Up to 16 samples.
Anti-aliasing (AA)
Up to 4x MSAA. 16 SSAA or MSAA can be forced using console "r_aaSamples" "16"
Vertical sync (Vsync)
60 FPS
120+ FPS
See High frame rate.

Windowed[edit]

Enable windowed mode using console[citation needed]
  1. Press ~ and the in-game console will appear.
    • If it doesn't appear go to Game Options and make sure the console is enabled.
  2. In console, type in /r_fullscreen 0 to enable windowed mode (or /r_fullscreen 1 to enable fullscreen mode) and press Enter.
  3. Type in /vid_restart and press Enter to restart the game's renderer and apply new settings.

Field of view (FOV)[edit]

Modify FOV using a console[citation needed]
  1. Press ~ and the in-game console will appear.
    • If it doesn't appear, go to Game Options and make sure the console is enabled.
  2. In order permanently change the FOV, you have to write the command seta cg_fov XX, where XX is your desired horizontal field of view (e.g. seta cg_fov 90). The command "seta" permanently writes commands following it to the config.

High frame rate[edit]

Unlock frame rate[citation needed]
  1. Enable console in options
  2. Press ~.
  3. Type /com_maxFPS # where # is what you want the frame rate cap to be.

Notes

Some servers do not allow you to have a frame rate above 250 due to possible cheating.
High frame rates can influence aspects of the game's mechanics (such as jump height), and this weakness of the engine is exploited by some players to gain an advantage.

Input settings[edit]

In-game control settings.
In-game control settings.
Keyboard and mouse Native Notes
Remapping
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
See the glossary page for potential workarounds.

Audio settings[edit]

In-game audio settings.
In-game audio settings.
In-game voice settings.
In-game voice settings.
Audio options Native Notes
Separate volume controls
Surround sound
Only 5.1
Subtitles
Under Game Options.
Closed captions
Mute on focus lost

Localizations

Language UI Audio Sub Notes
English
French
German
Italian
Polish
Only available in Polish retail release.
Russian
Retail only. Patch for digital release here.
Spanish

Network[edit]

In-game multiplayer settings.
In-game multiplayer settings.
Servers can optionally use PunkBuster anti-cheat protection (must be manually updated).

Multiplayer types

Type Native Players Notes
LAN play
64
Online play
64

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Self-hosting
Direct IP
Go to Favorites and add a new favorite with the IP as the source.[5]

Ports

Protocol Port(s) and/or port range(s)
TCP 28960
UDP 28960
Universal Plug and Play (UPnP) support status is unknown.

VR support[edit]

Issues fixed[edit]

Missing d3dx9_43.dll or similar .dll file[edit]

This issue is caused by a broken DirectX installation, to fix simply reinstall DirectX 9.

Game won't start on Windows 7[edit]

Enable stereo mix[citation needed]
On some PCs the sound driver crashes the game before it starts
  1. Plug in a microphone

Alternatively:

  1. Go to Control Panel
  2. Open Sound settings
  3. Click the recording tab
  4. Enable stereo mix (you may need to right click and select "Show disabled devices" for it to be visible).

Stuttering issues with high end graphics cards[edit]

Enable multiple GPUs[citation needed]

Random non frame rate related stuttering with higher end graphics cards (eg. GTX 680 and above) can be fixed by enabling Multiple GPUs in the settings menu.

"Unable to initialize PunkBuster. PunkBuster is disabled." error[edit]

Update PunkBuster[6]

Update PunkBuster manually.

Black/flickering textures on older Nvidia GPUs[edit]

Black/flickering textures on older Nvidia GPUs[citation needed]

On Windows XP, older Nvidia GPUs like the GeForce 7900 GTX would display black or flickering textures when running on the latest available drivers (307.83). Downgrading drivers to 195.62 appears to solve this.

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D 9
OpenGL 2.0 macOS only.
Shader Model support 2, 3
64-bit executable
macOS only.

Middleware[edit]

Middleware Notes
Audio FMOD, Miles Sound System
Cutscenes Bink Video
Multiplayer Demonware
Anti-cheat PunkBuster The PunkBuster version provided is no longer supported and needs to be manually updated to connect to protected servers. See "Unable to initialize PunkBuster. PunkBuster is disabled." error

Show FPS Counter[edit]

Show FPS counter[citation needed]
  1. Enable console in options
  2. Press ~.
  3. Type /cg_drawFPS 1

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) XP, Vista
Processor (CPU) Intel Pentium 4 2.4 GHz
AMD Athlon 64 2800+
Any 1.8 GHz Dual Core
2.4 GHz dual core or better
System memory (RAM) 512 MB (XP)
768 MB (Vista)
1 GB (XP)
2 GB (Vista)
Hard disk drive (HDD) 8 GB
Video card (GPU) Nvidia GeForce 6600
ATI Radeon 9800
Nvidia GeForce 7800
ATI Radeon X1800
macOS (OS X)
Minimum Recommended
Operating system (OS) 10.7.5 10.9
Processor (CPU) Intel Core 2 Duo 2.2 GHz Intel Core i7
System memory (RAM) 1 GB 2 GB
Hard disk drive (HDD) 9 GB
Video card (GPU) Nvidia GeForce 7300
ATI Radeon X1600
128 MB of VRAM
The Intel Integrated GMA 950 and Intel Integrated X3100 chipsets are not supported

Notes

  1. SafeDisc retail DRM does not work on Windows 10[3] and is disabled by default on Windows Vista, Windows 7, Windows 8, and Windows 8.1 when the KB3086255 update is installed.[4]
  2. 2.0 2.1 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/7940/ in addition to or instead of this directory. The app ID (7940) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.

References