• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 17:15
CET 22:15
KST 06:15
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros7[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win52025 RSL Offline Finals Dates + Ticket Sales!10BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION1Crank Gathers Season 2: SC II Pro Teams10Merivale 8 Open - LAN - Stellar Fest4
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Intel X Team Liquid Seoul event: Showmatches and Meet the Pros Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win Weekly Cups (Oct 13-19): Clem Goes for Four DreamHack Open 2013 revealed
Tourneys
2025 RSL Offline Finals Dates + Ticket Sales! SC4ALL $6,000 Open LAN in Philadelphia Merivale 8 Open - LAN - Stellar Fest Crank Gathers Season 2: SC II Pro Teams $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment
Brood War
General
Ladder Map Matchup Stats SnOw's ASL S20 Finals Review BW General Discussion [ASL20] Ask the mapmakers — Drop your questions BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL20] Grand Finals Small VOD Thread 2.0 The Casual Games of the Week Thread BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION
Strategy
How to stay on top of macro? Current Meta PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Beyond All Reason Path of Exile General RTS Discussion Thread Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Big Programming Thread YouTube Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
Formula 1 Discussion MLB/Baseball 2023 2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Career Paths and Skills for …
TrAiDoS
KPDH "Golden" as Squid Game…
Peanutsc
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1679 users

Darkgrid Trainer program

Forum Index > SC2 General
Post a Reply
1 2 3 Next All
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
Last Edited: 2012-03-30 17:26:42
February 12 2012 01:26 GMT
#1
I've been working on a little program the last few days to help practice with new hotkeys, since I'm switching over to darkgrid, check it out and give me some feedback!

Darkgrid Thread
Darkgrid Trainer on Reddit

Darkgrid Trainer, v7


This python script lets you practice the Darkgrid 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: Still working on adding every useful command

Download!, (Note: This is my amazon AWS server)

Instructions:
  1. You must have Python 3 installed on your computer (python.org/download/)
  2. Unzip dgtrainer.zip to any folder
  3. COPY your Darkgrid .SC2Hotkeys file to the folder, this script reads the hotkeys file, so any modifications you have done to it will work fine
  4. Open the config.ini if you wish to change options, such as time per command and if you want to always show the key combinations (recommended for people going cold turkey for the first time)
  5. Double click the dgtrainerV7.py file and get to practicing!

NOTE: If double clicking the .py file doesn't work (seems to do this on Macs) do the following:
  1. Open "IDLE (Python GUI)"
  2. File -> Open...
  3. Navigate to dgtrainerV7.py and open it
  4. Run -> Run Module


Recent changes:
  • Added a config option to swap the mouse buttons
  • Mouseless keys support!



Screenshot:
+ Show Spoiler +

[image loading]


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

[image loading]
Zerg #1
Kaitlin
Profile Joined December 2010
United States2958 Posts
February 12 2012 01:29 GMT
#2
This would work for any hotkey setup, would it not ?
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
February 12 2012 01:31 GMT
#3
On February 12 2012 10:29 Kaitlin wrote:
This would work for any hotkey setup, would it not ?


I need to work on it a little more and it can. The thing about the hotkey files is that they only contain information about keys that are different from the normal keys. I haven't hardcoded the non-modified keys yet.
Zerg #1
Raymano
Profile Joined May 2011
Australia27 Posts
February 12 2012 02:00 GMT
#4
this is amazing! thank you so much!! ive been spamming in Notepad when Im at work to practice Darkgrid too haha =.="
Chaves
Profile Blog Joined July 2011
Brazil315 Posts
February 12 2012 02:02 GMT
#5
Can you show the code font? or can i download it in any place?
KicKDoG
Profile Joined December 2003
Sweden765 Posts
February 12 2012 02:06 GMT
#6
yeah show the code font! that would be great
http://www.twitter.com/KicKDoG_LoL baylife plox?
MaV_gGSC
Profile Blog Joined November 2010
Canada1345 Posts
February 12 2012 02:19 GMT
#7
Please make it so that it can work for various other hot key set ups. I would be forever grateful :D
Life's good :D
TheBOSZ
Profile Joined October 2011
12 Posts
February 12 2012 06:40 GMT
#8
I'm not exactly sure, but I think there is a bug when the "attack" command pops up. Whenver i press a button after it, a python window pops up and the program crashes.
Balgrog
Profile Blog Joined March 2011
United States1221 Posts
February 12 2012 07:21 GMT
#9
Wow even thought I am not a zerg player, this is great! good job, glad to see people making programs to help out with this kind of thing, better than having to do 100 customs or what ever haha
The only way to attack structure is with chaos.
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
February 12 2012 23:34 GMT
#10
On February 12 2012 15:40 TheBOSZ wrote:
I'm not exactly sure, but I think there is a bug when the "attack" command pops up. Whenver i press a button after it, a python window pops up and the program crashes.


I'll look into it, probably from me not having the default keys in there yet
Zerg #1
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
February 13 2012 02:03 GMT
#11
Updated to version 2, check it out terran and protoss players!
Zerg #1
IFgogogosu
Profile Joined February 2012
15 Posts
February 13 2012 02:19 GMT
#12
On February 13 2012 11:03 SirPsychoMantis wrote:
Updated to version 2, check it out terran and protoss players!


Actually this looks cool. Reminds me of a kindergarden program for kids, Just what I need to improve at SC2 cause that's about my level of play. But I love to watch
mrafaeldie12
Profile Joined July 2011
Brazil537 Posts
February 13 2012 02:30 GMT
#13
This is awesome,darkgrid is the best setup there is, way better than the regular grid (for me).
"..it all comes thumbling down thumbling down thumblin down"
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
Last Edited: 2012-02-13 23:30:52
February 13 2012 23:06 GMT
#14
Updated to version 3, check top for changes

EDIT: Are the tabbed production hotkeys correct for protoss and terran? I'm a zerg player so I haven't used the other two in game.
Zerg #1
FoxyMayhem
Profile Blog Joined April 2011
624 Posts
February 14 2012 17:59 GMT
#15
Awesome work man. I've added a link to this thread at the top of the Darkgrid page. In red!

I think it's... interesting that people are asking you to make it compatible with other layouts. It's like watching someone cut off their own leg and practicing running one-legged so they can get really good at the disability Olympics.
Souza
Profile Joined September 2010
74 Posts
February 14 2012 20:58 GMT
#16
i cant get this to work, i keep geting an error when trying to open the .py i keep getting an error that says
Traceback (most recent call last):
File "C:\Users\Souza\Desktop\dgtrainer\dgtrainerV3.py", line 32, in <module>
fileHandle = open(fileName, 'r')
IOError: [Errno 2] No such file or directory: 'Darkgrid 1-3b Mouseless T and P'

but i dont understand because i followed the steps and that file is named correctly and in the folder with config and the .py. Anyone know how to fix this?
Prillan
Profile Joined August 2011
Sweden350 Posts
February 14 2012 21:05 GMT
#17
On February 12 2012 11:02 Chaves wrote:
Can you show the code font? or can i download it in any place?

On February 12 2012 11:06 KicKDoG wrote:
yeah show the code font! that would be great


What is "code font"? Do you guys mean the source code? If so, the file is a script i.e. it is the source code.
TheBB's sidekick, aligulac.com | "Reality is frequently inaccurate." - Douglas Adams
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
Last Edited: 2012-02-14 23:36:11
February 14 2012 22:22 GMT
#18
On February 15 2012 05:58 Souza wrote:
i cant get this to work, i keep geting an error when trying to open the .py i keep getting an error that says
Traceback (most recent call last):
File "C:\Users\Souza\Desktop\dgtrainer\dgtrainerV3.py", line 32, in <module>
fileHandle = open(fileName, 'r')
IOError: [Errno 2] No such file or directory: 'Darkgrid 1-3b Mouseless T and P'

but i dont understand because i followed the steps and that file is named correctly and in the folder with config and the .py. Anyone know how to fix this?


Make sure you also have the extension on there, should be 'Darkgrid 1-3b Mouseless T and P.SC2Hotkeys' most likely.

Might change this to read the only SC2Hotkeys file in the folder instead of having a name

EDIT: If you download the new version, no more name in the config file
Zerg #1
PsykoMantis
Profile Joined June 2010
United States203 Posts
February 14 2012 22:28 GMT
#19
A little off topic, but there cant be a gentlemanly psychomantis :O!
good work!
SirPsychoMantis
Profile Joined December 2011
United States180 Posts
February 14 2012 23:35 GMT
#20
On February 15 2012 06:05 Prillan wrote:
Show nested quote +
On February 12 2012 11:02 Chaves wrote:
Can you show the code font? or can i download it in any place?

Show nested quote +
On February 12 2012 11:06 KicKDoG wrote:
yeah show the code font! that would be great


What is "code font"? Do you guys mean the source code? If so, the file is a script i.e. it is the source code.


Yup, feel free to peruse the script, I tried to comment what is going on in some of the trickier parts.

On February 15 2012 07:28 PsykoMantis wrote:
A little off topic, but there cant be a gentlemanly psychomantis :O!
good work!


Haha, I was (like 10 years ago) in a counterstrike clan called -[SiR]-, when we disbanded I decided to incorporate it into my name, thus the SirPsychoMantis

Also, just updated to version 4
Zerg #1
1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
The PiG Daily
20:00
Best Games of SC
herO vs Clem
Solar vs Clem
Zoun vs Spirit
Clem vs MaxPax
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft383
UpATreeSC 178
JuggernautJason92
StarCraft: Brood War
Bonyth 85
Dota 2
canceldota291
Counter-Strike
Foxcn263
Super Smash Bros
C9.Mang0137
Heroes of the Storm
Liquid`Hasu354
Khaldor140
Other Games
summit1g5836
FrodaN2493
Grubby2363
tarik_tv1568
ScreaM1125
Beastyqt766
KnowMe250
Pyrionflax198
Fuzer 85
Skadoodle69
ZombieGrub36
Organizations
Other Games
gamesdonequick1400
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 25 non-featured ]
StarCraft 2
• kabyraGe 105
• Hupsaiya 26
• HeavenSC 22
• davetesta21
• Adnapsc2 14
• LUISG 14
• sooper7s
• Migwel
• AfreecaTV YouTube
• intothetv
• LaughNgamezSOOP
• Kozan
• IndyKCrew
StarCraft: Brood War
• FirePhoenix3
• Michael_bg 2
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2182
League of Legends
• Doublelift1922
• TFBlade964
Other Games
• imaqtpie1209
• WagamamaTV245
• Shiphtur194
• tFFMrPink 14
Upcoming Events
Replay Cast
1h 45m
Epic.LAN
14h 45m
BSL Team A[vengers]
16h 45m
Dewalt vs Shine
UltrA vs ZeLoT
LAN Event
16h 45m
BSL 21
21h 45m
BSL Team A[vengers]
1d 16h
Cross vs Motive
Sziky vs HiyA
LAN Event
1d 17h
BSL 21
1d 21h
Replay Cast
2 days
Wardi Open
2 days
[ Show More ]
Monday Night Weeklies
2 days
Replay Cast
3 days
Sparkling Tuna Cup
3 days
Replay Cast
4 days
The PondCast
5 days
Liquipedia Results

Completed

CSL 2025 AUTUMN (S18)
WardiTV TLMC #15
Eternal Conflict S1

Ongoing

BSL 21 Points
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025

Upcoming

SC4ALL: Brood War
YSL S2
BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 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.