• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:59
CEST 21:59
KST 04:59
  • 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
Power Rank - Esports World Cup 202550RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16
Community News
BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams5Weekly Cups (July 14-20): Final Check-up0Esports World Cup 2025 - Brackets Revealed19Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission re-extension4
StarCraft 2
General
RSL Revival patreon money discussion thread The GOAT ranking of GOAT rankings Power Rank - Esports World Cup 2025 Jim claims he and Firefly were involved in match-fixing RSL Season 1 - Final Week
Tourneys
Esports World Cup 2025 Master Swan Open (Global Bronze-Master 2) Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) FEL Cracov 2025 (July 27) - $8000 live event
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava
Brood War
General
BW General Discussion [Update] ShieldBattery: 2025 Redesign BGH Auto Balance -> http://bghmmr.eu/ BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams Ginuda's JaeDong Interview Series
Tourneys
[Megathread] Daily Proleagues CSL Xiamen International Invitational [CSLPRO] It's CSLAN Season! - Last Chance [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread [MMORPG] Tree of Savior (Successor of Ragnarok) Path of Exile CCLP - Command & Conquer League Project
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
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Post Pic of your Favorite Food! Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club!
Media & Entertainment
[\m/] Heavy Metal Thread Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion
Sports
Formula 1 Discussion 2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
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: 808 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 15h 1m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Hui .263
Nathanias 120
BRAT_OK 120
ForJumy 103
ProTech71
MindelVK 35
StarCraft: Brood War
Mini 560
ivOry 5
Dota 2
monkeys_forever8
Counter-Strike
Fnx 1012
Foxcn357
sgares343
Stewie2K253
oskar212
Heroes of the Storm
Liquid`Hasu502
Other Games
FrodaN3033
Gorgc2805
qojqva959
Dendi713
C9.Mang0137
Trikslyr84
QueenE82
Sick35
Organizations
Other Games
BasetradeTV29
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Adnapsc2 8
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota22073
• WagamamaTV823
Other Games
• imaqtpie1605
• Shiphtur444
Upcoming Events
Esports World Cup
15h 1m
Serral vs Cure
Solar vs Classic
OSC
18h 1m
CranKy Ducklings
1d 14h
BSL20 Non-Korean Champi…
1d 18h
CSO Cup
1d 20h
BSL20 Non-Korean Champi…
1d 22h
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
FEL
2 days
BSL20 Non-Korean Champi…
2 days
BSL20 Non-Korean Champi…
2 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Sparkling Tuna Cup
4 days
[ Show More ]
Online Event
4 days
uThermal 2v2 Circuit
5 days
The PondCast
6 days
Liquipedia Results

Completed

CSL Xiamen Invitational
Championship of Russia 2025
Murky Cup #2

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Esports World Cup 2025
CC Div. A S7
Underdog Cup #2
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

CSLPRO Last Chance 2025
ASL Season 20: Qualifier #1
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
uThermal 2v2 Main Event
FEL Cracov 2025
HCC Europe
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.