Age of Empires II

The HD update from Hidden Path Entertainment.

Application Details:

Version: Steam
License: Retail
Votes: 9
Latest Rating: Gold
Latest Wine Version Tested: 5.0.3

Maintainers: About Maintainership

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

Installing and running through steam works, but workarounds are required to prevent it from crashing on start, and for multiplayer to work.

The steps I followed are similar to the Nov 15, 2019 report.

My setup details:

  • nvidia proprietary drivers on GTX 1060
  • installed in its own wine prefix with wine 5.7
    • (gentoo package: app-emulation/wine-vanilla-5.7[vulkan] 
    • - vulkan use flag + dxvk is required or the game will not play)
  • I did not use playonlinux.

(Gentoo specific) Here are my use flags and versions for wine-vanilla, wine-mono, winetricks, nvidia-drivers:

[ebuild R ~] app-emulation/wine-mono-5.0.0:5.0.0::gentoo 0 KiB
[ebuild R ~] app-emulation/winetricks-20200412::gentoo USE="gtk -kde -rar -test" 0 KiB
[ebuild R ~] app-emulation/wine-vanilla-5.7:5.7::gentoo USE="X alsa cups faudio fontconfig gecko gstreamer jpeg lcms mono mp3 ncurses nls opencl opengl perl png pulseaudio realtime run-exes sdl ssl threads truetype udev udisks unwind vulkan xcomposite xml -capi -custom-cflags -dos -gphoto2 -gsm -gssapi -kerberos -ldap -netapi -odbc -openal -osmesa -oss -pcap -prelink -samba -scanner (-selinux) -test -v4l -vkd3d -xinerama" ABI_X86="32 64 (-x32)" 0 KiB
[ebuild R ~] x11-drivers/nvidia-drivers-440.82-r3:0/440::gentoo USE="X acpi driver gtk3 kms libglvnd multilib tools uvm -compat -static-libs -wayland" ABI_X86="32 (64) (-x32)" 0 KiB

Note that you will see errors after the dxvk step if you do not have +vulkan on app-emulation/wine-vanilla

I am using `$HOME/Games/aoe2_de` as my wine prefix directory, if you want to use a different directory replace occurrences of that with your directory.


  1. `mkdir -p $HOME/Games/aoe2_de`
  2. `WINEPREFIX=$HOME/Games/aoe2_de winetricks --no-isolate steam`, then log in to steam, download and install Age of Empires II: Definitive Edition (optional: create a desktop shortcut), run it for the first time to force steam to run "first run steps", wait for it to crash, then exit steam.
  3. `WINEPREFIX=$HOME/Games/aoe2_de wine uninstaller` and then uninstall the two "Visual studio 2017" lines that steam installed in the "first run steps".
  4. Reinstall "Visual studio 2017" using winetricks: `WINEPREFIX=$HOME/Games/aoe2_de winetricks vcrun2017`
  5. Set windows version to 10 with `WINEPREFIX=$HOME/Games/aoe2_de winetricks win10`
  6. Download a release of dxvk (github: doitsujin/dxvk) - I used - and run:
    export WINEPREFIX=$HOME/Games/aoe2_de
    ./ install

    This may also launch steam.
  7. At this point, the game will launch (it gives me an error message saying "The program BattleServer.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience", but if I click close on that everything seems to run fine afterwards) and single player should work, but multiplayer will desync you within a few seconds (see this reddit thread). If you want multiplayer to work, run these commands:
    cd $HOME/Games/aoe2_de/drive_c/windows/system32
    wget ""
    # if you want you can take a checksum and compare with mine
    # I have sha512 of 0c373b06ffe84f3e803831e90f22d7d73304e47a47839db614f63399ff1b7fcf33153bf3d23998877c96d2a75e316291a219fdd12358ca48928526284b802591
    cabextract vc_redist.x64.exe
    cabextract a10
  8. (Probably unnecessary step, I recommend skipping and seeing if things work): I tried `WINEPREFIX=$HOME/Games/aoe2_de winetricks directplay` per the instructions in and, but this did not work for me. I believe that running this is probably also unnecessary to get multiplayer working if you have followed the cabextract instructions in the previous step, but I am documenting this here just in case.
  9. If you want to have a single command that will just run the game, create a desktop shortcut if you haven't already, then look at the desktop file and copy the "Exec" line.
    For me, I can do this by running the following after replacing  with my actual username:

    cat "$HOME/Games/aoe2_de/drive_c/users//Desktop/Age of Empires II Definitive Edition.desktop"

I didn't test to see whether uninstalling and reinstalling vcrun2017 is still necessary on this version of wine, so it is possible that your install will succeed if you skip that step.

What does not

Multiplayer (does not work out of the box with installation workaround, but does work with cabextract workaround)

There is also an error that pops up on game launch that says that "The program BattleServer.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience" - the game seems to work fine for me after I click "Close" on the error message.


  • Uninstall steam-installed vcrun2017 and install vcrun2017 through winetricks
  • Install dxvk in the wineprefix (dxvk v1.6.1 worked for me)
  • (For multiplayer) Download and cabextract vc_redist.x64.exe, then cabextract a10 in windows/system32 in the wineprefix

What was not tested

  • Installing mods
  • Higher resolutions that 1080p with graphics DLC

Hardware tested


  • GPU: Nvidia
  • Driver: proprietary

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
ShowmacOS 10.13 "High Sierra"Nov 29 20205.0.3Yes Yes YesGoldCharro 
CurrentGentoo LinuxMay 02 20205.7Yes Yes YesGoldAristocrates 
ShowRosa Fresh 2016.1May 12 20194.8-stagingYes Yes YesGoldGiovanni Mariani 
ShowmacOS 10.13 "High Sierra"Nov 26 20183.0.3Yes Yes YesGoldYVES 
ShowGentoo Linux x86_64Sep 21 20183.15-stagingYes Yes NoPlatinumErol M. Yasar 

Known Bugs

Bug # Description Status Resolution Other apps affected
29384 Multiple applications expect correct handling of WRITECOPY memory protection (Voobly fails to launch Age of Empires II, MSYS2) STAGED View
38784 Age of Empires II: wine 1.7.x series do not work with the external monitor as the primary output UNCONFIRMED View
43758 Age of Empires 2 HD Launcher has missing text NEW View

Show all bugs

HowTo / Notes

White Screen (Main Map)

This is a known problem with older Intel GPUs. Try to use Wine 2.1. In most of case solve Direct3D glitch.

Black screen issues

If you get only a black screen upon starting a game

Stuck scrolling (typically after Alt+tab)

Hit each direction key in succession while holding Ctrl. For instance:

  1. Ctrl+Up
  2. Ctrl+Left
  3. Ctrl+Down
  4. Ctrl+Right


The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

AoE II Definitive Edition
by Thibaud D on Saturday November 16th 2019, 2:41
Hi. Don't know if this is the correct location to post this, but anyboday managed to install AoE II Definitive Edition via wine? Mine says 'your OS doesn't support this game'... :(
RE: AoE II Definitive Edition
by Georg on Saturday November 16th 2019, 7:04
installing the game isn't any problem. Getting the game to start successfully is complicated, look here:

Your above error message suggest that wine isn't installed correctly or it is too old, make sure to get wine-staging 4.19 if you try to run it.
RE: AoE II Definitive Edition
by Thibaud D on Sunday November 17th 2019, 3:27
Hi Georg. I have wine 4.19 staging. I think it's related to the 32/64-bit issue. With PlayOnMac I can't seem to use the 64-bit version of wine, and I can't really figure it out how to...
RE: AoE II Definitive Edition
by Thibaud D on Sunday November 17th 2019, 3:28
Actually the error is 'invalid platform'
RE: AoE II Definitive Edition
by Georg on Wednesday November 20th 2019, 7:42
Well I am sorry it s related to 64 bit wine, wasn't aware that 64bit wine isn't avaiable for Mac.

The game only runs on 64bit Windows, so you need 64 bit wine as well
Download from Steam isn't possible
by Korbinian on Saturday July 28th 2018, 16:45

This is the first time for me to download something to WineHQ. I want to download Age o Empires II from Steam but it didn't work. It says that „it's not available for you plattform“. What do I have to change in WineHQ to be able to download it and install it on my Mac?
RE: Download from Steam isn't possible
by Quentin Santos on Sunday July 29th 2018, 3:00
Steam does not integrate Wine. Instead, you have to install Steam with Wine. For instance, I have two installations of Steam on my computer: the native Steam client, with native games like CS:GO or Poral, and the Windows client under Wine, with Age of Empires II.
Multiplayer not working?
by ingreenheaven on Tuesday July 18th 2017, 23:59
Are you able to connect to the multiplayer games since the recent crashes/fix?
Wine version 2.0 doesn't work with Steam's Age of Empires II
by Zach on Wednesday April 19th 2017, 1:06
After the Steam's AOE2 update on April 18th, the game no longer launches with Wine 2.0
RE: Wine version 2.0 doesn't work with Steam's Age of Empires II
by Riley on Sunday April 23rd 2017, 8:17
Seems to be my problem... what wine do you use now? I'm bad at this.
RE: Wine version 2.0 doesn't work with Steam's Age of Empires II
by Zach on Sunday April 23rd 2017, 10:03
Unfortunately, I haven't found one that works yet.
RE: Wine version 2.0 doesn't work with Steam's Age of Empires II
by Andrea Orru on Saturday May 6th 2017, 12:05
Easy fix:
winetricks vcrun2005
RE: Wine version 2.0 doesn't work with Steam's Age of Empires II
by Andrea Orru on Saturday May 6th 2017, 12:06
Sorry. I meant vcrun2015.
RE: Wine version 2.0 doesn't work with Steam's Age of Empires II
by Jose G. López on Sunday May 7th 2017, 3:30
Thanks Andrea, it works!
RE: Wine version 2.0 doesn't work with Steam's Age of Empires II
by ingreenheaven on Tuesday July 18th 2017, 11:17
Are you able to connect to the multiplayer games?
RE: Wine version 2.0 doesn't work with Steam's Age of Empires II
by sofie on Saturday July 1st 2017, 16:40
Urm, sorry, could you perhaps explain that solution a bit more idiotproof for me?
How do make it work? ...I'm not a computer wizzard, just a sentimental AoE junkie...
Thanks a million!!
VCRUN2012 needed again?
by Patrick Maloney on Wednesday March 11th 2015, 15:10
I saw an update come down and now it's complaining about those two dlls. Won't run.
Compatibility with other WINE users
by Cody on Tuesday February 3rd 2015, 23:00
I can play the game with only a few minor bugs with other AOE2 players with Windows but when I try to play with friends we can't voice chat over steam or play online together. It gets stuck on the loading screen
by Andramos on Wednesday December 17th 2014, 18:16
Any chance to make possible to use keyboard on age?
Mouse issues
by pauli on Thursday April 11th 2013, 6:35
The game initially seems to work without any issues. Just setting -nostartup seemed to work with the current version of the game, but I might have all kinds of overrides from other Steam games.

However, upon building more units, buildings and/or exploring the map the game slowly chokes, but it only seems to affect selecting things with the mouse.

The selection rectangle initially just gets a bit choppy but later can lag behind as much as 10 seconds. Same thing with clicking on buildings or even the game menu button, the game might react 10 seconds later. The game is, understandably, unplayable at that point. Mouse scrolling on the other hand remains instant when the cursor reaches the edge.

There are some odd timing related things in the game anyway, so how much of this really has to do with Wine is unclear.
laggy game
by marcel on Thursday April 11th 2013, 1:32
Hi, when i run the game it starts normally but it;s laggy as hell. When i move with mouse the latency is like 10000ms. When i get mouse onto icon like "single player" it takesfor ever to be framed and after that i can click. Click is fast. When i started game it was same. Horrible latency. What can I do to change it? I don;t see anyone with this type of trouble.
Mouse issues scrolling edge
by Andre on Wednesday April 10th 2013, 14:57
Did someone recognize mouse issues too.

For me it is like if I point my cursor in any direction close to the edge, but not so far that it should start scrolling, the map is scrolled a tiny bit in that particular direction. After that tiny bit it stops.

After that pointing even more far to an edge, to actually scroll, it works just fine.
Visual C++ 2012 Runtime no longer needed
by Nell Hardcastle on Wednesday April 10th 2013, 3:33
There was a comment about installing msvcp110.dll and mfc110.dll. These both belong to the VC++ 2012 runtime and was a requirement of the game before build 58061. That was also causing problems on Windows XP, so the developers built against VC++ 2010 (winetricks vcrun2010) only.

This also means both bugs linked (17273 and 31487) no longer apply.
Update to the above
by Tobias Feldballe Petersen on Wednesday April 10th 2013, 3:13
Multiplayer does work too, flawlessly :P