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

Difference between revisions of "Call of Duty 2"

From PCGamingWiki, the wiki about fixing PC games
m
Line 423: Line 423:
 
# Enable the following [[Windows Compatibility Mode|compatibility settings]] for the {{code|CoD2SP_s.exe}} and {{code|CoD2MP_s.exe}} files: <code>Compatibility mode (Windows XP (Service Pack 3))</code>.
 
# Enable the following [[Windows Compatibility Mode|compatibility settings]] for the {{code|CoD2SP_s.exe}} and {{code|CoD2MP_s.exe}} files: <code>Compatibility mode (Windows XP (Service Pack 3))</code>.
 
# Run the game ({{code|CoD2SP_s.exe}} for Singleplayer, {{code|CoD2MP_s.exe}} for Multiplayer).<br><br>
 
# Run the game ({{code|CoD2SP_s.exe}} for Singleplayer, {{code|CoD2MP_s.exe}} for Multiplayer).<br><br>
Compatibility can be be also set using a batch file, example:<br>
+
Compatibility can be also enabled using a batch file, example:<br>
 
<code>set __COMPAT_LAYER=WinXP<br>
 
<code>set __COMPAT_LAYER=WinXP<br>
 
start "" CoD2MP_s.exe</code>
 
start "" CoD2MP_s.exe</code>

Revision as of 18:29, 22 May 2018

Template:Infobox game/row/osxporter
Call of Duty 2
Call of Duty 2 cover
Developers
Infinity Ward
Publishers
Activision
OS X Aspyr Media
Engines
IW 2.0
Release dates
Windows October 25, 2005
macOS (OS X) June 1, 2006
Call of Duty 2 guide on StrategyWiki
Call of Duty 2 on Wikipedia

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.
Call of Duty 2003
Call of Duty 2 2005
Call of Duty: Modern Warfare (series)
Call of Duty: Black Ops (series)
Call of Duty: Ghosts 2013
Call of Duty: Online 2013
Call of Duty: Advanced Warfare 2014
Call of Duty: Heroes 2014
Call of Duty: Infinite Warfare 2016
Call of Duty: WWII 2017
Call of Duty: Warzone 2020
Call of Duty: Vanguard 2021
Call of Duty: Warzone 2.0 2022

Key points

Mod friendly.
Requires manual PunkBuster update to play on protected servers.

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

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
CD key
SafeDisc v4 DRM[Note 1], CD-ROM edition with 6 discs and a DVD-ROM version.
Windows
macOS (OS X)
Amazon.com
Icon overlay.png
Windows
macOS (OS X)
GamersGate
DRM details are not known
macOS (OS X)
Gamesplanet logo.svg
Icon overlay.png
Published by Aspyr.
Windows
macOS (OS X)
Gamesplanet logo.svg
Icon overlay.png
Published by Activision.
Windows
macOS (OS X)
Mac App Store
Icon overlay.png
macOS (OS X)
Steam
Icon overlay.png
Windows
macOS (OS X)
SafeDisc retail DRM does not work on Windows Vista and later (see above for affected versions).
Demo
The USA retail edition is a 6 CD ROM Disks, the Europe retail edition is a DVD ROM Disk.

Essential improvements

Patches

Skip intro videos

Use the seta com_introplayed "1" command line argument[3]

Tweaks

There are 3 ways to insert commands.

Use the in-game console[3]
  1. Enable console in the "Game Options".
  2. Open it with ~.
  3. Type command and press Enter.

Notes

If commands aren't sticking try putting "seta" before them.
If you are in the multiplayer part of the game, you need to place a common slash / before the commands.
Use command with +set prefix as command line arguments[3]
Edit directly the .cfg files[3]

Game data

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

Configuration file(s) location

System Location
Windows <path-to-game>\main\players\<user-id>\*.cfg[Note 2]
macOS (OS X)
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/2630/pfx/[Note 3]
config.cfg contains single player settings.
config_mp.cfg contains multiplayer settings.

Save game data location

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

Save game cloud syncing

System Native Notes
Steam Cloud

Video settings

In-game graphics settings.
In-game graphics settings.
In-game texture settings.
In-game texture settings.

Template:Video settings

Input settings

In-game key map settings.
In-game key map settings.

Template:Input settings

Audio settings

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

Template:Audio settings

Localizations

Language UI Audio Sub Notes
English
Simplified Chinese
Only available in China Mainland (People's Republic of China) retail release.
Traditional Chinese
Only available in Taiwan (Republic of China) retail release.
French
German
Italian
Japanese
Only available in Japanese retail release.
Korean
Only available in Korean retail release.
Polish
Only available in Polish retail release.
Portuguese
Only available in Portuguese retail release.
Russian
Retail only. Patch for digital release here.
Slovak
Spanish
Thai
Only available in Thai retail release.
Indonesian

Network

In-game multiplayer settings.
In-game multiplayer settings.

Multiplayer types

Type Native Players Notes
Local play
Console versions only.
LAN play
64
Online play
64 Requires manual PunkBuster update for protected servers.

Connection types

Ports

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

Issues fixed

TweakGuides has created a comprehensive guide for fixing issues in this game.

Possible fixes for general crashing

Crashes when launching the game (possible fixes)[citation needed]
  • Turn Steam overlay off in properties.
  • Turn off any program that overlays a GUI in the game (teamspeak GUI overlay) etc.
  • Turn on stereo mix under recording tab in sound properties.
  • Plug in a microphone.

The fix is to force the CoD2 exe file to only use one processor core, but that doesn't mean the problem is exclusive to multicore processors; the same thing happens even on a Pentium 4 with Hyperthreading. Note that opening the Task Manager after starting the game and setting the process CPU affinity from there does not work. We have to get a little more involved than that. One last thing: the following directions are for the singleplayer exe file. If you find you need to apply this fix to multiplayer as well simply repeat the steps for CoD2MP_s.exe.

FMV freezing[citation needed]
  1. Download imagecfg and extract it into the installation folder.
  2. Make a backup copy of your CoD2SP_s.exe since we are going to be altering it.
  3. Open a cmd window and move to the installation folder.
  4. Enter this command: imagecfg -u CoD2SP_s.exe.
  5. If it worked you should see a little report saying the affinity has been set to a single processor. The -u switch makes the application only run in uni-processor mode.

Getting automatically kicked from servers

Kicked from servers[citation needed]
  1. Turn Steam overlay off in properties.
  2. Update PunkBuster manually.

Game won't start on Windows Vista and higher

On some systems the game won't start on Windows Vista, 7 or higher.

Enable compatibility settings[citation needed]
  1. Go to <path-to-game>.
  2. Enable the following compatibility settings for the CoD2SP_s.exe and CoD2MP_s.exe files: Compatibility mode (Windows XP (Service Pack 3)).
  3. Run the game (CoD2SP_s.exe for Singleplayer, CoD2MP_s.exe for Multiplayer).

Compatibility can be also enabled using a batch file, example:
set __COMPAT_LAYER=WinXP
start "" CoD2MP_s.exe

Low fps when using compatibility settings

Because running in compatibility settings give DirectX some unnecessary flags, in game fps can be highly reduced on some systems.

Advanced FPS fix for when running in compatibility mode[citation needed]
  1. Get the Compatibility Toolkit from this Microsoft page and install.
  2. Run the Compatibility Administrator (32-bit).
  3. Select New Database (1) and press Fix.
  4. Fill in the vendor name and the program name, as well as the location of the program. Press next.
  5. Tick Compatibility Mode and choose Windows XP SP3. Press next.
  6. Untick fix DXMaximizedWindowedMode. It will give a warning, press yes to continue.
  7. Select fix DXPrimaryEmulation, click Parameters, enter: -DisableMaxWindowedMode and press OK.
  8. Press Next. After that press Finish.
  9. Press Save, select the database name and save it to a location.
  10. Press File - Install.
  11. Close Compatibility Administrator.
  12. Because it will conflict with what we removed, you should now revert the compatibility fix you did to CoD2SP_s.exe and CoD2MP_s.exe above.

Game crashes when changing resolution

In the graphics option menu, set the "Rendering Method Preference" to DirectX 9.

If the game crashes when trying to change the renderer, either modify the game's configuration file manually with a text editor or apply compatibility settings (see Game won't start on Windows Vista and 7 for details).

Another workaround is to start a new game and then change graphics settings from there.

"Failed to find Steam" error

Get the Steam.dll file[4]
  1. Go to <Steam-folder>.
  2. Copy the Steam.dll file and paste it into <path-to-game>.
  3. Run the game.

Other information

Mods

Back2Fronts visuals

A mod which adds new sounds, textures and more.

API

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

Middleware

Middleware Notes
Audio Miles Sound System, Speex
Multiplayer PunkBuster

Console commands

Console command Description
ai_corpsecount [1-64] Controls the amount of dead bodies on the screen.
g_brass 0 Disables the shells flying our of your gun when firing.
cg_marks 0 Disables bullet holes and explosion marks.
cg_drawFPS 1 Show FPS counter.
com_hunkMegs [80-512] More memory and faster loading times (Don't use more than half of your total memory).
com_maxFPS Adjust the FPS cap.
r_drawsun 0 Disables the "sunblind" effect.
r_lodScale [1-4] Selects the rate objects lose detail.

System requirements

Windows
Minimum Recommended
Operating system (OS) 2000
Processor (CPU) Intel Pentium 4 1.4 GHz
AMD Athlon XP 1700+
System memory (RAM) 256 MB
Hard disk drive (HDD) 4.6 GB
Video card (GPU) 64 MB of VRAM
DirectX 9.0c compatible
macOS (OS X)
Minimum Recommended
Operating system (OS) 10.7.5
Processor (CPU) Intel Core 2 Duo 1.8 GHz
System memory (RAM) 512 MB
Hard disk drive (HDD) 4 GB
Video card (GPU) Nvidia GeForce 7300
ATI Radeon X1600
128 MB of VRAM
Supported ATI chipsets: ATI Radeon 8500, ATI Radeon 9000, ATI Radeon 9200, ATI Radeon 9500, ATI Radeon 9600, ATI Radeon 9700, ATI Radeon 9800, ATI Radeon X300, ATI Radeon X550, ATI Radeon X600, ATI Radeon X700, ATI Radeon X800, ATI Radeon X850
Supported Nvidia chipsets: Nvidia GeForce 2 Ultra, All Nvidia GeForce 3/Ti Series, All Nvidia GeForce 4/Ti Series, All Nvidia GeForce FX Series, All Nvidia GeForce 6 Series

Notes

  1. SafeDisc retail DRM does not work on Windows 10[1] 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.[2]
  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 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>/2630/ in addition to or instead of this directory. The app ID (2630) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.

References