• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 13:13
CEST 19:13
KST 02:13
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence7Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
Weekly Cups (Sept 8-14): herO & MaxPax split cups3WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia7Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29LiuLi Cup - September 2025 Tournaments3
StarCraft 2
General
#1: Maru - Greatest Players of All Time Team Liquid Map Contest #21 - Presented by Monster Energy Weekly Cups (Sept 8-14): herO & MaxPax split cups SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament WardiTV TL Team Map Contest #5 Tournaments Maestros of The Game—$20k event w/ live finals in Paris RSL: Revival, a new crowdfunded tournament series SC4ALL $6,000 Open LAN in Philadelphia
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
[ASL20] Ro16 Preview Pt2: Turbulence Diplomacy, Cosmonarchy Edition BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion ASL20 General Discussion
Tourneys
[ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile General RTS Discussion Thread Nintendo Switch Thread Borderlands 3
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Russo-Ukrainian War Thread The Big Programming Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1177 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
Next event in 5h 47m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 465
Creator 174
ProTech98
UpATreeSC 53
JuggernautJason4
StarCraft: Brood War
Calm 4968
Bisu 2629
Flash 2490
GuemChi 1868
Shuttle 838
EffOrt 690
Mini 615
PianO 606
BeSt 412
ZerO 186
[ Show more ]
Soulkey 182
hero 147
ggaemo 123
Snow 107
Dewaltoss 89
Rush 70
Hyun 66
Backho 65
sorry 35
Movie 34
JYJ29
soO 24
Aegong 24
ajuk12(nOOB) 12
Sacsri 10
IntoTheRainbow 8
HiyA 8
Terrorterran 7
Hm[arnc] 6
SilentControl 5
Noble 4
Dota 2
Gorgc7586
singsing3921
qojqva3316
Fuzer 264
XcaliburYe132
Counter-Strike
fl0m494
Stewie2K343
Other Games
ceh9608
FrodaN527
Beastyqt396
Hui .357
Lowko356
oskar111
QueenE98
Trikslyr65
FunKaTv 57
NeuroSwarm40
MindelVK27
ZerO(Twitch)16
fpsfer 1
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• intothetv
• sooper7s
• Migwel
• LaughNgamezSOOP
• AfreecaTV YouTube
• IndyKCrew
• Kozan
StarCraft: Brood War
• HerbMon 15
• FirePhoenix5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 4070
• WagamamaTV503
• masondota2442
League of Legends
• Nemesis5930
• TFBlade670
Other Games
• Shiphtur231
• imaqtpie16
Upcoming Events
OSC
5h 47m
PiGosaur Monday
6h 47m
LiuLi Cup
17h 47m
OSC
1d 1h
RSL Revival
1d 16h
Maru vs Reynor
Cure vs TriGGeR
The PondCast
1d 19h
RSL Revival
2 days
Zoun vs Classic
Korean StarCraft League
3 days
BSL Open LAN 2025 - War…
3 days
RSL Revival
3 days
[ Show More ]
BSL Open LAN 2025 - War…
4 days
RSL Revival
4 days
Online Event
4 days
Wardi Open
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 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.