Jump to content


Photo

Script: Cubemen Key Config


  • Please log in to reply
2 replies to this topic

#1 d1g1t4l3ch0

d1g1t4l3ch0
  • Members
  • 2 posts

Posted 07 July 2012 - 09:24 PM

Hey guys. I bought Cubemen on Steam recently and quickly realized I don't like the default keyboard shortcut keys it uses and it has no way of changing them. I found the settings in the registry, but it's wasn't in a human readable form so I have no clue how to edit them. So I figured it should be easy enough to write an autohotkey script and have it send the default keys to the game while accepting your custom setup.

Anyway, I wrote it and it works well. It's very simple and is safe to run on your computer even while not playing the game. I thought I would share it with the community since I find it really useful and maybe others will too.

It's on GitHub and you are welcome to contribute to it if you want.

GitHub Page
Download it here: <!-- m -->https://github.com/D... ... all/master<!-- m -->


#2 dylan904

dylan904
  • Members
  • 706 posts

Posted 07 July 2012 - 09:36 PM

If the settings are in the registry you would have to provide some information relevant to that for help as far as that goes. You would use RegRead & RegWrite.
I assume you are just wanting to remap the keys though. This being the case, you would need to do a couple things.

At the top of your script, #SingleInstance Force

Put IfWinActive, then plug in the name of the game provided on the title bar.

Then, you would do this for every key you wish to remap, but here is the primary example. Let's say the default button to move forward is up, but you wish for it to be w, you would say w::Send, {Up}

You kinda get where I'm going here?

#3 d1g1t4l3ch0

d1g1t4l3ch0
  • Members
  • 2 posts

Posted 07 July 2012 - 10:11 PM

If the settings are in the registry you would have to provide some information relevant to that for help as far as that goes. You would use RegRead & RegWrite.
I assume you are just wanting to remap the keys though. This being the case, you would need to do a couple things.

At the top of your script, #SingleInstance Force

Put IfWinActive, then plug in the name of the game provided on the title bar.

Then, you would do this for every key you wish to remap, but here is the primary example. Let's say the default button to move forward is up, but you wish for it to be w, you would say w::Send, {Up}

You kinda get where I'm going here?


This wasn't really a question post. It's a script that's already been made and working. To clarify on the registry settings I found, there is a "settings" value that contains a very large string that's probably hashed or some hex data. but i don't need help with that since I'm not going that route.

Thanks though.