WineHQ
Battlefield 2142 1.5



Category: Main > Games > 1st Person Shooter > Battlefield 2142 > 1.5


NameBattlefield 2142
Version1.5
License Retail
URLhttp://www.battlefield2142.ea....
Votes 14
RatingSilver
Wine Version1.3.11
Maintainers of this version:
Description

Version 1.50 released by EA, on May 30th, 2008, as two separate patches.

This patch was offered in 2 main versions:

  • as a incremental update to version 1.40
  • larger version that rolled-up fixes and features of patch 1.40


Features:

  • Added community maps, Wake Island 2142 and Operation Shingle
  • Added the ability to use widescreen resolutions.
  • Added No Vehicles mode.
  • Added Conquest Assault mode.
  • Changed the volume control for the Commander Voice Over on request of the esports community.
  • Changes made to pod steering mechanism to improve control while limiting pod surfing.

Fixes:

  • Fixed the loading issue caused by corrupt Radial.cdb file
  • Various changes made to prevent cheating.
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 (selected in 'Test Results' table below)

What works
Play with Bot's in window with 1152x864 resolution and all graphics set to high.


What does not
Playing FullScreen


What was not tested
Play Multiplayer or lan.


Additional Comments

Well, the game works fine, I copy the Battlefield CD to my wineprefix folder as i do in every game and start the installer with the WINEDEBUG="fixme-all" option, i have to set a Virtual Desktop to play the game, in fullscreen mode the game's crash after open.

My Config:
AMD Phenom II x4 2.8GHz, GeForce GTX460
Wine 1.3.11, Debian Squeeze, Nvidia Driver 260.19.29
Test Results
DistributionTest dateWine versionInstalls?Runs?RatingSubmitter
CurrentDebian GNU/Linux 6.x "Squeeze"Jan 22 20111.3.11 Yes Yes Silver Artur h0m3 
ShowUbuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu)Nov 24 20101.3.6 Yes Yes Silver Bob Wya 
ShowUbuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu)Sep 11 20101.2 Yes Yes Silver an anonymous user 
ShowUbuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu)May 15 20101.1.42 Yes No Garbage Caltagirone 
ShowUbuntu 9.10 "Karmic" amd64 (+ variants like Kubuntu)Nov 17 20091.1.33 Yes Yes Silver phantom_ch 


Known bugs
Bug # Description Status Resolution Other apps affected

 
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 (note this includes cifs/sshfs support).
  3. Wine should map this drive to "${WINEPREFIX}/dosdevices/d\:"
    (mapped drive letter may vary depending on how many ODD's your system has).
  4. Check drive is mapped using:
    winecfg
  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 ODD. This is highly recommended!

Online play will not be possible without extra patches. 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 patch BF2142_Update_1.50.exe first!!


 
Launching Battlefield 2142

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

Wine Virtual Desktop

Run:

winecfg
  • 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 various guides to re-enable both Singleplayer and Multiplayer gameplay - post the Master Server shutdown...



 
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 ( "${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"
    
  2. 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.

  3. Download a pre-made Battlefield 2 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/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"
    
  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 AMD and Intel GPU's it is recommended to set:

  • LIGHTING
    Low
  • DYNAMIC SHADOWS
    Off
  • DYNAMIC LIGHT
    Off

Note: for all GPU's it is recommended to set:

  • ANTI-ALIASING
    Off

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



Last updated 17.11.2015 Wine 1.7.55, Nvidia GTX 970, Nvidia Driver 352.30 (Gentoo GNU/Linux)

 

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Battlefield 2142 is BACK!
by Luna Crane on Sunday December 21st 2014, 23:17
As a winter solstice present, you get to play Battlefield 2142 Online again! Thanks to the Dethklok Clan, who are also responsible for Battlelog alternate master server on Battlefield 2.

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.

[post new] [reply to this]

Punkbuster, fullscreen
by Jim on Sunday March 24th 2013, 15:08
The demand for BF2142 is probably no longer what it once was, but I'd like to share a couple of tips.

-------

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.

[post new] [reply to this]




   << Back

Page loaded in 0.13853 seconds.