• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:04
CEST 20:04
KST 03:04
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Serral wins EWC 202534Tournament Spotlight: FEL Cracow 202510Power Rank - Esports World Cup 202580RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15
Community News
[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder8EWC 2025 - Replay Pack4Google Play ASL (Season 20) Announced50BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams10Weekly Cups (July 14-20): Final Check-up0
StarCraft 2
General
The GOAT ranking of GOAT rankings Serral wins EWC 2025 Tournament Spotlight: FEL Cracow 2025 Classic: "It's a thick wall to break through to become world champ" Firefly given lifetime ban by ESIC following match-fixing investigation
Tourneys
LiuLi Cup Weeklies and Monthlies Info Sea Duckling Open (Global, Bronze-Diamond) TaeJa vs Creator Bo7 SC Evo Showmatch Sparkling Tuna Cup - Weekly Open Tournament FEL Cracov 2025 (July 27) - $10,000 live event
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 484 Magnetic Pull Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune
Brood War
General
Google Play ASL (Season 20) Announced Which top zerg/toss will fail in qualifiers? BGH Auto Balance -> http://bghmmr.eu/ 2025 Season 2 Ladder map pool Flash Announces (and Retracts) Hiatus From ASL
Tourneys
[ASL20] Online Qualifiers Day 2 [ASL20] Online Qualifiers Day 1 [Megathread] Daily Proleagues Small VOD Thread 2.0
Strategy
[G] Mineral Boosting Muta micro map competition Does 1 second matter in StarCraft? Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Beyond All Reason Total Annihilation Server - TAForever [MMORPG] Tree of Savior (Successor of Ragnarok)
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread European Politico-economics QA Mega-thread Canadian Politics Mega-thread Stop Killing Games - European Citizens Initiative
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread [\m/] Heavy Metal Thread Movie Discussion! [Manga] One Piece Korean Music Discussion
Sports
Formula 1 Discussion 2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
ASL S20 English Commentary…
namkraft
The Link Between Fitness and…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Socialism Anyone?
GreenHorizons
Customize Sidebar...

Website Feedback

Closed Threads



Active: 742 users

[Program] Hotkey Trainer

Forum Index > SC2 General
Post a Reply
Normal
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
Last Edited: 2012-08-08 16:12:26
July 30 2012 21:06 GMT
#1
With the advent of super-customizing hotkeys, some people may want to learn new hotkeys in a focused, stress-free environment. What use to be a program for just the Darkgrid layout is now a more generic hotkey trainer. I have tested it using Darkgrid and TheCore, so there might be bugs if you use your own custom setup, please help me out by reporting them so I can fix them.

TheCore Thread
Darkgrid Thread

Hotkey Trainer, 0.4


This python script lets you practice any hotkey layout without having to open SC2, useful if you are at work and want to practice, waiting for a queue in Dota2, or just want to focus on hotkeys and nothing else.

NOTE: Please read the config.ini, you can customize a decent amount of things in there

NOTE 2: Still working on adding every useful command

NOTE 3: For now if you use "ForwardMouseButton" or "BackMouseButton" I have remapped these to Page Up and Page Down (since python does not natively support side mouse buttons )

Download!, (Note: Instructions on this page)

This is now an executable, so you don't have to fumble around with installing Python.

Future plans:
  • Euro/Other Non-US keyboard support, I need people to help with "translations"
  • GUI for editing the settings
  • OS X Executable


Recent changes:
  • Changed internals of how hotkeys are grabbed
  • Added support for alternate keyboards
  • Added more default keys


Screenshot:
+ Show Spoiler +

[image loading]


Screenshot (shows the correct keys and what you pressed):
+ Show Spoiler +

[image loading]
Zerg #1
IncoGnit9
Profile Joined March 2012
26 Posts
July 30 2012 21:16 GMT
#2
Sound good,gonna try it later maybe.

Do you plan on patching and adding features?
JaKaTaKSc2
Profile Blog Joined March 2011
United States2787 Posts
July 30 2012 21:17 GMT
#3
Hell yea SirPsychoMantis, thanks so much!!!
Commentatorhttps://www.youtube.com/JaKaTaKtv
Darneck
Profile Joined September 2010
Sweden1394 Posts
Last Edited: 2012-07-30 21:29:01
July 30 2012 21:26 GMT
#4
Not sure if I've missed something but commands where you have to use shift doesn't work, for example add to control group 5 ends up as shift % and not shift 5

I must definitely have missed something because I have not managed to do it succesfully with anything yet
JDub
Profile Joined December 2010
United States976 Posts
July 30 2012 21:41 GMT
#5
I think there's a small bug with shift + symbol combos. I was given a command that was supposed to be Shift + Period, but everytime I pressed it it showed up as me pressing Shift + Greater Than. This is obviously because Shit + Period is equivalent to Shift + Greater Than, but your program thinks I'm pressing the wrong buttons!
RiSkysc2
Profile Joined September 2011
696 Posts
July 30 2012 21:47 GMT
#6
Doesn't work.
JDub
Profile Joined December 2010
United States976 Posts
July 30 2012 21:53 GMT
#7
On July 31 2012 06:47 Lineridarz wrote:
Doesn't work.

Make sure you follow the directions for setting it up. It won't load until you copy your .SC2Hotkeys file into the directory. If it doesn't work after following all the directions, then I'd recommend giving your system information so the OP can help you troubleshoot. "Doesn't work" is not descriptive enough to figure out what's going wrong, and it works fine for me.

@OP:
Nice job, this was a really good idea! Once you fix the Shift bug it'll be awesome! :D
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
July 31 2012 00:40 GMT
#8
I fixed Shift + . and Shift + =

I think Non-US keyboards might be iffy right now, I will have to figure out how to test with one.
Zerg #1
Raembo
Profile Joined December 2010
Indonesia46 Posts
July 31 2012 01:11 GMT
#9
I don't understand how this works.
it told me to create control group of 0
and I press ctrl + 0
and it doesn't work?!?!?
am I missing something?
"People don't change, they only adapt"
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
July 31 2012 01:18 GMT
#10
On July 31 2012 10:11 Raembo wrote:
I don't understand how this works.
it told me to create control group of 0
and I press ctrl + 0
and it doesn't work?!?!?
am I missing something?


The middle text will show what you needed to press, the red text at the bottom will show what you hit. Was there a mismatch? If it isn't what you expected, are you on a non-US keyboard? I haven't heard back from anyone with one yet.
Zerg #1
Raembo
Profile Joined December 2010
Indonesia46 Posts
July 31 2012 01:22 GMT
#11
On July 31 2012 10:18 SirPsychoMantis wrote:
Show nested quote +
On July 31 2012 10:11 Raembo wrote:
I don't understand how this works.
it told me to create control group of 0
and I press ctrl + 0
and it doesn't work?!?!?
am I missing something?


The middle text will show what you needed to press, the red text at the bottom will show what you hit. Was there a mismatch? If it isn't what you expected, are you on a non-US keyboard? I haven't heard back from anyone with one yet.


I believe I'm using US keyboard.
and there was no guide on what keys to press. except for making units
example:
make mutalisk
T

example:
create control group of 0
(nothing here)

does this make sense?
"People don't change, they only adapt"
Akylol
Profile Joined October 2011
Germany9 Posts
July 31 2012 01:37 GMT
#12
It's also not correctly working for me. Shift + a number in the top row results in pressing the sign on the button.(i should press Shift + 0 but he can only register shift + equal) . I am using this on a German keyboard but there should not be a large issue because the hotkey layout is meant for the german keyboard (TheCore German special layout).
Eliwood5837
Profile Joined July 2011
245 Posts
July 31 2012 01:50 GMT
#13
Doesn't even run for me
Liquid`HerO Fighting! | Liquid`TaeJa Fighting!
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
Last Edited: 2012-07-31 02:40:35
July 31 2012 02:36 GMT
#14
On July 31 2012 10:50 Eliwood5837 wrote:
Doesn't even run for me


If it doesn't run you probably didn't copy in your hotkeys file, if that isn't the case get back to me

On July 31 2012 10:37 Akylol wrote:
It's also not correctly working for me. Shift + a number in the top row results in pressing the sign on the button.(i should press Shift + 0 but he can only register shift + equal) . I am using this on a German keyboard but there should not be a large issue because the hotkey layout is meant for the german keyboard (TheCore German special layout).


The problem is I have to convert the symbols to their respective keys, if I do Shift+0, Tkinter gives me RIGHTPAREN while SC2 wants 0, so I convert it. The problem is, the symbol above 0 on US keyboards is parens, while other countries might have equals. I'm going to research a better solution for this.

On July 31 2012 10:22 Raembo wrote:
Show nested quote +
On July 31 2012 10:18 SirPsychoMantis wrote:
On July 31 2012 10:11 Raembo wrote:
I don't understand how this works.
it told me to create control group of 0
and I press ctrl + 0
and it doesn't work?!?!?
am I missing something?


The middle text will show what you needed to press, the red text at the bottom will show what you hit. Was there a mismatch? If it isn't what you expected, are you on a non-US keyboard? I haven't heard back from anyone with one yet.


I believe I'm using US keyboard.
and there was no guide on what keys to press. except for making units
example:
make mutalisk
T

example:
create control group of 0
(nothing here)

does this make sense?


Would you mind posting your hotkeys file so I can test it?
Zerg #1
Snusmumriken
Profile Joined April 2012
Sweden1717 Posts
Last Edited: 2012-07-31 10:15:13
July 31 2012 10:02 GMT
#15
good stuff., but not really that useful. For example its not very useful to know how to make "camera7", I only need to know how to make basecamera etc. but yeah.

could also do with more stuff such as "build techlab" etc. "lift building" etc. Also for the core, knowingthat button x is "controlgroup y" doesnt really matter, something like "select vikings", "add to army" etc. makes more sense as that is what you wnat to learn. The harassmentkeys could be numbered though.

What I mean by all this is that you could specifically modify the program for thecore. Seeing as there are already suggested control groups for every race.
Amove for Aiur
Castor385
Profile Joined September 2011
Netherlands20 Posts
July 31 2012 10:12 GMT
#16
How can I test Protoss hotkeys with this?
Study everything, You'll find something you can use
Kaz_Coaching
Profile Joined October 2010
United States83 Posts
Last Edited: 2012-07-31 12:43:36
July 31 2012 12:36 GMT
#17
Would be nice to have a skip option for when the program doesn't read the command correctly.

Commands that aren't recognized.

Alt (by itself).
Shift + BracketOpen is read as Shift + Braceleft
Shift + BracketClose is read as Shift + braceright
ben.stpierre
Profile Joined April 2010
Canada16 Posts
July 31 2012 12:50 GMT
#18
Could you release the python script as well as the exe?

I'm on a Mac at work (which has python installed).
faintz
Profile Joined June 2010
United States47 Posts
July 31 2012 15:11 GMT
#19
Doesn't work. Restarted several times and no matter what I put in it does not tell me if its right or wrong.
unicornofdoom
Profile Joined May 2012
Sweden3 Posts
July 31 2012 16:08 GMT
#20
where can i find how to use the camera keys and wichone is suggested for each button? the visual aids are no help for anything without the text tbh..... otherwise great work guys!
it's little bit of an advanced tactic and with advanced I mean really fucking bad
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
July 31 2012 16:59 GMT
#21
On July 31 2012 19:02 Snusmumriken wrote:
good stuff., but not really that useful. For example its not very useful to know how to make "camera7", I only need to know how to make basecamera etc. but yeah.

could also do with more stuff such as "build techlab" etc. "lift building" etc. Also for the core, knowingthat button x is "controlgroup y" doesnt really matter, something like "select vikings", "add to army" etc. makes more sense as that is what you wnat to learn. The harassmentkeys could be numbered though.

What I mean by all this is that you could specifically modify the program for thecore. Seeing as there are already suggested control groups for every race.


If you look at the bottom of the config.ini file you can name the control groups. I would like to add common sequences of actions, going to have to make a more advanced customization for it though, it is in the works.

On July 31 2012 19:12 Castor385 wrote:
How can I test Protoss hotkeys with this?


Look at the config.ini, switch race to protoss

On July 31 2012 21:36 Kaz_Coaching wrote:
Would be nice to have a skip option for when the program doesn't read the command correctly.

Commands that aren't recognized.

Alt (by itself).
Shift + BracketOpen is read as Shift + Braceleft
Shift + BracketClose is read as Shift + braceright


I fixed the brace, as well as added so you can skip by clicking on the window. Thanks for the help!

On July 31 2012 21:50 ben.stpierre wrote:
Could you release the python script as well as the exe?

I'm on a Mac at work (which has python installed).



Added a link to download the source.
Zerg #1
JDub
Profile Joined December 2010
United States976 Posts
Last Edited: 2012-07-31 18:56:58
July 31 2012 18:50 GMT
#22
I'm using TheCore RRM 0.3.3, and in the .SC2Hotkeys file it seems like the hotkey for infernal preigniter is not specified, probably because it is the same as the default hotkey (I). When infernal preigniter came up in the program, it did not have the default value, so it would accept nothing as the correct answer and I had to skip it.

Thanks for your hard work on this! It's awesome :D

Edit: Looking through the code, you do have a system for using default values, but it seems you forgot the preigniter upgrade in there, although you did add it as a possible command to train.
JDub
Profile Joined December 2010
United States976 Posts
August 02 2012 21:13 GMT
#23
Would it be possible to create a setting that would force the program to give you every command once before repeating any commands? Given the nature of randomness, you get a lot of repetition and miss out on a lot of the possible commands, which is helpful in some ways, but it would be nice to enforce having to learn everything.
bisl
Profile Joined October 2011
United States21 Posts
Last Edited: 2012-08-03 06:44:18
August 03 2012 06:25 GMT
#24
I like it! I'm using TheCore RLM 0.3.3, which unfortunately shares some keybinds with Standard; specifically, things like Glial Reconstitution and Grooved Spines, which are both G in both bindsets, as well as control groups 2-4, which are on Ctrl/Shift-2, Ctrl/Shift-3, Ctrl/Shift-4.

It seems that only keybinds that differ from Standard are saved to the SC2Hotkeys file, and when I land on these prompts in the program I just fail despite pressing the correct key. Moreover, in these cases it doesn't display the correct keybind, presumably, because it doesn't have the info from the SC2Hotkeys file.

Thanks for doing this though! After playing righty as a born-lefty for about fourteen years, TheCore is quite a challenge and I think this could help me quite a bit.

Edit: upon further inspection, this is the same thing posted by jdub two posts above me.
Edit: Apparently when using TheCore RLM 0.3.3, Create Control Group 0 (Ctrl-Tab) incorrectly recognizes Ctrl-Tab as Tab.
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
August 03 2012 14:48 GMT
#25
Looking into which defaults I missed that the core uses.

(Note for people that are curious, the SC2Hotkeys file leaves out a key if the default key is used, so I have to manually put in the defaults)
Zerg #1
bisl
Profile Joined October 2011
United States21 Posts
Last Edited: 2012-08-03 15:32:44
August 03 2012 15:31 GMT
#26
I did a little tinkering and using ControlGroupAppend0, ControlGroupAssign0, and ControlGroupRecall0 as examples, I added in the keystrokes for control groups 2-4 which match TheCore. Worked a lot better, but things like Glial, Grooved Spines, Infestor Energy (I think) are still missing from the sc2hotkeys file and I have no idea how the game refers to them.

In a pinch I guess I could just make a dummy profile that changes exactly the keys that I find to be missing, but this is a highly iterative process and from the sound of it, the defaults are there and just need to be turned on, in a sense. Also I can't boot up SC2 to generate these new SC2Hotkey files at work

Also I guess for the record, I'm pretty far off the reservation, using both left-handed TheCore and also configuring hotkey trainer to prompt for upgrade keys, which defaults to false in config.ini.
kamyker
Profile Joined August 2012
Poland6 Posts
August 06 2012 12:29 GMT
#27
Bug: right Alt working as Ctrl+Alt
Existor
Profile Joined July 2010
Russian Federation4295 Posts
August 06 2012 12:40 GMT
#28
Grid is the best, imo
kamyker
Profile Joined August 2012
Poland6 Posts
August 06 2012 12:44 GMT
#29
"Center camera on Selection" doesn't work when i click alt
Skytt
Profile Joined June 2011
Scotland333 Posts
August 06 2012 13:10 GMT
#30
Doesnt work with numkeys which I have all camera keys bound too (I use a Naga for them)
Mastertoy
Profile Joined July 2012
3 Posts
August 06 2012 14:11 GMT
#31

[*]Euro/Other Non-US keyboard support (I think these may not work ATM, for now you might be able to switch your keyboard layout temporarily to US)


can't wait
potens
Profile Joined August 2012
Belgium3 Posts
August 08 2012 12:46 GMT
#32
Hi SirPsychoMantis,

Thanks for your program !

Acutally, it sounds it works not well with foreign keyboard layout. I've looked a bit to the program (not enough to determine the problem) but I guess the keyTransDic should be adapted for each layout. (not sure of it). If this is the case, don't you think it can be moved the config file to be customized by the user ? If this is the problem, another solution is to create some library with the layouts an put a parmeter in the config to choose the layout. This will be great for users, but utterly boring to fill for the guy[s] that will create the mappings.

I can help you if you need it.

PS: When I say it works not well, I mean, in my case (belgian keyboard) ! (on the 8 key) is giving me 1, i.e.
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
August 08 2012 16:16 GMT
#33
On August 03 2012 15:25 bisl wrote:
I like it! I'm using TheCore RLM 0.3.3, which unfortunately shares some keybinds with Standard; specifically, things like Glial Reconstitution and Grooved Spines, which are both G in both bindsets, as well as control groups 2-4, which are on Ctrl/Shift-2, Ctrl/Shift-3, Ctrl/Shift-4.

It seems that only keybinds that differ from Standard are saved to the SC2Hotkeys file, and when I land on these prompts in the program I just fail despite pressing the correct key. Moreover, in these cases it doesn't display the correct keybind, presumably, because it doesn't have the info from the SC2Hotkeys file.

Thanks for doing this though! After playing righty as a born-lefty for about fourteen years, TheCore is quite a challenge and I think this could help me quite a bit.

Edit: upon further inspection, this is the same thing posted by jdub two posts above me.
Edit: Apparently when using TheCore RLM 0.3.3, Create Control Group 0 (Ctrl-Tab) incorrectly recognizes Ctrl-Tab as Tab.


Added those defaults, should work now. Also fixed the Tab business.

On August 06 2012 21:29 kamyker wrote:
Bug: right Alt working as Ctrl+Alt


This is the weirdest bug, only happens with non-US keyboards, going to have to look into it more

On August 06 2012 22:10 Skytt wrote:
Doesnt work with numkeys which I have all camera keys bound too (I use a Naga for them)


Fixed

On August 08 2012 21:46 potens wrote:
Hi SirPsychoMantis,

Thanks for your program !

Acutally, it sounds it works not well with foreign keyboard layout. I've looked a bit to the program (not enough to determine the problem) but I guess the keyTransDic should be adapted for each layout. (not sure of it). If this is the case, don't you think it can be moved the config file to be customized by the user ? If this is the problem, another solution is to create some library with the layouts an put a parmeter in the config to choose the layout. This will be great for users, but utterly boring to fill for the guy[s] that will create the mappings.

I can help you if you need it.

PS: When I say it works not well, I mean, in my case (belgian keyboard) ! (on the 8 key) is giving me 1, i.e.


Ok, I've separated the keybinds into their own file, check out "us.ini" I'm going to probably need some help to make proper files for other keyboards.
Zerg #1
bisl
Profile Joined October 2011
United States21 Posts
Last Edited: 2012-08-08 18:45:53
August 08 2012 18:45 GMT
#34
On August 09 2012 01:16 SirPsychoMantis wrote:
Added those defaults, should work now. Also fixed the Tab business.


Here I go! thanks. Also, I made a keybind profile containing no keybinds whatsoever, so that I could get a full list of the binding names. It's here, if that could help you at all.
bisl
Profile Joined October 2011
United States21 Posts
August 08 2012 19:49 GMT
#35
Missing defaults:
Zerg
Upgrade Greater Spire - G
Upgrade Infestor Energy - G

With TheCore RLM 0.3.3 and unchanged us.ini file, Alt doesn't register for "Center Camera on Selection," although the program does display it as the correct answer when the timer expires.

So far only tested zerg. I'll hit this back when I try the others.
Chezus
Profile Joined January 2011
Netherlands427 Posts
August 08 2012 20:00 GMT
#36
On August 06 2012 21:29 kamyker wrote:
Bug: right Alt working as Ctrl+Alt


I'm prettty sure right alt (or ALT GR) is ctrl+alt by definition, for example if you try alt codes, using right alt (alt gr) gives different results.

http://en.wikipedia.org/wiki/AltGr_key

"To allow the specific functionality of AltGr when typing non-English text on such keyboards, Windows began to allow it to be emulated by pressing the Alt key together with the Control key"
Sporadic44
Profile Blog Joined January 2011
United States533 Posts
August 08 2012 20:20 GMT
#37
very cool
"Opportunities multiply as they are seized."
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
August 08 2012 20:24 GMT
#38
On August 09 2012 03:45 bisl wrote:
Show nested quote +
On August 09 2012 01:16 SirPsychoMantis wrote:
Added those defaults, should work now. Also fixed the Tab business.


Here I go! thanks. Also, I made a keybind profile containing no keybinds whatsoever, so that I could get a full list of the binding names. It's here, if that could help you at all.


Thanks, could be helpful, now if only there was a way to get all the default binds into a text file, manually doing them is quite tedious.

On August 09 2012 05:00 Chezus wrote:
Show nested quote +
On August 06 2012 21:29 kamyker wrote:
Bug: right Alt working as Ctrl+Alt


I'm prettty sure right alt (or ALT GR) is ctrl+alt by definition, for example if you try alt codes, using right alt (alt gr) gives different results.

http://en.wikipedia.org/wiki/AltGr_key

"To allow the specific functionality of AltGr when typing non-English text on such keyboards, Windows began to allow it to be emulated by pressing the Alt key together with the Control key"


Ah good to know, we'll see if I can get a work around
Zerg #1
potens
Profile Joined August 2012
Belgium3 Posts
August 11 2012 16:12 GMT
#39
Hi SirPsychoMantis,

Ok, I've separated the keybinds into their own file, check out "us.ini" I'm going to probably need some help to make proper files for other keyboards.

In fact, the way you have done it suppress the need for the layout file, with the one you have done (us.ini) great (I didn't thought this way) !

Now, another problem persists, and it will need another table to translate things :
the way sc2 puts the hotkeys in the file is, IMHO, by using the character AND, when it's a symbol, using a name. In my version with locale en_GB (I know, I use a (moreover) french keyboard, but I prefer the VO voices), the shortcut for the key ^ is written as BracketClose in the file, but displayed as "accent circonflexe" in the game. I don't know if this translated for the other languages but, the fact is, SC2 reads BracketClose, your (o-so-useful) program reads BracketClose in the conf, ask for BracketClose (and with the new version, it gets it) and print BracketClose in the hint or in the answer.
This little problem will just reduce the usage of the program as a trainer for a new layout for non-english speaker, if you already knows the layout and use the program the train to be better, then, no problem with that.

Ah good to know, we'll see if I can get a work around


You just have to discart the keycode 17 (Control_L) when you get the keycode 18 (Alt_R) because the two keycodes are sent (first the 17, then the 18) when you press the AltGr key. I guess this is the hardware that send the two checked, it's windows (or your choice OS)

Good work !


PS: I guess now you can disable the twin function, or maybe I didn't get the usage of it.
Cyberdyne
Profile Joined September 2010
Germany12 Posts
August 23 2012 18:43 GMT
#40
Thanks for doing this, already putting it to use under Windows using the executable.

When I try to get it to run under Linux using python 3.1 or 3.2 I always get an error though:
TypeError: 'ConfigParser' object is not subscriptable

Do you have any idea how to solve this problem?

Also I noticed, using the TRM layout of TheCore, the ability group only asks me to stim, while the upgrades group misses air upgrades.
blinky8ill
Profile Joined September 2012
1 Post
September 05 2012 09:26 GMT
#41
It works fine for me and its kind of exactly what i was looking for. Do you also think it would be possible to edit it for Dota 2 hot keys, not so you remember them but so you can practice reaction times.
So maybe have like a editable config file with what question the program will ask and the key required for answer. Something easy for people like me to understand

Sorry for my noobiness dont really know what i am talking about but i hope my idea gets across because this for Dota would help me a lot.
Cheers
Yalpe
Profile Joined October 2011
Canada11 Posts
September 27 2012 19:30 GMT
#42
For those having problems with Alt Gr you can remap this key through the registry. Fire up regedit and go to :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

In keyboard layout add a new binary entry called Scancode Map

00 00 00 00 00 00 00 00
02 00 00 00 38 00 38 e0
00 00 00 00

Or you can make a new textfile anywhere and paste

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
“Scancode Map”=hex:00,00,00,00,00,00,00,00,02,00,00,00,38,00,38,e0,00,00,00,00


inside the file. Rename it to RemapAltGr.reg and execute then reboot. Should work. Worked for me. To revert, simply remove the reg key.
Elendil9
Profile Joined September 2011
2 Posts
January 07 2013 17:51 GMT
#43
An OS X executable would be great! Please let me know when you get this up and running. I could really use it to learn TheCore layout.
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
Last Edited: 2013-01-07 22:12:25
January 07 2013 22:11 GMT
#44
I haven't been working on this at all recently, doesn't seem like the demand is huge. It actually does work on OS X from source, I don't have a mac to try to build an executable though.

If I do more updates it will probably be around HotS release time.
Zerg #1
toxifly
Profile Joined May 2010
Poland24 Posts
February 18 2013 00:06 GMT
#45
I have made very simple script for people having trouble with right alt sending ctrl key. When you run it, it will remap right alt to left alt as long as it's running.

exe: https://dl.dropbox.com/u/19497471/alt.exe
ahk version (if you have ahk installed): https://dl.dropbox.com/u/19497471/alt.ahk
llIH
Profile Joined June 2011
Norway2143 Posts
February 18 2013 00:21 GMT
#46
Cool program!
itsmeandy
Profile Joined March 2013
Norway1 Post
Last Edited: 2013-03-18 12:15:50
March 18 2013 12:14 GMT
#47
Hey im using a nordic keyboard and the program doesn't seem to recognize ALT Gr+ any number key. I.E. ALT+CONTROL+9(ALT Gr+9).
TheRealKinetic
Profile Joined April 2013
Germany10 Posts
April 06 2013 23:27 GMT
#48
Good stuff. That's some great work mate.

There are no keyboard options for other languages yet right? It says you need to change this in the config.ini, but there is nothing we can change it too yet. Is that correct? If that's correct, I'm asking myself of what use I could be to you? I wish more people would ask themselves that.

I am German, have a German keyboard QWERTZ and would certainly be willing to help you with this. I'm in the process of making a PSD for my specific layout that overlays TheCore onto a typical German keyboard. I already have that file for TLM, but that is because I didn't understand TheCore at all and thought the L would simply move the layout to the left side of the keyboard, but instead it's truly for left handed mouse use. It also reverses the logic of what fingers are used for what actions and is thus completely impractical for me. I only started playing a few weeks ago, so the resulting completely illogical placement and hand gymnastics only became apparent, when I started practicing with it ingame.

So I scrapped using the TLM 0.6.3 layout and fired up the TRM 0.6.3. Then it hit me hard. The buttons are definitely different. Things aren't always where the TheCore Reference Spreadsheet assumes them to be. I think the mapping probably works fine, but they spreadsheet tells you different keys than what they are in reality, when you try to play. So this is probably the riddle you cannot solve without a different keyboard and language settings on your machine. Obviously you will have no idea what truly happens without that foreign keyboard in hands.

The good news is. I have one of the keyboards you will want, I speak pretty fluent English and I can translate and check where things are, etc. I'm not a programming wiz and don't understand anything about Python, but I'm sure I can still somehow help.

I'm now working on making the PSD for regular right handed mouse use. The PSD includes markers over keys for what buttons to press to make and add to control groups, set and use cameras, build basic and advanced and some strategy related stuff like lift building, siege/unsiege etc. It also features a legend that displays clearly what buttons are suggested to use for specific things. It is clearly labeled, intuitive and color coded. I did this, because I don't really know SC yet and a layout of what fingers you use to press where and where things are generally wasn't enough for me. I needed to actually see a lot more within one simple picture. Why is that you might ask? Let me explain.

For example if I press Shift-W for cam 1 and W for group 6 and the CC/.../... goes there, I needed something that would tell me all these things without having the spreadsheet open and the general map. Otherwise the process is as follows. I build a CC. I should set a camera here and bind it to a control group. Let's pull up the spreadsheet and look how to add to a control group. O.k. Now where do I add this to? Let's see what's suggested over here in a different place in the spreadsheet. Ahh, ok., so that goes to group 6 to make things flow easy. Hmm, so where is group 6 placed? Let's look that up, too. Ahh, yes. Wait a second how do I set the camera again? Right, I just use Alt and I'm good to go. Let's go back to the game. Wait, shit, how to set control groups again? Was that W or E? Let's check the spreadsheet. Now else might I want to do. let's look at the basic mapping again. And so on and so forth. At that speed it probably takes me a year to grasp the basics, so I figured I'd make myself a more telling graphic that tells me all I need to really know with one glance. Like I said I'm a total noob, so the graphics a resources they provide were simply not detailed enough for me to learn things within a reasonable timeframe.

The general help pictures were made for people that already have a general sense of what they are doing and they were meant to apply to all versions and all races. That ended up not being useful for me at all, so I figured maybe give this hotkey trainer a try and sure enough that absolutely helps to get things in order in my brain. But there are so many things you can do and control groups don't go left to right top to bottom either. They went with game related ergonomics for TheCore, so not much is intuitive until you get it. So in order to get better I had to see what your program wanted from me on a piece of paper and made myself a PSD that tells me it (at least for terran).

When I finally saw things like that I quickly realized that I had assumed wrong and that TLM was indeed for left mouse and they truly meant what they said. It's not just the layout on the left of the keyboard, it's all ergonomically and logically switched to be used with the right hand. So I went with TRM instead and then I looked at the spreadsheet and in game. A lot of shit is not where the spreadsheet says it should be, because buttons are labeled differently and at least in the case of löä#enter, we have one more button in the row. I remembered I read in your config.ini you could switch keyboards. Then I tried putting my country code de instead of us in there and it broke the hotkey trainer. So I tried finding out what I need to put in there and instead google brought me here.

I'm currently trying to jump through the hoops of figuring out where things are truly placed on my German keyboard for TRM. Once I figure this out I can finish the PSD and then I will have one for TLM on German QWERTZ and one for TRM on German QWERTZ. I guess I'm currently the only person with a German keyboard that has used your trainer for practice as it works just fine for left handed folks / left mouse users even on the German keyboard. The problems are really on the right side of the keyboard, where there are ö,ä,ü and all sorts of things mixed up. For example for the SCV to build a tier 1 building TheCore wishes the button to be ', but unfortunately the German keyboard has 3 buttons after L, before the enter, whereas the US keyboard has only two. So in game there is nothing happening when you press ' . Instead one needs to press ä to build tier 1 and also turrets (same button in TheCore). And that's just the beginning of it. There is so much different on US vs. German keyboards.

Long story short, I think the PSDs I'm working on can give you the answers to the questions you may have in one easy visual, at least for terran. I don't understand theCore well enough to know if this may be all you need to understand all races and all sizes for theCore, but I think it probably will.

Anyhow, do you want the PSDs once I finish? I will contact the maker of theCore Jaksomething was it? on his youtube channel. In fact I already talked to him there on one of his videos. I want him to see the PSD as well. Perhaps this can be of use for him as well. I think noobs like me will love having this visually before them and I think it could be adopted relatively quickly to different races and sizes now that one clearly layered, marked and color coded PSD is available for that. The PSD itself is 80MB though. It would speed up the process of learning with your trainer immensely in my opinion.

Other than offering the PSD (PSDs) I can try whatever you want and I'm willing to go into files and make translations, photograph my keyboard, etc. but I believe the PSD shows clearly a lot of the default TheCore mapping as it applies to a German keyboard an that may well be all you need. If you still want to make a different keyboard setup, I'm here to help you start with this version in any way you would like me to. I guess it would be the QWERTZ version, but I'm unsure if they all have 3 buttons after L before the enter button or just Germany due to our öäü.

So whatever help you want, just say the word. And to give you an idea of what the PSD looks like, here is the JPG it gives me:

Oh, no image for new users, eh? Great. Link maybe? http://postimg.org/image/p4mlxvp41/

This is on the background of US key Layout on the left side of the keyboard obviously. I have since renamed and restructured the graphic I overlayed the stuff on to match my keyboard and I'm working on the PSD for left mouse on the right side of things. I'm not done yet though.

TL/DR

I know, I know. I'm just trying to help and have a feeling that's exactly what TS was looking for. So I signed up just for this. I'm cross posting this to theCore thread as well. I hope that isn't against the forum rules and if it is that they make an exception. I feel a few people that read there may want to have that PSD as well, so I think the post isn't spam and the people that may be interested will be found in that thread more likely than here. So mods, please don't be very harsh to me, if I assume incorrectly here.

So, this only took 25 minutes to write, lol. I'm outta here and will check back for a possible response from you. In the meantime I shall now head to youtube and give Jakforgetwhatitwas the link to here. Like I said maybe he has use for the PSD as well.

Cheers and thanks again for our great program. It would be an honor for me to help make it a little better.
Don't quote me on that
NicNex
Profile Joined April 2013
United States1 Post
April 10 2013 20:41 GMT
#49
I run StarCraft II on Linux, and found the software/source very helpful although all the key-bindings were off.

Here is the us.ini file I changed to work on Linux without a hitch. I renamed it us.linux.ini to keep the old one in tacked just remember if you do that you need to updated the config.ini file to look for the us.linux.ini file.

Also note I didn't bring over the extra mouse buttons as I do not play with them. However, they would be easily added in if someone needed it and had the mouse to test it with.

Cheers!

+ Show Spoiler +

[Keys]
9=Escape
67=F1
68=F2
69=F3
70=F4
71=F5
72=F6
73=F7
74=F8
75=F9
76=F10
95=F11
96=F12
1=Grave
10=1
11=2
12=3
13=4
14=5
15=6
16=7
17=8
18=9
19=0
20=Minus
21=Equals
22=Backspace
23=Tab
24=Q
25=W
26=E
27=R
28=T
29=Y
30=U
31=I
32=O
33=P
34=BracketOpen
35=BracketClose
51=BackSlash
66=CapsLock
38=A
39=S
40=D
41=F
42=G
43=H
44=J
45=K
46=L
47=SemiColon
48=Apostrophe
52=Z
53=X
54=C
55=V
56=B
57=N
58=M
59=Comma
60=Period
61=Slash
65=Space
90=NumPad0
87=NumPad1
88=NumPad2
89=NumPad3
83=NumPad4
84=NumPad5
85=NumPad6
79=NumPad7
80=NumPad8
81=NumPad9
I tremble for my species when I remember God is just.
Daurak
Profile Joined June 2013
United States1 Post
June 05 2013 23:43 GMT
#50
I just started using this yesterday, and works awesome! (Helps me with the "Core" cameras and control groups, which hotkey trainers in-game don't have) I just have one slight problem, when it asks me "Center Camera on Selection" and the key to press is "Alt," it doesn't work. The only one I am having problems with, even though "Alt+O" works fine. For now, I just click the window when I get that one and it skips it and resets my score. Would be great if you could update that or help me out with it. Thanks!

Are you ever going to change the skin of the window? I like the simplified version myself, but would be neat to have it look like the bar in-game and the group that highlights would be the one you need to select. Just an idea.
Play fair, Be happy.
huggarn
Profile Joined June 2013
Poland1 Post
June 18 2013 04:12 GMT
#51
Preety much digging up old thread but download link is dead ;/
There's always someone better than you
Turbogangsta
Profile Blog Joined March 2011
Australia319 Posts
Last Edited: 2013-06-18 07:16:05
June 18 2013 07:15 GMT
#52
I cant access the link to download the program.

here's what most of the text looks like on the page I get:
The following error was encountered while trying to retrieve the URL: http://50.16.185.164/hotkeytrainer/

Read Error

The system returned: (104) Connection reset by peer

An error condition occurred while reading data from the network. Please retry your request.

Your cache administrator is webmaster.


I really want to try this out.

edit: sorry I didn't see the post above mine haha
Esports is killing Esports.
Krob
Profile Joined March 2013
United States2 Posts
July 23 2013 00:51 GMT
#53
Will OSX be ready soon?
propagare
Profile Joined April 2013
Germany93 Posts
Last Edited: 2013-09-27 19:28:36
September 27 2013 19:28 GMT
#54
I am waiting for months for your next release. I am located in Germany so it doesn't work at all atm, unfortunately: :-(

In the meanwhile I found an in-game solution on the NA region, it is called:

HOTS Hotkey Trainer (starcraft://map/1/203953)

Definitely worth a try!

Keep up the good work, I am very eager to use your hotkey trainer offline while I can't play SC!

Warm regards,
propagare
„Great men are forged in fire. It is the privilege of lesser men to bring the flame, whatever the cost.” ~
JaKaTaKSc2
Profile Blog Joined March 2011
United States2787 Posts
September 27 2013 20:00 GMT
#55
Hey hey mantis, if you need help with keyboard layouts this file might help:

https://github.com/jonnyhweiss/TheCoreConverter/blob/master/KeyboardLayouts.ini

Its got the changes for a variety of keyboards (german included) as they appear in the .SC2Hotkeys files. Not sure if you need the translations for Graylin's Sc2 reader Library or not, (unfortunatetly I don't have them).
Commentatorhttps://www.youtube.com/JaKaTaKtv
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
October 02 2013 17:49 GMT
#56
Hey guys, I still do exist, however my personal life has most of my time right now. If I get a bit of a break I'll see what I can do about updating the program.
Zerg #1
CDS
Profile Joined October 2013
1 Post
October 25 2013 08:28 GMT
#57
It would be just awesome if you could implement German keyboard support! Many thanks for all your work on this.
kasor
Profile Joined March 2014
Canada94 Posts
March 08 2014 14:41 GMT
#58
Thank's for this tool. I am having a problem with undetected "Control+Shift+0" key by the trainer program.
Its concern --> Control Group 6 (core PRM.sc2Hotkeys) us keyboard.

Is there a way to fix it in any config file ?

thanks again.
JaKaTaKSc2
Profile Blog Joined March 2011
United States2787 Posts
March 08 2014 14:56 GMT
#59
hey kasor,
that might be a windows issue. Did you check TheCore FAQ?
Commentatorhttps://www.youtube.com/JaKaTaKtv
propagare
Profile Joined April 2013
Germany93 Posts
Last Edited: 2014-10-08 10:33:41
October 08 2014 10:30 GMT
#60
I propose the following for hotkey training ng.

Hotkey "sequence groups" to enhance the training.

"Build a Viking and regroup it with the Viking groups on hotkey x"
"Build a worker, jump to the natural build a supply depot and re-group army units to hotkey x"
"Build depots with the two idle workers."
"Select Barracks control group and train marines."
"Select CC control group and train (x) workers."

I don't know if my intention about this "feature" is clear but tried my best after some short SC night with only a few hours of sleep here in Germany.

gl hf gg!


PS Maybe there is already a mod, an arcade map or a 3rd party tool that can do this?!? Please let me know!

Thanks in advance
„Great men are forged in fire. It is the privilege of lesser men to bring the flame, whatever the cost.” ~
Wildbuddha
Profile Joined June 2014
37 Posts
Last Edited: 2015-03-10 14:02:53
March 10 2015 14:01 GMT
#61
Anybody still following this? I cant get the trainer to run. It shows the following message:
[image loading]

Any Ideas?
I am on WinXP with python 3.4
arorasmith29
Profile Joined March 2015
1 Post
Last Edited: 2015-03-10 17:18:07
March 10 2015 17:15 GMT
#62
Bot edit.

User was banned for this post.
sDoddler
Profile Joined June 2015
Australia3 Posts
July 01 2015 23:31 GMT
#63
I've created a new version of this if anyone is still interested: http://www.teamliquid.net/forum/legacy-of-the-void/488868-program-sc2-lotv-hotkey-trainer
Normal
Please log in or register to reply.
Live Events Refresh
WardiTV European League
16:00
Playoffs Day 2
HeRoMaRinE vs SKillousLIVE!
ByuN vs TBD
WardiTV992
LiquipediaDiscussion
PSISTORM Gaming Misc
15:55
FSL TeamLeague week8: IC vs RR
Freeedom64
Liquipedia
BSL20 Non-Korean Champi…
12:00
Playoff - Day 1/2
Fengzi vs DewaltLIVE!
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
JuggernautJason108
BRAT_OK 74
MindelVK 39
ProTech33
SteadfastSC 0
StarCraft: Brood War
Britney 31959
Mini 878
ggaemo 525
firebathero 216
sas.Sziky 91
Zeus 80
Mong 67
Rock 37
HiyA 19
Dota 2
Gorgc5764
qojqva3846
420jenkins803
League of Legends
Reynor84
Counter-Strike
fl0m4213
ScreaM1738
sgares380
Heroes of the Storm
Khaldor521
Liquid`Hasu488
Other Games
Beastyqt759
Dendi676
Lowko251
Hui .169
Trikslyr50
QueenE41
Organizations
Other Games
gamesdonequick1602
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• Berry_CruncH66
• printf 41
• tFFMrPink 20
• LaughNgamezSOOP
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• 80smullet 15
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 4050
• Nemesis1527
League of Legends
• Jankos1674
Other Games
• imaqtpie721
• Shiphtur195
Upcoming Events
Sparkling Tuna Cup
15h 56m
BSL20 Non-Korean Champi…
19h 56m
Bonyth vs TBD
WardiTV European League
21h 56m
Wardi Open
1d 16h
OSC
2 days
uThermal 2v2 Circuit
3 days
The PondCast
4 days
Replay Cast
5 days
uThermal 2v2 Circuit
5 days
RSL Revival
6 days
[ Show More ]
RSL Revival
6 days
uThermal 2v2 Circuit
6 days
Liquipedia Results

Completed

BSL 20 Non-Korean Championship
FEL Cracow 2025
Underdog Cup #2

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20: Qualifier #1
HCC Europe
CC Div. A S7
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025

Upcoming

ASL Season 20: Qualifier #2
ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
uThermal 2v2 Main Event
Thunderpick World Champ.
MESA Nomadic Masters Fall
CAC 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.