WineHQ

Star Wars: Empire at War

Retail version with the offical 1.5 update and no-cd fix. Also the "Best of PC" version.

Application Details:

Version: 1.5
License: Retail
URL: http://www.lucasarts.com/games...
Votes: 1
Latest Rating: Silver
Latest Wine Version Tested: 1.5.2

Maintainers: About Maintainership

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

Installation

Game works fine - but starting it is a bit difficult

What does not

The autorun launcher doesn't work

Workarounds

What was not tested

Multiplayer

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

The game didn't start - it displayed the LucasArt splash screen and then silently exited. Only with WINEDEBUG=warn+all could I see what was wrong (see forum post for details). Hardware is AMD Athlon X4 620, nVidia Geforce 9800

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentArch Linux x86_64Apr 21 20121.5.2Yes Yes SilverArthur Huillet 
ShowUbuntu 11.10 "Oneiric" amd64 (+ variants like Kubuntu)Jan 30 20121.3.33No, but has workaround Yes SilverOlof Englund 
ShowUbuntu 9.10 "Karmic" amd64 (+ variants like Kubuntu)Nov 13 20091.1.31Yes No GarbageTan Kah Ping 
ShowUbuntu 9.04 "Jaunty" i386 (+ variants like Kubuntu)Jun 15 20091.1.23No Not installable GarbageUnifying Theory 
ShowUbuntu 8.10 "Intrepid" i386 (+ variants like Kubuntu)Nov 12 20081.1.8Yes No GarbageUnifying Theory 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

HOWTO get Empire at war running under wine on Ubuntu 7.10

The standard wine from the ubuntu repositories did not let me run EAW, However it will work (and I've reproduced this on different machines) and these are the steps I used to do it with thanks to everyone who has contributed some portion of these instructions.

You will be installing dependencies and recompiling wine - don't worry it's not to difficult and the game runs really well under linux now (at least ubuntu today)

Step 1 - Preparing wine

perform the following instructions, some of them will take a while to run so maybe have a drink ready eta roughly an hour - depending on how fast your machine is and the bandwidth you have. These are the commands - do them in order!!!

sudo apt-get install libglib1.2 libglib1.2-dev libltdl3 libltdl3-dev libmad0-dev libxcomposite-dev libxv-dev render-dev x11proto-composite-dev x11proto-video-dev



sudo apt-get install xserver-xorg-dev libxcomposite-dev gcc-4.2-multilib


ldconfig


wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -


sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/winehq.list

sudo apt-get update

sudo apt-get build-dep wine


 

Ok, if they all completed then you are good to go, if not try running

sudo apt-get update

and starting again. You are ready to move onto the next step.

Step 2 - compiling wine

First you have to get ubuntu ready to compile wine

sudo apt-get install flex


sudo apt-get install bison


installs the appropriate tools then extract your wine archive to an appropriate directory (or folder)

bunzip2 -c wine-0.9.??.tar.bz2 | tar xvf -

change to that directory and compile wine

cd wine-0.9.??


./tools/wineinstall


This will take some time so do as the instructions say - go rent a video or make a meal. Finally you will need to configure wine

winecfg

if this command dumps you back to the login then you have a problem with your X configuration, I've noticed this with nvidia cards, should be ok under ubuntu.

Step 3 - Prepare wine for EAW

Now prepare wine for EAW, add the following to the registry entries

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX]

"InstalledVersion"="hex:00,00,00,09,00,00,00,00"

"Version"="4.09.00.0904"

You may also need to find a dxd9??.dll and put it in the .wine/drive_c/system32 folder but I can't see this as a necessary step for the install of wine I am examining YMMV. Get a DirectX upgrade while you still can and use cabextract to extract the required files - you may find a version on the game you are trying to install.

Step 4 - Install EAW

Perhaps the easiest part of all, load the EAW disk (I used the Best of PC version which is on a DVD and has the latest patches), if you need to install patches for an older version do it after the game is installed.

Oh, and install an Icon on you desktop, it will come in handy.

Goto gamecopyworld.com and thank the guys there for there work getting around a broken copy protection system, get the NOCD fix for the game and also a linux version of unrar to extract it.

For some reason the copy protection mechanism that Empire at war uses broken under linux. Perhaps the maintainers of wine will sort this out but I think that the copy protection is a broken idea in the first place - I don't mean you should pirate the game (I have a couple of copies) it's just until it is you will not be able to play over the internet games (yet to try out local network multiplayer games) using the NOCD patch, you could mention it to the people at Electronic Arts that you want to play games under linux (I did and they basically told me).

Unrar the files and copy them to this directory

cd ~/.wine/drive_c/Program Files/LucasArts/Star Wars Empire at War/GameData

mv perceptionfunctiong.dll perceptionfunctiong.dll.000

cp /Your/path/to/PerceptionfunctionG.dll ./perceptionfunctiong.dll

and yes the case is important, then

cp sweaw.exe sweaw.exe.000

cp /Your/path/to/sweaw.exe sweaw.exe

You are ready to test it

wine sweaw.exe

Step 5 - Optional but goodness is here

Copy the following lines into a text file and make that text file an executable

cd ~/.wine/drive_c/Program\ Files/LucasArts/Star\ Wars\ Empire\ at\ War/GameData/


wine sweaw.exe

I called it LaunchEAW

chmod +x LaunchEAW


 

then edit the icon and point it to the script. I've tried this on a couple of machines and it works well. Full graphics, full detail runs good

You may also want to put sliders on the top and bottom menu bars to get them out of the way otherwise the machine won't pass the scroll up/down events onto EAW (which is bad when you have to frag an Imperial star destroyer in a hurry).


Enjoy!

HOWTO get EAW running under fedora

The standard install of wine from the fedora repositories do not seem to work for this game so you will need to build wine. These are the steps I used to do it with thanks to everyone who has contributed some portion of these instructions (borrowed from ubuntu). YMMV

This may not work for all video card YMMV, I was using a Nvidia 8600gt with the proprietary drivers, I'll give it a bash with an ATI card when I can. Fortunately one of the requirements for the proprietary nvidia drivers is also required for wine so if you have one of these cards and have configured X properly it should work good.

Step 1 - Preparing Fedora

Through the package manager install the X development environment and check you /var/log/Xlog.0.log to ensure the 3D drivers are working correctly. You will also need the development system to be installed. If you have not got xorg-x11-server-sdk-1.3.0.0.fc7.x86_64 installed (check your Package manager) you will need to install this AND re-install your nvidia drivers *BEFORE* you proceed.

Step 2 - Prepare wine

Pretty standard but here we go, extract your wine archive to an appropriate directory (or folder)

bunzip2 -c wine-0.9.??.tar.bz2 | tar xvf -

change to that directory and compile wine

cd wine-0.9.??



./tools/wineinstall



This will take some time so do as the instructions say - go rent a video or make a meal. Finally you will need to configure wine

winecfg

if this command dumps you back to the login then you have a problem with your X configuration, I've noticed this with nvidia cards especially under fedora. If you break your X config even once (ie the box doesn't boot to X for some reason) symbolic links will break, checksums on the nvidia drivers will change and you will get very annoyed trying to work out what is going on. Save your sanity go back to the nvidia drivers and do a sanity check - if it passes the problem is in your /etc/X11/xorg.conf file (run nvidia-xconfig). If the sanity check fails reinstall the drivers (which implies the kernel source). If you don't understand what I am talking about here you should be using Ubuntu, which while friendlier is not as gunty as the Fedora boxes (Personal experience - no need for a distro war here please).

Step 3 - Prepare wine for EAW

Now prepare wine for EAW, add the following to the registry entries

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX]

"InstalledVersion"="hex:00,00,00,09,00,00,00,00"

"Version"="4.09.00.0904"

You may also need to find a dxd9??.dll and put it in the .wine/drive_c/system32 folder but I can't see this as a necessary step for the install of wine I am examining YMMV. Get a DirectX upgrade while you still can and use cabextract to extract the required files - you may find a version on the game you are trying to install.

Step 4 - Install EAW

Perhaps the easiest part of all, load the EAW disk (I used the Best of PC version which is on a DVD and has the latest patches), if you need to install patches for an older version do it after the game is installed.

Oh, and install an Icon on you desktop, it will come in handy.

Goto gamecopyworld.com and thank the guys there for there work getting around a broken copy protection system, get the NOCD fix for the game and also a linux version of unrar to extract it.

For some reason the copy protection mechanism that Empire at war uses broken under linux. Perhaps the maintainers of wine will sort this out but I think that the copy protection is a broken idea in the first place - I don't mean you should pirate the game (I have a couple of copies) it's just until it is you will not be able to play over the internet games (yet to try out local network multiplayer games) using the NOCD patch, you could mention it to the people at Electronic Arts that you want to play games under linux (I did and they basically told me).

Unrar the files and copy them to this directory

cd ~/.wine/drive_c/Program Files/LucasArts/Star Wars Empire at War/GameData

mv perceptionfunctiong.dll perceptionfunctiong.dll.000

cp /Your/path/to/PerceptionfunctionG.dll ./perceptionfunctiong.dll

and yes the case is important, then

cp sweaw.exe sweaw.exe.000

cp /Your/path/to/sweaw.exe sweaw.exe

You are ready to test it

wine sweaw.exe

Step 5 - Optional but goodness is here

Copy the following lines into a text file and make that text file an executable

cd ~/.wine/drive_c/Program\ Files/LucasArts/Star\ Wars\ Empire\ at\ War/GameData/





wine sweaw.exe

I called it LaunchEAW

chmod +x LaunchEAW





then edit the icon and point it to the script.

You may also want to put sliders on the top and bottom menu bars to get them out of the way otherwise the machine won't pass the scroll up/down events onto EAW (which is bad when you have to frag an Imperial star destroyer in a hurry).

Once you get this working under fedora you will not believe how good the game play is - I'm on 1280x1024 full detail and it runs very soothly :-)

Enjoy!


Comments

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

How to start the game when it wasn't installed in English
by Arthur Huillet on Saturday April 21st 2012, 7:33
My Wine installation uses the french locale, and for some reason the game doesn't properly start when it was installed that way. It will display the splash screen and then exit immediately without even an error message.
WINEDEBUG=warn+all helps you see what's wrong.

In this case, I had several files in the Data/ directory that the game was looking for with a _english name. Sure enough, those files didn't exist, but they did with _french. A symbolic link solved the issue.
It works!!!
by WiHer on Friday August 14th 2009, 13:12
No problems with sound or graph. Installation failed for first time but after that everything went smooth (had to reboot and install it on 'clean' system). I played all lessons and first mission. Didn't try multi-player.
Game version 1.0 updated to 1.5 (put update into EAW folder before run). I used fixed exe. My info: ubuntu 9.04, wine 1.1.27 + winetricks.
Have fun with game, I will:)
sound card preventing gamplay?
by DonTechJuan on Saturday August 8th 2009, 1:25
I got the game installed and the launch menu opens but when I hit play it says it cannot detect the sound card that its either missing or disabled. I know my sound card is fine because it works with everything else. when it gives me the sound card message it asks if i want to continue anyway. I hit yes and the launcher disappears and nothing happens. what do I need to do to fix this?
still garbage
by Unifying Theory on Wednesday June 18th 2008, 18:43
I just can't get this game working. I followed the how-to on gutsy attempting to use wine 1.0.0 with no luck. It installs fine but won't run.
Sound hick-up?
by Xavier Vachon on Sunday June 15th 2008, 22:22
Wine RC5 on Hardy Heron and PlayOnLinux

The game seems to work well, but when I load it, the sound hooks up and it feels like it is hicking up. It does not prevent the game from working, but it's annoying as hell!! Any tips on how to fix that?
Updater info
by Leto Atreides on Wednesday July 18th 2007, 1:53
For those stuck at trying to apply the update, do the following:

type: winedbg ~/path/to/eawupdate1_5.exe

Your new prompt will look like:

Wine-dbg>

type: step

Thats it!

If you dont enable audio in winecfg, you wont get sound.
anyone tried forces of corruption?
by Robert Bartle on Sunday July 8th 2007, 16:22
The game seemed to work as well as EAW, but all the construction tabs are invisible. Other than that it was quite playable
RE: anyone tried forces of corruption?
by HoodedMan on Sunday July 15th 2007, 18:51
I'm leaving for a few days tomorrow but I do have Empire at Earth: Forces of Corruption installed (I use it mainly for skirmishes against the AI) -- I will try to test the game in galactic mode as soon as I can.

In the meantime, a general tip will always be to start from a clean wine directory as that usually avoids a lot of troubles that you may end up having (it's hard to remember if you changed some settings a few months back while playing with a different game!).

A prime example of using a completely different Wine configuration directory can be seen in the "Dungeon Keeper 2" guide (which I've written, yay me :P)

An example of running with multiple wine installations can be seen with Warhammer 40K: Dark Crusade which has a seperate note for compiling wine and running this from a non-standard directory.

Hopefully you'll be able to combine these instructions and try to run the game from a clean wine directory and possibly testing with multiple versions of wine to see whether or not the issue you're experiencing is the result of a regression or similar.

Good Luck!
RE: anyone tried forces of corruption?
by Bryan DeGrendel on Thursday July 26th 2007, 13:02
FoC seems to be working well. I just got done with hosting a successful internet match :)

I submitted a new AppDB version covering FoC, should be accepted soon.
any ideas?
by Unifying Theory on Sunday July 8th 2007, 0:20
I carefully followed all the instructions, with no luck actually running it. a star wars window appears for a split second then disappears.

myr@chaos:~$ wine "/home/myr/.wine/drive_c/Program Files/LucasArts/Star Wars Empire at War/GameData/sweaw.exe" -SAFEMODE
TimeLow: 12345678
fixme:imm:ImmReleaseContext (0x10024, 0x160aa0): stub
myr@chaos:~$ WINEDEBUG="-all" wine "/home/myr/.wine/drive_c/Program Files/LucasArts/Star Wars Empire at War/GameData/sweaw.exe" -SAFEMODE
TimeLow: 12345678
myr@chaos:~$
RE: any ideas?
by Seth Jenkins on Monday November 28th 2011, 15:33
I have the exact same problem, replicated to the window opening for a moment and then closing. I tried the commands you did and got the exact same thing. Ill message you about it if you don't get this...have you solved the problem?
Regressions !
by HoodedMan on Tuesday June 26th 2007, 8:43
Use wine 0.9.37, otherwise the cursor is all grey'ish and the game slows down if you move it. (at least this was MY experience).

Otherwise, it works quite fine :) I usually just do skirmish battles and that's been great!
NOPE, sorry
by HoodedMan on Thursday June 28th 2007, 12:00
Found out that it went away after using a clean wine directory.
RE: Regressions !
by Robert Bartle on Sunday July 8th 2007, 4:19
To fix the greyish cursors just off check "Hardware Mouse" in the video options menu.
1.5 update
by Christian on Friday June 8th 2007, 16:15
when i double click the patch in wine it just dosent do anything any help?
RE: 1.5 update
by Christian on Friday June 8th 2007, 19:14
yay i finally got it nm

by Hayden on Thursday May 24th 2007, 9:32
Installation Procedure -

*Install the game as normal

*Download the official 1.05 patch

*Download the Fixed NO DVD/CD exe version 1.05 from gamecopyworld.com and apply this crack

*Copy d3dx9_27.dll to the ~/.wine/drive_c/windows/system32 folder, the game will not run without this file.

*Run form terminal or script WINEDEBUG="-all" wine sweaw.exe -SAFEMODE

That's it...
RE:
by ssweeny on Tuesday May 29th 2007, 21:45
What winecfg settings are you using?

I can get the game to run on my feisty desktop, but it's very choppy (with a decent nvidia video card and plenty of RAM), and I can't get it to run on my feisty laptop at all (exception in _mesa_pack_rgba_span_float+0x336b() in i915_dri.so (0x00edf90c)).
RE:
by Hayden on Friday June 1st 2007, 5:27
Have you installed the restricted driver or are you using the open source nvidia driver. Turning the sound quality to 44100khz and 16bit made mine behave a little better. As for the laptop, I don't think the onboard i915 will be able to cope with this game.
RE:
by ssweeny on Saturday June 2nd 2007, 11:00
I didn't have much hope for the laptop running it, but it would have been nice.

Yes, I'm using the restricted nvidia driver on a 6600GT. Playing with the audio tab seems to make little if any difference. If it's any help, I get this error:
fixme:dsound:DSOUND_MixOne problem with underrun detection mixlen=28480 < primary_done=44960)

or one like it seemingly no matter what I do.
RE: Problems installing patch
by Timothy Wallis on Monday July 16th 2007, 1:18
when i try to install the patch i get a

wine: Unhandled page fault on read access to 0x00480000 at address 0x405840 (thread 0009), starting debugger...

then it goes through the dump's, modules, and Threads,

Any ideas?

I tried in version 9.37 and 9.41.
RE: Problems installing patch
by Timothy Wallis on Monday July 16th 2007, 1:19
Christian looks like he had the same problem any one know how he fixed it?
RE: Problems installing patch
by Lukasz on Sunday October 11th 2009, 7:51
I have the same problem there is no way to install patch.
Back