• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:32
CEST 08:32
KST 15:32
  • 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
Tournament Spotlight: FEL Cracow 20254Power Rank - Esports World Cup 202576RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18
Community News
Google Play ASL (Season 20) Announced20BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams10Weekly Cups (July 14-20): Final Check-up0Esports World Cup 2025 - Brackets Revealed19Weekly Cups (July 7-13): Classic continues to roll8
StarCraft 2
General
#1: Maru - Greatest Players of All Time I offer completely free coaching services Tournament Spotlight: FEL Cracow 2025 Power Rank - Esports World Cup 2025 What tournaments are world championships?
Tourneys
Esports World Cup 2025 $25,000 Streamerzone StarCraft Pro Series announced $5,000 WardiTV Summer Championship 2025 WardiTV Mondays FEL Cracov 2025 (July 27) - $10,000 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 Google Play ASL (Season 20) Announced BGH Auto Balance -> http://bghmmr.eu/ Flash Announces (and Retracts) Hiatus From ASL Dewalt's Show Matches in China
Tourneys
[Megathread] Daily Proleagues [BSL20] Non-Korean Championship 4x BSL + 4x China CSL Xiamen International Invitational [CSLPRO] It's CSLAN Season! - Last Chance
Strategy
Simple Questions, Simple Answers [G] Mineral Boosting Does 1 second matter in StarCraft?
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Total Annihilation Server - TAForever [MMORPG] Tree of Savior (Successor of Ragnarok) Path of Exile
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 UK Politics Mega-thread Stop Killing Games - European Citizens Initiative Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
[\m/] Heavy Metal Thread Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion
Sports
2024 - 2025 Football Thread Formula 1 Discussion 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
TeamLiquid Team Shirt On Sale 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
Eight Anniversary as a TL…
Mizenhauer
Customize Sidebar...

Website Feedback

Closed Threads



Active: 601 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 2h 28m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft767
Nina 265
ProTech48
StarCraft: Brood War
Sea 2744
Larva 482
Backho 170
scan(afreeca) 91
zelot 78
sSak 56
IntoTheRainbow 9
League of Legends
JimRising 765
Counter-Strike
Stewie2K146
Heroes of the Storm
Khaldor189
Other Games
summit1g8427
RuFF_SC280
Organizations
Other Games
gamesdonequick1401
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH233
• practicex 50
• Light_VIP 24
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota288
League of Legends
• Lourlo1420
Upcoming Events
FEL
2h 28m
Krystianer vs sOs
SKillous vs ArT
MaNa vs Elazer
Spirit vs Gerald
Clem vs TBD
uThermal vs TBD
Reynor vs TBD
Lambo vs TBD
BSL20 Non-Korean Champi…
7h 28m
BSL20 Non-Korean Champi…
11h 28m
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Sparkling Tuna Cup
2 days
Online Event
2 days
uThermal 2v2 Circuit
3 days
The PondCast
4 days
Replay Cast
4 days
Korean StarCraft League
5 days
CranKy Ducklings
6 days
Liquipedia Results

Completed

CSLPRO Last Chance 2025
Esports World Cup 2025
Murky Cup #2

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Non-Korean Championship
BSL 20 Team Wars
FEL Cracov 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

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
WardiTV Summer 2025
uThermal 2v2 Main Event
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.