WineHQ

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

Battle to Control Middle Earth

Application Details:

Version: 1.03
License: Retail
URL: http://www.eagames.com/officia...
Votes: 0
Latest Rating: Garbage
Latest Wine Version Tested: 8.18-staging

Maintainers: About Maintainership

Link Game Patches

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 Patch

What does not

Launching the game (Freeze at Splahscreen)

Workarounds

What was not tested

Play

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Tried : Disabling PulseAudio, installing DirectX9 native, CPU affinity on a single core, virtualscreen On and Off, Versions of Wine from 1.1.9, 1.1.39 to the most recent. The old wine version won't even get to the splashscreen : "wine: Module not found mmap() failed: Cannot allocate memory fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer wine: Unhandled page fault on write access to 0x871c5884 at address 0x6672282e (thread 001e), starting debugger... Can't attach process 001d: error 5"

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowopenSUSE Tumbleweed (rolling release)Oct 18 20238.18-stagingNo, but has workaround No YesGarbage???? ?????? 
ShowLinux Mint 19.3 "Tricia"Jun 13 20204.0.4Yes Yes YesGoldSteeL1942 
ShowElementary OS 5.0 JunoMar 23 20205.0Yes Yes NoSilverCristian Antonioli 
ShowLinux Mint 19.1 "Tessa"Dec 23 20194.0.3Yes Yes YesGoldUnifying Theory 
ShowArch Linux x86_64Nov 03 20194.18Yes Yes YesSilverJan Havran 

Known Bugs

Bug # Description Status Resolution Other apps affected
53599 The Lord of the Rings: The Battle for Middle-earth crashes a few minutes after loading a game UNCONFIRMED View

Show all bugs

HowTo / Notes

HOWTO

Ensure You've applied the latest patch (65539 - version 1.03) from PC Gaming Wiki right after installation and before trying to run the game! Patch 1.05 is recommended as it includes No CD patch.

To fix game crash right after start, create Options.ini file:

WINEPREFIX="~/.wine"
mkdir -p "~/${WINEPREFIX}/drive_c/users/${USER}/AppData/Roaming/My Battle for Middle Earth Files/"
cat >"~/${WINEPREFIX}/drive_c/users/${USER}/AppData/Roaming/My Battle for Middle Earth Files/Options.ini" AudioLOD = Low
HasSeenLogoMovies = yes
IdealStaticGameLOD = VeryLow
Resolution = 800 600
StaticGameLOD = VeryLow
TimesInGame = 1
EOF



------
Older Wine versions:

For Wine versions from 0.9.57 to 1.1.11 the mouse cursor is absolutely missing. This is known bug 5828. There is a way how to fix this bug via compiling your own Wine with set of patches, see below:

Uninstall Wine if you have some installed in the system.

Download Wine 1.1.1 sources or source package: wget http://prdownloads.sourceforge...
Unpack the Wine archive through the file manager or: tar -xvjf wine-1.1.1.tar.bz2
Enter the Wine directory with: cd wine-1.1.1
Download the cursor patch: wget http://bugs.winehq.org/attachm... -O patch
Apply the cursor patch: patch -p1 < patch
Update wineserver: ./tools/make_requests
Update the configure script: autoconf
Configure Wine: ./configure
Build Wine: make depend && make
Install with 'make install' (as root)

If for some reason installation of game don't work, try installing DCOM98 first.

Comments

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

Some additions
by ????? ?????????? on Friday November 13th 2020, 14:46
1. I can't install using PlayOnLinux wizard(had a AutorunGUI error). Installed using 'Execute .exe on this virtual drive' button.
2. I used options.ini settings by Garbaz, but I still had a black screen and Access Violation error after game start.
Fixed this by running the game using a 2.2 Wine (5.15, 4.8, 4.5 gave me a black screen).
Please insert CD-Rom...
by Steve on Wednesday February 1st 2017, 7:35
Using a Mac OS Sierra and the latest wine version. I have the original PC CD Rom and used that to install the game through Wine. All went fine, I get to the main screen and click on 'Play' but then it says 'Please insert the correct CD-Rom, press ok and restart', even though I have the actual CD in my CD drive.

I also tried mounting a CD Image through Daemon Tools, but got a similar message.

Is there anybody who could possibly help please?

Thanks
RE: Please insert CD-Rom...
by Jeremy Coleman on Saturday November 18th 2017, 23:46
Follow the instructions below in the post "How to Install". The problem is the copy protection mechanism. You will need to ensure you have upgraded to version 1.03 and apply the NO-CD patch to GAME.DAT.
How to install
by Garbaz on Saturday July 23rd 2016, 14:45
INSTALL:

1) Install as usual (Run AutoRun.exe on CD / mounted ISO)

2) Install OFFICIAL 1.03 Patch ("LotrBfMe-65539-[LANGUAGE].exe" from ftp.ea.com/pub/eapacific/lotr/lotrbfme/)

3) Install UNOFFICIAL no-CD crack, since the DRM system is unable to read the CD ("LotR BfME 1.03 NoDVD.exe" from www.gamecopyworld.eu/games/pc_lotr_battle_for_middle-earth.shtml)

4) Paste the OPTIONS.INI part of this comment into "/home/[USERNAME]/.wine/drive_c/users/[USERNAME]/AppData/Roaming/My Battle for Middle-earth Files/options.ini"
You might have to change the resolution, depending on your PC.
(Source: www.gamecopyworld.eu/games/pc_lotr_battle_for_middle-earth.shtml)

ERRORS:

- If you get some CD related error, make sure you applied the right no-CD crack to the right "game.dat" file.

- If you get some access error (Big error window with lots of hexadecimal numbers), make sure you created the options.ini file in the right place. It might be the case that the path is different for your installation of wine or version of the game.

OPTIONS.INI:
AllHealthBars = yes
AlternateMouseSetup = no
AmbientVolume = 50
AudioLOD = High
Brightness = 50
FixedStaticGameLOD = UltraHigh
FlashTutorial = 0
HasSeenLogoMovies = yes
HeatEffects = yes
IdealStaticGameLOD = Low
IsThreadedLoad = yes
MovieVolume = 70
MusicVolume = 70
Resolution = 1920 1080
SFXVolume = 70
ScrollFactor = 50
StaticGameLOD = UltraHigh
TimesInGame = 55
UnitDecals = yes
UseEAX3 = no
VoiceVolume = 70
RE: How to install
by Garbaz on Saturday July 23rd 2016, 14:57
ADDITION:

If the folder "/home/[USERNAME]/.wine/drive_c/users/[USERNAME]/AppData/Roaming/" doesn't exist, you might have to put the option.ini into "/home/[USERNAME]/.wine/drive_c/users/[USERNAME]/Application Data/My Battle for Middle-earth Files/".
RE: How to install
by Garbaz on Saturday July 23rd 2016, 15:12
ADDITION:

The game might not work with this Resolution value in the options.ini! Change it to "1024 768".
RE: How to install
by Garbaz on Saturday July 23rd 2016, 15:16
If this still doesn't work, you can try "1600 1200".
This problem usually manifests itself in the game not displaying correctly when run or crashing upon reaching the menu.
Game crashes at splash image
by Darth_Malloc on Sunday May 17th 2015, 11:00
I am trying to run BFMEII on a Linux Mint 17 machine, and whenever I run the program, the splash image flashes on the screen twice, and then nothing.

Could someone please give me a rundown of which Wine apps and dlls are necessary to run the game?
Works with Wine 1.7.8
by Carlos Rodriguez on Tuesday December 17th 2013, 14:18
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=LC2tCYBgvZg
RE: Works with Wine 1.7.8
by Bill on Saturday April 26th 2014, 21:47
Carlos, is there any way you can post the exact install instructions in english? Much appreciated.
RE: Works with Wine 1.7.8
by Pedro Jose Piquero Plaza on Tuesday February 3rd 2015, 18:43
You can install it without any problem if you use the task manager. To do it write the next command: "wine taskmgr".

Then select New task and choose the file Autorun.exe

It's a strange way but works for me !
Works great!
by winmarker on Wednesday July 31st 2013, 7:14
First it started to play slowly but when i changed display setting it worked great and played without problem =)
Installation problem solved
by x_dexter_x on Saturday June 8th 2013, 10:16
hi all,
I was not able to install this game until tried this from PlayOnLinux:
- Create a virtual drive trying installing the game (of course, it will crash :) );
- Click on "Configure" button of the panel;
- Select the virtual drive created before;
- From "wine" tab click on "Task manager";
- From the task manager click on "New task" and browse to "setup.exe".

Only following this strange way I can be able to install the game.
JFI I'm using Mint 14 64bit with wine engine v.1.4.1 from standard repo.

Dexter
Network (Lan) is working!!
by Alex on Monday January 9th 2012, 16:32
to get it working install this wine: www.compholio.com/wine-kane/
it was for the game C&C 3 Kane's wath, but it works for Bfme as well. (:
RE: Network (Lan) is working!!
by Alex on Thursday January 19th 2012, 0:52
sorry but i was wrong... this fails to work on two computers, but on one computer with two wine windows opens it will..
RE: Network (Lan) is working!!
by cRaZy-bisCuiT on Thursday January 14th 2016, 19:52
It is working if you change your /etc/hosts from 127.0.0.1 to your current local lan address. Please don't forget to backup your host file and change it back right after your LAN session to avoid unwanted behavior.

HowTo: wiki.winehq.org/FAQ#head-f000601e2d4ad173587b19c8d2f097d6dfba8cbe
RE: Network (Lan) is working!!
by Psuedoswede91 on Sunday January 17th 2016, 8:17
On a Mac OS X (10.9.2). Tried changing the hostname as described, but no luck :(. Also, when I try running multiplayer, it gives a warning popup saying "This computer has the Windows XP SP2 firewall enabled. An entry must be added to the firewall exemption list to play The Battle for Middle-earth. Do you want the game to automatically add this entry?" Then I can click allow or cancel. This popup appears whether I've changed the hostname or not.

Then, when I click network, the screen shows two players with my name, not one. When I try and join a game, it says the connection timed out. If I host, it does the countdown to start the game, but only on my computer. Then, it never launches the game and says that the launch was cancelled because one of the players has quit...

Thoughts? Suggestions?
just won't get past the first screen
by Mark  Ackerman  on Wednesday February 16th 2011, 2:38
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
RE: just won't get past the first screen
by Mark  Ackerman  on Wednesday February 16th 2011, 5:29
I just reinstalled the game w PlayOnLinux using wine-1.1.39 as suggested, and updated the game to patch 1.03, noDVD patch, and it opens nicely to the first page, the thinks for a while and then an error opens up: ...
"Please ensure you have DirectX 9.0 or higher installed..." so I installed it from the games directory (I think it was already installed) but no difference. Anyone??
Thanks, Mark
RE: just won't get past the first screen
by Mark  Ackerman  on Wednesday February 23rd 2011, 22:38
SOLVED,

for the record it seems to be solved by 2 things:

1/ using checking off 'emulate a virtual desktop' in winecfg's graphics settings tab for the first run of the game. After the first run (and establishment of the games '.ini' config file) it runs in full screen mode - not in the windowed ... yeah.

2/ runs only in wine 1.1.39

I hope this helps someone, and a special thanks to the Wine App team for helping me with this.
BFME I Working Perfectly!
by PB on Monday November 22nd 2010, 10:21
Hey! BFME works great on Wine version 1.1.19! I used PlayOnLinux to configure it.

For those who have trouble with the CD-ROM reading, use an external CD-ROM drive. When it asks for the next disk, unplug the drive, insert the next disk, plug it back in, and mount the CD.

Cursor does show up in this version. Sound works as well.

My experience with BFME II so far is different. In BFME II, all the characters look like they are have Theoden's glorious charge! :) I will continue to play with it until it works.
RE: BFME I Working Perfectly!
by PB on Monday November 22nd 2010, 10:23
Sorry...
I just realized I wrote the wrong version. The version I used was 1.1.39.

by mpoloureiro on Thursday September 2nd 2010, 18:51
Hey! I've the same problem.

Any help?!!
lack of DirectX 9 support?
by carga on Sunday August 1st 2010, 12:24
Hello, All!

I just upgraded to wine 1.2 and I wanted some fun with this old game. I installed it without any problems. Sound works in AutoRun etc.

But when I try wine lotrbfme.exe it claims about DirectX error: "Please, make sure you have DirectX 9.0 or higher installed. Also verify that your video card meets the minimum requirements, and that you do not have hardware acceleration disabled in the Display control panel."

After this message box the game exits.

My environment is Ubuntu 10.04 64bit, ATI Radeon 5750 with latest drivers.

I think the key is in the following lines on console:
-----------------------------------------------------
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.

err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
Direct3D9 is not available without OpenGL.
fixme:winmm:MMDRV_Exit Closing while ll-driver open
err:mmtime:TIME_MMTimeStop Timer still active?!
-----------------------------------------------------

I think my main problem is some OpenGL or wine misconfiguration. Is there any way to make sure that wine is installed correctly and that it succesfully emulates DirectX? How to tell wine where to get correct OpenGL libs?

The other problem is with cursor: should I do something with it? Have I apply any patches or something?

Thank you in advance,
Carga.
crack
by burak on Monday June 14th 2010, 8:06
i installed the game succesfuly. but i've got mdf file to crack this game. i mount it by acetoneiso but the game didnt start. how can i play it?
Installation cannot be completed
by Sherlock on Sunday September 27th 2009, 19:42
I am completely new at using wine and relatively new at linux so please forgive my lack of experience and/or knowledge. I recently tried to install Battle for Middle Earth using wine 1.1.27 and the setup ran just fine and it began copying files to the hard disk. However, when it came time to change to the next CD, the setup program did not recognize the 2nd CD. I was able to get around that by putting the CD into a second CDROM drive and the install continued. But shortly there after stopped with an error message that said,

"A problem occurred when trying to transfer the file 'Worldbuilder.exe' from the media. Do you want to retry to copy the file, or cancel the installation?"

Even after clicking the retry button many times still nothing happens and the installation is at a stand still. I tried to find a comment or bug report on this issue but to no avail. I would greatly appreciate an help in this regard. I am using Mandriva 2009.1 and the wine I installed was the version that I found in the install & remove software section of the Mandriva Linux Control Center.
RE: Installation cannot be completed
by Vit Hrachovy on Monday September 28th 2009, 3:10
Hi Sherlock,
first, I have to state I've got experience only with BFME DVD editions which work without problems.

1. Were you able to eject the CD #1 and insert the CD#2 in the same drive?
2. If you were able to physically change the media in the same drive and setup program did not recognize the CD, then it's a bug to be filed against Wine.
3. Please note that Wine itself does not mount CD media if they're present in CD drive. Mounting the media so their contents is visible is to be done at operating system /desktop level.

Possible workarounds:
a) Try unmounting/ejecting and inserting/mounting the second CD from your desktop environment.

b) Use .iso images instead of real CD media. I've used this for Wizardry 8 and it works.

You can create an iso in command line via following command, where /dev/cdrom is path to your CD device:
dd if=/dev/cdrom of=~/Desktop/bfme-01.iso
You can mount the .iso images to system via command:
sudo mount -o loop -t iso9660 ~/Desktop/bfme-01.iso /media/cdrom
(Mounting is similar to insert media.)

c) Try running wineboot after changing CDs (not really sure if this will help).
Regards
Hark
RE: Installation cannot be completed
by Sherlock on Sunday October 4th 2009, 19:08
Hello Vit Hrachovy,

Thank you for your suggestions. I was able to physically change the cds so per your suggestion, I will be filing a bug report on this issue. I also tried your first suggestion as to a workarround and was unable to eject the first cd from my desktop environment and when I tried, I got this error message:

org.freedesktop.Hal.Device.Volume.Busy: /media/LORDBFME1: device is busy

I had some problems trying your second workaround suggestion, however, these are most likely do to user errors, so I will consult someone knowldgeable about this and post the results. Once I have done this I will move on to your third suggestion. Thanks again to all of you for your help.

Sherlock

P.S. Would copying the contents of all of the CDs to one DVD work as a workaround.
RE: Installation cannot be completed
by Vit Hrachovy on Monday October 5th 2009, 2:57
Hi,
IMO you can prevent device busy errors by starting the installation from different folder than CD itself.
Example:

CD is mounted at /media/cdrom
installer is at /media/cdrom/autorun.exe

run:
cd /var/tmp
wine /media/cdrom/autorun.exe

This should not block the device and should provide you a way to eject a CD.

Copying IMO won't work due to copy protection measures and the way how installers are programmed. But feel free to experiment.
Regards
Hark
RE: Installation cannot be completed
by Ed on Friday October 9th 2009, 15:29
Hi Hark,
Thanks for providing this info it really help me get started on this. For some reason CD#1 would not run the installation after it was mounted. After some more trial and error I decided to put CD#1 in my drive and then I had to created ISO's of the other 3 disks because even with mounting the ISO it would not unmount from the location until the install was over. So I basically chose a location in /media and gave each ISO a separate folder name bfme2, 3 and 4, mounted each of the ISO's. Went into WINE configuration and added a 3 CDROM's and pointing to each of the locations for the ISO's and it installed like a champ.

Thanks again for getting me pointed in the right direction.
Ed
RE: Installation cannot be completed
by Łukasz on Monday September 28th 2009, 4:54
Also check out if your second CD is healthy enough. Try to copy all files to any folder.
RE: Installation cannot be completed
by Sherlock on Wednesday October 7th 2009, 16:02
Hello Lukasz,

Thanks for your suggestion. I have successfully copied all of the CDs to a folder, so the CDs do not appear to be at fault. Thanks again.
fix for campaigns
by Unifying Theory on Tuesday December 16th 2008, 1:52
For anyone using an intel 915GM graphics card:
I had to turn off direct3D vertex shader support in winecfg to get the campaigns to load without crashing.
World Builder
by Krzysztof Drewniak on Saturday November 8th 2008, 12:13
Does the Worldbuilder work. For me it's "seemingly" hanging (unless it just takes forever to load)
RE: World Builder
by Unifying Theory on Tuesday December 2nd 2008, 11:13
For me it crashes on start-up after several minutes.
RE: Debugger on running AutoRun.exe
by Krzysztof Drewniak on Sunday October 19th 2008, 9:01
fixed. I had a rouge AutoRun.exe running
Unload debbuger
by Athrun on Sunday July 20th 2008, 5:37
I have an original set of Battle for Middle Earth DVDs, I have installed it several times, even on a brand new .wine directory, followed HowTo, tried a lot of things, but in the end I only get this msg "please unload debugger and try again".

What I'm doing wrong? Is it common?

thanks
RE: Unload debbuger
by Vit Hrachovy on Sunday July 20th 2008, 13:52
My edition works well, I don't see any problems with vanilla game with applied official patches.

Seems you've got some edition with worse copy protection.
Try seeking some nocd crack.
RE: Unload debbuger
by Athrun on Tuesday July 22nd 2008, 5:33
Tried several nocd cracks but didn't worked....

but I found this looking thru logs
err:winedevice:ServiceMain driver L"Aspi32" failed to load
so most likely wine on my system cannot bypass protection because it cannot load that driver
RE: Unload debbuger
by Łukasz on Tuesday July 22nd 2008, 18:03
Yes, it might be. I don't get such an error. I can send you my file lotrbfme.exe, but I don't think it is a problem. Do you compile or use wine from repo? If you compile than we need more info - about what returns ./configure command at the end. Maybe there are some missinf libaries?
RE: Unload debbuger
by Athrun on Wednesday July 23rd 2008, 11:02
Well I compile it myself because, I have tendency to upgrade my distros only when I need, and not when latest have released. So after reading your post I downloaded the latest package available from winehq (wine-1.0 because I still use Ubuntu 7.10), and well, it didn't recognized the DVD but after using a NoDVD patch, it started fine.

So definitely, there is something wrong with my own builds, but other games and apps run fine.

After a ./configu
RE: Unload debbuger
by Athrun on Wednesday July 23rd 2008, 11:09
After a ./configure it says:
configure: Finished. Do 'make depend && make' to compile Wine.

But I found a difference between my builds and the ones from winehq, mines drops an "wine: Unhandled page fault on read access to 0x00000002 at address 0xb7d46cbc (thread 0014), starting debugger..." by default, most games or apps dont seem affected by this, but this one might be.

Guessing if it's about I use CFLAGS, CXXFLAGS and LDFLAGS to build them...
RE: Unload debbuger
by Łukasz on Wednesday July 23rd 2008, 14:07
I advice you to upgrade distro at first (apt-get update-distro as I remember...) - 'cause could be a problem witch old packages and new (1.1.1) wine.

Also to run this game you need to apply a cursorpatch (see howto) so wine from repo is useless.

yes, after ./configure, but right above line you gave. Is there something like
"configure: xxx development files not found, yyy won't be supported." For example:

configure: libcapi20 development files not found, ISDN won't be supported.
configure: libcups development files not found, CUPS won't be supported.
RE: Unload debbuger
by Athrun on Wednesday July 23rd 2008, 15:35
Hmm, not really, it seems that the used CFLAGS, CXXFLAGS and/or LDFLAGS breaks something.

I just had built wine-1.1.1 with and without muy usual optimization flags (without cursorpatch because it gave a compilation error after patching), the one compiled without optimization run this game ok, but the compiled with optimization flags gave my previous and usual error. But in both cases no missing developing files.

Strange as these are considered safe flags and other games work fine, so it must break only a non frequently used wine part...

I will investigate further
RE: Unload debbuger
by Łukasz on Thursday July 24th 2008, 14:02
I can tell you that I didn't changed anything in flags, and cursorpatch don't give me any error...

So, I wish you luck!
RE: Unload debbuger
by Athrun on Sunday July 27th 2008, 13:03
OK, I have found what was "wrong", it was a kinda silent error.

I was using the following flags to build wine:
CFLAGS="-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
after a lot of testing I found that -fomit-frame-pointer seems to break silently something into wine protection schemes, that render wine builds compiled in that way unable to run apps with cd-checks or any other type of protection.

And googling a little proved it to me

www.nabble.com/-Bug-39604--wine%2C-ASSIGNED%3A-wine-should-be-compiled-without--fomit-frame-pointer-as-games-protection-doesn-%27t-like-it-p17031223.html

So I have compiled it with CFLAGS="-march=k8 -msse3 -O2 -pipe" and ... success
RE: Unload debbuger
by Frederik Hertzum on Wednesday August 20th 2008, 8:27
You may want to check that your wine version is set to Windows 2000 or Windows XP. I got the same result on wine 1.1.2 set to Windows 98
cursor- add this to howto
by Łukasz on Monday June 16th 2008, 16:05
help from appdb.winehq.org/objectManager.php?sClass=version&iId=7440 (Command & Conquer 3: Tiberium Wars)

How to compile the custom Wine version witch cursor patch.

Download Wine 1.0-rc5, the cursor patch - xtruder.homelinux.net/~ambro/cursor-patches-1.0-rc3.patch

Unpack the Wine archive through the file manager or with 'tar -xvjf wine-1.0-rc5.tar.bz2'

Enter the Wine directory with 'cd wine-1.0-rc5'

Apply the cursor patch with 'patch -p1 < ../cursor-patches-1.0-rc3.patch'

Update wineserver with './tools/make_requests'

Update the configure script with 'autoconf'

Configure Wine with './configure'

Build Wine with 'make depend && make'

Install with 'make install'

Delete the Wine source with 'cd .. && rm -r wine-1.0-rc5'

Now you can run the game by substituting the 'wine' command
Could not connect.
by Ben on Saturday March 15th 2008, 7:21
For God's sake this game just hates me.

After finally getting it to work I try to login and then it gives the error 'Could not connect to Battle for Middle-earth'

WHY DO YOU HATE ME GAME!? :D
RE: Could not connect.
by Vit Hrachovy on Saturday March 15th 2008, 14:31
Sorry I've never tested Internet playability.
This can be a bug in Wine.
If You run wine from terminal, try to copy the relevant debug output and create a bug in Bugzilla if You want to get this solved. Try to describe steps to reproduce the error. And search for similar bugs in bugzilla before submitting Your bug.
Freeze at login screen.
by Ben on Friday March 14th 2008, 15:06
Ok, so I've installed the game and the patch, and it all worked fine until I try to go online. When I'm at the login screen I try to type in my name, but after 5 seconds or so the game suddenly freezes and I can't do anything anymore. I've tried several times, but the same result.
So I tried uninstalling the game, but then I get an error "There is no application associated with the given filename extension. This error will also be returned if you attempt to print a file that is not printable."

Wtf?
RE: Freeze at login screen.
by Ben on Friday March 14th 2008, 17:20
I was able to reinstall the game and the patch, but the same thing happened, just so you know. :(
no mouse cursor
by Ernst on Friday March 14th 2008, 8:51
Ey,
I have the same problem as noted in the description. I can not see the mouse cursor, this ruins the game completely. Is there something I can do about it. Are there already patches in a development that i can try?
RE: no mouse cursor
by Vit Hrachovy on Friday March 14th 2008, 9:06
Sure, see the section known bugs - 5828.

It's also a bug nominated to be fixed until Wine 1.0, You can vote for it if You have Bugzilla account.
I can't install the game!
by Ben on Sunday March 9th 2008, 7:25
Hi guys,

Well I'm really frustrated because I can't seem to even install the game. Whenever I open the setup.exe with wine nothing happens, only the wine emulated desktop pops up which is just a green screen and then closes after 5 seconds. With any other .exe file on the disc it is the same.

Please help
RE: I can't install the game!
by Vit Hrachovy on Sunday March 9th 2008, 8:15
Sorry I cannot reproduce Your problem.
Do You open the setup.exe from the directory where it resides?

for example (in terminal):

mount /media/cdrom
cd /media/cdrom
wine setup.exe
RE: I can't install the game!
by Ben on Friday March 14th 2008, 14:01
YES! It worked, thank you so much dude! I'm a giant Linux noob, so I didn't know that. Thanks man!
Install patch help?
by Mike on Friday March 7th 2008, 17:46
I'm trying to install the update on a OpenSUSE 10.3 system, and have run into a problem trying to apply the update.

There wasn't much info about what files to download, but I downloaded a file named "LotrBfMe-65539-english.exe". When I run it, first it complains that there is a "Missing or Invalid Registry/INI entry". Then it opens a dialog box with a title that has some instructions, but I am unable to read the entire statement because it is too long; it starts with "Find HKLM.Software\Electronic Arts\EA Games\The Battle for M...".

I tried selecting various files but none seem to be the right one, because it says "Old file does not exist" and then quits.

Any ideas?
RE: Install patch help?
by Vit Hrachovy on Sunday March 9th 2008, 5:00
Hi Mike,
first - which version of Wine do You use?

Second - are You sure You're using the same WINEPREFIX - i.e. you could have installed LOTR:BFME into for example ~/.wine-lotr and You could be now running the patch against ~/.wine.

If You don't know what WINEPREFIX is, it's possible You are only using ~/.wine. Did You install the game into ~/.wine or did You only copy the installed game from Windows into ~/.wine?

The patch says it's missing the registry key which should be set by LOTR: BFME installer.
Debug Error
by Henry on Friday February 22nd 2008, 6:15
I dont know if anyone still reads here and will see this, but oh well.

I'm running gutsy gibbon with wine 0.9.46, I installed the game easily, and it ran fine, then i shut down my computer and started it back up again, now I get a debug error when I try to load it.
It plays the starting movies and crashes just before the menu appears, but i tried again a few more times, and once it got to the menus and crashed as i tried to start a single player campaign.

I have deleted the movie as instructed, but it is still crashing. Here is the output in terminal:

fixme:heap:HeapSetInformation 0x20a0000 0 0x34fe5c 4
fixme:win:EnumDisplayDevicesW ((null),0,0x34f2f4,0x00000000), stub!
fixme:font:WineEngAddFontResourceEx Ignoring flags 30
fixme:font:WineEngAddFontResourceEx Ignoring flags 30
fixme:win:EnumDisplayDevicesW ((null),0,0x34dba8,0x00000000), stub!
fixme:d3d:IWineD3DDeviceImpl_CreateAdditionalSwapChain The app requests more than one back buffer, this can't be supported properly. Please configure the application to use double buffering(=1 back buffer) if possible
fixme:d3d:IWineD3DDeviceImpl_SetSoftwareVertexProcessing (0x4a90020) : stub
fixme:imm:ImmGetDefaultIMEWnd (0x20028 - (nil) 0x11e810 ): semi-stub
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=32832, mixpos=132792/136704 (132792/136704), primary_mixpos=13220, writepos=45924, mixlen=20448
fixme:d3d:tex_bumpenvlscale WINED3DTSS_BUMPENVLSCALE not supported yet
err:ole:CoGetClassObject class {304ce942-6e39-40d8-943a-b913c40c9cd4} not registered
err:ole:CoGetClassObject no class object {304ce942-6e39-40d8-943a-b913c40c9cd4} could be created for context 0x1
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs
fixme:winmm:MMDRV_Exit Closing while ll-driver open


Any help?
RE: Debug Error
by Vit Hrachovy on Friday February 22nd 2008, 9:36
Try using Virtual Screen set up in winecfg.
DirectX error
by John Fante on Thursday January 3rd 2008, 12:37
I have followed the above install instructions to the letter but I get an "DirectX Error" when I try to run that tells me that I have to have DirectX9.0 or higher to be able to run.

The error comes after the loading graphics in the middle of the screen when the actual game tries to run.

I am running 0.52 on openSUSE 10.3, Geforce7800GS with the newest Nvidia drivers.

Any suggestions how to get by that?
RE: DirectX error
by Vit Hrachovy on Thursday January 3rd 2008, 13:58
Hello,
I cannot reproduce Your error on clean install into a fresh wineprefix (and applying the patch).

However, please try to run the game in Wine Virtual Desktop using:
wine explorer /desktop=wine,1024x768 lotrbfme.exe

It may behave better. Please let me know whether it helps.
Regards
Vit
RE: DirectX error
by John Fante on Thursday January 3rd 2008, 23:37
That didn't help. :-(

Same error but this time inside the window.

The way I installed was:

- Load ISO in AcetoneISO
- Installed with wine setup.exe
- Close the white window when it came up
- Patched with wine LotrBfMe-65539-english.exe
- Made a short text file called example.reg with the ekstra Registry settings.
- Loaded example.reg in wine regedit and checked that it had applied the settings
- Removed the file SmallRing.vp6 from data/movies
- Applied the no-cd patch (had a patched game.dat from an windows install)

When I tried to run it the first time it takes a lot of time (as in windows) but it starts up with the graphics but crashes with the DirectX error.

Is that the right way?

I am not a great wine shark. How do you make a "clean install into a fresh wineprefix"?

Thanks in advance.
RE: DirectX error
by Vit Hrachovy on Friday January 4th 2008, 0:32
Try removing or renaming ~/.wine directory (wineprefix) and create a new one using 'wineprefixcreate'.

Then make an installation into the freshly created wineprefix.

As of 0.9.52 no movie removing is neccessary, but the Your setup steps are exactly what I do.

It's shame I cannot reproduce Your error, I've got similar HW configuration. What are Your latest nVidida drivers version number? I'm using 1.0.9639.

Wineprefixcreate shall be used on every wine upgrade to upgrade Your existing wineprefix(es) (~/.wine or other directory, shall You use more prefixes, for example one dedicated prefix per each installed game). A prefix acts as an isolated Windows installation. Try googling more info about WINEPREFIX, it's useful.
RE: DirectX error
by John Fante on Friday January 4th 2008, 10:20
Well I uninstalled the games.

Deleted .wine

Created a new with wineprefixcreate

Installed the game as before (didn't remove the movie this time).

But I still get the same error. :-(

I am using Nvidia drivers version 169.07 from 20th of december:

www.nvidia.com/object/linux_display_amd64_169.07.html

Maybe the error lies there.
RE: DirectX error
by John Fante on Friday January 4th 2008, 10:46
Well I think it is an Nvidia driver error.

I have just installed Battle for Middle Earth II and it gives me the same error.

I will consider downgrading my drivers if anybody else can duplicate the error with the latest Nvidia drivers.
RE: DirectX error
by Vit Hrachovy on Friday January 4th 2008, 10:52
BFME and BFME II share almost the same engine, so I won't pay much attention whether they both display the same error. I'd be disturbed if any other 3D application (Oblivion, for example) would not work too.

I can't reproduce Your problem, so I can't help You more, sorry. But it works for me from clean install, so it may be a light of hope for You that it can be done with some drivers on some HW :)
RE: DirectX error
by John Fante on Saturday January 5th 2008, 2:09
Thanks for all the help anyway.

I will fiddle around and hopefully get it to work - some time :-)
RE: DirectX error
by John Fante on Monday January 7th 2008, 2:54
Just wanted to let you know that the game works now.

Shortly after I wrote my post my system went down (fatal error after I rearranged my NTFS partitions) and I had to do a reinstall.

After the reinstall I installed the game again and now it works :-)Runs really great I might add.

Just a quick - and final - qustion: When there is a new release of wine i just write: wineprefixcreate to update the .wine drawer?

Onse againg thank you for all your help.
RE: DirectX error
by Vit Hrachovy on Monday January 7th 2008, 3:35
Congratulations :)
As for Your question - yes, You should run wineprefixcreate on every Wine upgrade to ensure the ~/.wine folder is updated too.
apologies
by Daniel on Thursday December 13th 2007, 7:30
Despite me trying every variation I can think of of the registry keys supplied on this page, I cannot get rid of the green border. This started pretty much spontaneously, after originally working fine. I have tried with and without the registry keys to no effect.
registry stuff in 0.9.50
by Daniel on Thursday December 13th 2007, 6:16
It appears that if you have any references to GLSL or OffScreenRenderMode or whatever it is in the wine registry, that you will get the green edges in campaign maps and skirmises. Also in the main menu. The game appears to work properly apart from the mouse issue (could someone please fix it?) without any registry tweaks from 0.9.49 onwards.
Entry into skirmishes within campaign game hangs
by Jason on Thursday July 26th 2007, 21:21
I can play through skirmishes fine-- however, when I load a campaign game: the living world map opens and I am able to select an area to launch a skirmish; the screen goes blank, I can see hard-drive activity, and then the thats as far as --- the game hangs. The terminal output doesn't indicate a wine crash.


I'm using wine 0.9.41 on kubuntu 6.10. Also, the game is patched to 1.03, and am using a 1.03 no-cd patch.

Anyone able to play campaign skirmishes okay?

--Jason
RE: Entry into skirmishes within campaign game hangs
by Jonathon Day on Sunday September 16th 2007, 1:23
Yes.

I found that keeping SmallRing.vp6 in place under 0.9.45 with the libwine 0.9.45 installed (am unsure as to if this might affect the game) allows for the campaign skirmishes.

From what I have seen, this file controls the pre-skirmish preview sequences/loading indication and the "click-to-continue" bit for the main map.

I am using version 1.00 with the anthology DVD. I plan to upgrade to the latest patch to hopefully solve some issues with being able to imput text into the save and network menu areas and so as to allow for me to work at 1024x768 instead of 800x600 (have yet to test 1200x1024, but will be likely unable to use it as my 6200 is moving fairly slowly at medium under 800x600). I still cannot go above medium texture without the said glitches happening.
Wine 0.9.28... partially working...
by Antonios Dimopoulos on Thursday January 18th 2007, 7:58
I've installed the game in windows... i tried to launch the game in linux via wine, the intro videos play fine, the menu and the tutorials are working, but when i try to start a campaign, or enter the options menu, wine crashes with a message box:

Microsoft Visual C++ Runtime Library
Runtime Error!
Program: Z:\media\Documents\lotrbfme\game.dat
This application has requested the Runtime to terminate it in an unusual way
Please contact the application's support team for more information.


Output in console:
err:syslevel:_EnterSysLevel (0x7ec545a0, level 2): Holding 0x7ee1d940, level 3. Expect deadlock!
RE: Wine 0.9.28... partially working...
by Antonios Dimopoulos on Thursday January 18th 2007, 8:00
Oh... My system is Kubuntu Linux 6.10, nVidia Geforce 6600 with 9629 nvidia driver and Wine 0.9.28.
RE: Wine 0.9.28... partially working...
by Vit Hrachovy on Thursday February 22nd 2007, 15:39
Have you used any dll overrides?

I've been able to install the game in the clean Wine 0.9.31 environment and run through the introduction videos, but I can't get into main menu without crashing.

I also don't see the animated EA logo when loading the main menu.
install trick
by T'aZ on Monday December 11th 2006, 10:38
the game installs fine with this trick :
when the setup is launched, you first select the language of the game, then after an empty white window appears, you need to kill that window (with xkill for example) , then the installation will start

once it's finished, you can try launching the game, you'll only see the introduction movie, then it quits :(
RE: install trick
by Jonathon Day on Sunday September 16th 2007, 1:25
The white box trick is still in effect under 0.9.45.
Got to work somewhat
by Derek Walker on Saturday December 2nd 2006, 21:23
Hello

Using wine 0.9.26, and using Ubuntu, I was able to install the game and also start the game. When I got to the buttons on where to go, if the button brought up a menu, a debug window would come up and then wine would cancle.
RE: Got to work somewhat
by Derek Walker on Sunday December 3rd 2006, 7:48
In the debug window, it says there's and Exception unknown and the exception code is 0x80000101

and for location is says:
ffffe410 (unknown module)

Then it gives us a stack trace saying their all unknown modules:
ffffe410
b7ccb2bp
b7cc2f51
7e4c9d88
7e4af879
7ede7355
00da51e3
00000003
00da66e0
abffe900
00000000
Crack
by Wesley on Tuesday November 21st 2006, 22:51
You mentioned a Crack... what is this? I would like to try to install the game with .25 wine. Maybe we'll get some luck...

by kroenecker on Tuesday December 6th 2005, 20:46
Now I've looked at the developers corner that tries to describe how to debug installation/running of games. Is there a more basic place that I can look to figure out how to debug?
Install works
by Jeremy Coleman on Monday November 7th 2005, 21:35
Installation worked for me with Wine 0.9 with DCOM98 installed and winver set at 2000, Game does not launch with wine 0.9, cvswine 20051106, or cedega 4.4.3.
RE: Install works
by Krzysztof Drewniak on Sunday October 19th 2008, 8:09
Thanks for the hint. My install hung on the AutoRun screen. After installing DCOM98 it worked. Please put this in the HOWTO. I was using wine 1.1.3
Administrative Permission
by Leandro Cruz on Thursday June 16th 2005, 8:15
Dont install, on click Install popup messange appear "You dont have administrator privilegie for install this game".
This game run in winxp ou win2k not in win98.
Any help is welcome... ^^
Back