WineHQ
Battlefield 2142 1.x



Category: Main > Games > 1st Person Shooter > Battlefield 2142 > 1.x


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

Retail version of the game released by EA including booster packs and patches.

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.0 "Squeeze"Jan 22 20111.3.11 Yes Yes Silver Artur hoOmE 
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

 
HOWTO

Preface and Wine setup

This guide was created using Wine 0.9.59.

If you are able, you should apply this patch to your Wine setup. This will cause the mouse cursor to show up in the main menus, which is invisible by default due to a bug in Wine. To install the patch, place it within the wine setup directory (wine-0.9.59) and run the following:

patch -p1 < cursor-patches-0.9.58.patch

Then, of course, compile and install wine.

This guide refers to ${WINEPREFIX} several times, you should export it before continuing. Typically you would want it as "${HOME}"/.wine, but you may wish to create a new Wine directory just for BF2142, such as "${HOME}"/.wine.bf2142.

export WINEPREFIX="${HOME}"/.wine

Run wineprefixcreate after setting ${WINEPREFIX} if it does not already exist.

You may need to link d: to where your CD drive is mounted if it doesn't already exist. Be sure to replace /media/cdrom and /dev/hdc with the correct locations for your system.

cd "${WINEPREFIX}"/dosdevices
ln -s /media/cdrom d\:
ln -s /dev/hdc d\:\:

You should set the Windows version to “Windows 2003” in winecfg, the copy protection system seems to work best with this setting.

Installation

Autorun only works if you run Wine in the disc directory (cd "${WINEPREFIX}"/dosdevices/d\: && wine Autorun.exe).

Don't install GameSpy Comrade, you don't want it. When the EA registration window comes up, just close the window and the installation should continue. Failing that, run killall EReg.exe to get rid of it.

Ignore the dialog box saying that DirectX could not be installed, it is irrelevant.

After installation you will probably want to delete the intro movies, so you don't have to watch them every time you start the game. Delete the following files in "${WINEPREFIX}"/dosdevices/c:/Program\ Files/Electronic\ Arts/Battlefield\ 2142/mods/bf2142/Movies:

  • Intro.bik
  • Legal.bik
  • Legal_na.bik

Removing the EA logo (i.e., deleting EA.bik) is against the license, so I won't recommend doing that. Deleting Dice.bik has been known to cause problems on Windows, so it's probably best to play it safe and leave it as it is.

Patches

Not much to say here, they work exactly as they do on Windows. You can download them from the EA FTP server.

Booster Packs

Installation works fine, but it does not appear to do anything after clicking “Install” until it has finished. Bear in mind that you will have to reinstall the patch afterwards otherwise you will be kicked with an “unmodified content” error if you try to connect to a booster pack server. This is the same as on Windows.

Running

You should set WINEDEBUG to "-all" otherwise all the terminal output will significantly slow down the game. You can use the +szx and +szy flags if you want to use a custom resolution.

cd "${WINEPREFIX}"/drive_c/Program\ Files/Electronic\ Arts/Battlefield\ 2142
WINEDEBUG=-all wine BF2142.exe +szx 1280 +szy 1024

In-game settings

Graphics settings

Most settings seem to work ok. Lighting does not work, so just leave lighting on low, and dynamic shadows and dynamic light on off. Anti-aliasing also can't be raised about zero. Setting terrain above low can cause the ground to glow in places.

Audio settings

Feel free to try the Creative X-Fi renderer if you have the card and have been able to install the drivers. I haven't been able to do so myself so I can't help with that.

Using a microphone for VOIP doesn't seem to work at the moment.

Playing

Starting a single player game may cause the game to crash while the map is loading. Entering an Internet server seems to work ok. I encountered the occasional freeze up, but it seems to work ok other than that. YMMV.

PunkBuster used to work ok in Wine 0.9.47, but in Wine 0.9.59 I keep getting kicked within seconds on connecting. This may have just been a fluke, but I will do some more testing to see if I can find a cause.

The game seems to lose the mouse quite a lot in fullscreen mode, moving the just won't do anything. As a work around you can run the game in windowed mode using +fullscreen 0 on the command line.


 

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

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]

Getting 2142 to work
by Aaron Godin on Tuesday February 2nd 2010, 10:53
I found a wikihow on how to install this game, and I wanted to mention something that hasn't been said yet.

From: www.wikihow.com/Get-Battlefield-2142-Working-on-Linux

This step made the game work correctly for me:

Run regedit and add the key HKEY_CURRENT_USER\Software\Wine\Direct3D\VideoMemorySize and set it to the size in megabytes of your video memory. Export the key to ~/.wine/user.reg .

I had to manually create the Direct3D key and subsequently the VideoMemorySize key. This made the game playable, however the single player does just quit on you, as mentioned in the notes.

Aaron

[post new] [reply to this]

MultiPlayer Mode, Punkbuster
by phantom_ch on Thursday November 26th 2009, 18:34
MultiPlayer Mode is a Problem, cause Punkbuster kicks your from server, because the fingerprint of the wine appi's/dll's are not from Microsoft... Have contacted EvenBalance, the Maintainer of Punkbuster.. but seams that there is no chance to get Punkbuster work in wine... ;(..

Here are more informtions about PB Problem...

appdb.winehq.org/objectManager.php?sClass=version&iId=5813


phantom

[post new] [reply to this]

Ratings
by MZ on Saturday October 24th 2009, 7:37
I wish people would finally get the rating system and not rate a title Platinum that needs tweaks and for which they did not even test the multiplayer mode...

[post new] [reply to this]

Punkbuster petition
by Claudio on Thursday October 22nd 2009, 5:30
Please sign the petition if you want to get this game working under wine:
www.petitionspot.com/petitions/PunkBusterforWINE/

[post new] [reply to this]

1.50 patch
by Adam Bolte on Saturday August 8th 2009, 8:40
I installed BF2142_Update_1.50.exe and the game refused to work. Can anyone else confirm that 1.50 is a problem? Thanks.

[post new] [reply to this]

Rating
by Lauri Niskanen on Sunday May 31st 2009, 13:40
This game has been reported to be platinum or gold, but I think the rating should be only silver, since online play isn't working thanks to punk buster.

[post new] [reply to this]

No cdrom found
by Gregory Gulbrandson on Sunday May 31st 2009, 3:18
I have followed the directions and successfully installed it, however it cannot find the CD...

What am I doing wrong?

Gentoo wine-1.21

[post new] [reply to this]

Cannot patch game in wine 1.19
by John on Tuesday April 21st 2009, 0:53
I don't know if its just me or what, but I cannot find a way to patch this game in Wine 1.19. The game after install appears to run just fine, but no matter what patch I run I get the same error back:

"Cannot find install folder for Battlefield 2142"

I've tried patches 1.20, 1.25, 1.50. When I run patch 1.01 it looks like the game is about to launch, but then my desktop gets resized to 800x640 and everything crashes.

I love this game, and would love be be able to get back to playing it; does anyone have a solution?

[post new] [reply to this]


by Aniruddha on Wednesday June 25th 2008, 16:03
How do I apply the patch?

[post new] [reply to this]

  • RE: by Aniruddha on Wednesday June 25th 2008, 16:09
Not working with wine-1.0-rc4?
by Alex R. on Sunday June 8th 2008, 8:22
With wine-1.0-rc4 and Kubuntu 8.04 KDE 4 Remix the game doesn't work for me anymore, even with virtual desktop. Before, it has always been possible to play. Having NVidia btw.

[post new] [reply to this]

Out of Range error with Game
by Marc on Saturday April 26th 2008, 3:08
Ubuntu 8.04 Wine 0.9.60. Obviously Idiot at the helm of the compy.
but tried the config list to the best of my ability and i get a Out of range issue and nothing happens. 81.7kHz / 65 hz ... thats it. if anyone has any answers for me.

[post new] [reply to this]

In Wine 0.9.59 works, but Punkbuster doesn't
by Jareel on Sunday April 13th 2008, 11:45
So, the game works in Wine 0.9.59, even full screen, and the cursors patch/hack for Wine 0.9.58 also works for Wine 0.9.59.

BUT, whenever I join a multiplayer game, Punkbuster kicks me listing no reason. This may have something to do with problems patching correctly, but there seem to be no manual installations of the patch available (if someone could make one somehow, assuming it's legal to, I would be eternally grateful).

Can this be fixed by installing the game on windows (partition or virtual machine, and including all patches) and just copying the installed directory from there? If anybody could try this out whoever has windows already co-installed and report any progress?

[post new] [reply to this]

Missing cursor fix/hack
by Chris Spencer on Tuesday April 8th 2008, 12:58
I'm not sure if this is a hack, or if it just hasn't been comitted yet, but this patch [1] fixes the missing cursor in the main screens.

[1] xtruder.homelinux.net/~ambro/cursor-patches-0.9.58.patch

[post new] [reply to this]

Explications on
by Jérémie on Monday November 5th 2007, 17:08
I've noticed there is nothing about how to install a patch so I will talk about it because it wasn't as simple as seems to be.
The patch installed is the 1.4 beta 3 patch.

1) Download the patch and put it in a special directory (~/patch-bf2142/)

2) Configure wine to create a new virtual drive, pointing to this directory.
- First, launch "winecfg" (tape this command in a terminal).
- then go to "Drives"
- click on "add" and modify the path : "~/patch-bf2142/" (the path where the patch has been download)
- remember the drive letter, for me it's "e:"

3) Lunch the patch.
- lunch a terminal and type :
$ WINEPREFIX="${HOME}"/.wine
$ cd "${WINEPREFIX}"/dosdevices/
$ cd "e\:" // modify "e\:" by the letter of your drive (ie: "f\:")
$ wine BF2142_Update_1.40-BETA3.exe // modify the name of the file if your patch is not named as mine

4) The patch is installing. It will take some time, just be patient (the same time as in Windows(R), maybe less).

[post new] [reply to this]

PunkBuster
by Chris Spencer on Friday August 3rd 2007, 6:28
Ok I need someone else to test this to be sure, but I think PunkBuster is working.

I just played about 10 minutes on a public PunkBuster enabled server and wasn't kicked. Can someone please test this?

This was using the current git. Due to this bug: bugs.winehq.org/show_bug.cgi?id=9169 , you will have to revert the changes made in this commit: source.winehq.org/git/wine.git/?a=commit;h=dcdf7c55d642bf584678ca44054f410f0634ec05 then recompile Wine.


On another note, I have updated the howto.

Cheers.

[post new] [reply to this]




   << Back

Page loaded in 0.04508 seconds.