crimsoncantab / aok-hotkeys

Hotkey Editor for Age of Empires II
Other
25 stars 9 forks source link

More Community patch 1.6 Monastery techs possible #76

Closed marklig closed 2 years ago

marklig commented 2 years ago

Could you please add the Community patch 1.6 Monastery tech upgrades of Heresy, Theocracy, Herbal Medicine, Illumination, Block Printing and Redemption to the site? They can be changed in-game 1.6 now, but the game doesn't register some of my keyboard buttons, so that's why I need your site. ;) Cheers!

crimsoncantab commented 2 years ago

Absolutely. Can you include your .hki file, please?

On Fri, Mar 18, 2022, 3:12 AM marklig @.***> wrote:

Could you please add the Community patch 1.6 Monastery tech upgrades of Heresy, Theocracy, Herbal Medicine, Illumination, Block Printing and Redemption to the site? They can be changed in-game 1.6 now, but the game doesn't register some of my keyboard buttons, so that's why I need your site. ;) Cheers!

— Reply to this email directly, view it on GitHub https://github.com/crimsoncantab/aok-hotkeys/issues/76, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBF4AA6AWY25JG4CFEB2RLVARCI7ANCNFSM5RBIABUQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

marklig commented 2 years ago

https://easyupload.io/8x3jrl link because github doesn't allow .hki attachments

crimsoncantab commented 2 years ago

Great, thanks. I'll get this updated this weekend.

On Fri, Mar 18, 2022 at 7:22 AM marklig @.***> wrote:

https://easyupload.io/8x3jrl link because github doesn't allow .hki attachments

— Reply to this email directly, view it on GitHub https://github.com/crimsoncantab/aok-hotkeys/issues/76#issuecomment-1072405037, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBF4AD4Q4Q4KUHJDNC2343VAR7PVANCNFSM5RBIABUQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

crimsoncantab commented 2 years ago

Hmm, @marklig that *.hki file didn't have entry for Monastery techs in it. I'd need a file that has hotkey entries for those techs so I can extract the id used to assign each hotkey. Can you upload again, with those hotkeys set to something?

marklig commented 2 years ago

Hmm, strange. I've tried to turn off the overlay and remove foreign keyboard monastery hotkeys now: https://easyupload.io/h7qhxk sorry for slow answer. monastery hotkeys

Since the monastery techs are groupeed to together with techs in other buildings according to this link, https://aoe2de.com/how-to-play#Additional%20hotkeys%20for%20technologies I suppose it's possible, but far-fetched that redemption hotkey is actually taken from caravan (market), herbal medicine from arson (barrack), Parthian Tactics (archery) or conscription (castle), and so on.

crimsoncantab commented 2 years ago

Okay thanks for sharing that link. There are still no hotkeys in the 2nd file you shared that are unrecognized by the code. That tells me that CP is re-using existing hotkeys - I still just can't tell which ones.

Here's what worries me: if CP is using some of the same internal codes for these hotkeys that DE or other versions are using for different hotkeys, that's a situation that the app doesn't currently handle - it would take some coding to get that working right.

Are you able to make the keybindings more unique - e.g. Alt+F7 or something like that? Then I can tell which hotkey they're getting assigned to. Right now there's too many hotkeys with e.g. the "W" key-binding to tell which one is being used for e.g. Redemption.

marklig commented 2 years ago

Sure,
Redemption: Alt+F7 Sanctity: Alt+F8 Illumination: Alt+F12 Heresy:Ctrl+Alt+F6 Theocracy:Ctrl+Alt+F5 Herbal Medicine:Ctrl+Alt+F9 https://easyupload.io/lqccae monastery2 hotkeys

crimsoncantab commented 2 years ago

Okay, yep, I found em. CP used ids 19116-19125 for Monastery tech hotkeys. DE used ids 19120-19125 for various other things. So we have a conflict. You can still edit the hotkeys in the editor, but I'll have to update the site to have both the DE & CP strings for each hotkey. That's kind of a work around for a much more involved solution that would require a lot of changes to support different versions of the game mapping to the same ID independently.

crimsoncantab commented 2 years ago

Herbal Medicine - > Reset Zoom Heresy -> Remove Gather Point Theocracy -> Huskarl Redemption -> Rebuild Fish Trap Sanctity -> Tarkan Illumination -> Lock/Unlock Gate