12

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.

1
  • Haven't tried for the original one, but you can play AOE II 2013 and definitive editions directly from the Linux Steam client with no further configuration needed, using the proton library. You have to buy one of them, but in my case it was totally worthwile. You can give it a try to the original game with proton if you wish, even if it's not included in the steam catalogue.
    – Aritz
    Jun 9, 2020 at 13:56

4 Answers 4

4

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

4
  • Ok I installed wine. Now, how do I add the game into wine?
    – user149131
    Apr 14, 2013 at 18:41
  • If you haven't installed it yet, navigate to the setup/install program on the media, right-click and select "run with Wine." That should install it in your ~./wine/drive_c/Program\ Files directory. If you run into trouble, check the WINEHQ FAQ for installing Windows applications: wiki.winehq.org/…
    – Aaron
    Apr 14, 2013 at 23:25
  • 1
    Well, I've managed to install the game with wine. However, when I try to run it, it gives me the loading screen for the game, then it goes away followed by wine and then nothing happens. Could the files have made it into the wine program files for some reason?
    – user149131
    Apr 15, 2013 at 0:39
  • I meant not have made it
    – user149131
    Apr 15, 2013 at 0:48
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.

2

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
1
  • 1
    Thanks! I've managed to run it on Ubuntu using your step-by-step guide.
    – Virtuoz
    May 5, 2018 at 21:08
1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .