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

Tested in a Wineprefix with current Wine defaults: 64-bit WINEPREFIX, Windows 7 version

  • Installation of most of the installer components (apart from those listed below)
  • Singleplayer
  • Intro videos
  • In-game menus: Audio & Video background
  • In-game menus: Microphone test
  • In-game menus: Keyboard controls re-mapping
  • In-game menus: EAX support in Audio settings
  • In-game graphical options (apart from those listed below)
  • In-game audio


What does not

  • Audio Microphone tool (when installing) crashes
  • Multiplayer - but this is common with running the demo on native Windows (due to the closing down of the Gamespy Master Servers)
  • Terrain texture mesh issues are present when Terrain Textures are set to Medium or High (flickering black hexagons in terrain textures)
  • AA Video Setting has no effect

Workarounds

  • Must start the game in Virtual Desktop - due to the hard requirement to switch to 800x600 @85Hz resolution.
  • Cancel running Audio Microphone Configuration tool - during installation (to avoid installer crash)


What was not tested

Extensive gameplay.

Hardware tested

Graphics:

  • GPU: Nvidia
  • Driver: proprietary

Additional Comments

System Software =============== uname -r 4.12.9-gentoo emerge -pv1 sys-devel/gcc kde-plasma/plasma-desktop media-libs/mesa x11-base/xorg-server x11-drivers/nvidia-drivers =app-emulation/wine-staging-2.15 [ebuild R ~] sys-devel/gcc-6.4.0:6.4.0::gentoo USE="cxx doc fortran go mpx (multilib) nls nptl openmp pch sanitize ssp vtv (-altivec) (-awt) -cilk -debug (-fixed-point) (-gcj) -graphite (-hardened) (-jit) (-libssp) -objc -objc++ -objc-gc (-pie) -regression-test -vanilla" 74,379 KiB [ebuild R ~] kde-plasma/plasma-desktop-5.10.5:5::gentoo USE="debug fontconfig gtk2 handbook legacy-systray pulseaudio semantic-desktop -appstream -gtk3 -ibus -qt4 -scim {-test}" INPUT_DEVICES="evdev synaptics" 0 KiB [ebuild R #] media-libs/mesa-17.1.7::bobwya USE="classic egl gbm nptl osmesa wayland xvmc -bindist -d3d9 -debug -dri3 -gallium -gles1 -gles2 -llvm -opencl -openmax -pax_kernel -pic (-selinux) -unwind -vaapi -valgrind -vdpau -vulkan -xa" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="(-freedreno) -i915 -i965 -imx -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) (-vivante) -vmware" 9,672 KiB [ebuild R #] x11-base/xorg-server-1.19.3-r2:0/1.19.3::bobwya USE="ipv6 kdrive suid systemd udev xephyr xorg -debug -dmx -doc -fop -glamor -libressl -minimal (-selinux) -static-libs -tslib -unwind -wayland -xcsecurity -xnest -xvfb" 5,909 KiB [ebuild R #] x11-drivers/nvidia-drivers-384.69:0/384::bobwya USE="X acpi driver kms multilib tools uvm -compat -gtk3 -pax_kernel -static-libs -wayland" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild R #] app-emulation/wine-staging-2.15:2.15::bobwya USE="X alsa cups dos fontconfig gecko gphoto2 gsm gstreamer jpeg lcms ldap mono mp3 ncurses netapi nls openal opencl opengl osmesa pipelight png pulseaudio realtime run-exes s3tc samba scanner ssl threads truetype udev udisks vulkan xcomposite xinerama xml -capi -cuda -custom-cflags -odbc -oss -pcap -perl -prelink (-selinux) {-test} -themes -v4l -vaapi" ABI_X86="32 64 (-x32)" LINGUAS="en en_US -ar -bg -ca -cs -da -de -el -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW" 0 KiB H/W path Device Class Description ========================================================= system G751JT (ASUS-NotebookSKU) /0 bus G751JT /0/0 memory 64KiB BIOS /0/8 processor Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz /0/8/9 memory 1MiB L2 cache /0/8/a memory 256KiB L1 cache /0/8/b memory 6MiB L3 cache /0/c memory 32GiB System Memory /0/c/0 memory 8GiB SODIMM DDR3 Synchronous 1600 MHz (0.6 ns) /0/c/1 memory 8GiB SODIMM DDR3 Synchronous 1600 MHz (0.6 ns) /0/c/2 memory 8GiB SODIMM DDR3 Synchronous 1600 MHz (0.6 ns) /0/c/3 memory 8GiB SODIMM DDR3 Synchronous 1600 MHz (0.6 ns) /0/100 bridge Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller /0/100/1 bridge Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller /0/100/1/0 display GM204M [GeForce GTX 970M] /0/100/1/0.1 multimedia GM204 High Definition Audio Controller /0/100/14 bus 8 Series/C220 Series Chipset Family USB xHCI /0/100/14/0 usb1 bus xHCI Host Controller /0/100/14/0/3 bus USB 2.0 Hub /0/100/14/0/3/2 bus USB2.0 Hub /0/100/14/0/3/2/1 input USB Receiver /0/100/14/0/3/2/3 input Corsair K65 Gaming Keyboard /0/100/14/0/4 multimedia Corsair Gaming H2100 Headset /0/100/14/0/5 communication Bluetooth wireless interface /0/100/14/0/7 multimedia USB2.0 HD UVC WebCam /0/100/14/0/a input ASUS ROG Macrokey /0/100/14/1 usb2 bus xHCI Host Controller /0/100/16 communication 8 Series/C220 Series Chipset Family MEI Controller #1 /0/100/1b multimedia 8 Series/C220 Series Chipset High Definition Audio Controller /0/100/1c bridge 8 Series/C220 Series Chipset Family PCI Express Root Port #1 /0/100/1c.2 bridge 8 Series/C220 Series Chipset Family PCI Express Root Port #3 /0/100/1c.2/0 wls1 network Wireless 7260 /0/100/1c.3 bridge 8 Series/C220 Series Chipset Family PCI Express Root Port #4 /0/100/1c.3/0 p3p1 network RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller /0/100/1f bridge HM87 Express LPC Controller /0/100/1f.2 storage 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] /0/100/1f.3 bus 8 Series/C220 Series Chipset Family SMBus Controller /0/1 scsi0 storage /0/1/0.0.0 /dev/sda disk 2048GB Samsung SSD 850 /0/2 scsi2 storage /0/2/0.0.0 /dev/cdrom disk BD-CMB UJ172 S /0/3 scsi3 storage /0/3/0.0.0 /dev/sdb disk 1024GB Samsung SSD 850

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentGentoo 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