I am trying to change the hotkeys for Age of Empires II: HD (version > 5.0), but I can't get it to work.

I download this mapping file (.hki, selecting HD5.0+ at the top left side) and I copy it into my game folder: C:\Program Files (x86)\Steam\SteamApps\common\Age2HD\profiles\. However, this folder already has three profiles (player1.hky, player2.hki, player3.hki). I tried saving it as player4.hki as well as overwriting player3.hki, and using player0.hki but in none of these cases the actual new mapping was used - but it did seem to change slightly.

The thing is that I am trying to install an AZERTY layout, and still Q and A and Z and W (among others) are switched, even after installing these new files.

Can anyone provide a guide on how to correctly install these files, even when player*.hki files already exist? Which digit should be appended to the file name? A new one, 0, the latest one, and so on.

When I try to change the hotkeys in-game, I can't complete the process because of duplicate keys. Even though there are clearly duplicates in a single list (e.g. Q for house and barracks):


When I try to change both of those to A, I get a message that one of those was cancelled. So I am not able to put in duplicates.

cancelled key

  • Is your Windows keyboard set to AZERTY or QWERTY? and if you try to enter something into a input field in the game, what keyboard does that use? – Nzall Mar 27 '18 at 13:00
  • @Nzall It's set to AZERTY and I can type in chat just like I normally would, in AZERTY. – Bram Vanroy Mar 27 '18 at 13:29
  • Can't you just set hotkeys from the game client? – Ben Craig Mar 27 '18 at 15:21
  • @BenCraig Yes and no. Even though the defaults contain some duplicates (e.g. q for house and barracks), whenever you try to add duplicates yourself (e.g. a for house and barracks) you get an error that you cannot use duplicate keys... – Bram Vanroy Mar 27 '18 at 18:07
  • @BramVanroy House and Barracks are from different menus, so that would make sense to me. Similar to how archery range and mill are both W. I cant check right now, but I feel like it wont let you put stuff from the same menu as duplicates, but as long as theyre not from the same menu it should be fine. – Ben Craig Mar 27 '18 at 18:12

There's a really good tool for this online.

Essentially, AoE reads the hotkeys/bindings from the root installation directory and will set the keyboard to whatever that file reads. This site allows you to easily edit them in a nice-ish UI. Download it, replace and boot - should all work :)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.