Installing the game, starting it.
What does not
Starting a campaign. For a moment you see the loading screen and then the screen stays black with only the mouse visible. If you press a key after a while, the game crashes. I by then the game has finished laoding and something like 'press a key' shows up, but I never really saw the loading screen good, so I can't say if this is really the case.
What was not tested
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Current||Arch Linux x86_64||Apr 25 2011||1.3.18||Yes||Yes||Garbage||an anonymous user|
|Show||Ubuntu 8.10 "Intrepid" i386 (+ variants like Kubuntu)||Mar 02 2009||1.1.16||Yes||No||Garbage||Phil|
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.