Battlefield 2142

Version 1.51 released by EA, on Feb 19th, 2011, as an incremental patch.

The latest and final patch for Battlefield 2142.


  • Adds the Northern Strike expansion
  • New map: Strike at Karkand
  • New map: Operation Blue Pearl
  • New map: Yellow Knife
  • New map: Molokai


  • Added extra account security fixes
  • Added fix for nVidia drivers to solve tinitus visual effect
  • Hit detection bug fix: Changed so that latency compensation history takes correct stored positions from buffer
  • Updated as_titan_wake.tweak to allow for two attack choppers instead of the one previously allowed


  • Added Operation Blue Pearl by Bjorn Sundell with special thanks to Jason Brice for lightmaps and finishing
  • Added Yellow Knife, Molokai and Strike at Karkand 2142 maps made by Jason Brice
  • Added support for the Novint Falcon controller

Application Details:

Version: 1.51
License: Retail
URL: http://www.battlefield2142.ea....
Votes: 0
Latest Rating: Garbage
Latest Wine Version Tested: 5.17-staging

Maintainers: About Maintainership

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

Clean wine 5.17-staging 64-bit prefix

  • Installation using the official Battlefield 2142 Deluxe DVD
  • Launched with Widescreen option - which works as expected (+menu 1 +fullscreen 1 +szx 2560 +szy 1440 +widescreen 1)
  • Main menu works, albeit slow

What does not

Both crashes at the end of map loading, before clicking "Join"


BF2142 Hub, the tool to replace game's binaries with Gamespy alternative master servers doesn't work well (it may requires vcrun2015 & dotnet40).

What worked was to replace manually the binaries using this post.

If you get "Invalid CD Key" when joining servers (happens with Revive installer), the CD key registry key may be corrupted. To fix it :

Go to the "registry folder" HKEY_LOCAL_MACHINE>Software>Wow6432Node>Electronic Arts>EA GAMES>Battlefield 2142
Then modify the ergc key to look like this : x939 where is your BF2142 CD key without hyphens or spaces

What was not tested

  • Friend list
  • LAN Play
  • Game controllers

Hardware tested


  • GPU: AMD
  • Driver: open source

Additional Comments

Using Proton makes the game playable (Proton 5.0 and DXVK 1.7.1L-743f309 worked for me), with acceptable performance on an Ryzen 5 2600X and RX Vega 56.

Didn't need to install additional packages.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
CurrentArch Linux x86_64Sep 20 20205.17-stagingYes No YesGarbageÉric 
ShowGentoo Linux x86_64Dec 09 20161.9.23-stagingYes Yes YesGoldRob 
ShowGentoo Linux x86_64Nov 17 20151.7.55-stagingYes Yes GoldRob 

Known Bugs

Bug # Description Status Resolution Other apps affected
41925 Battlefield 2/2142 Revive Launcher silently dies during installation (Squirrel installer fails) NEW View

Show all bugs

HowTo / Notes

Test Submissions ... how to avoid a rejection notice!!

These notes were last updated: 20 February 2018

Follow these guidelines to avoid embarrassment when your Test Submission is immediately rejected!!

  • Ensure the version of Wine you have installed is update-to-date and supported (hint: if it isn't - then it won't be in the drop-down list).
  • Put your PC specifications in the Extra Comments section e.g. like your CPU and system memory.1
  • When adding test results please specify video card and driver version you are using.2
  • It's also useful to mention what Desktop Environment you are using (e.g. KDE/Plasma, Gnome, Xfce, Budgie, Mate, Cinnamon, ...)
  • Specify if you installed the Battlefield 2142 into a fresh Wineprefix (or not), and what other programs and games you have installed (for existing Wineprefix's).
  • Specify what version of the Windows compatibility you use for your Wineprefix (e.g. Windows XP, Windows 7). Specify if you override this for the Steam client executable.
  • Specify whether you installed into a 32-bit or a 64-bit Wineprefix.
  • Add detailed comments about what is not working for you.
  • Please check known issues which may vary by graphics card vendor / driver version.
  • Please indicate if you've applied additional patches to the version of Wine you are using.
  • Please, don't submit test results like "Everything is working" or "Everything isn't working".

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:]]'

Install Guide for Battlefield 2142 (DVD retail)
  1. Ensure you are using a 32-bit Wineprefix on a 64-bit OS (see Wine FAQ if unsure how to do this).

  2. Ensure your Battlefield 2142 DVD is mounted within your Linux filesystem. You can do this quite easily, in most Desktop Environments, via udisks 2.

  3. Wine should map this drive to '${WINEPREFIX}/dosdevices/d:'
    (the mapped drive letter may vary depending on how many drives your system has).

  4. Check drive is mapped using:


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

  6. ☐ Uncheck  GameSpy Comrade installation

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

Patching Battlefield 2142
  1. Update the game to version 1.50 using the BF2142_Update_1.50.exe , e.g.:
    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

  2. Update the game to version 1.51 using the BF2142_Patch_1.51.exe , e.g.:
    cd ~/Downloads
    wine BF2142_Patch_1.51.exe

    Note: apply the 1.50 patch first!!

Launching Battlefield 2142

Ensure your WINEPREFIX variable is set correctly before following these instructions.

Wine Virtual Desktop


  • select the Graphics tab
  • check Emulate a Virtual Desktop
  • set your native monitor resolution (or a suitable lower resolution) in the Desktop Settings

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

Ensure that you use the same resolution (as your Virtual Desktop) when you launch the actual game, as in:
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 Master Servers

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


  • ☑ Supply reliable alternate Battlefield 2142 Master Servers
  • ☑ Transparent/simple command line wrapper executable to your original BF2142.exe
  • ☑ Works with Punkbuster
  • ☑ A few active Servers still remain online


  • ☒ The Battlelog Launcher client frontend applications is a bit unstable under Wine
    (see Wine Bug 41925)

Getting Started

  1. Visit Website
  2. Setup an account

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
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/"
wine 'Revive-Launcher.exe'

The Revive Launcher largely works:

  • ☑ you can set BF2142 launch options
  • ☑ you can download and install the full BF2142 game (including all expansion packs)
  • ☑ Revive Network status, etc. works
  • ☒ Applying CD Keys crashes when the Revive Launcher calls: BattlelogBootstrap.exe
    See below for a manual workaround.
  • ☒ The Revive Launcher consistently crashes - when you exit it

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 forum post: How to fix CD-Key issues (applies to both BF2 & BF2142).

  1. Enter Wine registry editor:
    wine regedit
  2. Backup existing Wine registry:
    Click on Registry (menu)
    Select Export Registry File...
    Select All checkbox
    Save backup registry file
  3. Exit regedit
  4. Visit your Revive Personal Profile page to obtain your personal Revive CD-key
  5. Insert your Revive CD-key into the (Wine) Registry for Battlefield 2142:
    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"
Singleplayer / Offline Patch

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

  1. Create the following BASH script:

    	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"\
    hex_search_replace "${exe}" "000067616d657370792e636f6d004f6e6c696e650000"\
    hex_search_replace "${exe}" "7374656c6c612e70726f642e67616d657370792e636f6d2f007374656c6c612e70726f642e67616d657370792e636f6d"\
    hex_search_replace "${exe}" "65617075736865722e646963652e7365"\
    hex_search_replace "${exe}" "617661696c61626c652e67616d657370792e636f6d"\
    hex_search_replace "${exe}" "6f74642e67616d657370792e"\
    hex_search_replace "${exe}" "3235352e3235352e3235352e323535"\
    hex_search_replace "${exe}" "6d61737465722e67616d657370792e636f6d"\
    hex_search_replace "${exe}" "7075626c6963706f7274"\
    hex_search_replace "${exe}" "7075626c69636970"\
    hex_search_replace "${exe}" "2e67616d657370792e636f6d00ffff"\
    hex_search_replace "${exe}" "6665736c2e6561"\
    hex_search_replace "${exe}" "2e65612e636f6d002e6665736c"\
    hex_search_replace "${exe}" "67616d6573746174732e67616d65737079"\
    hex_search_replace "${exe}" "6770636d2e67616d657370792e636f6d"\
    hex_search_replace "${exe}" "677073702e67616d657370792e636f6d"\

  2. Run your script in the main Battlefield 2142 install directory:

    cd "${WINEPREFIX}/drive_c/Program Files/Electronic Arts/Battlefield 2142"
    chmod +x "${HOME}/"

    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.

  3. Download a pre-made Battlefield 2142 Singleplayer Profile.
  4. 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/
    export PLAYER_NAME="singleplayer"
    find . -type f -name "*.con" -print0 | xargs -0 sed -i -e "s/singleplayer/${PLAYER_NAME}/g"
  5. Launch Battlefield 2142 (see above). The game will think you are offline (even if you are online).
  6. Sign in with your dummy EA account name (pre- completed field) and just leave the password field blank. The game should give you the opportunity to play with your Singleplayer Profile.
Battlefield 2142 Tweaks

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.

Recommended Video Settings

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









████ High
████ High



















Last updated 09.12.2016 Wine-Staging 1.9.23, Nvidia GTX 970M, Nvidia Driver 375.10 (Gentoo GNU/Linux)
Punkbuster Guide (required for online play)

Install Battlefield 2142 fully - as per the guide above.

Note: Punkbuster will not run in a 64-bit Wineprefix.

Following the Gamespy Server shutdown EvenBalance has withdrawn official Punkbuster support for Battlefield 2142 (from their newer versions of Punkbuster). The servers use an older version of the Punkbuster (anti-cheat) utility - to workaround this.

Update Punkbuster

See this forum thread about how to obtain the final version of Punkbuster - which still supports Battlefield 2142. This archive also contains an (important) updated Punkbuster configuration file - with newer game data md5 hashes. A link for the Punkbuster service executable is also present. The updated Launcher does not currently include this old Punkbuster version.

  1. Download this customised Punkbuster archive.
  2. Extract the zip archive in place (overwrite all files):
    cd "${WINEPREFIX}/drive_c/Program Files/Electronic Arts/Battlefield 2142"
    winetricks -q 7zip
    rsync  -achv ~/Downloads/ .
    wine 'C:\Program Files\7-Zip\7z.exe' x -y
  3. Punkbuster game profiles are stored in a /pb folder in the main installation folder for each supported game. E.g.

    "${WINEPREFIX}/drive_c/Program Files/Electronic Arts/Battlefield 2142/pb"

Reinstall Punkbuster Service

Should the Punkbuster service not start correctly then you can try to update / re-install of the Punkbuster service.

  1. Download Punkbuster Service Installer from
  2. Uninstall Punkbuster service:
    wine ~/Downloads/pbsvc.exe
    Click the Uninstall button.
    Exit pbsvc.exe installer
  3. Delete game profile & main Punkbuster service files:
    rm -rf "${WINEPREFIX}/drive_c/Program Files/Electronic Arts/Battlefield 2142/pb" \
  4. Enter Wine registry editor:
    wine regedit
  5. Backup existing Wine registry:
    Click on Registry (menu)
    Select Export Registry File...
    Select All checkbox
    Save backup registry file
  6. Now delete all references to Punkbuster service files in Registry:
    Press CTRL+F (or Edit / Find)
    Enter PnkBstr in search field
    Delete all registry keys which match this name
    Exit regedit
  7. Shutdown wineserver (equivalent of a Windows reboot):
    wineserver -k
  8. (Re)install Punkbuster service:
    wine ~/Downloads/pbsvc.exe
    Click the Install button.
    Press Test Services to check that everything works
    Exit pbsvc.exe installer

Still getting kicked by Punkbuster?

Should the Punkbuster service still lead to your game getting kicked from online play you could try running a keep alive BASH script. The script should keep the Punkbuster PnkBstrB service executable alive whilst PnkBstrA is running (so it will work for any game also requiring Punkbuster)...
#! /bin/bash


export WINEPREFIX="${SCRIPT_FOLDER%/drive_c/*}"
export WINEDEBUG=-all,+fps


PID_PUNKBUSTERA=$(pgrep "PnkBstrA.exe")
while ps -p $PID_PUNKBUSTERA > /dev/null ; do
        wine "PnkBstrB.exe" &
        while ps -p $PID_PUNKBUSTERB > /dev/null ; do
                sleep 1
Ensure you place the script somewhere within / on your WINEPREFIX C-drive and make it executable:
chmod +x ""
cd "${WINEPREFIX}/drive_c"

It is trival exercise to augment this script so it launches the BF2142 game executable as a background process (before starting the Punkbuster checking loop).

(??BSD/MacOS support??)