EMPIRE EARTH II ON LINUX

How to play Empire Earth 2 on Linux?



You can play Empire Earth 2 and Empire Earth 2: The Art of Supremacy on Linux thanks to Wine.
In this tutorial we use wine-staging, because it already includes some neccesary patches, for example a fix for missing textures in game, (otherwise you would need to compile it yourself). To learn how to install wine-staging on your Linux Distribution, please visit this site (click). If you don't want to use wine-staging, you can compile wine yourself with this patch (click) which fixes invisible textures problem. To learn how to patch it, visit this site (click).
This tutorial will contain Ubuntu commands, because I was using Mint Cinnamon 18 during tests.

1. Add wine-builds repository and install it. Wine will be installed to "/opt/wine-staging/bin":
sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
sudo apt-get install --install-recommends wine-staging winetricks
*If for some reasons you removed that wine-staging folder (like me), and now files are missing:
sudo apt-get install --reinstall --install-recommends wine-staging wine-staging-i386 libc6 wine-staging-amd64 winetricks
2. Now we want Wine to use 32bits wine-staging executable, and to store files in "home/YourName/.wineEE2" directory. IMPORTANT: you must put all the commands in the same terminal window, because we're changing variables only for the current session!
export WINEARCH=win32
homedir=`getent passwd $USER | cut -d: -f6`
export WINEPREFIX="$homedir/.wineEE2"
export WINE="/opt/wine-staging/bin/wine"
WINEPREFIX="$homedir/.wineEE2" WINEARCH=win32 WINE="/opt/wine-staging/bin/wine" /opt/wine-staging/bin/wine wineboot winecfg
3. It's recommended to install the following packages for experimental DirectX 9 support and windows fonts in the launcher/game:
homedir=`getent passwd $USER | cut -d: -f6`
WINEPREFIX="$homedir/.wineEE2" WINEARCH=win32 WINE="/opt/wine-staging/bin/wine" winetricks d3dx9_43
WINEPREFIX="$homedir/.wineEE2" WINEARCH=win32 WINE="/opt/wine-staging/bin/wine" winetricks d3dcompiler_43
WINEPREFIX="$homedir/.wineEE2" WINEARCH=win32 WINE="/opt/wine-staging/bin/wine" winetricks corefonts
sudo apt-get --reinstall install ttf-mscorefonts-installer
4. That's it! Now install Empire Earth II and Unofficial Patch 1.5:
cd /folder/where/your/setup/files/are
/opt/wine-staging/bin/wine setup.exe
cd /folder/where/unofficial_patch15_installer/is
/opt/wine-staging/bin/wine ee2_update_100-140_155.exe
4. To play, simply go to the directory where your game was installed:
cd /folder/where/EE2/Was/Installed
export WINEARCH=win32
homedir=`getent passwd $USER | cut -d: -f6`
export WINEPREFIX="$homedir/.wineEE2"
export WINE="/opt/wine-staging/bin/wine"
/opt/wine-staging/bin/wine EE2.exe
You can also use ready bash scripts for installation and game launching. For samples, please read section below.

Automatic installation script from Lutris



Lutris is an open gaming platform for Linux. It helps you install and manage your games in a unified interface. Their goal is to support every game which runs on Linux, from native to Windows games (via Wine) to emulators and browser games. More information in the About page (click)

Thanks to player "Johannes" - you can download the script directly from: https://lutris.net/games/empire-earth-2/

Automatic installation script for all Linux distributions



This is an automatic installation script created by Rem_BlofBlufWuf. It's compatible with nearly every linux distribution. The script will ask you to install required components, set path to Empire Earth 2 and Empire Earth 2: The Art of Supremacy setup files, etc. At the end it will create a desktop icon which you can use to start the game.
WARNING: Don't run it with root privileges! Type the root password only when it asks for:
wget -N https://patch.ee2.eu/patch15/linux/EE2-Linux-Install.bash
chmod +x EE2-Linux-Install.bash
./EE2-Linux-Install.bash
If you need to start the game manually (not from the icon):
WINEPREFIX="$HOME/.PlayOnLinux/wineprefix/Games/" WINEARCH=win32 WINE="/opt/wine-staging/bin/wine" /opt/wine-staging/bin/wine path/to/EE2.exe
If you need to configure wine:
WINEPREFIX="$HOME/.PlayOnLinux/wineprefix/Games/" WINEARCH=win32 WINE="/opt/wine-staging/bin/wine" /opt/wine-staging/bin/wine winecfg
If you need to start regedit:
WINEPREFIX="$HOME/.PlayOnLinux/wineprefix/Games/" WINEARCH=win32 WINE="/opt/wine-staging/bin/wine" /opt/wine-staging/bin/wine regedit

Sample scripts for Ubuntu (using apt-get)



To install, simply use this script. WARNING: Don't run it with root privileges! Type the root password only when it asks for:
wget -N https://patch.ee2.eu/patch15/linux/EE2-Ubuntu-Install.sh
chmod +x EE2-Ubuntu-Install.sh
./EE2-Ubuntu-Install.sh
export WINEARCH=win32
homedir=`getent passwd $USER | cut -d: -f6`
export WINEPREFIX="$homedir/.wineEE2"
export WINE="/opt/wine-staging/bin/wine"
cd /folder/where/your/setup/files/are
/opt/wine-staging/bin/wine setup.exe
cd /folder/where/unofficial_patch15_installer/is
/opt/wine-staging/bin/wine ee2_update_100-140_155.exe
To play, download this script to the folder where your game was installed (file EE2.exe should be in the same folder). In the future versions of Unofficial Patch 1.5 (minor version 155011) this file will be included to the patch installer.
cd /folder/where/EE2/Was/Installed
wget -N https://patch.ee2.eu/patch15/linux/EE2-Linux-Start.sh
chmod +x EE2-Linux-Start.sh
./EE2-Linux-Start.sh
A shortcut with EE2 icon should be created on your Destkop and you can always start EE2 by this shortcut, without typing any commands!

Solutions for known problems



Error: d3d:resource_init Out of adapter memory Read: codeweavers.com (Click).
/opt/wine-staging/bin/wine regedit
Within regedit, browse to HKEY_CURRENT_USER/Software/Wine/Direct3D
If the Direct3D folder doesn't exist, right-click on the Wine folder, New Key, and rename it Direct3D.
and in Direct3D right-click and add a new string value called VideoMemorySize and set it to 512.


Bug: Invisible fire/explosion effects:
In the UP1.5 Launcher click on the "Change UP1.5 Settings" button and then check option: "Enable a fix for graphics bugs on Intel HD graphics cards", even if you don't use an Intel HD card.
We use cookies and we monitor your activity to ensure that we give you the best experience on our website. If you continue without changing your settings, we'll assume that you are happy to receive all cookies from this website. If you would like to change your preferences you may do so by following the instructions here