I'm providing this information for users who are not familiar with the G-Hotkey program - to help get you started I am providing a detailed description for using it with Dark Messiah of Might and Magic. Each section is broken out based on the Notes feature of G-Hotkey so you can easily see how this is setup:

First I created a new profile titled: Dark Messiah of Might and Magic and clicked on the Add Name to add it to the Current game list:. Next select Dark Messiah of Might and Magic with your mouse and click on the Edit button.

For this first screen you will need to set a key for the Deactivate Hotkeys Key:. For this example I have chosen the key F12.

Next a Location needs to be specified where the .lnk file is located for Dark Messiah of Might and Magic. If you click on the icon of the little document you can select this file. Usually you can find the .lnk file on your desktop. In the Select File dialog that is now open select the Desktop icon in the Look in: pull down box and select Play Dark Messiah of Might and Magic Demo link file.

Next I am going to change the Load Time (secs): interval to 30 seconds since it takes about this much time for the game to load and initialize the game engine.

I don't like the dialog that displays: G-Hotkey is no longer active so I am going to check the Surpress Hotkeys Deactivation check box.

To enable and disable the functions of G-Hotkey while I'm in the game I'm going to set the On/Off Hotkeys Key: to Scroll Lock.

I'm going to set the Priority: level to High. What is interesting is I'm noticing no performance loss in the game even though G-Hotkey is running at a high priority level.

Here is the section of the Notes for this game profile based on my notes above:
Quote:
Title: Dark Messiah of Might and Magic; Load Time (secs): 30;
Deactivate Hotkeys Key: F12;
Location: C:\ Documents and Settings\All Users\Desktop\Play Dark Messiah of Might and Magic Demo.lnk;
Surpress Hotkeys Deactivation: 1; Global Hotkeys: ;
On/Off Hotkeys Key: Scroll Lock; Priority: High;


I would also like to have my game saved approximately every 8 minutes so I am going to fill out the Quick Save section.

For the Save Game File Location: click on the disk icon to the right and select the quick save file that the game uses. I found this out earlier by performing a quick save in the game and making a note at the time I made this quick save. I then exited the game and performed a search for all files modified that day and sorted by time modified - that way you can easily find this file. On my computer this file is located in the C:\ Games\Dark Messiah Demo\mm\SAVE folder and the file name is quick.sav.

For the Save Every (minutes): I have put in a value of 8 and set the Retry Interval (secs): to 50 to retry quick saving in the event I'm in a screen of the game that does not allow quick saving. I have also set a sound file by clicking on the icon to the right of Play Sound:. There are two reasons for doing so - one is to know a quick save is just about to occur and the other reason is for me to be able to disable quick saving immediately when I hear the sound file by pressing the key assigned to the On/Off QS Key:.

The Hotkey: is set to F5 as this is the key that is set in Dark Messiah of Might and Magic for quick saving. I have set the On/Off QS Key: to Caps Lock so I can enable/disable quick saving without disabling all of the other functions in G-Hotkey.

Here is the section of the Notes for this game profile based on my notes above:
Quote:
Save Game File Location: C:\ Games\Dark Messiah Demo\mm\SAVE\quick.sav;
Save Every (minutes): 8; Retry Interval (secs): 50; Play Sound: C:\ WINDOWS\Media\notify.wav;
Hotkey: F5; On/Off QS Key: Caps Lock; Key Delay (ms): 120;



Next move to the next tab at the top labeled Macros.

For the Macro 1 I have set the Keys: to:
@LMouseBD()@wait(1)@LMouseBtn()@wait(.3)@LMouseBtn()
@RMouseBD()@wait(.5)@RMouseBtn()@key(Nu0)


This presses the following keys in the game: press and hold down the left mouse button - press the left mouse button and release - press the left mouse button and release - press and hold down the right mouse button - press and release the right mouse button - Numeric key 0 on the keypad. For special keys like the Numeric key 0 you will need to look these up in the virtualkeycodes.ini file. An icon for this file is located in the G-Hotkey program group. The Hotkey: for this macro is set to Num Key 0. The reason for setting up this macro is to implement a combo attack in the game with a lot less work than having to manually perform these actions. The macro is pressing and holding down the left mouse button to implement a sword attack while waiting 1 second and then releasing the mouse button to properly time the attack. The left mouse button is pressed again quickly to perform a fast slash and then the right mouse button is pressed to issue a block. Finally the numeric key 0 is pressed again to start the macro over from the beginning. You may want to experiment with the @wait() function on your computer for the best timing when performing a combo attack. Anyway just by running the macro you will get a good idea how you can create powerful combo attacks in the game!

For the Macro 2 I have set the Keys: to:
@RMouseBD()@wait(.5)@RMouseBtn()@LMouseBD()@wait(1)
@LMouseBtn()@wait(.5)@key(Nu1)@wait(1)@key(Nu3)


This presses the following keys in the game: press and hold down the right mouse button - press the right mouse button and release - press and hold down the left mouse button - press and release the left mouse button - Numeric key 1 on the keypad - Numeric key 3 on the keypad. For special keys like the Numeric key 1 or Numeric key 3 you will need to look these up in the virtualkeycodes.ini file. An icon for this file is located in the G-Hotkey program group. The Hotkey: for this macro is set to Num Key 3. The reason for setting up this macro is to implement a combo attack in the game with a lot less work than having to manually perform these actions. The macro is pressing and holding down the right mouse button to implement a block while waiting half a second and then releasing the mouse button to stop blocking. The macro then is pressing and holding down the left mouse button to implement a sword attack while waiting 1 second and then releasing the mouse button to properly time the attack. After a half second wait then the numeric key 1 is pressed to issue a kick in the game.

Note: The numeric key 1 on the keypad is mapped to the Kick function in the game.

Finally the numeric key 3 is pressed again to start the macro over from the beginning. You may want to experiment with the @wait() function on your computer for the best timing when performing a combo attack.

Keep in mind you can press either the numeric key 3 (to start the macro over while it is running) or even the numeric key 0 to stop the current running macro and start Macro 1.

For the Macro 3 I have set the Keys: to:


The Hotkey: for this macro is set to End.

The reason this macro is setup (which actually does nothing) is so I can press the End key in the game if I want to immediately cancel either Macro 1 or Macro 2 that may be running.

Note: A macro will not cancel immediately while the @wait() function is running - although it will immediately cancel after the @wait() time has finished. I acknowledge that this can be a timing problem - I am hoping to fix this in the next version of G-Hotkey.

Note that for all of these macros I have set the Key Delay (ms) value to 1 to ensure the fastest response time possible.

These are just some basic combo moves you can perform in the game. Devise your own and feel free to post them on the message board.

Here is the section of the Notes for this game profile based on my notes above:
Quote:
Hotkey: Num Key 0; Macro Keys: @LMouseBD()@wait(1)@LMouseBtn()@wait(.3)@LMouseBtn()@RMouseBD()@wait(.5)@RMouseBtn()@key(Nu0);
Modifier: None; Key Delay (ms): 1;
Hotkey: Num Key 3; Macro Keys: @RMouseBD()@wait(.5)@RMouseBtn()@LMouseBD()@wait(1)@LMouseBtn()@wait(.5)@key(Nu1)@wait(1)@key(Nu3);
Modifier: None; Key Delay (ms): 1;
Hotkey: End; Macro Keys: ;
Modifier: None; Key Delay (ms): 1;


Now exit the G-Hotkey Editor and save your changes. This will bring you back to the main G-Hotkey screen. Select Dark Messiah of Might and Magic and click on the Run button to load the Dark Messiah of Might and Magic game.

You should now see before the game loads in your taskbar a green keyboard icon. This indicates that G-Hotkey is running (although G-Hotkey functions will not operate until 30 seconds). If you move your mouse pointer over this icon you will see the following pop-up: To deactivate G-Hotkey make sure the Scroll Lock key is on and press the F12 key.

I hope this helps get you started with using G-Hotkey in the game and the different ways in which it can be used. 8)