WineHQ

Empire: Total War

Downloaded from Steam.

Application Details:

Version: Steam
License:
URL: http://www.totalwar.com
Votes: 1
Latest Rating: Garbage
Latest Wine Version Tested: 1.7.24

Maintainers: About Maintainership

No maintainers. Volunteer today!

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

Everything except what was not tested

What does not

Nothing, Everything works

Workarounds

What was not tested

Multiplayer

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

This works flawlessly full stop. No DLL overrides or patch needed. I did install d3dx9 from winetricks (sh winetricks d3dx9) which seemed to improve performance and added: "DirectDrawRenderer"="gdi" "OffscreenRenderingMode"="fbo" "PixelShaderMode"="enabled" "SoftwareEmulation"="enabled" "UseGLSL"="enabled" "VertexShaderMode"="hardware" "VideoDescription"="NVIDIA GeForce 9800 GT" "VideoDriver"="nv4_disp.dll" "VideoMemorySize"="1024" To my registry at HKEY_CURRENT_USER//Software//Wine//Direct3D. If this key does not exist then add it and add the values stated above (customized for your GFX) into the key. As one more note. I downloaded via Steam client and did not install from DVD. Whenever I installed from the setup files (or DVD) the Steam installer would stop working right at the end of extracting all the files. 3.2GHZ Intel Duo (Dual Core), 4GB RAM, NVIDIA 9800GT 1GB RAM Admin note: based on the above comment, moved from the 1.0 version of the game where it had been incorrectly submitted.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)Aug 21 20141.7.24Yes Yes NoGarbageCapitan Pistacho 
ShowUbuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)May 04 20141.7.17Yes No NoGarbageCapitan Pistacho 
ShowUbuntu 13.10 "Saucy" amd64 (+ variants like Kubuntu)Mar 08 20141.7.14Yes Yes NoGarbageCapitan Pistacho 
ShowUbuntu 12.04 "Precise" amd64 (+ variants like Kubuntu)Sep 28 20121.4.1Yes Yes NoSilverAdam Bognar 
ShowFedora 16 x86Jun 01 20121.5.3Yes Yes NoBronzean anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
18490 Multiple games fail to set pixel format on D3D device context created on desktop window (Empire: Total War, Napoleon: Total War, Utopia City) CLOSED FIXED View
33358 Empire Total War crashes CLOSED DUPLICATE View

Show open bugs

HowTo / Notes

How-to Patch and Compile Wine to Play ETW/NTW Battles

 Dec 20, 2013 update: ETW and Napoleon are still affected by this bug, and most of the below still applies for all Wine versions to date (latest: 1.7.8). If you're running a 64-bit system, you'll need to compile inside a 32-bit lxc or 32-bit chroot, which takes a few extra steps. More on that here - http://wiki.winehq.org/WineOn64bit

September 28, 2012

 ETW (and NapoleonTW) are affected by this bug - http://bugs.winehq.org/show_bug.cgi?id=18490, which causes crashes when loading a battle map.

To play battles in ETW (and NTW), you will need to: download and unpack new wine source code, apply a patch, compile the code, install the patched wine, and finally – remember not to overwrite wine the next time Update Manager or whatever pops up. It’s not as difficult as it sounds, but it requires a bit of terminal work (and coffee):

a) Download the wine source code: available at http://www.winehq.org. Both the stable and development releases (at present, 1.4.1 stable and 1.5.13 development) will work. Download the packed ‘.tar.bz2’ file to your PC.

b) Unpack the code: there are several ways to do this. One is to open a terminal, navigate to the directory where the .tar.bz2 file is located, and type: ‘tar xjf winename.tar.bz2’. Another way (likely easier for beginners) is double-click the .tar.bz2 file icon to open it in the Archive Manager, then drag the enclosed directory (e.g. wine-1.5.13) to a directory on your PC.

c) Apply the patch: Normally, there’s a terminal patch command to enter (patch -p1 < nameofyourfile.whatever), but this is such a simple patch it’s as easy to manually edit the one file and be done with it:

i. Inside the directory you just pulled out of the .tar.bz2 file, navigate into the /dlls/wined3d/ subdirectory and open the ‘context.c’ file in a text editor.

ii. Ctrl+F and search for this line: if (!(hdc = GetDC(swapchain->win_handle)))

iii. This page - http://bugs.winehq.org/attachment.cgi?id=46160&action=diff

lists the edit you’ll need to make (replacement text in blue, additions in green). On the left, the original; on the right, what your edited lines should look like when it’s finished.

iv. Save the context.c file and exit.

d) Compile the patched wine source code and install wine: Most of what you need to know is located here - http://www.winehq.org/docs/wineusr-guide/installing-wine-source, but generally:

i. Open a terminal and navigate to the top-most directory in the directory you unpacked (e.g. /wine-1.5.13/)

                        ii. Type: ‘./configure’ to begin. If you’ve never compiled source before, you’re likely missing some required development libraries, which will be needed for the next step. Find out which libraries you’re missing by: reading the terminal output after the ‘./configure’ command is completed, or (again after the ‘./configure’ command is complete), navigate to /wine-1.5.13/include/ and open the ‘config.h’ file to see what’s missing.

                                          One easy way to install any missing libraries is via Synaptic Package Manager (which you might also have to install, depending on your distro). Basically, the process here is: run ‘./configure’, determine which library is missing, open Synaptic and install the library, close Synaptic and run ‘./configure’ again. You might need to perform this step several times as the ‘./configure’ command checks for each library it needs, but eventually the terminal output will come out clean and you’ll be ready to move to the next step.

Edit: An easier method for the above: 'sudo apt-get build-dep wine' to install dependencies, and then './configure'

iii. Type: ‘make depend’. This shouldn’t take very long.

iv. Type: ‘make’. Now is the time to go get a coffee. :) This can take anywhere from 5 to 30 minutes, depending on your CPU. If this is your first time, relax, it really is doing things, wait it out and eventually you’ll be returned to the command prompt (and hopefully with no errors).

v. Type: ‘sudo make install’ and enter your password to install the wine package.

vi. Type: ‘wine --version' to confirm the new version of wine installed correctly.

vii. Type: ‘winecfg’ to initialize the new version.

I’ll keep this updated as necessary. Many thanks to user naur for creating the patch. Unfortunately, you'll need to re-do this patch/compile procedure every time you update wine.

Comments

Comments Disabled

Comments for this application have been disabled because there are no maintainers.
Back