WineHQ

The Lord of the Rings: The Battle for Middle-Earth II

1.06 is the latest patch for BFME2. The game has been patched many times. Most of the patches fixed balance between the factions and they improved the performance.

Application Details:

Version: 1.06
License: Retail
URL: http://www.ea.com/official/lor...
Votes: 3
Latest Rating: Platinum
Latest Wine Version Tested: 3.0.1

Maintainers: About Maintainership

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 from AutoRun.exe

skirmishes and war of the ring - singleplayer as well as multiplayer on LAN

campaign

(i.e. everything I tested)

works also on 1.00, i.e. without patch 1.06 and without no-cd patch

What does not

Workarounds

What was not tested

playing online

Hardware tested

Graphics:

  • GPU: Nvidia
  • Driver: open source

Additional Comments

Game does not run after installation (however, this is a Windows issue)

With and without patch 1.06 and no-cd crack, the game won't launch. Without no-cd crack there is no error message - it just aborts. With no-cd crack the error message is: "abnormal program termination".

The fix is simple (and having patch or not does not make a difference): Add Options.ini to: 'drive_c/users/YOUR_USERNAME/Application Data/My Battle for Middle-earth(tm) II Files' with the following content 


AudioLOD = Low

HasSeenLogoMovies = yes

IdealStaticGameLOD = VeryLow

Resolution = 1920 1080

StaticGameLOD = VeryLow

TimesInGame = 1


(Or whatever resolution you use)

The fix is from here, but the directory suggested there is: 'drive_c/users/YOUR_USERNAME/AppData/Roaming/My Battle for Middle-earth(tm) II Files' but this directory didn't not exist and after creating it and after adding Options.ini as above the game still didn't launch. For me, it had to be 'Application Data/' instead of 'AppData/Roaming'


Gameplay Issues:

may crash when alt tabbing, but a simple solution is to just use
'emulate virtual desktop' (in winecfg) and then alt tabbing no longer
crashes

there are occasional 1-2 second lag spikes, but game runs still fine


comments for installing patch 1.06 and 1.09:

obtained patches and instructions from here

this site provides you a "patchswitcher" that installs the 1.09 and
later allows you to choose version when running the patchswitcher.

however, patchswitcher does not run and gives error: 0035:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed

After following these instructions here to install wine mono, patchswitcher works fine.


The HOWTOs below were not necessary at all

more specifically:

  1. cursor works fine in game - no steps required
  2. gdiplus.dll was not required to be added to .../system32/
  3. windows version xp not required (default, i.e. 7, works too)
  4. patch 1.06 and no-cd crack were not required for the game to work (different story if you don't own a DVD with the game)
  5. no regedit was required

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)May 20 20183.0.1Yes Yes NoPlatinumLuke 
CurrentUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)May 20 20183.6Yes Yes NoPlatinumLuke 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Jan 04 20182.21Yes Yes YesGoldWiborg 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Jun 11 20161.8.2Yes Yes Goldan anonymous user 
ShowGentoo Linux x86_64Mar 22 20131.5.26Yes Yes Goldan anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

HOWTO

Installing Wine with Cursor Support

To get proper cursors in the game, you need to patch Wine, which can be done as follows.

mkdir cursor_patches_20070428
tar -xvjf cursor_patches_20070428.tar.bz2 -C cursor_patches_20070428
tar -xvjf wine-0.9.48.tar.bz2
  • Enter the Wine directory.
cd wine-0.9.48
  • Apply the cursor patches.
for i in `ls ../cursor_patches_20070428`; do patch -p1 < ../cursor_patches_20070428/$i; done
  • Update wineserver.
tools/make_requests
  • Configure, build and install Wine. You can choose another install path if you want to. Be sure that all requirements are met.
./configure --prefix=$HOME/wine-0.9.48-bfme2
make depend && make
make install
  • Delete unneeded files.
cd ..
rm -rf wine-0.9.48 wine-0.9.48.tar.bz2 cursor_patches_20070428 cursor_patches_20070428.tar.bz2

Installing and Running the Game
  • It is recommended to create a new Wineprefix for the game. Of course you can choose any other path for your Wineprefix.

$HOME/wine-0.9.48-bfme2/bin/wineprefixcreate --prefix $HOME/.wine/bfme2

  • Before you can start the installation you have to download gdiplus.dll and copy it to ~/.wine/bfme2/drive_c/windows/system32.
  • Set Windows XP as Windows Version for the BFME2 Wineprefix:
WINEPREFIX=$HOME/.wine/bfme2 $HOME/wine-0.9.48-bfme2/bin/winecfg
  • Run the installation by executing AutoRun.exe on your game DVD. Remember to customize the pathes.
cd /media/cdrom0
WINEPREFIX=$HOME/.wine/bfme2 $HOME/wine-0.9.48-bfme2/bin/wine AutoRun.exe
  • Download Patch 1.06 and a crack and install them in order to make the game work.
  • To avoid graphic issues open the registry editor.
WINEPREFIX=$HOME/.wine/bfme2 $HOME/wine-0.9.48-bfme2/bin/regedit
Enter following new keys into regedit path: HKEY_CURRENT_USER / Software / Wine / Direct3D
UseGLSL = enabled
OffscreenRenderingMode = fbo
VideoMemorySize = 256
  • Run the game

env WINEPREFIX="$HOME/.wine/BFME2/" $HOME/wine-0.9.48-bfme2/bin/wine "C:\Program Files\Electronic Arts\Battle for Middle-Earth II\lotrbfme2.exe"

Known Issues
  • The game runs much slower under Wine than under Windows.
  • Descriptions for some objects are missing.

Comments

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

Memory error
by Chris on Saturday January 25th 2014, 14:02
After playing this game for about 25 minutes i got this error

err:d3d:buffer_sync_apple >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glBufferDataARB
@ buffer.c / 608
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs
fixme:faultrep:ReportFault 0x33d368 0x0 stub

I looked it up on google and it happens occasionally on some games. Anybody know any fixes?
Works with Wine 1.7.8
by Carlos Rodriguez on Tuesday December 17th 2013, 14:17
Tested on:

Wine 1.7.8 (compilado)
Nvidia Drivers 331.20 (.run package)
Linux Mint 15 KDE 32Bit - Kernel 3.8.0.26 PAE
CPU: INTEL Pentium G3220 (Nucleo Haswell a 22nm) 3.0Ghz (Dual-Core) Stock Clock
MEM: 8GB DDR3 1333 (2x4) Patriot value (128 bit dual channel: 21.3 gb/s)
GPU: Zotac Nvidia Geforce GT630 (GK208 28nm: 384 Shaders / 8 ROPS) Zone Edition Passive Cooling 2GB DDR3 1800Mhz a 64Bit (14.4Gb/s)
MAINBOARD: MSI H81M E33

www.youtube.com/watch?v=ntxDE4G7I6I
RE: Works with Wine 1.7.8
by Darth_Malloc on Friday June 12th 2015, 13:16
I am trying to run it on Linux Mint 17 without success. Any idea how to make it not crash before it starts?
RE: Works with Wine 1.7.8
by Carlos Rodriguez on Friday June 12th 2015, 13:49
In my case works but need lastest patch for your game region and nodvd for this update and works
RE: Works with Wine 1.7.8
by Darth_Malloc on Friday June 12th 2015, 14:15
Thank you Carlos. My current Wine version is 1.6.x, which may be the problem. Is there a way to upgrade my current version without having to uninstall it and then install a newer one?
Black screen
by cyborgsmurf on Wednesday September 7th 2011, 15:54
Installed and used a no-cd patch/crack (game.dat ver 1.1 (ver 1.4 didnt work for me)) and the installation worked 100%. Game starts but with a black screen. Mouse appears with the right mouse-theme for the game and I can hear sounds when I supposedly hover over buttons. I did this with latest wine (2011-09-07). Any suggestions?
RE: Black screen
by Vit Hrachovy on Sunday September 11th 2011, 13:52
Try using Virtual Desktop in winecfg if that helps.
RE: Black screen
by cyborgsmurf on Sunday September 11th 2011, 15:26
Tried it, but its still the same problem.
just won't get past the first screen
by Mark  Ackerman  on Wednesday February 16th 2011, 2:35
Help anyone,

I am trying to play BFME1 and 2 and both just won't get past the first screen. This must be a common error, I will answer any responses and I will do so diligently, Mark
SOLVED
by Mark  Ackerman  on Sunday March 6th 2011, 4:43
Solved, ask if you want the details. but using 1.1.39 and starting it in wine's windowed mode for the first run and then altering the games config file:"options.ini" it creates, to my 1360x768 res worked.
Patch problems
by Nick Cuthbertson on Thursday September 10th 2009, 12:49
When I build wine it works fine for a while but eventually it says "error: too many arguments to function 'get_cursor_handle16'".
I am currently unable to play any windows games, although I was able to before I installed 1.1.8. Please advise.
RE: Patch problems
by Vit Hrachovy on Monday September 14th 2009, 11:31
Hi,
I've tested Wine 1.1.29 with clean install of BFME II.
No need to compile wine.

Shuffled a bit with shaders/shadows in game gfx settings, game is playable with little gfx artifacts on my nVidia card.

I've got to say that I've used Wine virtual desktop (see winecfg/Graphics tab) to run the game.
Regards
Hark
RE: Patch problems
by Nick Cuthbertson on Thursday September 24th 2009, 14:08
Thanks. I've managed to get the game working but I cant register to play online. When I try it says "Contact established, launching registration" but then fails. Any advice would be much appreciated.
RE: Patch problems
by Matt Helsley on Saturday October 3rd 2009, 22:59
I've had no luck with modern wine versions and this game. It crashes while showing the initial splash screen a second time (splash screen disappears and reappears quickly).

Ubuntu Jaunty, Wine 1.1.30, bfme2 1.06 patch applied

output:
fixme:mountmgr:harddisk_ioctl unsupported ioctl 70020
fixme:debugstr:CheckRemoteDebuggerPresent (0xffffffff)->(0x33fbc8): Stub!
fixme:imm:ImmDisableTextFrameService Stub
fixme:win:EnumDisplayDevicesW ((null),0,0x33f108,0x00000000), stub!
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs
fixme:faultrep:ReportFault 0x33dcbc 0x0 stub

It's frustrating because sometime around wine 1.0 I had it working.
NoCD crack
by Krzysztof Drewniak on Saturday November 1st 2008, 13:55
I saw that you need a NoCD crack. Where do I get one?
Multiplayer
by Michel on Tuesday May 13th 2008, 4:12
hello all
I have little questions
is someone try the multiplayer mode(lan) ?because from me it doesen't work at all i've tryed to create and join party but i don't seeing any party and nobody can see me !!
RE: Multiplayer
by Florian on Wednesday December 17th 2008, 9:40
hi,
I experience quite the same. I entered the multiplayer(network) mode. My friend (using windows) opened it, too.
I was able to see him in the playerlist and as far as I remember I could even read what he wrote. Funny thing was, that my nickname appeared twice in the player list for me but on the windows machine everything looked normal. The windows player did not see me in the player list but he was able to read what I wrote but he did not see the games I created. When he opened a game I saw it in the list as well but I could not join it. The Error was a bfme2 typical "connection timeout".
After several minutes my friend was able to see me in the lobby as well. I opened a game and he saw it in the list but could not join it due to a "Version missmatch".

I have no clue what's going on there.
RE: Multiplayer
by Vit Hrachovy on Wednesday December 17th 2008, 16:45
Try using windows native dplay.dll. I did not test it for BFME, but it really helped me cure similar issues with Spellforce.
RE: Multiplayer
by Florian on Friday December 19th 2008, 9:57
Thanks for the reply. But the dplay.dll seems not to be the problem. I added it to wine and in winecfg is set it to native. Problem is still present.
I think I found the source of this problem now. When I looked up the game Settings it told me that my online IP is "127.12.34.56". I entered this IP to google and found this page: www.winehq.org/pipermail/wine-bugs/2008-September/135681.html
This discussion lead me to this site: wiki.winehq.org/FAQ#head-0344b4325219c69636aeffeaa3596d6855283afd

So my /etc/hosts seemed to be incorrect. Now I edited it but since my friend can't be here for a longer time now to test LAN I cannot test if it works. I decided to use the hamachi linux version to join a VPN and test it with others. I edited the /etc/hosts so that hostname -i returns my Hamachi IP. Now the BFME options menu returns it as well! But if I enter the network mode nothing is displayed and I guess the other users don't see me as well. Pinging the other hamachi ips works.
Cursor patch
by David E. Barry on Wednesday April 30th 2008, 8:11
What's the story? Is the patch going to be applied to the released version of wine? If the patch fixes the problem why isn't it getting applied?
Run BFME 2 without white characters
by Toni on Monday March 31st 2008, 5:32
Falling back to wine version 0.9.48 is not necessary at all. Go only back to wine version 0.9.56 and you don't have any trouble with the mouse cursor.

To avoid white characters in the game set the parameter "UseGLSL" in the wine registry to value "disabled". So the game runs not so fast as with parameter set to "enabled" but you can play the game.
RE: Run BFME 2 without white characters
by Remo on Friday May 2nd 2008, 10:40
I've installed bfme2 inclusive patch 1.06. Manipulating the registry has functioned well, but I don't see how to add the cursor update to wine 0.9.60, which is already installed...
I'm very new to Linux so excuse my silly question ;-)

Ubuntu 8.04
RE: Run BFME 2 without white characters
by Toni on Saturday May 3rd 2008, 4:08
hello,

as i wrote before the cursor problem does not exist until 0.9.57 so please use wine version 0.9.56. you find older versions from wine under wine.budgetdedicated.com/archive/index.html

regards
Toni
Back