WineHQ

Battlefield 2

Demo version of the game.

Application Details:

Version: Demo
License: Demo
URL: http://www.eagames.com/officia...
Votes: 0
Latest Rating: Silver
Latest Wine Version Tested: 2.15-staging

Maintainers: About Maintainership

Free Download Battlefield 2 Demo Download

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

installation works perfectly

What does not

starting the game... screen just gets black for a short moment

Workarounds

What was not tested

the game itself

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowGentoo Linux x86_64Aug 29 20172.15-stagingYes Yes YesSilverRob 
ShowSlackware 14.1 32 bit versionSep 04 20151.7.51Yes No GarbageMaik Wagner 
ShowUbuntu 12.04 "Precise" i386 (+ variants like Kubuntu)Sep 13 20131.6Yes Yes Garbageeximius 
ShowDebian GNU/Linux 6.x "Squeeze" x86_64Dec 11 20101.3.8Yes Yes Platinuman anonymous user 
ShowUbuntu 10.04 "Lucid" i386 (+ variants like Kubuntu)Nov 20 20101.3.6Yes Yes GoldGlock 

Known Bugs

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
40284 Unable to change resolution for LVDS panels (laptop), on which only one resolution is available (ex. 1680x1050) UNCONFIRMED View

Show all bugs

HowTo / Notes

Install Guide for BF2 Demo
Download the BF2 demo executable.
  1. Ensure you are using a 32-bit Wineprefix on a 64-bit OS (see Wine FAQ if unsure how to do this).
  2. Open a Terminal and launch the battlefield2demo.exe setup executable. e.g.
    wine ~/Downloads/battlefield2demo.exe
The BF2 demo should now be installed successfully (hopefully). Online play will not be possible until a Punkbuster update is installed (see below).
Test Submissions ... how to avoid a rejection notice!!

These notes were last updated: 04 September 2019

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 2 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 - like terrian texture settings - 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 -B

Launching Game
Ensure your WINEPREFIX variable is set correctly Initially try:
cd "${WINEPREFIX}/drive_c/Program Files/EA GAMES/Battlefield 2 Demo/"
wine BF2.exe

If launching the game fails with the message:
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x32 @85! (XRandR 1.2)
Then your monitor does not support a 85Hz 800x600 resolution mode (or perhaps you are using a dual monitor setup where one monitor does not support this mode).
If this error occurs (or "any other mode-setting problems") then
  1. Run winecfg utility for current Wineprefix.
  2. Under Graphics tab enable Emulate a virtual desktop. Set the Desktop size to your desired resolution <x-resolution> x <y-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).

  • Test launching game with:
    cd "${WINEPREFIX}/drive_c/Program Files/EA GAMES/Battlefield 2 Demo/"
    wine BF2.exe +menu 1 +fullscreen 1 +szx <x-resolution> +szy <y-resolution>

    ... replace <x-resolution> & <y-resolution> with your native screen resolution.

  • Recommended Video Settings

    Note: for older AMD (<5xxx)/Nvidia GPU's (<8xxx) and Intel GPU's it is recommended to set:

    • LIGHTING Low
    • DYNAMIC SHADOWS Off
    • DYNAMIC LIGHT Off

    • Setting TERRAIN quality to Medium or High may lead to black hexagonal texture glitching in ground textures - this bug appears to mainly affect Nvidia GPUs.
      It has been reported that issue does not affect newer AMD radeon drivers. So setting the TERRAIN quality to High is worth testing on AMD cards.
    • ANTI-ALIASING set to 2x ... 16x (on). Will simply be ignored in-game.

    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)

    General Tweaks

    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 "âš«âš«âš«âš«"
    • Specify a custom resolution to launch the BF2 client with, e.g. for running the game on a full HD monitor:
      wine start 'BF2.exe' ... +menu 1 +fullscreen 1 +szx 1920 +szy 1080
    • Specify a BF2 Mod to launch, with the BF2 client, e.g. for running the BF2 SPX Singleplayer Mod:
      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.

    Comments

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

    Great working
    by Glock on Saturday November 20th 2010, 18:35
    If follow instructions above and have right video card game will work GREAT!!!
    Back