Version 1.50 released by EA, on May 30th, 2008, as two separate patches.
This patch was offered in 2 main versions:
Features:
Fixes:
Application Details:
Version: | 1.50 |
License: | Retail |
URL: | http://www.battlefield2142.ea.... |
Votes: | 14 |
Latest Rating: | Silver |
Latest Wine Version Tested: | 1.3.11 |
Maintainers: About Maintainership
What works
Installer
Loading the game (must be under windows 2003 or it does not load)
All the Menus
Connecting to a Server
What does not
Gameplay, after connecting to a server the rendering becomes unusable and extremely glitchy.
The mouse
Workarounds
What was not tested
single player mode, but if rendering failed in the game online it will probably fail here.
i did not have time to test punk buster due to the graphics errors.
Hardware tested
Graphics:
Additional Comments
This game seems to have a bad record with this particular linux distribution. It could be SELinux, but I am not sure.
Operating system | Test date | Wine version | Installs? | Runs? | Used Workaround? | Rating | Submitter | ||
Show | Debian GNU/Linux 6.x "Squeeze" | Jan 22 2011 | 1.3.11 | Yes | Yes | No | Silver | Artur h0m3 | |
Show | Ubuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu) | Nov 24 2010 | 1.3.6 | Yes | Yes | No | Silver | Rob | |
Show | Ubuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu) | Sep 11 2010 | 1.2 | Yes | Yes | No | Silver | an anonymous user | |
Show | Ubuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu) | May 15 2010 | 1.1.42 | Yes | No | No | Garbage | Caltagirone | |
Show | Ubuntu 9.10 "Karmic" amd64 (+ variants like Kubuntu) | Nov 17 2009 | 1.1.33 | Yes | Yes | No | Silver | phantom_ch |
Bug # | Description | Status | Resolution | Other apps affected |
1798 | Keyboard focus to terminal, not the program | CLOSED | FIXED | View |
3997 | New modal dialogs are behind main window | CLOSED | FIXED | View |
6250 | Mouse cursor is not visible | CLOSED | FIXED | View |
7044 | Shadows are not working correctly (BF2) | CLOSED | DUPLICATE | View |
9169 | Battlefield 2142: Regression: Spawn screen is invisible after joining a server | CLOSED | FIXED | View |
9170 | Battlefield 2142: Icons collect in the middle of the screen | CLOSED | FIXED | View |
9175 | Battlefield 2142: Microphone input not working | CLOSED | FIXED | View |
9528 | Battlefield 2142 breaks on startup with ReportEventW errors | CLOSED | FIXED | View |
9685 | Punkbuster removes me from game for UNKNOWN WINDOWS API FUNCTION [131124] (Not a Wine bug) | CLOSED | WONTFIX | View |
9921 | Battlefield 2142: The ground glows when you are at the spawn screen when terrain is >low | CLOSED | FIXED | View |
10708 | Wine lacks support for animated cursors | CLOSED | FIXED | View |
16081 | Battlefield 2142 - second map loads very slow | CLOSED | ABANDONED | View |
These notes were last updated: 20 February 2018
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 | egrep '^[[:alpha:]]'
Ensure you are using a 32-bit Wineprefix on a 64-bit OS (see Wine FAQ if unsure how to do this).
Ensure your Battlefield 2142 DVD is mounted within your Linux filesystem. You can do this quite easily, in most Desktop Environments, via udisks 2.
Wine should map this drive to '${WINEPREFIX}/dosdevices/d:'
(the mapped drive letter may vary depending on how many drives your system has).
Check drive is mapped using:
winecfg
Open a Terminal and launch the setup:
wine 'D:\setup.exe'(Replace D: with whatever drive letter you have your DVD mapped to in winecfg)
☐ Uncheck GameSpy Comrade installation
When the main (disc) installer has finished do not launch the game!
Battlefield 2142 should now be installed successfully (hopefully). The Battlefield 2142 DVD uses SafeDisc v4 disc check. This DRM mechanism is supported under Wine. The game should run without a no-DVD crack - but will require your disc to be in the drive and mounted.
If you subsequently patch Battlefield 2142 to version 1.51 this disc check will be removed. The game can be launched without the disc being present in your optical disc drive. This is highly recommended and required for online play!
Online play will not be possible without following the steps to set up a Battlelog.co Revive account and patching your copy of the game to version 1.51. This follows the shutdown of all the Gamespy Master Servers on May 31st, 2014.
cd ~/Downloads wine BF2142_Update_1.50.exe
Note: this is a full patch and can be applied to any previous / earlier version of Battlefield 2142
cd ~/Downloads wine BF2142_Patch_1.51.exe
Note: apply the 1.50 patch first!!
Ensure your WINEPREFIX variable is set correctly before following these instructions.
Wine Virtual Desktop
Run:
winecfg
or manually add the registry entries:
wine reg.exe ADD "HKEY_CURRENT_USER\Software\Wine\Explorer" "/v" "Desktop" "/t" "REG_SZ" "/d" "Default" wine reg.exe ADD "HKEY_CURRENT_USER\Software\Wine\Explorer\Desktops" "/v" "Default" "/t" "REG_SZ" "/d" "1920x1080"
... replace resolution with your native screen resolution.
Launching Battlefield 2142 Game
cd "${WINEPREFIX}/drive_c/Program Files/EA GAMES/Battlefield 2142/" wine BF2142.exe +menu 1 +fullscreen 1 +widescreen 1 +szx 1920 +szy 1080
Widescreen support requires at least version 1.50 of Battlefield 2142.
If you have a 4:3 aspect monitor then omit widescreen parameter.
Gamespy, which provided the Master Servers for many games, including Battlefield 2142, 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. Sadly no alternatives, to the previously excellent Revive Network servers, are currently available.
(1) 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 2142, 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
Then to run the Revive Launcher:
cd "${WINEPREFIX}/drive_c/Battlelog.co/lib/net45" wine 'Revive-Launcher.exe'
The Revive Launcher largely works:
Tested with Wine Staging - version 2.3.
Revive Game CD Keys
It is necessary to edit (specific) Registry keys, to set a special (allocated) Revive CD-key, for your Battlefield 2142 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 2142\ergc" \ "/v" "" "/t" "REG_SZ" "/d" "x9392${REVIVE_KEY}" "/f"
(1) Singleplayer / Offline Patch (Gamespy Master Server Shutdown)
With the shutdown of the Gamespy Master Servers it is not even possible to play Battlefield 2142 offline in Singleplayer mode... A game that you have (hopefully) legally paid for!!
Well this mini-guide will fix this... Tested with all available versions of the Battlefield 2142 retail DVD (1.00-1.51).
Note the executable patch will NOT work with the DEMO version of Battlefield 2142 (as this does not offer an offline gameplay mode / requires Internet access to work).
Create the following BASH script:
"${HOME}/BF2142_offline.sh"
#!/bin/bash exe="${1:-BF2142.exe}" hex_search_replace() { search="$(echo "$2" | sed -e 's/[[:xdigit:]]\{2\}/\\x&/g')" replace="$(echo "$3" | sed -e 's/[[:xdigit:]]\{2\}/\\x&/g')" sed -i -e "s/${search}/${replace}/" "$1" } mkdir "Backup" &>/dev/null cp "${exe}" "Backup/${exe}" hex_search_replace "${exe}" "0083c1158bc1"\ "00b815000000" hex_search_replace "${exe}" "000067616d657370792e636f6d004f6e6c696e650000"\ "00002e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e0000" hex_search_replace "${exe}" "7374656c6c612e70726f642e67616d657370792e636f6d2f007374656c6c612e70726f642e67616d657370792e636f6d"\ "302e302e302e302f2e302e302e302e302e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e" hex_search_replace "${exe}" "65617075736865722e646963652e7365"\ "6e6577732e2e2e2e2e2e2e2e2e636f6d" hex_search_replace "${exe}" "617661696c61626c652e67616d657370792e636f6d"\ "2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e" hex_search_replace "${exe}" "6f74642e67616d657370792e"\ "6f74642e2e2e2e2e2e2e2e2e" hex_search_replace "${exe}" "3235352e3235352e3235352e323535"\ "302e302e302e302e2e2e2e2e2e2e2e" hex_search_replace "${exe}" "6d61737465722e67616d657370792e636f6d"\ "302e302e302e302e2e2e2e2e2e2e2e2e2e2e" hex_search_replace "${exe}" "7075626c6963706f7274"\ "6c6f63616c706f72742e" hex_search_replace "${exe}" "7075626c69636970"\ "6c6f63616c69702e" hex_search_replace "${exe}" "2e67616d657370792e636f6d00ffff"\ "2e2e2e2e2e2e2e2e2e636f6d00ffff" hex_search_replace "${exe}" "6665736c2e6561"\ "2e2e2e2e2e2e2e" hex_search_replace "${exe}" "2e65612e636f6d002e6665736c"\ "7379702e636f6d002e67616d65" hex_search_replace "${exe}" "67616d6573746174732e67616d65737079"\ "67616d6573746174732e2e2e2e2e2e2e2e" hex_search_replace "${exe}" "6770636d2e67616d657370792e636f6d"\ "6770636d2e2e2e2e2e2e2e2e2e636f6d" hex_search_replace "${exe}" "677073702e67616d657370792e636f6d"\ "677073702e2e2e2e2e2e2e2e2e636f6d"
Run your script in the main Battlefield 2142 install directory:
cd "${WINEPREFIX}/drive_c/Program Files/Electronic Arts/Battlefield 2142" chmod +x "${HOME}/BF2142_offline.sh" ./"${HOME}/BF2142_offline.sh"
This script will create a Backup directory ( "${WINEPREFIX}/drive_c/Program Files/Electronic Arts/Battlefield 2142/Backup" ) with the vanilla BF2142.exe executable backed-up in it.
Extract Singeplayer profile into your WINEPREFIX user profile directory.
Set PLAYER_NAME variable to the name of your desired in-game solider (your dummy EA account name will also be changed to this).
cd "${WINEPREFIX}/drive_c/users/${USER}/My Documents" rm -rf "Battlefield 2142" unzip ~/Downloads/Battlefield__2142_generic_profile.zip export PLAYER_NAME="singleplayer" find . -type f -name "*.con" -print0 | xargs -0 sed -i -e "s/singleplayer/${PLAYER_NAME}/g"
To disable the Battlefield 2142 introductory video:
cd "${WINEPREFIX}/drive_c/Program Files/Electronic Arts/Battlefield 2142/mods/bf2142/Movies" mv Intro.bik Intro.bik.bak
To disable the Battlefield 2142 Dice, EA & Legal information videos:
cd "${WINEPREFIX}/drive_c/Program Files/Electronic Arts/Battlefield 2142/mods/bf2142/Movies" mv Dice.bik Dice.bik.bak mv EA.bik EA.bik.bak mv Legal.bik Legal.bik.bak
Moving any these 3 videos may cause issues launching Battlefield 2142.
See also PCGamingWiki: Battlefield 2142 Guide for further tweaks.
These are the currently supported, maximum, in-game Video settings.
Note: for older AMD (<5xxx)/Nvidia GPU's (<8xxx) and Intel GPU's it is recommended to set:
Note: for all GPU's it is recommended to set:
Turning on AA may cause the game to crash or may result in it running with a completely black/blank screen
(all in-game elements will therefore be invisible!)
VIDEO OPTIONS |
||||||
DISPLAY MODE | ||||||
1920x1080@60Hz
▼
|
|
|||||
PRESETS |
||||||
██ Low ██ Medium ██ High | ||||||
CUSTOM QUALITY |
||||||
TERRAIN |
DYNAMIC SHADOWS |
|||||
████ | High | ████ | High | |||
EFFECTS |
DYNAMIC LIGHT |
|||||
████ |
High |
████ |
High |
|||
GEOMETRY |
ANTI-ALIASING |
|||||
████ |
High |
████ |
Off |
|||
TEXTURE |
TEXTURE FILTERING |
|||||
████ |
High |
████ |
High |
|||
LIGHTING |
VIEW DISTANCE SCALE |
|||||
████ |
High |
████ |
100% |
|||
ENHANCED LIGHTING EFFECT |
||||||
██ ON ██ OFF | |
|||||
The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
by Luna Crane on Sunday December 21st 2014, 23:17
Here are the instructions for entering the Public Alpha Testing, which actually works perfectly, and, unlike Gameranger, includes Stats and ALL UNLOCKS! (Note: Beta came before Alpha for them ... weird.):
dethklokclan.enjin.com/forum/m/1411244/viewthread/17844803-bf2142-alpha/post/86229620#p86229620
Check above this post in case this link changes.
by Rob on Monday December 22nd 2014, 7:41
I've been waiting for a way to avoid using the (god awful) Gameranger client!!
Don't I will be updating the instructions for BF2142 (and BF2) on how to get around the lack of Gamespy Master Servers... Especially since the games are running pretty well under Wine. I'll try and do that this week - now that I've got some more incentive!!
Bob
by Rob on Wednesday December 24th 2014, 9:00
Just got round to trying out the modified Dethklok Clan Alpha client. Yup, that works a treat doesn't it!!
Shame my ancient graphics card isn't up to the job of pushing all the pixels on my new 2560x1440 monitor though (have to run windowed)!!
Thanks
Bob
by Luna Crane on Wednesday December 24th 2014, 12:46
wine explorer /desktop=BF2142,1920x1080 ./BF2142.exe +menu 1 +fullscreen 1 +szx 1920 +szy 1080
Virtual Desktop is also enabled. I'm pretty sure it should stretch it. I think it's more that it has a very limited resolution listing in the BF2142 video options. Maybe typing it directly into the video config file might work?
by Rob on Wednesday December 24th 2014, 14:51
Well the card's ancient - but the monitor is 2560x1440 (plus it's dual screen with the old one @1600x1200)!! I can crank the resolution up to 1920x1080 (windowed) but I think I'm simply running out of VRAM above this!! Mind you Black Mesa did run @2560x1440... Anyway I'll do some more testing... Gotta hold out for the 980 Ti - it's going to be a beast!!
Bob
by Jim on Sunday March 24th 2013, 15:08
-------
To get fullscreen working:
First enable the "Emulate a virtual desktop" option in the "Graphics" tab of wineconfig and set the desktop size to your resolution (ex. 1920x1080)
Now add the "+fullscreen" flag to your resolution flags when launching BF2142, like so:
cd "${WINEPREFIX}"/drive_c/Program\ Files/Electronic\ Arts/Battlefield\ 2142
WINEDEBUG=-all wine BF2142.exe +menu 1 +fullscreen 1 +szx 1920 +szy 1080
-------
To fix punkbuster, download pbsetup.exe from the punkbuster site:
www.evenbalance.com/index.php?page=pbsetup.php
Run pbsetup.exe from your BF2142 wineprefix, click "Add a Game" and select "Battlefield 2142" from the list of games, then click "Check for Updates" and BF2142's version of punkbuster will be updated.
by Rob on Friday March 14th 2014, 18:07
I was really interested to read your comment about Punkbuster. I thought - is multiplayer finally fixed - or not??!!
I am using a 64-bit Wineprefix on Arch Linux (wine 1.7.14). I have Steam installed and Battlefield 2 from my account. So I install the Windows version of the Punkbuster utility. It detects the Battlefield 2 install correctly. So I can update Punkbuster to the "correct version". However the service doesn't run so I still get kicked when trying to play online...
* Does your fix work for online multiplayer?
* Are you using Steam or a disc install (I do have both BF2 Deluxe & BF2142 on DVD as well)?
* Are you using a 32-bit or a 64-bit Wineprefix?
* What version of wine?
* 32-bit/64-bit Linux OS?
If it's actually working then I'll bash through sorting out the Wiki pages for these 2 games!! Otherwise it's not worth the bother - as they are pretty useless without the online multiplayer support.
One thing that does work for me is fullscreen support (using the "radeon" driver) ironically...!!
Thanks
Bob
by Booman on Friday July 8th 2016, 7:56
I tried adding the path, but the program asks to select a game on the list.
I'm not sure what to do at this point?
by Rob on Friday July 8th 2016, 9:45
BTW do you own / still play BF2?
by Booman on Friday July 8th 2016, 9:49
Yes, I still play Battlefield 2, but only in my 6-computer LAN parties. its all offline, but still a lot of fun. Trying to get Battlefield 2142 running in my LAN as well.
Thanks
by Rob on Friday July 8th 2016, 11:06
by Booman on Friday July 8th 2016, 11:15
I test Windows games for fun in PlayOnLinux/Wine and then post step-by-step guides on how to run them.
Battlefield 2 always ran just fine, except some flashing shapes on the ground textures.
Does Dethklokk have an online service for BF2?
Its great for BF2142 and provides everything you need, including more maps. I was surprised to see how much work has been done to keep BF2142 running.
My username on reddit is: brianinthered
Shoot me a private message
by Rob on Friday July 8th 2016, 11:57
I tend to do lots of gardening (allotment) in the summer... But I'll try and shoot you a pm. I used to do spend hours playing BF2 and BF2142 😀
by Booman on Friday July 8th 2016, 12:20
No problem, like I said, I only play offline with friends.
by Rob on Friday July 8th 2016, 12:35
I'll update the BF2 wiki tonite... TBH I was hoping to do it in a "one'r" ie get Battlelog to patch it in for "official" online play first. But that may never happen 🤔
by Booman on Friday July 8th 2016, 12:37
by Rob on Friday July 8th 2016, 13:13
AMD and Nvidia fixed their WINDOWS drivers with an update to "paper over" the Battlefield 2 texture mess... So EA/Dice never had to release an "official" update to fix the issue. THEIR TERRAIN TEXTURES ARE BROKEN AND ALWAYS WILL BE.
The problem will always be there under Wine... Why would Nvidia or AMD release a Linux driver update to fix a game that doesn't run natively under Linux?? The Wine developers don't care about misaligned terrain textures either - it's a game bug...
Unless I can get Battlelog to push out the shader pack fix - then BF2 online multiplayer will always have this annoying bug - when run under Linux/Wine...
by Booman on Friday July 8th 2016, 13:17
Yeah, patching games that are 12 years old is hard to push on developers.
Specially for the Linux gamers. I don't think it will ever happen. Let me know if there is anything I can do to help.
by Rob on Friday July 8th 2016, 13:26
The Gamespy Servers are shutdown. The Battlog.co (battlelog.co) is the #1 community run replacement. They do their own launcher and updates to BF2... They have the clout to push out a "semi-official" update to all the Servers under their "wings".
I'm also pushing for Windows XP compatible Battlelog launcher - so that can be run under Wine as well!!
The terrain shader fix is one tiny .fx text file in a zipped shader pack. It's hardly a major update (like Kbytes)!! Damn Dice and EA - criminals!!
by Booman on Friday July 8th 2016, 13:41
I would love to see this bug fixed for Linux.
by Rob on Friday July 8th 2016, 14:28
Get your fixed Punkbuster from the link on this Battlelog.co thread... battlelog.co/post.php?id=15088
You can safely use the native (Linux) unzip command, on the bf2_win32.zip archive, in your root "Battlefield 2" / "Battlefield 2142" game directory. It's all the same case (damn NTFS)!!
If you give me a bit longer with the terrain thingy... I want to test out whether I can get the MEDIUM quality terrain textures fixed as well (I've just tested the HIGH ones).
I might try and cheekily attach the Shader files to a forum thread or something like that :-) At least then they'll not disappear from the Internet!!
by Rob on Saturday July 9th 2016, 7:21
Fallen Hope - a BF2 mod released way back in 2007 (!!)
www.moddb.com/mods/forgotten-hope-2/downloads/forgotten-hope-246-22
Has a single (!!) text file: TerrainShader_Hi.fx
in their shader pack that fixes both the MEDIUM and HIGH terrain textures - when running the unmod'd BF2 maps under Wine... Arggggg!!
Unbelievable!!
Pulls eyes out...
I was also going to add there are a few older copies of PunkBuster floating about on the Interwebs... E.g. www.moddb.com/mods/battlefield-2-hardcore/downloads/punkbuster
If the Punkbuster link I suggested doesn't work with your server. Always backup first!!
Btw have you had any issues running BF2142 with newer versions of Wine...?? Wierdly my BF2142 Wineprefix (yup retail release - patched up to 1.5.1 - nothing else in there) appears to have "blown up" and refuses to run... :-(
I dropped back to Wine 1.8.3 - but still no dice ??!! My last test drop was with Wine 1.7.55 - a while back...
BF2's running fine - via Wine - so it's definitely not a Wine build / graphics driver issue.
Puzzled 8->