Versions v1.00 (release) and patched versions v1.03, v1.41, v1.50 of the retail game are available.
The latest version is v1.50, which was released on September 1, 2009 and added the content of the Euro Force and Armored Fury booster packs, as well as the Highway Tampa and Operation Blue Pearl maps. This is the recommended version to use, as it:
Application Details:
Version: | 1.x |
License: | Retail |
URL: | http://www.eagames.com/officia... |
Votes: | 45 |
Latest Rating: | Garbage |
Latest Wine Version Tested: | 6.7 |
Maintainers: About Maintainership
What works
Version: 1.0
Installs fine from cd. Boots into the game, loads single player maps.
What does not
You cannot see the mouse in game, so selecting the menu options is tricky. After the map loads, the choose team menu appears, with slightly corrupt graphics in the background, but is horrendesly slow, though this may (almost certainly) be due to an ATI graphic card. For example, Ragnorak Online gives me troubles as well.
Workarounds
What was not tested
multiplayer was not tested, though I assume that would be the same result.
Hardware tested
Graphics:
Additional Comments
A no-cd patch was needed to get around the protection. If someone with an NVIDIA card could test this, it may actually run. I strongly recommend an NVIDIA user test it out with wine 0.9.10
Operating system | Test date | Wine version | Installs? | Runs? | Used Workaround? | Rating | Submitter | ||
Show | Linux Mint 20 "Ulyana" | May 19 2021 | 6.7 | Yes | Yes | Yes | Garbage | Jeremy | |
Show | Fedora 33 x86_64 | Apr 15 2021 | 6.6-staging | Yes | Yes | Yes | Bronze | Linards | |
Show | Gentoo Linux x86_64 | Nov 26 2018 | 3.21-staging | Yes | Yes | Yes | Silver | Rob | |
Show | Arch Linux x86_64 | Oct 29 2016 | 1.9.19 | Yes | Yes | Yes | Gold | Daniel Berger | |
Show | Debian GNU/Linux 8.x "Jessie" x86_64 | Apr 08 2016 | 1.9.6-staging | Yes | Yes | No | Gold | A. Kola |
Bug # | Description | Status | Resolution | Other apps affected |
35371 | Battlefield 2 voice setup tool crashes when "Save Settings" button is clicked (winmm.mixerGetDevCaps should also accept mixer device handles) | NEW | View | |
41925 | Battlelog.co Battlefield 2/2142 Revive Launcher silently dies during installation (Squirrel installer fails) | NEW | View | |
47996 | Battlefield 2 Unhandled exception | UNCONFIRMED | View |
These notes were last updated: 04 September 2019
Follow these guidelines to avoid embarrassment when your Test Submission is immediately rejected!!
These guidelines ensure your submitted test results are actually relevant to other users of Wine and WineHQ.
1 The console version of the lshw utility is your friend. This command will dump your System hardware specification in a clean format. Post command and output in the Extra Comments section:
sudo lshw -short | egrep -v '(volume|disk|bus)'
2 glxinfo can be used to display your OpenGL and graphics driver versions. Post the command and output in the Extra Comments section:
glxinfo -B
Set the following launch parameters for BF2.exe, using the Steam Client GUI:
+menu 1 +fullscreen 1 +szx "x-resolution" +szy "y-resolution"
... replace "x-resolution" & "y-resolution" with your native screen resolution.
Also ensure that your Battlefield 2 Video.con profile file has the correct resolution set in it (command updates all profiles):
export resolution="'x-resolution'x'y-resolution'@'frequency'Hz" find "${WINEPREFIX}/drive_c/users/${USER}/My Documents/Battlefield 2/Profiles" -type f -name "Video.con" -printf "'%p'\n" \ | xargs sed -i -e 's/setResolution [1-9][0-9]*x[1-9][0-9]*@[1-9][0-9]*Hz/setResolution '"${resolution}"'/g'
... replace 'x-resolution' , 'y-resolution' & 'frequency' with your native screen resolution and frequency (respectively).
To access the Battlefield 2 launch options (Steam LIBRARY):
winecfg
wine "D:\Autorun.exe"(Replace D: with whatever drive letter you have your DVD/CD mapped to in winecfg)
wine ejectInsert the next CD, and continue with install.
cd ~/Downloads wine BF2_Patch_141.exe
cd ~/Downloads wine BF2_Patch_1.50.exe
BF2 should now be installed successfully (hopefully). BF2 will run without a no-CD/DVD crack (as update 1.50 removed the disc-based DRM).
However online play will not be possible until a Punkbuster update is installed (see below).
SPX 64-Player Mod
A Single Player mod supporting SP/coop support for Special Forces maps, with SF kits, weapons, Factions and vehicles. This guide also includes a fix for flickering terrian textures (black flickering hexagons covering terrian textures). Combining these 2 Mods allows you to achieve a good offline, single-player experience. As your stock BF2 data files are not affected, you can still play online, without being kicked by Punkbuster!
Setup an account on Battlefield SinglePlayer Forum and login into this account (this is necessary to unlock download links used in this section).
Download BF2 SPX archive - version 1.2
cd ~/Downloads wget -c "http://www.battlefieldsingleplayer.com/dnamro/files/BF2/BF2_SPX_1_2.zip" cd "${WINEPREFIX:-${HOME}/.wine}/drive_c/Program Files/EA GAMES/Battlefield 2/mods" mkdir BF2_SPX cd BF2_SPX unzip ~/Downloads/BF2_SPX_1_2.zip
Download shaders client (fixed) archive
(based on texture map files from the Forgotten Hope BF2 mod).
cd "${WINEPREFIX:-${HOME}/.wine}/drive_c/Program Files/EA GAMES/Battlefield 2/mods" cp "BP_Shaders_client.zip" "BP_Shaders_client.bak.zip" cp ~/Downloads/Shaders_Client_Fix.zip "BP_Shaders_client.zip"
Uncomment these 2 lines to put the stock menu movies back into the SPX mod... But why??!!
# cd "${WINEPREFIX:-${HOME}/.wine}/drive_c/Program Files/EA GAMES/Battlefield 2/mods" # rsync -achv bf2/Movies/{Intro,menu,menu_loggedin}.bik BF2_SPX/Movies/
cd "${WINEPREFIX:-${HOME}/.wine}/drive_c/Program Files/EA GAMES/Battlefield 2/" wine start 'BF2.exe' +modPath mods/BF2_SPX +ignoreAsserts 1
Single Player Bot Changer
This is a small utility, to set the maximum number of map players and the AI strength of the game bots, for any of the (currently installed) Battlefield mods.
cd ~/Downloads/ unzip bf2-sp-bot-changer-21.zip wine 'BF2 SP Bot Change v2.1.exe'
Gamespy, which provided the Master Servers for many games including Battlefield 2, was officially shutdown in May 2014. See Gamespy Wikipedia for more information about this.
Various community supported efforts have sprung up to provide alternative Master Servers for the various games affected by the server shutdown.
Detailed below are installation instructions for various alternatives - to use in place of the original Gamespy Master Servers.
(1) BF2Hub
Pros
Cons
Getting Started
Guide to Installing the BF2 Hub Launcher
Download the BF2 Hub Launcher installer.
Then simply set the BF2 Hub Launcher up in a Wineprefix - which has an existing Battlefield 2 installation:
wine bf2hub-client-setup.exe
Then to run the BF2 Hub Launcher (32-bit Wineprefix):
wine start 'C:\Program Files\BF2Hub Client\bf2hub.exe'
The BF2 Hub Client will automatically read your EA Account Details/CD key. So you should be able to play Battlefield 2 online straightaway!
The BF2 Hub Launcher uses a system tray icon. This results in a known system tray bug affecting Battlefield 2, when Wine is used in the Virtual Desktop mode. See bug: 40828.
(2) Battlelog Servers
Update: the Battelog/Revive crew were served a takedown notice by EA. So this only remaining solution, to full online play for Battlefield 2, is no longer available...
Pros
Cons
Getting Started
Guide to Installing the Windows 7 Revive Launcher
The installer for the Revive Launcher doesn't currently work under Wine. This issue can be worked around however.
Ensure you are using a 32-bit Wineprefix on a 64-bit OS (see Wine FAQ if unsure how to do this).
Download the Revive Launcher installer.
Then manually extract the installer - to use it:
winetricks win7 winetricks 7zip dotnet452 cd "${WINEPREFIX}/drive_c" mkdir -p Battlelog.co cd Battlelog.co/ mv ~/Downloads/Setup.exe . wine 'C:\Program Files\7-Zip/7z.exe' x Setup.exe wine 'C:\Program Files\7-Zip/7z.exe' x bf2battlelog-*-full.nupkg -i'!lib/*'
Then to run the Revive Launcher:
cd "${WINEPREFIX}/drive_c/Battlelog.co/lib/net45" wine start 'Revive-Launcher.exe'
If using Steam then you may need to fix the install the Steam Library install path that the Revive Launcher tries to use for BF2:
export STEAM_WPATH="$( wine reg QUERY 'HKEY_LOCAL_MACHINE\Software\Valve\Steam' /v 'InstallPath' 2>/dev/null | awk '{if (sub("InstallPath","",$1) && sub("REG_SZ","",$2)) { sub("^[[:blank:]]+|[[:blank:]]+$",""); printf("%s\0", $0); exit 0 } }' )" export STEAM_UPATH="$( winepath -u "${STEAM_WPATH}" 2>/dev/null | dos2unix )" export BF2_PATH="$( find "${STEAM_UPATH}" -type d -iname "Battlefield 2" -print0 | xargs -0 winepath -w 2>/dev/null )" export APPLICATION_DATA="$( wine reg.exe query 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders' /v 'AppData' | awk '{if (sub("AppData","",$1) && sub("REG_SZ","",$2)) { sub("^[[:blank:]]+|[[:blank:]]+$",""); printf("%s\0", $0); exit 0 } }' | xargs -0 winepath -u 2>/dev/null | dos2unix )" export DIRS_BF2="$( find "${APPLICATION_DATA}" -type f -ipath '*bf2battlelog/dirs_bf2.json' )" sed -i -e 's|{"gameDir":"[^"]*|{"gameDir":"'"${BF2_PATH//\\/\\\\\\\\}"'|' "${DIRS_BF2}"
NB: this will only work if your Steam Library directory, for BF2, is stored below the main Steam directory.
The Revive Launcher largely works:
Tested with Wine Staging - version 2.15.
The Revive Launcher is much less stable with earlier versions of Wine Staging. The Revive Launcher not work with any Wine Stable or Wine Development release (at present).
Revive Game CD Keys
It may be necessary to edit (specific) Registry keys, to set a special (allocated) Revive CD-key, for your BF2 install. This step will become mandatory when the Revive team enable game key verification on their Servers.
Refer to this Battlelog.co forum post: How to fix CD-Key issues (applies to both BF2 & BF2142).
wine regedit
export REVIVE_KEY="❚❚❚❚-❚❚❚❚-❚❚❚❚-❚❚❚❚-❚❚❚❚" wine reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Electronic Arts\EA Games\Battlefield 2\ergc" \ "/v" "" "/t" "REG_SZ" "/d" "x9392${REVIVE_KEY}" "/f"
wine reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Electronic Arts\EA Games\Battlefield 2 Special Forces\ergc" \ "/v" "" "/t" "REG_SZ" "/d" "x9392${REVIVE_KEY}" "/f"
If you find yourself getting kicked from online multiplayer Servers... Then try refreshing your Punkbuster installation. Otherwise it's probably best not to touch it!
Ensure you are using a 32-bit WINEPREFIX (Punkbuster will not work in a 64-bit WINEPREFIX).
Note: using a 64-bit WINEPREFIX appeared not to be an issue, during online testing on 26 November 2018. Testing multiplayer, on a BF2Hub-enabled BF2 Server (with Punkbuster enabled). YMMV.
Steps to refresh your current Punkbuster files:
Download and extract the final Punkbuster files supporting BF2: bf2_win32.zip:
wget -O ~/Downloads/bf2_win32.zip -c "http://fizweb.elte.hu/battlefield/Battlefield-2/BF2-PunkBuster/bf2_win32.zip" export PB_DIRECTORY="$(find "${WINEPREFIX}" -type d -iname "pb")" mv "${PB_DIRECTORY}" "${PB_DIRECTORY}.bak" unzip ~/Downloads/bf2_win32.zip -d "$(dirname "${PB_DIRECTORY}")"
NB you'll have to do this process manually - if BF2 is not installed within your current WINEPREFIX.
Now update the Punkbuster service with the Punkbuster service utility: pbsvc.exe:
wget -O ~/Downloads/pbsvc.exe -c "http://www.evenbalance.com/downloads/pbsvc/pbsvc.exe" wine start /unix ~/Downloads/pbsvc.exe
Note: for older AMD (<5xxx)/Nvidia GPU's (<8xxx) and Intel GPU's it is recommended to set:
The currently supported maximum in-game Video Settings (without the Shader mesh fix - detailed on this page) are:
VIDEO OPTIONS |
||
DISPLAY MODE | ????x????@???Hz |
▼ |
OVERALL QUALITY | Custom |
▼ |
CUSTOM QUALITY |
||
TERRAIN |
Low |
▼ |
EFFECTS |
High |
▼ |
GEOMETRY |
High |
▼ |
TEXTURE |
High |
▼ |
LIGHTING |
High |
▼ |
DYNAMIC SHADOWS |
High |
▼ |
DYNAMIC LIGHT |
High |
▼ |
ANTI-ALIASING |
Off |
▼ |
TEXTURE FILTERING |
High |
▼ |
VIEW DISTANCE SCALE
100% |
████ |
Last updated 26.11.2018 Wine-Staging 3.21, Nvidia Geforce GTX 970M, Nvidia Driver 396.54.09 (Gentoo GNU/Linux)
BF2 Commandline Options
Refer to Battlefield 2 Tweak Guide: Command Line Options for a comprehensive list of command line switches to use when launching the Battlefield 2 executable.
For example you can also set you client to automatically login to Revive account:
wine start 'BF2.exe' ... +playerName "name" +password "⚫⚫⚫⚫"
wine start 'BF2.exe' ... +menu 1 +fullscreen 1 +szx 1920 +szy 1080
wine start 'BF2.exe' ... +modPath mods/BF2_SPX +ignoreAsserts 1
How you append these options will depend on whether you are using the Steam Client or if you have used a retail (DVD) copy of Battlefield 2.
The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
by IceBreak on Tuesday February 27th 2024, 15:11
after having the full game files, i put it on my Linux desktop and tried to make it work, Proton doesn't work, Wine works but crashes with random texture artifact.
later today i found out that the "Renderer" was the problem for the game, so what i did was using "winetricks dxvk" and changed my Wineprefix Renderer to DXVK
after that the game works perfect out of the box, all you need is the Directx9 dlls using Winecfg.
sadly the resolution doesn't increase really well so i had to open this game as "wine explorer" and play as windowed, still it's perfect and didn't have a single crash after that.
by Mjartin Kilt on Sunday May 31st 2020, 8:26
for months now, I am trying to run BF 2 via BF 2 Hub (since EA servers are down) or Forgotten Hope 2 (a standalone mod for BF2 using independent account servers / servers) on my MAC via Crossover or Wine.
Both, Wine or Crossover, cant make BF2 or FH2 run. I get stuck on the same problem which is:
I boot the game, I watch/skip the intro and then the login page appears.
Problem: whenever I try to log in with an existing BF2 Hub account or FH2 account, the "connecting to account server page" appears and I wait. But it takes forever, the game freezes in this moment, since I hear the background music going on, but no reaction.
Same if I try to create a new account (e.g. in the FH 2 game). The game freezes on the "creating account" page.
I researched and found out that many BF2 or FH2 Fans have this issue. They cant solve it. Some old PC-BF2 users say, that this problem occured to them when they had their Firewall blocking BF2.
Problem: Macs usually have their firewall off by default. Only question is, does Wine/Crossover use a firewall? Some say no.
Only thing I can confirm in this matter is: If you type in a wrong password for an already existing account on the "retrieve account / log in page", the game tells you that you used a wrong password (strange, if it would be a firewall problem, it shouldnt be able to tell you that right?)...
Guys? Any Help? 8 Players I know so far, have the same issue via Crossover / Wine. Bootcamp seems to work fine with FH2 / BF2
Greetings
by Richard Bricker on Thursday November 21st 2019, 4:52
But maybe not play it
i see there is a TUX versio9n of Space invaders that runs real smooth.
in 1983 i wrote a FLYING Vversion o space invaders, it took about an hour on an Apple IIe. it didnt even have
a hard drive. Probably a lot less time than to install this
by Rob on Saturday August 27th 2016, 9:58
battlelog.co/post.php?id=16823
I didn't really get a very helpful response. Maybe folks would like to weigh in there!!
My understanding is that native Windows graphics drivers have a dumb executable name hack fix for the texture meshes. I did try to verify that running the _stock_ game, under Windows, and just renaming the main executable would break the High Terrain textures again... Sadly the stock BF2 game is a PITA to install under Windows 10... Simply running a Single Player game would be enough...
If anyone else can verify this fact - that native Windows graphics drivers are simply suppressing the Terrain texture mesh bug... Then that would be super helpful!
I'll submit a bug against the new Battlelog.co Launcher application when I get time. It appears support for the old style launcher has now vaporised... :-(
by Kelppo on Saturday January 10th 2015, 8:41
At first BF2 crashes on startup on my machine, setting Wine to use a native d3dx9_25.dll seems to fix it, the game launch but then crashes every time I try to load a map in Single Player, getting the other dll seems to fix this.
by Kelppo on Saturday January 10th 2015, 8:46
Xubuntu 14.04.1 32-bit
Wine 1.7.33
by Luna Crane on Monday November 10th 2014, 21:22
#-----------------------START---------------------------------------
#!/bin/bash
#punkBloop keeps PnkBstrB.exe running while PnkBstrA.exe is running.
# DO NOT USE pnk="$(ps -u $USER | grep PnkBstr*)" BECAUSE IT IS NOT UPDATED!
export WINEPREFIX=/home/$USER/.wine WINEARCH=win32
while ps -u $USER | grep PnkBstrA.exe
do
if ! ps -u $USER | grep PnkBstrB.exe
then
wine "C:\windows\system32\PnkBstrB.exe"
fi
sleep 15s
done
exit 0
#-----------------------END-----------------------------------------
Modify it as needed. I'm hoping 15 seconds is enough of an interval for the checks of PnkBstrB.exe. If not, change "sleep 15s" to a shorter interval.
I just run this in a separate terminal, but you can try some sort of single command.
by Luna Crane on Monday November 10th 2014, 21:26
by Rob on Tuesday November 18th 2014, 7:34
I think I've cracked it!!
Here's my example Steam + Punkbuster launch script... It will also work for most other game e.g. BF2 (retail) which need Punkbuster - with little modification.
BTW WINEARCH only needs to be set when you first create a WINEPREFIX.
pastie.org/9727643
I'll update the Wiki with this.
by Luna Crane on Tuesday November 4th 2014, 14:08
The issue is caused by PnkBstrB.exe not being started when Punkbuster starts. Sometimes, PnkBstrB.exe is missing from the system altogether.
There are several solutions according to posts about the issue:
=================================================================
*1*
(Mainly use the following to fix PB: www.evenbalance.com/downloads/pbsvc/pbsvc.exe )
=================================================================
"Thank you for contacting Electronic Arts. I’m sorry for the difficulty that you are having with the game Battlefield 2.
Delete and Reinstall the Punkbuster Folder and Software
To delete and reinstall the Punkbuster folder and software:
Click on My Computer.
Click on the C: drive, or wherever you have Battlefield 2 installed.
Click on Program Files.
Click on Electronic Arts.
Click on Battlefield 2.
Right-click on the pb folder, then click Delete.
Download and run the installation software for Punkbuster, which can be found here.
www.evenbalance.com/downloads/pbsvc/pbsvc.exe
Click the Uninstall button.
Close the installer.
Click on the Start button.
Click on Run.
Type regedit in the text field and press OK.
Warning: Changes to the registry can cause your computer to operate improperly, so please follow these instructions exactly as they are written.
Follow these steps to back-up the registry so that should something go wrong, you can restore your system back to a working state:
If you are using Windows 2000/XP/Vista, click on File, and select Export. Note: If you are using Windows 95/98/ME, click on Registry
Then select Export Registry.
Select All under Export Range.
Type backup into the File name field, and click Save. You've now created a backup version of your registry.
Once you've created your backup, continue as follows.
Click the plus sign next to HKEY_LOCAL_MACHINE.
Click the plus sign next to System.
Click the plus sign next to ControlSet001.
Click the plus sign next to Services.
Look for PnkBstrA, PnkBstrB, and PnkBstrK, and if they exist, right-click on each one and select Delete.
Click the minus sign next to ControlSet001.
Repeat steps 5, 6, 7, and 8 immediately above for any other ControlSet folders you have, such as ControlSet002 or CurrentControlSet.
Close regedit.
Double-click on the My Computer icon.
Double-click on drive C:.
Double-click on windows.
Double-click on system32.
Look for PnkBstrA.exe and PnkBstrB.exe and if they exist, right-click on each one and select Delete.
Double-click on drivers.
Look for PnkBstrK.sys, and if it exists, right-click on it and select Delete.
Restart windows.
Follow the instructions here to reinstall Punkbuster.
www.evenbalance.com/index.php?page=pbsetup.php
Install/Re-Install Punkbuster with pbsvc.exe and run "Test Services" to check that everything works.
www.evenbalance.com/downloads/pbsvc/pbsvc.exe
Try to play Battlefield 2"
=================================================================
*2*
(Use *1* and add the following if *1* failed. Assures that Punkbuster B runs. Note that the New Task/Run stores prior entries, so you only have to run these once.)
=================================================================
Do fix *1* above. Then do the following (user1 is your user name; BF2RG.exe is specific for Battlelog at www.battlelog.co/ which seems to work the best; adjust resolutions to your own, 1920x1080):
export WINEPREFIX=/home/user1/.wine WINEARCH=win32; wine explorer /desktop=BF2,1920x1080 taskmgr.exe
File -> New Task (Run ...) -> Browse -> C:\windows\system32\PnkBstrB.exe
File -> New Task (Run ...) -> Browse -> C:\Program Files\EA GAMES\Battlefield 2\BF2RG.exe +menu 1 +fullscreen 1 +szx 1920 +szy 1080
=================================================================
*Other Possible Fixes Mentioned on Sites*
=================================================================
*Try typing this in chat:
/pb_security 0
*Make a link to run Battlelog in the Start Menu instead of running from the task manager. I have no idea how to make a proper .lnk, and I have yet to find a way.
by Rob on Thursday November 6th 2014, 11:32
Interesting amount of detail about fixing Punkbuster...
But what I'm really interested in is getting the Battlelog client to work. What software did you install to get it working? It is a .Net /C# application - so I presume you've installed .Net 4.0?
Perhaps you could go into more detail on what steps you took? So I can re-produce them. I'm not sure if I need all the .Net blobs up to 4.0? Currently I'm getting a seg fault when I try and run the game (just after a Single Player or Multiplayer map has loaded).
Run as:
wine BF2RG.exe +menu 1 +fullscreen 1 +szx 1600 +szy 1200
It would be a shame if I can't update the Wiki (above) - since I've noticed that not only are the Graphics Engine lighting and shadow effects now supported. Even my microphone is working!
However although everything is working for Single Player (with the stock BF2.exe launcher)... Now I can't play Multiplayer (which I thought was a done deal with the Punkbuster fix I added a few months ago)!! Arggg...
by Luna Crane on Friday November 7th 2014, 11:06
BF2 DVD version with Wine 1.7.21 with BF2 patches BF2_Patch_141.exe and then BF2_Patch_1.50.exe, as the instructions say. NO WINETRICKS or other system programs whatsoever.
I've never heard of a seg fault happening on map start. The only crash I've ever gotten was the
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x32 @85! (XRandR 1.2)
which I fixed with unchecking all the boxes in Window settings except Virtual Desktop in winecfg. Set on Windows XP.
The exact command I run is
export force_s3tc_enable=true WINEPREFIX=/home/lunac/.wine WINEARCH=win32; wine explorer /desktop=BF2,1920x1080 taskmgr.exe
If you have no black graphics, you don't need the force_s3tc_enable=true part (requires dri.freedesktop.org/wiki/S3TC/
, usually for Intel Integrated Graphics cards). Make sure you run BF2RG.exe, NOT BF2R.exe (which crashes but earlier on).
Apart form that, make sure all your downloads have the right checksums (md5sum, sha1, etc.) as they can often be corrupted. Check multiple types of checksums on the same file because it may very well miss the difference. In fact, I've encountered certain download sites, even popular ones, have corrupt files uploaded on their servers. Try redownloading files from other sites. Check to see the checksums are right, if available, and make sure you have a reliable connection (could corrupt downloads too).
Md5sums for my files:
102432051033c831d3243987749b1a1f pbsetup.exe
fcd0dd79b9af18f7644e37515eac5a59 pbsetup.zip
f4f60cad9005f2079bdc0d570d5bac64 pbsvc.exe
25758fcfafa6a61b4939e85823c2f853 BF2Revive_Setup_Launcher.exe
bf7db858b35e1f7c9fa1af74a68c5198 bf2hub-client-setup.exe
2106aef4b38491e6dfa1481f1afdcf9a BF2R.exe
d85ccbcb172355b98b89a09255637155 BF2RG.exe
Sha1sums for my files:
055643812cf22cf077c8341fb2995c346fe17d1b pbsetup.exe
a9b8735cbc22e4a0a78355acc279d97e2d747658 pbsetup.zip
dbc4aa6f3bebd60310bd53c52691df401b9b4ea1 pbsvc.exe
482804cb7a79bd8f5d1553e7b65fcf702cb84d5d BF2Revive_Setup_Launcher.exe
133e4a39e0f9c7826cd30cb969bfd351457af896 bf2hub-client-setup.exe
d61999aa43c216ad90ce49f98c8dc20616757c42 BF2R.exe
591706a33e55a4c6fb79afafc50be0bc90045e48 BF2RG.exe
*I do happen to have BF2Hub installed, but it never worked for me, and it never starts up.
*Make sure your graphics drivers are up to date. If they are, update your system, kernel (if you can), MESA, etc. But considering you can run BF2.exe, it might not be the case so much.
*Last but not least, use Pastebin.com to show us a terminal output of the actual error (just the whole terminal output). It often gives a clue.
by Luna Crane on Friday November 7th 2014, 16:42
Ah, I'm going mad not having a terminal output to clue me in on what's going on! There are too many unknown variables. It reminds me of Windose. I wanna solve it! (Too many cryptic puzzle games recently.)
by Rob on Monday November 10th 2014, 7:25
Thanks for all that info!! I'm busy fut'sing about with my PC - so I'll test later this week...
Are you able to run BF2 with full Lighting & Shadows? Seems to work fine here - and was an issue before (even when using a Nvidia GPU/ drivers).
I can't get the client from www.bf2hub.com to work. I tried moving the Windows hosts file, GameSpy server overrides the installer creates - from my Wineprefix into my main Linux /etc/hosts file... Still nope when I try to connect to anything online.
Ah well... I'll keep testing :-)
Thanks for getting back to me so quickly... :-)
Robert
by Luna Crane on Monday November 10th 2014, 14:10
Strange thing about Anti-Aliasing though, it won't let me enable it at all. After I click apply, it switches it to Off. The rest stays on High.
Could it be your settings file (Video.con) in your profile? You can also try messing with files in LaunchConfigs in the profile Battlefield 2 dir. Maybe reset settings altogether.
Last resort, you can try the alternative master server systems (you might need to translate some German for some), but I haven't really tested any others:
www.bf-games.net/downloads/category/158/tools-fuer-spieler.html
www.realitymod.com/downloads
www.gameranger.com/
Although essentially, battlelog is the way to go mostly, because I'm already part of their BF2142 Beta test with stats/unlocks (GameRanger has no stats/unlocks), although there may be master server issues atm.
by Rob on Monday November 17th 2014, 17:16
Sorry it took so long to try out your suggestions. Had a few (cough) issues with my Gentoo install - so had to rebuild it from my tar'd copy off my laptop!!
Anyway you're a star. I probably would have just given up if you hadn't said it was working with your Wine install!!
So I've finally got my Steam profile Battlefield 2 game to work with the Battlelog Master Server. I can even add a custom launcher for the Battlelog server client. Steam auto-populates the list of 3rd party applications so I just had to change the Battlelog executable from the GUI launcher to the CLI client. Then add in the custom launch flags... Sweet!!
Interestly the pnkbuster.exe utility puts it's executables in a rather random place (C:\users\robert\Local Settings\Application Data\PunkBuster\BF2\pb\). I copied the executables PnkBstrA.exe + PnkBstrB.exe to "C:\windows\system32\".
I was still getting kicked from Multiplayer servers after 2-3 minutes when I manually launched PnkBstrB.exe (before Steam).
So then I tried...
1) Moving PnkBstrA.exe + PnkBstrB.exe to "C:\Program Files\Steam\SteamApps\common\Battlefield 2"
2) Using a simple infinite BASH while loop to keep starting PnkBstrB.exe:
while true; do wine PnkBstrB.exe; sleep 5; done
(run in the PWD="C:\Program Files\Steam\SteamApps\common\Battlefield 2" directory)
Now I'm not getting kicked at all and getting extended game play. Video settings are maxed out (except for AA and ground textures obviously). I'll write up a simple guide for setting BF2 up for both the Steam and Retail games this week. I just need to automate starting the PnkBstrB.exe executable with a Wine Registry Run flag and a DOS cmd script (probably).
Ahhh it's nice to be able to play some BF2 again!! Hopefully Battlelog will get their BF2142 Servers online soon!!
by Luna Crane on Tuesday November 18th 2014, 11:23
Yeah, sorry, I didn't mention it here (other places only), but I tried making a batch (.bat) script, and it was a nightmare, as it didn't even have any real "sleep" function or even a "while" loop, and the coding structure was so difficult to read and understand. I should have tried a cmd script first, but honestly, bash is really the best, and you have much better control over the process than through Wine.
Glad you have it working! Remember that there are some mods more popular than the standard game, and most mods seem to work fine.
Now, if you want, you can try out the BF2142 Beta Alt Master Server with stats, from the makers of Battlelog. It installs with the same setup instructions as BF2 here. Use setup.exe on the DVD (Autorun.exe fails).:
dethklokclan.enjin.com/forum/page/20/m/1411244/viewthread/14903035-beta-2142-rankings/post/83158110#p83158110
by Rob on Tuesday November 18th 2014, 11:57
It appears PnkBstrA.exe polls PnkBstrB.exe every few seconds. When it is polled PnkBstrB.exe dies or killed.
I got a .bat script working - but it wasn't pretty (lots of spawning shell windows)! I tried setting up PnkBstrB.exe as a service - copying the registry key for PnkBstrA.exe. This doesn't work as the service starts once and then is not restarted when killed.
I had to modify my little BASH script as the timing is very tight (I changed it to poll PnkBstrB.exe every 1 second).
The Steam & Retail versions of BF2 are interchangeable - so I do most testing on the Steam version. The Steam version does appear to have a fix for the xrandr issue. My version of BF2 Retail is one with the Special Forces addon. Not that is much use now!
Thanks for heads up about the BF2142 Beta Server launching. I want to check that Dynamic Lighting is working in BF2142 as well (should do as it is the same graphics engine after all).
I am just trying to post some debug channel output for the bug about not being able to remap the (keyboard) Controls in the BF2 Main Menu.
Thanks
Bob
by Rob on Wednesday November 19th 2014, 15:55
Game play is nearly flawless... All settings maxed out and AA turned off. So Wine finally catches up with a game and there is no where to play it now!!
Damn annoying...!!
I've try to get signed up for the Battlelog Beta BF2142 server. Their BF2 setup is definitely the best I've found - some nice guys still playing out there...
Ah well I'll update/ tidy up both the wiki's (BF2/BF2142) and hope that online play remains viable... :-)
Ta
Bob
by voan on Sunday November 2nd 2014, 5:38
err:winediag:wined3d_texture_init The application tried to create a DXTn texture, but the driver does not support them.
Try installing packages "libtxc-dxtn*:i386" instead 64-bit.
It helped me.
---
Sorry for my bad english.
by Luna Crane on Friday October 31st 2014, 14:33
Project Reality Mod Servers are actually the MOST popular servers, so it's definitely worth the Torrent, and there are plenty of torrent seeders: www.realitymod.com/downloads
Forgotten Hope 2 Mod Server is just under the Project Reality Mod Servers. Note that their special Update Launcher seems to always crash while verifying local data, so you have to use the Direct Download Full Installer links: forgottenhope.warumdarum.de/fh2_downloads.php
The normal servers are less populated than these mods.
by Luna Crane on Saturday October 25th 2014, 22:59
www.gamefront.com/50-ea-titles-to-lose-online-service-due-to-gamespy-shutdown/
The strange thing is, people are still playing somehow!
www.gametracker.com/search/bf2/?sort=c_numplayers&order=DESC
How? Is there a patch to switch master servers or connect to a server without logging in?
by Chris on Sunday October 26th 2014, 15:44
Here are two sites that can help you with this. The Project Reality client (full conversion mod for BF2) automates switching to a new master server for you in their installer. The battlelog website provides both a replacement master server list, ranking system, and game launcher.
www.realitymod.com/downloads
www.battlelog.co/
by Luna Crane on Sunday October 26th 2014, 18:29
I've been struggling with BF2Hub, another alt Master Server system, but it's not really working unless you already have a registered and working online profile file on your system. I'm working on trying to get it to work just as an option in case the others go down.
by Luna Crane on Friday November 7th 2014, 23:07
www.bf-games.net/downloads/category/158/tools-fuer-spieler.html
by Ed Houseman jr on Monday December 30th 2013, 22:46
by Rob on Tuesday May 27th 2014, 4:49
It's an open bug at present...
bugs.winehq.org/show_bug.cgi?id=35371
by Carlos Rodriguez on Wednesday December 18th 2013, 8:14
Wine 1.7.7 (compilado)
Nvidia Drivers 331.20 (.run package)
Linux Mint 15 KDE 32Bit - Kernel 3.8.0.26 PAE
CPU: INTEL Pentium G3220 (Nucleo Haswell a 22nm) 3.0Ghz (Dual-Core) Stock Clock
MEM: 8GB DDR3 1333 (2x4) Patriot value (128 bit dual channel: 21.3 gb/s)
GPU: Zotac Nvidia Geforce GT630 (GK208 28nm: 384 Shaders / 8 ROPS) Zone Edition Passive Cooling 2GB DDR3 1800Mhz a 64Bit (14.4Gb/s)
MAINBOARD: MSI H81M E33
www.youtube.com/watch?v=wVIxHKmaepw
by David Hubbard on Friday October 18th 2013, 15:44
1. install the app
2. install the 1.41 update
3. install the 1.50 update
4. apply the RendDX9.dll patch ZIP file.
5. run BF2.exe +szx xxxx +szy yyyy (your monitor's resolution)
forums.steampowered.com/forums/showthread.php?t=2015962 says "BF2 is know[n] to crash if you have 2 sound cards (A USB headset counts as a card) and 1 is realtek."
They aren't talking about wine, but I had this problem because my /proc/asound/cards has a Realtek and some HDMI audio outputs. The quick fix for me was to use regedit to set HKEY_CURRENT_USER\Software\Wine\Drivers\Audio to "" (nothing) which completely disables DirectSound, but the game works.
If you have this problem like I did, then your game will consistently crash the moment you click on the Audio settings button.
You can rename/delete mods/bf2/Movies/{Dice.bik,EA.bik,Intro.bik,Legal.bik} to make the game start quicker, or just add "+restart" to the command line.
by Mark I. on Monday May 26th 2014, 19:44
by A. Kola on Thursday April 7th 2016, 8:04
options snd-hda-intel enable=N,Y,N
by McMaster on Thursday April 25th 2013, 15:53
I think this game uses dsound. I'm using the builtin dll for dsound.
Anyone know how to get the proper discrete channels in BF2 surround sound?
by NickPower on Thursday April 4th 2013, 8:35
I've got a problem: When I played on a server and then close the game I'm getting always an error:
Debug assertion failed!
Version: 1.5.3153-802.0 Build date:2009-8-10 17:8
Modul: RendDX9
File: C:\Dice\Projects\BF2Branches\Patch_1_50\Code\BF2\RENDDX9\RendDx9Init.cpp
Line: 738
Text: Direct3DDecive release unsuccesfull this must be fixed...
Current confile:
Can somebody please help me? :)
by NickPower on Thursday April 4th 2013, 8:45
by Jim on Sunday March 24th 2013, 15:13
-------
To fix punkbuster, download pbsetup.exe from the punkbuster site:
www.evenbalance.com/index.php?page=pbsetup.php
Run pbsetup.exe from your BF2 wineprefix, click "Add a Game" and select "Battlefield 2" from the list of games, then click "Check for Updates" and BF2's version of punkbuster will be updated.
by NickPower on Thursday April 4th 2013, 8:26
Everything works now! :D
by Andrej on Saturday April 21st 2012, 9:14
by Mac Porter Joe on Monday July 2nd 2012, 12:59
by Jean A. Hough on Thursday June 30th 2011, 16:17
[url]www.d3dx9.net/download-missing-d3dx9_25-dll/[/url]
You can get the d3dx9_25.dll file from the above link.
this is the source which is best for solving this sort of dll related issues.
Click the Link on this page and it will fix your problem.
by Linux_gamer on Thursday June 16th 2011, 9:30
by Linux_gamer on Thursday June 16th 2011, 9:31
by Nerexis on Saturday May 28th 2011, 7:55
by Jason Fletcher on Saturday July 21st 2012, 5:07
by Jason Fletcher on Saturday July 21st 2012, 5:07
by Luna Crane on Tuesday November 4th 2014, 16:55
*In case of Black Textures/Terrain (+ possible Mouse Cursor not appearing):
Fix all black everything and mouse function + render (read the Patent warning though) by installing this:
dri.freedesktop.org/wiki/S3TC/
There is an open-source, patent-free alternative of sorts, but I am unsure how to get it to work with Wine:
github.com/divVerent/s2tc/wiki/libtxc_dxtn
So, starting the game each time, you would run:
export force_s3tc_enable=true; wine ./BF2.exe
by Nerexis on Saturday May 28th 2011, 6:41
I copied d3d9_.. dlls to wine's system32 folder.
Terminal:
wine BF2.exe +fullscreen 0
fixme:system:SystemParametersInfoW Unimplemented action: 94 (SPI_GETMOUSETRAILS)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x13bf20,0x13be90): stub
err:module:import_dll Loading library d3dx9_25.dll (which is needed by L"Z:\\media\\DATA\\Battlefield2\\TextureAtlasBuilder.dll") failed (error c000007b).
err:module:import_dll Library TextureAtlasBuilder.dll (which is needed by L"Z:\\media\\DATA\\Battlefield2\\RendDX9.dll") not found
err:module:import_dll Loading library d3dx9_25.dll (which is needed by L"Z:\\media\\DATA\\Battlefield2\\RendDX9.dll") failed (error c000007b).
fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_CACHE_INFORMATION
fixme:ntdll:NtSetSystemInformation (0x00000015,0x32ec98,0x00000024) stub
wine: Unhandled page fault on read access to 0x00000000 at address 0x40718e (thread 0009), starting debugger...
by Nerexis on Saturday May 28th 2011, 7:22
Module: RendDX9
"Failed to set technique DrawShadowMapNV in effect Shaders/StaticMesh technique not found."
by Nerexis on Saturday May 28th 2011, 7:44
I downloaded new d3dx9 dlls from dll-files.com and it's working now ^^.
by Jean A. Hough on Thursday June 30th 2011, 16:16
Tro to follow these steps:
d3dxx9_25.dll
This is because you are missing a file.
Step 1. You can download [url]www.d3dx9.net/download-missing-d3dx9_25-dll/[/url] here.
Step 2. Paste this file into your system32 and system folder. Also put it in your syswow
Step 3. Navigate to your System32(32Bit OS) or SyWOW64(64Bit OS) Folder.
Note: The location of System32 or SyWOW64 is
C:Windows\System32 (If you are using 32Bit Windows)
C:\Windows\SysWOW64 (if you are using 64Bit Windows)
Step 4.Paste the d3dxx9_25.dll into this folder.
Step 5.Run the game. It might work now.
by Olli on Friday May 20th 2011, 19:04
Text: Unknown DynamicOption value 800x600@60Hz
I started fresh and installed it like in the guide:
1. Install BF2
2. Install 1.41 patch
3. Install 1.50 patch
Then I started it like this:
env WINEPREFIX="/home/bf2-wine" wine bf2.exe +fullscreen 0 +szx 1024 +szy 768
I tried to install d3dx9 with winetricks afterwards without any effect. I also tried to change the VideoSettings.setResolution value from Video.con.
My software:
Dirsto: Arch Linux 64 bit
Wine: 1.3.20
Graphic card drivers: nvidia 270.41.06
My hardware:
CPU: AMD 965BE
GPU: Nvidia GTX280
by Olli on Monday May 23rd 2011, 8:51
by Matt North on Thursday November 25th 2010, 4:40
I've successfully installed BF2 v1.5 under Wine 1.2.1 and can run it with that and Wine 1.3.7 with almost no problems.
The one problem I've got is that the mouse cursor seems constrained to the initial window size, e.g. I can only move the mouse to turn so far before it hits the window edge and I can no longer turn in that direction. From what I gather this is a well known bug and would require a lot of work to patch it - but has anyone been able to run BF2 with no mouse issues, or has anyone got a workaround handy?
Thanks in advance.
by monkeyslayer56 on Thursday November 25th 2010, 7:26
if i remmeber correctly(likly not all are needed) for the mouse wrapping to work. my main problem with the game is can't connect to an online acount, only a offline one :(. hope you get your wrapping to work
by Matt North on Thursday November 25th 2010, 8:52
by Ryan on Monday November 22nd 2010, 17:58
by Ryan on Monday November 22nd 2010, 18:03
by Ruben on Monday October 4th 2010, 1:38
by Kenneth Priisholm on Saturday February 19th 2011, 16:54
I have somewhat the same issue; game starts nicely in virtual desktop window and I'm able to get as far as choosing scenario, weapons and squad but as soon as I've clicked 'done' there's no keyboard- or mouse-response.
My setup is Ubuntu 10.10 64bit, Wine 1.2.2, BF2 installed from DVD + patched up to 1.5.
Any help will be highly appreciated; both by me and the kids :)
by monkeyslayer56 on Saturday February 19th 2011, 21:43
by AJSB on Wednesday September 28th 2011, 2:40
bugs.winehq.org/show_bug.cgi?id=28512
Is it the same problem ?!?
by Nick on Monday July 5th 2010, 16:17
by Christoffer on Tuesday June 29th 2010, 4:59
by Jordan on Tuesday June 29th 2010, 5:57
by Christoffer on Tuesday June 29th 2010, 11:33
by Jordan on Tuesday June 29th 2010, 13:18
by Christoffer on Tuesday June 29th 2010, 14:55
by Jordan on Tuesday June 29th 2010, 15:08
by Christoffer on Wednesday June 30th 2010, 1:21
Thanks for the help!
by Dean Hamstead on Sunday April 4th 2010, 7:19
ie...
gtf 1024 768 60
# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
also the +restart option when starting bf2 spares you enduring the movies
by monkeyslayer56 on Sunday April 4th 2010, 13:59
by Alexander on Wednesday February 17th 2010, 12:56
by Ryan on Saturday February 20th 2010, 9:06
by Alexander on Saturday March 13th 2010, 17:44
by tomi on Monday January 11th 2010, 8:51
Missing from the part where AppDefaults should be.
only thing that i have even reminding of Direct3D is at
"HKEY_CURRENT_USER\Software\Wine\Direct3D\"
Should i be worried ? :p
by monkeyslayer56 on Monday January 11th 2010, 9:28
by Alexander on Tuesday December 22nd 2009, 22:02
Set the following to your direct3d key
DirectDrawBuffer = gdi
OffScreenRenderingMode = fbo
by dj--alex on Wednesday August 18th 2010, 15:06
amd Х4 920\8g\gtx 280 amp!\1.5tb
amd x4 9850be \4gb\gf 9800\250gb
wine 1.3.0 ubuntu 10.04
directx ms framework 1,2,3 physx
pastebin.ubuntu.com/480094/
logs