Maidens of the Kaleidoscope

~Hakurei Shrine~ => Help Me, Eirin! => Tech Support => Topic started by: Mefidex on April 27, 2009, 02:30:24 AM

Title: Key Remapper
Post by: Mefidex on April 27, 2009, 02:30:24 AM
I noticed a few people asking about remapping keys in Touhou games, so I decided to script one up.  Now usable for MB:AC as well.

If you're lazy, just get the latest version.
Available versions (updated 2009/08/23)
1.04 (latest) (http://www.mediafire.com/file/ymytzjnmmzm/Remap104.zip)
1.03 (http://www.mediafire.com/file/lgf52g1hjgv/Remap103.zip)
1.02 (http://www.mediafire.com/file/jwjwmmjmyzo/Remap102.zip)
1.01 (http://www.mediafire.com/file/zotdnmixytk/Remap101.zip)

MF Folder here (http://www.mediafire.com/?sharekey=755848e6c5a1e4e195af63b7d44918aa6f0d7125eab50415)

If you want to have a (slightly) smaller program and an ini file with fewer keys that you won't use, grab the lowest version that suits your needs.  Minimums are: 1.01 for Touhou shooters, 1.02 for PlatineDispositif/Suguri types, 1.03 for MB:AC. Any higher version can be used without issue though.

Extract it, edit the values in Remap_Keys.ini to whatever you want, then run Remap.exe.

While this program is running, it will remap the keys for your whole computer, hence why there are quick enable/disable keys.

Extra controls:
Caps Lock + Q  Enable/Disable hotkeys
Caps Lock + W  Close script
Caps Lock + R  Reload hotkeys

The following require hotkeys to be enabled
Caps Lock + 0  Activate Default keys
Caps Lock + 1  Activate Hotkey Set 1
Caps Lock + 2  Activate Hotkey Set 2
Caps Lock + 3  Activate Hotkey Set 3

You can also right click the keyboard/S icon in the tray for some options.

I tested the script in Touhou 6/7/8/9/9.5/10, it works fine in those with no lag as far as I can tell.

This is still a work in progress, and I may add a GUI later, but it should work well enough for now.  Feedback is appreciated.

This will not work on Windows 95/98/ME.

Also, here's (http://www.mediafire.com/file/zummnmi1mzm/keyscan09.zip) a useful program called Keyscan to test out which keys you should map to. It will show which keys the computer sees as being held down, so you can quickly find a set that works for you, then remap your keys there.  (Keyscan originally from http://www.digitalgenesis.com/ )

Version 1.01
-Changed hotkeys to Capslock+ instead of Ctrl+Shift+
-Added support for multiple sets of hotkeys and switching between them

Version 1.02
-Added support for V,A,S,D,F for use in other games

Version 1.03
-Added support for B,N,M,,,.,G,H,J,K,L,T for use in MB:AC ver B.

Version 1.04
-Added support for Q,W,E,R,Y,U,I,O,P,Space added command line switch capability to all versions
Title: Re: Key Remapper
Post by: Letty Whiterock on April 27, 2009, 02:32:50 AM
Why would you want to change the keys?
Title: Re: Key Remapper
Post by: hs08 on April 27, 2009, 02:42:57 AM
Some keys don't respond when you're holding other keys.
Title: Re: Key Remapper
Post by: Letty Whiterock on April 27, 2009, 03:14:55 AM
Some keys don't respond when you're holding other keys.
Oh ha ha. That usually means that you should get a better keyboard.
Title: Re: Key Remapper
Post by: Sodium on April 27, 2009, 03:16:58 AM
Oh ha ha. That usually means that you should get a better keyboard.
Laptops.

Also, some people might just want a different layout.
Title: Re: Key Remapper
Post by: AntKiller on April 27, 2009, 08:13:54 AM
Laptops.

my brother uses a laptop with an external keyboard XD
Title: Re: Key Remapper
Post by: Vile Lasagna on April 27, 2009, 10:14:40 PM
This is how I roll
(Don't mind the picture quality, it could hardly be worse)
Title: Re: Key Remapper
Post by: AntKiller on April 27, 2009, 10:23:58 PM
srsly, shame on you Lasagna...
that's his pc with a better quality...
(http://i195.photobucket.com/albums/z129/biones/lasadesk.jpg)
Title: Re: Key Remapper
Post by: Mefidex on April 27, 2009, 11:11:41 PM
1. There are plenty of people that have a perfectly workable keyboard provided you move the keys a little. (also laptop scissor-switch keys are nice for gaming, ignoring longevity issues)

2. PoFV player vs player default controls are a pain in the ass, with the 2468 instead of 4568.

3. Having more [optional] options is generally better than not having them.

4. I made this a long time ago, I'm just reposting it from the old forum  (http://old.shrinemaiden.org/forum/index.php?topic=243.0)because people will inevitably ask, and having it around is useful.
Title: Re: Key Remapper
Post by: Gpop on April 27, 2009, 11:12:10 PM
Both of my laptops works perfectly with multiple key registers.

Go Toshiba, I guess?
Title: Re: Key Remapper
Post by: Alice on May 04, 2009, 05:19:48 PM
My Acer also works fine with multiple key pressed.
Title: Re: Key Remapper
Post by: math4origami on May 09, 2009, 06:54:10 AM
Hey, I've got a problem when using this sometimes.  If I press two opposite directions at the same, like if I was switching from up to down really quickly, then sometimes it stays stuck in one of the two directions when I let go of both keys.  Is there a fix for this behavior?
Title: Re: Key Remapper
Post by: MadCatMk2 on August 03, 2009, 12:01:42 PM
Hey, this sounds great as the arrow keys in my father's laptop are tiny. However the links appear to be dead, could you reupload them Mefidex?

Thanks :)
Title: Re: Key Remapper
Post by: Zengar Zombolt on August 03, 2009, 12:06:14 PM
Hey, this sounds great as the arrow keys in my father's laptop are tiny. However the links appear to be dead, could you reupload them Mefidex?

Thanks :)
BaitySM uploaded it here. (http://www.shrinemaiden.org/forum/index.php?topic=918.0)
Title: Re: Key Remapper
Post by: michikaze on November 18, 2014, 10:28:35 AM
Keyscan link is broken

After running Remap.exe it just says this:

Error at line 24.

Line Text: Capslock & q::
Error: Invalid hotkey.

The program will exit.
Title: Re: Key Remapper
Post by: Jirachi on November 18, 2014, 02:15:58 PM
Keyscan link is broken

After running Remap.exe it just says this:

Error at line 24.

Line Text: Capslock & q::
Error: Invalid hotkey.

The program will exit.

KeyScan official download page is here: ftp://ftp.digitalgenesis.com/pub/keyscan/

And that version of AutoHotkey is really old. Try newer ones here (http://ahkscript.org/download/).
Title: Re: Key Remapper
Post by: michikaze on November 19, 2014, 08:19:35 PM
It was AutoHotkey?
Huh...