• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:34
CEST 02:34
KST 09:34
  • 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
BGE Stara Zagora 2025: Info & Preview20Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL46Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30
Community News
[BSL20] ProLeague: Bracket Stage & Dates6GSL Ro4 and Finals moved to Sunday June 15th12Weekly Cups (May 27-June 1): ByuN goes back-to-back0EWC 2025 Regional Qualifier Results26Code S RO12 Results + RO8 Groups (2025 Season 2)3
StarCraft 2
General
BGE Stara Zagora 2025: Info & Preview Magnus Carlsen and Fabi review Clem's chess game. Jim claims he and Firefly were involved in match-fixing GSL Ro4 and Finals moved to Sunday June 15th Serious Question: Mech
Tourneys
Bellum Gens Elite: Stara Zagora 2025 SOOPer7s Showmatches 2025 Cheeseadelphia 2025 - Open Bracket LAN! $25,000+ WardiTV 2025 Series Sparkling Tuna Cup - Weekly Open Tournament
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance Mutation # 473 Cold is the Void
Brood War
General
[BSL20] ProLeague: Bracket Stage & Dates BW General Discussion Will foreigners ever be able to challenge Koreans? BGH auto balance -> http://bghmmr.eu/ I made an ASL quiz
Tourneys
[BSL 2v2] ProLeague Season 3 - Friday 21:00 CET [ASL19] Grand Finals [Megathread] Daily Proleagues Small VOD Thread 2.0
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Nintendo Switch Thread Mechabellum Stormgate/Frost Giant Megathread Monster Hunter Wilds Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Heroes of the Storm 2.0 Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Vape Nation Thread European Politico-economics QA Mega-thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard
TL Community
The Automated Ban List
Blogs
Heero Yuy & the Tax…
KrillinFromwales
Research study on team perfo…
TrAiDoS
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Poker
Nebuchad
Info SLEgma_12
SLEgma_12
Customize Sidebar...

Website Feedback

Closed Threads



Active: 19443 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
OSC
00:00
OSC Elite Rising Star #15
NightPhoenix vs HiGhDrALIVE!
Jumy vs TBD
Percival vs sebesdes
PAPI vs MilkiCow
YoungYakov vs TBD
ArT vs ReBellioN
xJustxJordanx2
Liquipedia
Replay Cast
00:00
StarCraft Evolution League #12
CranKy Ducklings96
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
NeuroSwarm 175
Livibee 64
Vindicta 31
StarCraft: Brood War
Artosis 826
910 26
Backho 25
Icarus 4
Dota 2
LuMiX1
League of Legends
JimRising 578
Counter-Strike
Fnx 1866
taco 370
Foxcn267
Super Smash Bros
C9.Mang0724
hungrybox488
Other Games
summit1g10856
shahzam1251
ViBE265
KnowMe28
PPMD25
Organizations
Other Games
gamesdonequick842
BasetradeTV61
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Berry_CruncH294
• davetesta64
• HeavenSC 26
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• RayReign 21
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22772
League of Legends
• Doublelift4985
Other Games
• Scarra1220
• imaqtpie1166
Upcoming Events
Bellum Gens Elite
9h 26m
WardiTV Invitational
13h 26m
BSL 2v2 ProLeague
18h 26m
Replay Cast
23h 26m
CranKy Ducklings
1d 9h
SC Evo League
1d 11h
Bellum Gens Elite
1d 11h
Fire Grow Cup
1d 14h
CSO Contender
1d 16h
BSL: ProLeague
1d 17h
StRyKeR vs MadiNho
Cross vs UltrA
TT1 vs JDConan
Bonyth vs Sziky
[ Show More ]
Replay Cast
1d 23h
SOOP Global
2 days
Creator vs Rogue
Cure vs Classic
SOOP
2 days
Classic vs GuMiho
Sparkling Tuna Cup
2 days
AllThingsProtoss
2 days
Fire Grow Cup
2 days
BSL: ProLeague
2 days
HBO vs Doodle
spx vs Tech
DragOn vs Hawk
Dewalt vs TerrOr
Replay Cast
2 days
Replay Cast
3 days
Replay Cast
4 days
WardiTV Invitational
4 days
WardiTV Invitational
4 days
GSL Code S
5 days
Rogue vs GuMiho
Maru vs Solar
Replay Cast
5 days
GSL Code S
6 days
herO vs TBD
Classic vs TBD
The PondCast
6 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Season 17: Qualifier 1
DreamHack Dallas 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL Season 17: Qualifier 2
2025 GSL S2
BGE Stara Zagora 2025
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

CSL 17: 2025 SUMMER
Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
NC Random Cup
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.