Running Age of Empires 2 in Linux

I've been recently trying to play Age of Empires 2 on my Linux Ubuntu 12.04 LTS computer. However, I can't seem to get it to work with any method i found on the computer. I've tried Playonlinux, however, when i try to play it, a message comes up saying that there has been an internal error. I've also tried doing it though virtualbox and installing it onto a virtual version of windows xp. However, after it completes the install, it tell me that there is no CD in the disk drive and that I should insert it and restart the application. If anyone has a way I haven't tried yet or something that I could have missed please let me know. Thanks.


Solution 1:

You should give WINE a look. WINE has come a long way over the last few years and many Windows-based applications can be run on it with varying degrees of success.

Here is the WINE HQ page for Age of Empires 2:

It looks like Age of Empires 2 has a pretty good rate of success. To get WINE, you first need to add the WINEHQ PPA Repository by adding "ppa:ubuntu-wine/ppa" as a software source from within the Ubuntu Software Center (Edit->Software Sources). Then you should be able install WINE by executing the following from Terminal:

sudo apt-get install wine1.5

For further instructions, see WINE For Ubuntu and Ubuntu Derivatives

Solution 2:

I had to go into the game folder (right click and go "open applications directory" then navigate to /steamapps/common/age2HD/ ). There i renamed the Launcher.exe to someting else. Then i made a copy of the AoK HD.exe and name it Launcher.exe.

Also, i installed .net 4.0 and 4.5 manually.

Furthermore, in /age2HD/_CommonRedist/vcredist/2015 i removed installscript.vdf and installed the 32bit version manually.

Solution 3:

Good news, I haven't tested everything yet but i've managed to get this working in PlayOnlinux and start a game:

  1. Open PLayOnLinux and select 'Install a Program'.

POL Install a program


  1. Search for Steam and install it. Install Steam

  1. Make sure you untick 'Run Steam' before clicking finish. Untick Run Steam

  1. Go back to PlayOnLinux click on the Steam icon and run it. Wait for it to finish updating. Steam updating.

  1. You might get a message saying 'Steam crashed', click next and ignore it. Steam crashed

  1. Log into Steam once has finished updating. Steam login

  1. Steam will minimize once you are logged in. The 'Wine System Tray' will be open in a different window, find it and double click the Steam icon to open it.

Wine system tray


  1. Find Age of Empires on Steam and install it. 30 hours played

  1. Once it has installed run it from Steam, it will install some stuff and then immediately crash. directx installing

  1. Go back to PlayOnLinux select 'Tools' on the toolbar at the top and Select 'Manage Wine Versions'. Wait a few seconds for the list to populate. On the x86 tab select '3.3' and click the arrow to move it to the right side. installing wine 3.3

  1. Back on PlayonLinux, select Steam and select Configure. configuring Steam

  1. Click onto the arrow next to 'Wine version' and select 3.3. selecting wine version

  1. Still on the configure menu go to the tab 'Install components' and install 'd3dx9' and 'vcrun6'.

d3dx9 vcrun6


  1. Go back to the 'General' tab and select 'Make a new shortcut from this virtual drive'. Find 'AoK HD.exe' and select Next. adding a shortcut

  1. When it goes back to the shortcuts list, select 'I don't want to make another shortcut' and click next.

finish adding a shortcut


16.Download a copy of vcrun 2015 x86 from here. In the Miscellaneous tab of the configure menu select 'Run a Windows Executable (.exe) file in this virtual drive'. running an executable file


  1. Run your downloaded copy of VC redist 2015 and go through the setup. install vcredist

  2. Run the AoK HD.exe shortcut we added earlier. run the shortcut


  1. This error might appear, ignore it and click OK. random error

  1. The launcher for Age of Empires will open, but there will be no text on the buttons, click the first button anyway and the game will launch :D Launching the game

Solution 4:

You should check the WineHQ forums for instructions about how to make it work. Most of the games need some tweaking or some native libraries to work fine. I'm not sure if it's right linking to another webside, but here's some information:

http://appdb.winehq.org/objectManager.php?sClass=application&iId=99