Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Call of Duty 4: Modern Warfare

From PCGamingWiki, the wiki about fixing PC games
Revision as of 09:29, 15 October 2021 by Garrbot (talk | contribs) (→‎top: updated template usage)

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

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
Reception
Metacritic 92
IGDB 88
Taxonomy
Series Call of Duty: Modern Warfare
Call of Duty 4: Modern Warfare on HowLongToBeat
Call of Duty 4: Modern Warfare on IGDB
Call of Duty 4: Modern Warfare guide on StrategyWiki
Call of Duty 4: Modern Warfare on MobyGames
Call of Duty 4: Modern Warfare on Wikipedia
Call of Duty: Modern Warfare
Subseries of Call of Duty
Call of Duty 4: Modern Warfare 2007
Call of Duty: Modern Warfare 2 2009
Call of Duty: Modern Warfare 3 2011
Call of Duty: Modern Warfare Remastered 2016
Call of Duty: Modern Warfare 2019
Call of Duty: Modern Warfare 2 Campaign Remastered 2020
Call of Duty: Modern Warfare II 2022
Call of Duty: Modern Warfare III 2023

Warnings

The macOS (OS X) version of this game does not work on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.

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
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
CallofDutyMaps - A detailed Website for all included multiplayer maps.

Availability

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
CD key
SafeDisc v4 DRM[Note 1].
Campaign only. Multiplayer has no DRM.
Windows
macOS (OS X)
Amazon.com
Icon overlay.png
Windows
macOS (OS X)
GamersGate
Icon overlay.png
Windows
macOS (OS X)
Gamesplanet logo.svg
Icon overlay.png
Windows
macOS (OS X)
Humble Store
Icon overlay.png
Windows
macOS (OS X)
Steam
Icon overlay.png
Windows
macOS (OS X)
Mac App Store (unavailable)
Icon overlay.png
macOS (OS X)
SafeDisc retail DRM does not work on Windows Vista and later (see above for affected versions).
Demo

DLC and expansion packs

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

Patches

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

The Steam version is already patched
The retail GOTY edition is patched to version 1.6

Patch v1.6

Includes the Variety Map Pack

Patch v1.7

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

CoD4X Mod

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

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

Game data

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

Configuration file(s) location

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

Save game data location

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

Save game cloud syncing

System Native Notes
Steam Cloud

Video

In-game graphics settings.
In-game graphics settings.
In-game textures settings.
In-game textures settings.

Graphics feature State 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° in multiplayer only 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 and 120+ FPS
Unlocked in Singleplayer. For multiplayer, see High frame rate.
High dynamic range display (HDR)
See the glossary page for potential alternatives.
Ray tracing (RT)

Field of view (FOV)

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 to 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.

Notes

Weapon models are affected by changes in FOV.

Windowed

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.

High frame rate

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

In-game control settings.
In-game control settings.

Audio

In-game audio settings.
In-game audio settings.
In-game voice settings.
In-game voice settings.

Audio feature State Notes
Separate volume controls
Surround sound
Only 5.1
Subtitles
Under Game Options.
Closed captions
Mute on focus lost
EAX support
Set 5.1 speakers in options and use DSOAL for binaural HRTF mixing.

Localizations

Language UI Audio Sub Notes
English
French
German
Hungarian
Fan translation, link #1, link #2.
Italian
Polish
Only available in Polish retail release.
Russian
Retail only. Patch for digital release here.
Slovak
Fan translation.
Spanish

Network

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.

Useful networking console commands

Use cl_maxpackets "100" Maximum number of packets sent per frame (Domain is any integer from 15 to 100)
Use seta snaps "30" Snapshot rate (Domain is any integer from 1 to 30)
Read more about these commands and how they relate to com_maxfps

http://www.funender.com/quake/console/q3connection.html

http://wiki.modsrepository.com/index.php?title=Call_of_Duty_:_A_Study_on_FPS

https://linustechtips.com/main/topic/246033-truth-about-91-fps-in-the-new-call-of-duty/

https://steamcommunity.com/app/7940/discussions/0/528398719800788355/?ctp=2#c527273452881706687

VR support

3D modes State Notes
Nvidia 3D Vision
See Helix Mod: Call Of Duty 4: Modern Warfare fix.
vorpX
G3D
User created game profile, see required FOV and shadow tweaks here: vorpx forum profile introduction.
Devices
3RD Space Gaming Vest
Novint Falcon

Issues fixed

Missing d3dx9_43.dll or similar .dll file

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

Game won't start on Windows 7

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).

Game sound is replaced with microphone input

Disable recording device (Windows)
  1. From Control Panel, open the Sound menu.
  2. Under the Recording tab, disable any input devices.

Stuttering issues with high-end graphics cards

The game randomly stutters (not related to FPS) with higher-end graphics cards (eg. GTX 680 and above)
Enable "Dual Video Cards" option in Graphics settings[6]

Ambient Occlusion issues on Nvidia GPUs

Ambient Occlusion set to Performance.
Ambient Occlusion set to Performance.
Ambient Occlusion set to off.
Ambient Occlusion set to off.
Disable Ambient Occlusion inside NVIDIA Control Panel
iw3sp.exe is for Singleplayer, iw3mp.exe is for Multiplayer.
  1. Open the Nvidia Control Panel.
  2. Go to 3D Settings, Manage 3D settings, Program Settings.
  3. Click Add, Browse and select iw3sp.exe or iw3mp.exe inside <path-to-game>.
  4. Set Ambient Occlusion to Off.

"Unable to initialize PunkBuster. PunkBuster is disabled." error

Update PunkBuster manually

Merge the "PB" folder from this ZIP archive with the one in your game's install directory.

Black/flickering textures on older Nvidia GPUs

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

API

Technical specs Supported Notes
Direct3D 9
OpenGL 2.0 macOS only.
Shader Model support 2, 3
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
32-bit only.[7]

Middleware

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

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

Notes

Adjust position of FPS counter on screen using /cg_debuginfocorneroffset XXX YYY, XXX adjusts horizontal axis, YYY adjusts vertical axis. /cg_debuginfocorneroffset 88 464 will place the counter in the bottom right corner of the screen for 1920x1080 16:9 displays.

System requirements

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
System memory (RAM) 512 MB (XP)
768 MB (Vista)
Hard disk drive (HDD) 8 GB
Video card (GPU) Nvidia GeForce 6600
ATI Radeon 9800 Pro
128 MB of VRAM
DirectX 9.0c compatible
macOS (OS X)
Minimum Recommended
Operating system (OS) 10.7.5
Processor (CPU) Intel Core 2 Duo 2.2 GHz
System memory (RAM) 1 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] or Windows 11 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 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).
  3. 3.0 3.1 Notes regarding Steam Play (Linux) data:

References