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.

Difference between revisions of "Battlefield 2"

From PCGamingWiki, the wiki about fixing PC games
Line 561: Line 561:
 
{{ii}} Set frame rate in <code>%USERPROFILE%\Documents\Battlefield 2\Profiles\Default\Video.con</code> to match your display's refresh rate.
 
{{ii}} Set frame rate in <code>%USERPROFILE%\Documents\Battlefield 2\Profiles\Default\Video.con</code> to match your display's refresh rate.
 
{{ii}} See the first step in [[#High frame rate|High frame rate]]
 
{{ii}} See the first step in [[#High frame rate|High frame rate]]
 +
 +
===Game crashes when entering a game===
 +
{{ii}} Multiple input audio devices can lead to crash when entering a game. Remove all input devices like Bluetooth headsets the one.
  
 
===Fix stretched HUD in widescreen resolutions===
 
===Fix stretched HUD in widescreen resolutions===

Revision as of 10:17, 24 November 2021

Battlefield 2
Battlefield 2 cover
Developers
DICE
Special Forces DICE Canada
Publishers
Electronic Arts
Engines
Refractor 2
Release dates
Windows June 21, 2005
Reception
Metacritic 91
IGDB 93
Taxonomy
Monetization Expansion pack
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres Action, FPS
Vehicles Automobile, Flight, Helicopter, Naval/watercraft, Tank, Transport, Truck
Art styles Realistic
Themes Contemporary
Series Battlefield
Battlefield 2 on HowLongToBeat
Battlefield 2 on IGDB
Battlefield 2 guide on StrategyWiki
Battlefield 2 on MobyGames
Battlefield 2 on Wikipedia
Battlefield 1942 2002
Battlefield Vietnam 2004
Battlefield 2 2005
Battlefield 2142 2006
Battlefield Heroes 2009
Battlefield: Bad Company 2 2010
Battlefield Online 2010
Battlefield Play4Free 2011
Battlefield 3 2011
Battlefield 4 2013
Battlefield Hardline 2015
Battlefield 1 2016
Battlefield V 2018
Battlefield 2042 2021

Warnings

GameSpy online services have been shut down (see Network for solutions).

Key points

Official modding tools and a wide selection of mods available, often with bot support for co-op play.

General information

Battlefield 2 hub on Planet Battlefield
The Battlefield series on Battlelog - PC section.
EA Answers HQ
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
CD key
SafeDisc v3 DRM - removed by official 1.50 patch.
Can be redeemed on Origin through the EA Support.
Icon overlay.png
Windows
Origin (unavailable)
Origin
Windows
Steam (unavailable)
Icon overlay.png
CD key
Complete Collection
Icon overlay.png
Windows

DLC and expansion packs

Name Notes
Armored Fury Included in the latest patch and the Battlefield 2: Complete Collection.
Windows
Euro Force Included in the latest patch and the Battlefield 2: Complete Collection.
Windows
Special Forces Included in the Battlefield 2: Complete Collection.
Windows

Version differences

Disc-based versions require a CD-key which has to be typed in when installing. Individual CD keys are required for each expansion, except for the Complete Collection as mentioned below.
Battlefield 2: Complete Collection includes the expansion pack Special Forces, along with two content add-ons, Armored Fury and Euro Forces, included for free in the latest patch. Only one CD key is available for all the expansions.

Essential improvements

Patches

The Origin and Steam versions are already patched.

Patch 1.50

Version 1.41 has to be installed beforehand.
Removes the disc check DRM and adds widescreen support.
Includes the Armored Fury and Euro Forces expansions for free.

Patch 1.50 Hotfix

Fixes a crash issue when using Alt+Tab to switch to desktop.

Patch 1.41

Includes a new map, fixes bugs and exploits.
Complete Collection is on this version.

Online play support

The BF2Hub client allows the game to be played online after the shutdown of the GameSpy online service.
Download and install the BF2Hub client[1]

Notes

Changes done by the client can be reverted at any time.
Includes fixes for crashes on startup.

PunkBuster updates

Support for the anti-cheat software PunkBuster in BF2 has been discontinued by Evenbalance.
Update PunkBuster manually[1]
Make sure the PunkBuster service is installed and working properly by using the PunkBuster Service Installer (pbsvc). A reboot is required if it is installed for the first time.
  1. Download the PunkBuster files for Battlefield 2.
  2. Extract the contents to <path-to-game>/pb/, overwriting any older files.
  3. Enable PunkBuster in-game in the lower right corner of the server browser.

Skip intro videos

Use the +restart command line argument[1]

Game data

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

Configuration file(s) location

System Location
Windows %USERPROFILE%\Documents\Battlefield 2\Profiles\<user-id>\
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/24860/pfx/[Note 1]

Save game cloud syncing

System Native Notes
Origin
Steam Cloud

Video

In-game video settings.
In-game video settings.

Graphics feature State WSGF Notes
Widescreen resolution
See Widescreen resolution.
Multi-monitor
Use Widescreen Fixer.
Ultra-widescreen
HUD stretched but playable. Use Widescreen Fixer for FOV adjustment.
4K Ultra HD
See Widescreen resolution.
Field of view (FOV)
Use Widescreen Fixer.
Windowed
See Windowed.
Borderless fullscreen windowed
See the glossary page for potential workarounds.
Anisotropic filtering (AF)
High is 4x.
Anti-aliasing (AA)
Up to 8x MSAA. SGSSAA available on Nvidia systems with flag 0x40000000.
Vertical sync (Vsync)
Add "renderer.vsync 1" to "GameLogicInit.con", otherwise if forcing through driver control panel does not work, use D3DOverrider instead.
60 FPS
120+ FPS
See High frame rate, which may also fix crashes on high refresh rate displays.
High dynamic range display (HDR)
See the glossary page for potential alternatives.

Widescreen resolution

Included in version 1.5 of Battlefield 2.
Use the +szx 1920 +szy 1080 +menu 1 +widescreen 1 command line arguments[1]

Windowed

Use the +fullscreen 0 command line argument[1]
Use +wx (number) and +wy (number) command line arguments to position your window

High frame rate

Use console command[1]
  1. Open %USERPROFILE%\Documents\Battlefield 2\Profiles\Default\Video.con and change the 60 in VideoSettings.setResolution 800x600@60 to your display's refresh rate.
  2. In-game, press ~ and the command console will appear.
  3. Type Game.LockFps XX where XX is your desired frame rate (e.g. Game.LockFps 0).
  4. Press Enter to activate the console command and press ~ again to close the console.

Notes

Can also be put into Global.con in the profiles folder (needs write protection).

Ambient occlusion (HBAO)

The inspector tool.
The inspector tool.
Use Nvidia Inspector tool[2]
  1. Download the NVIDIA Inspector Tool.
  2. Extract the files to any new folder.
  3. Open nvidiaprofileinspector.exe.
  4. From the drop down list next to Profiles select Battlefield 2.
  5. Select the Ambient Occlusion compatibility line.
  6. Set SettingValue to 0x00000003 (Fallout 3) from the drop down menu.

Notes

This tweak might not work with the previous 1.4 patch.

Input

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

Audio

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

Audio feature State Notes
Separate volume controls
Surround sound
Missing from Windows Vista and onward. See Surround sound.
Subtitles
Closed captions
Mute on focus lost
EAX support
EAX 2, EAX 5[3] (via OpenAL)[4]

Surround sound

Only Creative X-Fi cards support surround sound by selecting Creative X-Fi as audio renderer in the in-game audio settings. This may lead to game crashes however.
Replace OpenAL files[5]
  1. Launch the game and set the audio renderer to Hardware.
  2. Go to <path-to-game> and create a backup of the file BF2OpenAL.dll.
  3. Install OpenAL.
  4. Copy the file OpenAL32.dll from %WINDIR%\SysWOW64\ (when using a 64-bit OS) or %WINDIR%\System32\ (32-bit OS) to <path-to-game> and rename it to BF2OpenAL.dll.
  5. Download and extract OpenAL Soft to a temporary folder and copy the file soft_oal.dll from inside bin\Win32\ to <path-to-game>.

Localizations

Language UI Audio Sub Notes
English
Russian
Fan translation — https://www.zoneofgames.ru/games/battlefield_2/files/18.html
Dutch
French
German
Hungarian
Fan translation, for base game and 'Euro Forces', for 'Special Forces'.
Italian
Japanese
Traditional Chinese
Korean
Polish
Spanish
Swedish
Thai

Network

Servers can optionally use PunkBuster anti-cheat protection.

Multiplayer types

Type Native Players Notes
LAN play
64 Versus, Co-op
Online play
64 Versus, Co-op
GameSpy online services have been shut down. Players wanting to play online need to install BF2Hub, see Online play support.

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Self-hosting
Dedicated server software available for Windows and Linux.
Direct IP
In-game via Connect to IP or through the +joinServer parameter.

Ports

Protocol Port(s) and/or port range(s)
TCP 80,1024-1124,4711,27900,29900,29901
UDP 1024-1124,1500-4999,16567,27900,27901,28910,29900,55123-55125
Universal Plug and Play (UPnP) support status is unknown.

VR support

In-game Novint Falcon settings.
In-game Novint Falcon settings.
3D modes State Notes
Native 3D
Nvidia 3D Vision
[6]
TriDef 3D
iZ3D
vorpX
G3D
User created, see profile introdution.
Devices
Novint Falcon
Requires Patch 1.50.

Issues unresolved

Mouse skipping/stutter

Battlefield 2 suffers from mouse skipping and acceleration when standing still and looking left/right. Skipping will not occur if moving forwards/backwards but will when strafing left/right.

There is no known fix for this.

Issues fixed

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

Newer version already installed

Download and install Patch 1.41 before 1.5[7]

Can't find install folder

Patch 1.41 won't install ("Can't find install folder")[8]
  1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Electronic Arts\EA Games\Battlefield 2\.
  2. Create a new string by right clicking in the folder and select New > String Value, label this string InstallDir.
  3. Right-Click, Modify the string, and in the Data Value field, input the installation folder (e.g. G:\Battlefield 2).

Game crashes often

Disable desktop composition[9]
  1. Right-click bf2.exe.
  2. Click options > compatibility tab.
  3. Run the game with Disable Desktop Composition.
Set CPU affinity[10]
If you are using a multi-core CPU, try running the game on a single CPU core.
  1. Go into the process list in Task Manager.
  2. Find bf2.exe.
  3. Right click, select "set affinity," and choose one of the cores.
This shortcut will also do it for you.
[Target: %WINDIR%\System32\cmd.exe /C start /affinity 1 C:\Program" "Files\EA" "GAMES\Battlefield" "2\BF2.exe +restart] [Start In: "C:\Program Files\EA GAMES\Battlefield 2"].

X-Fi related sound issues

On Windows 7 x64 systems with a Creative X-Fi sound card, severe audio corruption or crashes may occur when running under X-Fi Audio Mode and Ultra sound quality.
Reduce sound quality to high or change it to hardware mode[11]
Some maps fail to include the file Sounds.con which leads to broken EAX on X-Fi hardware and the X-Fi MB3 virtual sound card (see <path-to-game>\mods\bf2\Levels\Dragon_Valley\server.zip\Sounds.con). This file contains the line sound.setReverb "common/sound/levelambients/Openlandscape.eax" ("City.eax" for some maps).
Extract Sounds.con from a maps server.zip file and put in maps that don't have it[12]

Invalid CDKey

Some people get kicked from every game with an "Invalid CDKey" message. This also happens with the Steam version, where your key is bound to be correct anyway.
There's a thread on the Steam forums containing some fixes for this. To manually resolve this issue, see this guide from EA.

Black terrain and/or models, objects, black spots on map, other visual graphics issues

Certain graphics card drivers cause visual issues with the game.[13][14]
Set "Terrain" quality to low[15]
Download updated shader ".fx" files[15]
  1. Download a new "shaders_client.zip".
  2. Go to <path-to-game>\mods\bf2\, make a backup of shaders_client.zip and replace it with the downloaded file.
  3. Delete the cache folder in %USERPROFILE%\Documents\Battlefield 2\mods\bf2\. This will force Battlefield 2 to recompile the shaders.

Notes

Applying this fix will not allow you to play on PunkBuster protected servers anymore.

Connecting to account server takes a long time

Delete server history[1]
  1. Go to the configuration file(s) location.
  2. Open General.con with an editor like Notepad.
  3. Delete all lines starting with GeneralSettings.addServerHistory.

Game crashes to desktop at launch

Set frame rate in %USERPROFILE%\Documents\Battlefield 2\Profiles\Default\Video.con to match your display's refresh rate.
See the first step in High frame rate

Game crashes when entering a game

Multiple input audio devices can lead to crash when entering a game. Remove all input devices like Bluetooth headsets the one.

Fix stretched HUD in widescreen resolutions

Use "BF2 HUD fix" by marekzajac97[16]
  1. Download the latest release (Currently bf2_hudfix_v0.4.zip)
  2. Make backup copies of Battlefield 2\bf2.exe and Battlefield 2\mods\bf2\Menu_server.zip
  3. Open the zip file, and copy hudfix.dll, BF2.exe and hud_config.txt to the main/root Battlefield 2 installation folder.
  4. Copy the contents of the Menu_server folder within the zip file into Battlefield 2\mods\bf2\Menu_server.zip
Only supports Patch 1.50
As this includes a modified bf2.exe, you may wish to use a DLL injector to create your own patched executable.

Other information

API

Technical specs Supported Notes
Direct3D 9
Shader Model support 2
Executable 32-bit 64-bit Notes
Windows

Middleware

Middleware Notes
Audio OpenAL, Speex
Cutscenes Bink Video, Swiff Player
Multiplayer GameSpy
Anti-cheat PunkBuster

Automatic login

Use the Command line argument +playerName YourName +playerPassword YourPassword[17]

Notes

It might be necessary to log-in at least once.
The command and login data is case-sensitive.
Doesn't work on offline accounts.

Mods

Forgotten Hope 2

Forgotten Hope 2 is an award-winning World War II mod for Battlefield 2, covering all aspects of land, air and sea combat, with a focus on realism and historic accuracy.

Project Reality

Project Reality reworks Battlefield 2 to create the most realistic and demanding virtual combat environment for PC gamers possible. Does not require BF2 to be installed.

Allied Intent Xtended

AIX aims to deliver an amazing array of content which is 100% bot compatible for use in single player and coop game modes.

BF2:Sandbox

Sandbox is a mod that lets you use the BF2 engine to build structures, set up racetracks, ramps, and much much more. This is all done from an easy Command Rose interface in-game.

Eve of Destruction 2

Based on the Vietnam war, it features a variety of weapons, over 40 brand new vehicles and diverse maps ranging from dense jungles to overgrown rice paddies.

Battlefield 1943

A recreation of the console exclusive game.

System requirements

Windows
Minimum Recommended
Operating system (OS) XP
Processor (CPU) Intel Pentium 4 1.7 GHz
AMD Athlon XP equivalent
System memory (RAM) 512 MB
Hard disk drive (HDD) 2.3 GB
Video card (GPU) Nvidia GeForce FX 5700
ATI Radeon 9500
128 MB of VRAM
DirectX 9.0b compatible


Notes

  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>/24860/ in addition to or instead of this directory. The app ID (24860) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.

References