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

the installer interface wors sometimes... but it closes after selecting installation language copying the patched game from a windows Drive

What does not

installing the game does not work following error: mcflow@errorkiste:/media/cdrom$ fixme:font:WineEngAddFontResourceEx Ignoring flags 30 wine: Unhandled exception 0xc06d007e at address 0x7b83f430 (thread 0010), starting debugger... Unhandled exception: 0xc06d007e in 32-bit code (0x7b83f4a0). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7b83f4a0 ESP:0034a7dc EBP:0034a840 EFLAGS:00200212( - 00 - -IA1) EAX:7b82bd59 EBX:7b8a6900 ECX:00000000 EDX:0034a8b4 ESI:0034a8b4 EDI:00000000 Stack dump: 0x0034a7dc: 0034a8b4 00000004 0034a7f8 c06d007e 0x0034a7ec: 00000000 00000000 7b83f430 00000001 0x0034a7fc: 0034a864 7b8a6900 10066e0c 00000000 0x0034a80c: 0034a82c 7b860569 7ffdcc00 00000000 0x0034a81c: 00000000 0017f4c0 0034a874 7b8a6900 0x0034a82c: 0034a84c 7b8605a0 10061c80 00000000 Backtrace: =>1 0x7b83f4a0 RaiseException+0x70() in kernel32 (0x0034a840) 2 0x10048188 in autorungui (+0x48188) (0x0034a8a8) 3 0x10047262 in autorungui (+0x47262) (0x0034a8f4) 4 0x1001a313 in autorungui (+0x1a313) (0x0034a93c) 5 0x1001a2f3 in autorungui (+0x1a2f3) (0x0034a94c) 6 0x1001a286 in autorungui (+0x1a286) (0x0034a98c) 7 0x1000f841 in autorungui (+0xf841) (0x0034b7b8) 8 0x10048ae8 in autorungui (+0x48ae8) (0x0034b7ec) 9 0x7edf415b WINPROC_wrapper+0x73b() in user32 (0x0034b82c) 10 0x7edf7df7 WINPROC_CallDlgProcA+0x57() in user32 (0x0034b86c) 11 0x7ed8ba89 DefDlgProcA+0x84() in user32 (0x0034b89c) 12 0x7edf3a3a WINPROC_wrapper+0x1a() in user32 (0x0034b8cc) 13 0x7edf5943 in user32 (+0xa5943) (0x0034b90c) 14 0x7edf7f5a CallWindowProcA+0x57() in user32 (0x0034b94c) 15 0x1004962f in autorungui (+0x4962f) (0x0034b96c) 16 0x1004a9af in autorungui (+0x4a9af) (0x0034ba1c) 17 0x10049879 in autorungui (+0x49879) (0x0034ba3c) 18 0x1004b05c in autorungui (+0x4b05c) (0x0034ba9c) 19 0x1004b0ec in autorungui (+0x4b0ec) (0x0034babc) 20 0x7edf3a3a WINPROC_wrapper+0x1a() in user32 (0x0034baec) 21 0x7edf5943 in user32 (+0xa5943) (0x0034bb2c) 22 0x7edf7f5a CallWindowProcA+0x57() in user32 (0x0034bb6c) 23 0x00439e0a in autorun (+0x39e0a) (0x0034bbe0) 24 0x7edf3a3a WINPROC_wrapper+0x1a() in user32 (0x0034bc10) 25 0x7edf5943 in user32 (+0xa5943) (0x0034bc50) 26 0x7edf860b in user32 (+0xa860b) (0x0034c300) 27 0x7edf9058 CallWindowProcW+0xb3() in user32 (0x0034c340) 28 0x7edc1ff6 in user32 (+0x71ff6) (0x0034c3b0) 29 0x7edc61ea SendMessageTimeoutW+0x191() in user32 (0x0034c410) 30 0x7edc6249 SendMessageW+0x50() in user32 (0x0034c450) 31 0x7ed91e22 in user32 (+0x41e22) (0x0034c5d0) 32 0x7ed92b10 CreateDialogIndirectParamAorW+0x3e() in user32 (0x0034c5f0) 33 0x7ed92c25 CreateDialogIndirectParamA+0x41() in user32 (0x0034c620) 34 0x10049189 in autorungui (+0x49189) (0x0034c690) 35 0x100492f7 in autorungui (+0x492f7) (0x0034c6d4) 36 0x1001314a in autorungui (+0x1314a) (0x0034d9a8) 37 0x100065b0 in autorungui (+0x65b0) (0x0034d9b8) 38 0x00405046 in autorun (+0x5046) (0x00457128) 39 0x00000001 (0x00446678) 40 0x004010a0 in autorun (+0x10a0) (0x00441e05) 41 0xf5b8c300 (0x44aa84b8) 42 0x00000000 (0x00000000) 0x7b83f4a0 RaiseException+0x70 in kernel32: subl $4,%esp Modules: Module Address Debug info Name (87 modules) PE 400000-4dc000 Export autorun PE 10000000-100fc000 Export autorungui ELF 7b800000-7b918000 Export kernel32 \-PE 7b820000-7b918000 \ kernel32 ELF 7bc00000-7bc81000 Deferred ntdll \-PE 7bc10000-7bc81000 \ ntdll ELF 7bf00000-7bf03000 Deferred ELF 7bfeb000-7c000000 Deferred midimap \-PE 7bff0000-7c000000 \ midimap ELF 7c381000-7c399000 Deferred msacm32 \-PE 7c390000-7c399000 \ msacm32 ELF 7c399000-7c3d5000 Deferred wineoss \-PE 7c3a0000-7c3d5000 \ wineoss ELF 7c3d5000-7c3e9000 Deferred msimg32 \-PE 7c3e0000-7c3e9000 \ msimg32 ELF 7c3e9000-7c476000 Deferred winmm \-PE 7c3f0000-7c476000 \ winmm ELF 7c476000-7c47a000 Deferred libgpg-error.so.0 ELF 7c47a000-7c4c6000 Deferred libgcrypt.so.11 ELF 7c4c6000-7c4d6000 Deferred libtasn1.so.2 ELF 7c4d6000-7c503000 Deferred libcrypt.so.1 ELF 7c511000-7c57a000 Deferred libgnutls.so.12 ELF 7c57a000-7c5a8000 Deferred libcups.so.2 ELF 7c5d5000-7c607000 Deferred uxtheme \-PE 7c5e0000-7c607000 \ uxtheme ELF 7c607000-7c60b000 Deferred libxfixes.so.3 ELF 7c60b000-7c614000 Deferred libxcursor.so.1 ELF 7c614000-7c630000 Deferred imm32 \-PE 7c620000-7c630000 \ imm32 ELF 7d9e3000-7d9eb000 Deferred librt.so.1 ELF 7d9ee000-7d9f1000 Deferred libxrandr.so.2 ELF 7d9f1000-7d9f9000 Deferred libxrender.so.1 ELF 7dab3000-7e3ae000 Deferred fglrx_dri.so ELF 7e3ae000-7e44e000 Deferred libgl.so.1 ELF 7e44e000-7e534000 Deferred libx11.so.6 ELF 7e534000-7e541000 Deferred libxext.so.6 ELF 7e541000-7e559000 Deferred libice.so.6 ELF 7e559000-7e5e5000 Deferred winex11 \-PE 7e570000-7e5e5000 \ winex11 ELF 7e5e5000-7e604000 Deferred libexpat.so.1 ELF 7e604000-7e632000 Deferred libfontconfig.so.1 ELF 7e632000-7e646000 Deferred libz.so.1 ELF 7e646000-7e6af000 Deferred libfreetype.so.6 ELF 7e6af000-7e6c3000 Deferred lz32 \-PE 7e6c0000-7e6c3000 \ lz32 ELF 7e6c3000-7e6dc000 Deferred version \-PE 7e6d0000-7e6dc000 \ version ELF 7e6dc000-7e771000 Deferred oleaut32 \-PE 7e6f0000-7e771000 \ oleaut32 ELF 7e771000-7e7a2000 Deferred winspool \-PE 7e780000-7e7a2000 \ winspool ELF 7e7a2000-7e864000 Deferred comctl32 \-PE 7e7b0000-7e864000 \ comctl32 ELF 7e864000-7e877000 Deferred libresolv.so.2 ELF 7e877000-7e896000 Deferred iphlpapi \-PE 7e880000-7e896000 \ iphlpapi ELF 7e896000-7e8e9000 Deferred rpcrt4 \-PE 7e8a0000-7e8e9000 \ rpcrt4 ELF 7e8e9000-7e97d000 Deferred ole32 \-PE 7e900000-7e97d000 \ ole32 ELF 7e97d000-7e9d4000 Deferred shlwapi \-PE 7e990000-7e9d4000 \ shlwapi ELF 7e9d4000-7eac2000 Deferred shell32 \-PE 7e9e0000-7eac2000 \ shell32 ELF 7eac2000-7eb61000 Deferred comdlg32 \-PE 7ead0000-7eb61000 \ comdlg32 ELF 7eb61000-7eba5000 Deferred advapi32 \-PE 7eb70000-7eba5000 \ advapi32 ELF 7eba5000-7ebaf000 Deferred libgcc_s.so.1 ELF 7ec84000-7ed38000 Deferred gdi32 \-PE 7eca0000-7ed38000 \ gdi32 ELF 7ed38000-7ee6c000 Export user32 \-PE 7ed50000-7ee6c000 \ user32 ELF 7ee88000-7ee92000 Deferred libnss_files.so.2 ELF 7ee92000-7eea7000 Deferred libnsl.so.1 ELF 7eea7000-7eeb0000 Deferred libnss_compat.so.2 ELF 7eeb1000-7eeb4000 Deferred libxinerama.so.1 ELF 7eeb6000-7eebe000 Deferred libsm.so.6 ELF 7efd0000-7eff2000 Deferred libm.so.6 ELF 7eff2000-7eff7000 Deferred libxxf86vm.so.1 ELF 7eff7000-7f000000 Deferred libnss_nis.so.2 ELF b7cd2000-b7cd5000 Deferred libdl.so.2 ELF b7cd5000-b7e04000 Deferred libc.so.6 ELF b7e04000-b7e16000 Deferred libpthread.so.0 ELF b7e18000-b7e1b000 Deferred libxau.so.6 ELF b7e25000-b7f36000 Deferred libwine.so.1 ELF b7f39000-b7f4f000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 0000000f (D) C:\windows\temp\AutoRun.exe 00000010 0 <== 0000000a 0000000c 0 0000000b 0

 

i dont know what this error means

Workarounds

What was not tested

running the game without patches and/or older wine version

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

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 
ShowUbuntu 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