• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 04:52
CET 10:52
KST 18:52
  • 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
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win1BGE Stara Zagora 2026 announced14[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13
StarCraft 2
General
SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband Weekly Cups (Nov 24-30): MaxPax, Clem, herO win BGE Stara Zagora 2026 announced Information Request Regarding Chinese Ladder SC: Evo Complete - Ranked Ladder OPEN ALPHA
Tourneys
$5,000+ WardiTV 2025 Championship Constellation Cup - Main Event - Stellar Fest RSL Revival: Season 3 Tenacious Turtle Tussle [Alpha Pro Series] Nice vs Cure
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation
Brood War
General
Which season is the best in ASL? [ASL20] Ask the mapmakers — Drop your questions BGH Auto Balance -> http://bghmmr.eu/ FlaSh's Valkyrie Copium BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL21] RO16 Group B - Sunday 21:00 CET [BSL21] RO16 Group C - Saturday 21:00 CET Small VOD Thread 2.0
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Should offensive tower rushing be viable in RTS games? The Perfect Game
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread The Big Programming Thread Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
James Bond movies ranking - pa…
Topin
Esports Earnings: Bigger Pri…
TrAiDoS
Thanks for the RSL
Hildegard
Saturation point
Uldridge
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1369 users

[Program] Hotkey Trainer - Page 2

Forum Index > SC2 General
Post a Reply
Prev 1 2 3 4 Next All
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.
Prev 1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 2h 8m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 112
ProTech99
StarCraft: Brood War
Britney 28874
Shuttle 1302
actioN 1130
Horang2 1013
Hyuk 787
BeSt 541
Stork 466
Larva 407
Mini 261
Dewaltoss 188
[ Show more ]
ZerO 145
Soma 136
Killer 98
Leta 97
Pusan 87
Shinee 54
Aegong 43
JulyZerg 33
Backho 22
Noble 20
ajuk12(nOOB) 16
Barracks 15
Sacsri 13
Bale 10
Shine 9
Terrorterran 8
zelot 7
SilentControl 7
yabsab 7
soO 6
Dota 2
XaKoH 429
XcaliburYe197
NeuroSwarm94
League of Legends
JimRising 544
Counter-Strike
olofmeister1003
Other Games
summit1g10954
ceh9465
Happy290
Mew2King133
Fuzer 88
ZerO(Twitch)9
Organizations
Other Games
gamesdonequick777
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• LUISG 30
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1075
Upcoming Events
Wardi Open
2h 8m
StarCraft2.fi
7h 8m
PiGosaur Monday
15h 8m
Wardi Open
1d 2h
StarCraft2.fi
1d 7h
Replay Cast
1d 14h
The PondCast
2 days
Replay Cast
2 days
Korean StarCraft League
3 days
CranKy Ducklings
4 days
[ Show More ]
SC Evo League
4 days
BSL 21
4 days
Sziky vs OyAji
Gypsy vs eOnzErG
Sparkling Tuna Cup
5 days
BSL 21
5 days
Bonyth vs StRyKeR
Tarson vs Dandy
Replay Cast
5 days
Wardi Open
6 days
StarCraft2.fi
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-11-28
RSL Revival: Season 3
Light HT

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
Acropolis #4 - TS3
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
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.