DARK SOULS™ II

DARK SOULS™ II

View Stats:
Alicia-X Apr 25, 2014 @ 2:06am
[Solution] Work Around To Mouse Delay
Mouse Delay Problem

There is a noticeable delay between a mouse click and the execution of the action. You can measure this delay yourself by observing the difference between a righthand attack (single right click) and the keyboard shortcut (default H). The execution from the keyboard is almost instant while mouse click adds a delay. This makes the game more difficult and frustrating. The reason this problem exists is for the need to detect double mouse clicks for other actions like heavy attacks.

Work Around

Please keep in mind that this solution will not allow you to maintain the double click feature. You either need to use a modifier key to use those actions or assign additional mouse buttons. The solution is simple; remap the mouse buttons to the keyboard counterparts. How do we address this problem? There is a small, well known utility called AutoHotkey. This application is lightweight, runs in the background, and has a portable version available. In short, it executes script files written in plain text that allows the remapping of keys and terminates when closed from the system tray.

The sample script I have provided does the following:

Right Mouse Button: Mapped To H (Attack Righthand)
Left Mouse Button: Mapped To U (Attack Lefthand)
Shift+Right Mouse Button: Mapped To G (Strong Attack Righthand)
Shift+Left Mouse Button: Mapped To Y (Strong Attack Lefthand)

Instructions

1. Install or obtain the portable version of AutoHotkey from their website[www.autohotkey.com].
2. Download this {LINK REMOVED} I have provided. Use it, modify it, or write your own.
3. Run the ahk script by double clicking it or dropping it on the portable exe.
4. Launch Dark Souls II.
5. In the options, set the buttons for attack righthand, attack lefthand, strong attack righthand, and strong attack lefthand to "Nothing" under the mouse controls.
6. Enjoy the game!

Final Words

1. If you would like to use extra buttons on your mouse, edit the script and assign these using xbutton1, xbutton2, xbutton3, etc. For example, xbutton1::g will map first thumb button to strong righthand attack.
2. AutoHotkey will be active until you close the script from your system tray.
3. The buttons will only be changed within the game and not within windows or other applications (you can still click).
4. This is a temporary solution that simply masks the problem, but it works quite well.
5. If you want to expand on this script, there is a wealth of tutorials avaiable for learning AutoHotkey.
6. You can also use AutoHotkey to make previously unbindable buttons usable. For example, map / (forward slash) to E (use) /::e
7. Scripts are plain text you can open with any text editor, but use the .ahk extension.
8. If you modify a script, simply right-click it and select reload. No need to restart the game or anything.
Last edited by Alicia-X; Apr 25, 2014 @ 3:20am
< >
Showing 1-15 of 27 comments
Saniala Apr 25, 2014 @ 3:14am 
Thank you very much for this. Works great.
Deranged Dodo Apr 25, 2014 @ 7:09am 
I could kiss you, but I'll just leave a very greatful thank you sir/mam! This is a wonderful workaround for me.
Runecreed Apr 25, 2014 @ 1:53pm 
Thanks for this convenient script; I stumbled upon that program in another thread but didn't really want to jump through all these loopholes just to fix this delay. Now I've just installed this and I do say it's a great workaround. I previously rebound my mouse keys to keyboard keys but then you run into issues navigating the in-game menu. Somehow this script doesn't have that - more power to you.

I've forwarded this discussion/topic in the main thread for visibility. Thanks again!
Martin1245456 Apr 25, 2014 @ 2:11pm 
Thanks, i think in the last line in the script after ';' you mean 'left' rather than 'right'? confused me for a minute :)
Last edited by Martin1245456; Apr 25, 2014 @ 2:17pm
ElleCore Apr 25, 2014 @ 3:02pm 
You are a true savior of souls.
Squall. Apr 25, 2014 @ 4:14pm 
Great script, helped me alot!
Alicia-X Apr 25, 2014 @ 8:10pm 
Glad it could help. The last line is supposed to be left button and not the right button, but it's just a comment so no big deal.
MrRAVAGEMASTOR Apr 26, 2014 @ 3:34am 
Do all from instructions it doesn`t work for me
Mozek Apr 26, 2014 @ 5:48am 
doesnt work, right click = no action
Mozek Apr 26, 2014 @ 6:12am 
Help pls. I can't open .ahk script because it says that i have no rights to open it. So what can i do?
Nodos Apr 27, 2014 @ 7:55am 
I'm not sure why but I can't seem to backstab enemies while using this workaround. I just do a regular attack no matter where I stand behind them. Anyone else having the same problem?

Edit: Nevermind, I just had the wrong bindings in the game because I messed around with the keybinds a bit.
Last edited by Nodos; Apr 27, 2014 @ 8:17am
Mr.Coelomate Apr 27, 2014 @ 11:25am 
This is amazing .... Zweihander and I can once again do jump attacks.

If your like me and you actually liked the ds1 controls then all you need is this for the bottom

~rbutton::g ; Remap the right mouse button to the keyboard button g.
~lbutton::h ; Remap the left mouse button to the keyboard button h.

While of course, still understanding what the author of this topic is saying and has described.
TwoTonGamer Apr 29, 2014 @ 3:20pm 
Fantastic! Super useful jump attack and guard break script. Thank you for sharing!
Lovlalek May 2, 2014 @ 7:16am 
Beware, after using this script (thanks) I've unintentionally attacked a couple of friendly NPCs. When in dialogue, do not click the "Ok" button with left mouse, as this will both continue the dialogue and perform whichever action is bound to left mouse.
Runecreed May 6, 2014 @ 12:07pm 
If you want to play it safe you can edit the script and write down
F1::Suspend ; pauze script

to pauze the script while you're in town for example. Just press F1 to pauze it and again to resume.
< >
Showing 1-15 of 27 comments
Per page: 1530 50

Date Posted: Apr 25, 2014 @ 2:06am
Posts: 27