Developer's Blog
Forum Rules Members List Low Fi Mark Forums Read

Reply
 
LinkBack Thread Tools
Old 01-09-2010, 08:36 PM   #1
Member
 
jeytimes's Avatar
 
Join Date: Jun 2009
Posts: 48
jeytimes is offline

Default Enable Tavern and Goblinshops Hotkeys


Enable hotkeys for taverns and goblinshops

Problem
Since Icefrog changed the taverns in 6.60, you can't assign hotkeys to choose a hero from a tavern. Same applies to items from the goblinshops on the lanes.

Reason
There is no default hotkey set and it seems you can only change hotkeys for things which have one.

Solution
Set a default hotkey. This has to be done in the map itself.




#1 The quick and easy way
Pro
  • fast
  • easy

Contra
  • patches are language specific
  • You have to wait for a patch to be released.

Use one of the these patches:

#2 The manual way
Pro
  • works for every language and version
  • you get to do the work all by yourself and don't have to trust some program from the internet

Contra
  • takes some time

Step 1 *Prepare your workspace*

You'll need:
  • MPQMaster
  • text editor with regular expression search (I use Notepad++)
  • DotA from Official DotA Allstars : Downloads
  • MPQMaster_listfile_UnitStrings.txt (attached to this post)
Now put MPQMaster_listfile_UnitStrings.txt in your "MPQMaster\Listfiles" folder and we are ready to go.


Step 2 *MPQMaster - Extraction*

Start MPQMaster and select File-->Open and open the map. A "Select Listfile"-window pops up. Choose MPQMaster_listfile_UnitStrings.txt and hit ok
Click on "Units" in the treeview and mark these 6 files:
  • CampaignUnitsStrings.txt
  • HumanUnitsStrings.txt
  • NeutralUnitsStrings.txt
  • NightElfUnitsStrings.txt
  • OrcUnitsStrings.txt
  • UndeadUnitsStrings.txt
Select Operation-->Extract and choose a destination.


Step 3 *Notepad++ - Replacement*

Start Notepad++ and open those 6 files you just extracted from the map.
Press Ctrl+F to open the search window and select the "Replace"-tab.
Set Search Mode to "Regular Expression".
Find what:
Code:
^(Hotkey=)$
Replace with:
Code:
Hotkey=_
Hit "Replace All in All Opened Documents"
Press Ctrl+Shift+S to save all.


Step 4 *MPQMaster - Insertion*

Make sure "Units" is still selected in the treeview.
Select Operation-->Add File(s) from the menu.
Select the 6 files we just edited and press ok.
Select Operation-->Compact(Flush)

Voila, we are done.


Step 5 *BinDiffW - Patch Creation* *optional*

Download BinDiff.zip attached to this post and extract the archive.
Make 2 new folders, name them "new" and "old".
Put the original DotA map in the "old"-folder and the modified map in the "new"-folder.
Run BinDiffW.exe
The settings are pretty straightforward, nevertheless here's a rundown
  • Old/New Version Folder is self-explanatory
  • "Diff file" is the filename of the to-be-created patch file
  • Leave "Make SFX" checked and check "Registry Lookup"
  • "Registry Path" should be "HKEY_Current_User\Software\Blizzard Entertainment\Warcraft III\InstallPath"
  • Enter a "Window Title"
  • Press the "Start!"-Button
That's it.
Attached Files
File Type: txt MPQMaster_listfile_UnitStrings.txt (173 Bytes, 76 views)
File Type: zip mpqmaster.zip (474.9 KB, 116 views)
File Type: zip BinDiff.zip (154.0 KB, 92 views)
  Reply With Quote
Last edited by jeytimes; 08-03-2010 at 11:47 PM.
Old 01-10-2010, 09:29 AM   #2
Member
 
Join Date: Jul 2009
Posts: 23
Talposo is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

OMG THANKS! Just the thing I'm looking for! I will make the patch for myself!!!
  Reply With Quote
Old 01-14-2010, 04:50 AM   #3
Member
 
jeytimes's Avatar
 
Join Date: Jun 2009
Posts: 48
jeytimes is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

removed
  Reply With Quote
Last edited by jeytimes; 01-14-2010 at 06:02 PM. Reason: map on getdota.com changed
Old 01-14-2010, 06:58 AM   #4
Member
 
Join Date: Jun 2009
Posts: 34
waobii is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

Thank you

Finally someone explained how to do it
  Reply With Quote
Old 01-14-2010, 04:10 PM   #5
Member
 
Join Date: Jun 2009
Posts: 37
DarkPhobos.91 is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

just dled the map from getdota but can't apply ur fix.. CRC32 error
  Reply With Quote
Old 01-14-2010, 06:03 PM   #6
Member
 
jeytimes's Avatar
 
Join Date: Jun 2009
Posts: 48
jeytimes is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

new patch for DotA 6.66

original map md5:
d7e22787bc0027093e398bf969fdd9aa

Please note, that according to getdota md5 should be 08808897d1283fece2fc2a311838bfd0

My guess is, they didn't update the md5 yet.
Attached Files
File Type: zip Dota_HotkeyFix_6.66_eng_.zip (120.4 KB, 26 views)
  Reply With Quote
Last edited by jeytimes; 01-14-2010 at 06:24 PM.
Old 01-14-2010, 09:41 PM   #7
Member
 
high1's Avatar
 
Join Date: Jun 2009
Posts: 45
high1 is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

Yes, the latest map MD5 is not updated on getdota.
  Reply With Quote
Old 01-27-2010, 01:50 PM   #8
Member
 
jeytimes's Avatar
 
Join Date: Jun 2009
Posts: 48
jeytimes is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

patch for 6.66b
Attached Files
File Type: zip DotA 6.66b eng Hotkey Fix.zip (120.6 KB, 83 views)
  Reply With Quote
Old 01-30-2010, 02:53 PM   #9
Member
 
crisgon's Avatar
 
Join Date: Jun 2009
Location: Arequipa, Peru
Posts: 157
Send a message via MSN to crisgon
crisgon is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

hey jeytimes could u make the step 5 of ur tutorial? i wan to know how to do it
  Reply With Quote
Last edited by crisgon; 02-01-2010 at 09:06 PM.
Old 03-25-2010, 10:58 AM   #10
Member
 
jeytimes's Avatar
 
Join Date: Jun 2009
Posts: 48
jeytimes is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

patch for 6.67

*added "Step 5" to tutorial*

*edit repacked archive, used winrar this time*
  Reply With Quote
Last edited by jeytimes; 03-25-2010 at 01:50 PM.
Old 03-25-2010, 11:43 AM   #11
Member
 
Join Date: Jun 2009
Posts: 37
DarkPhobos.91 is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

can't extract it : S
  Reply With Quote
Old 03-25-2010, 01:07 PM   #12
Member
 
Join Date: Jun 2009
Posts: 37
DarkPhobos.91 is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

still:

! C:\Documents and Settings\Phoby\Desktop\DotA 6.67 Hotkey Fix.zip: The archive is either in unknown format or damaged


while the .rar is empty : S


am i the only 1 who has this problem? : S
  Reply With Quote
Old 03-25-2010, 01:50 PM   #13
Member
 
jeytimes's Avatar
 
Join Date: Jun 2009
Posts: 48
jeytimes is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

Ok i dont know what is going on, but i tested the archives shortly after i uploaded them and they worked. But they don't now.

*edit* another try packed with 7zip this time

*edit 2* again not working the archives unpack fine on my pc, but when i DL them they don't, any ideas?

*edit 3* another try, using a different browser now

*edit 4* didn't help here's a direct link http://dl.dropbox.com/u/1035474/DotA...Hotkey_Fix.zip
  Reply With Quote
Last edited by jeytimes; 03-25-2010 at 02:05 PM.
Old 03-26-2010, 02:46 PM   #14
Member
 
jeytimes's Avatar
 
Join Date: Jun 2009
Posts: 48
jeytimes is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

Patch for 6.67b, if the attachment doesn't work use this link http://dl.dropbox.com/u/1035474/Dota_Hotkeyfix_667b.zip
Attached Files
File Type: zip Dota_Hotkeyfix_667b.zip (120.5 KB, 40 views)
  Reply With Quote
Old 03-27-2010, 09:48 PM   #15
Member
 
crisgon's Avatar
 
Join Date: Jun 2009
Location: Arequipa, Peru
Posts: 157
Send a message via MSN to crisgon
crisgon is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

finally the last step , GJ jeytimes u rule!!!
  Reply With Quote
Old 03-31-2010, 12:37 PM   #16
Member
 
Join Date: Jun 2009
Posts: 7
KainsLegacy is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

id love to see it vor 6.67c ^^
  Reply With Quote
Old 03-31-2010, 03:55 PM   #17
Member
 
jeytimes's Avatar
 
Join Date: Jun 2009
Posts: 48
jeytimes is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

6.67c
Direct Link
http://dl.dropbox.com/u/1035474/Dota...y_Fix_667c.zip
Attached Files
File Type: zip Dota_Hotkey_Fix_667c.zip (119.4 KB, 125 views)
  Reply With Quote
Old 03-31-2010, 08:28 PM   #18
Member
 
t.tellur's Avatar
 
Join Date: Mar 2010
Posts: 11
Send a message via ICQ to t.tellur
t.tellur is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

Hi, I've got little problem. I got stuck when doing 3rd step, replacing
Quote:
^(Hotkey=)$
by
Quote:
Hotkey=_
. I follow zou step by step, but when I try to replace it, it just says "0 occurecnes replaced". Only warkeys changed my hotkeys in dota nothing more.
  Reply With Quote
Old 04-01-2010, 02:53 AM   #19
Member
 
jeytimes's Avatar
 
Join Date: Jun 2009
Posts: 48
jeytimes is offline
Default Re: Enable Tavern and Goblinshops Hotkeys

Did you set search mode to "Regular expression"?
  Reply With Quote
Old 04-01-2010, 03:34 AM   #20
Forum Staff
 
Foede's Avatar
 
Join Date: Jun 2009
Location: Argentina
Posts: 4,965
Send a message via MSN to Foede Send a message via Skype™ to Foede
Foede is online now
Default Re: Enable Tavern and Goblinshops Hotkeys

Quite interesting. Will add it to my Useful Links.
__________________

Quick Help Mod /// Mech-fag wannabe /// Sugg lurker Mod




My suggs:Accepting review requests for Suggestions.
  Reply With Quote
Reply
  Defense of the Ancients DotA Tools & AI Maps

Thread Tools