Carma Key Binder
Posted: Sun Feb 15, 2015 4:39 pm
Download link: Carma Key Binder
It's a VB tool for Carmageddon 1 / Splat Pack (full / demos / mods) / Carmageddon 2 (full / mods).
With this tool you can bind keys that are not possible to bind from game, also all customizable functions are available to bind. Current version is at very beta stage. There is no load error handling implemented. It need special text files (text format decrypted and full, without "," characters which are not tolerated by simple input command...).
You can run it as standalone then just copy saved keymap_0.txt (1, 2, 3) into game folder.
If you want to test it in game folder create backup of your text files first and use those included (all files should be copied to game dir)! There is also default UK keyboard.cok included.
Edit1: This is Windows Application, so must be started from Windows.
However may be used with DOS Box installation (or any other) of Carmageddon / Splat Pack.
Probably some (or most) descriptions for functions (and for some keys) are wrong, most of them are not tested... If you know - find out - proper - better descriptions or keys mistakes, please let me know here.
The story: I know from years there are keymap files which can be customized outside the game (I have done it in the past for C2), but since default C1 keyboard setting is brilliant for me I always think changing that in C1 is pointless, till now.
On GOG forum there is information how to reassign "S" key which prevent of using WSAD combination as directions (or whatever). So this is not true what Stainless say that we can't reassign 'S' key, it's not a bug but it's feature (to prevent of assign few keys to one function), which become annoying without proper setup.
There is also customized keymap_0.txt file for laptop which is just expanded usage of above information, however this convince me to create this tool. The file is for C2, for C1 it look completely messed up (few keys are added in the middle of file). Btw. I included two configs (C, D) which are set to main keys only (it look like some less important are not working).
Edit2: File mentioned above is for C2, so that's why it look completely messed up, however some functions are set to one key.
There is much laptops without keypad, keyboards without numeric block, so it fill the gap. This also allow to set the keys for left hand, arrows or whatever we want. Some keys are hard-coded in game, but we can set almost everything (I hope).
Note: To detect keypad key-pressing Num Lock must be set to 'on' first.
This tool doesn't prevent from set one key to many functions (yet), so we are responsible to do it right way. There is a information column which indicate reuse of keys, but for some function (set by default) this is not critical, like for those accessed with 'controls' or 'shifts' and in certain modes (like in cockpit view).
I think to add Carmageddon 2 support in the future, since there are same problem (also like F1 key, which is set by default, but can't be assigned again when changed from game)
This program access:
- KEYMAP_0.TXT (A config)
- KEYMAP_1.TXT (B config)
- KEYMAP_2.TXT (C config)
- KEYMAP_3.TXT (D config)
- DKEYMAP0.TXT (default for A)
- DKEYMAP1.TXT (default for B)
- DKEYMAP2.TXT (default for C)
- DKEYMAP3.TXT (default for D)
- KEYNAMES.TXT (key names taken from this file, displayed optionally)
- TEXT.TXT (some text taken from this file, displayed optionally)
The other file which is important for keyboard setting (not used by this tool) is:
- KEYBOARD.COK
This file is responsible for keyboard layout (my tool was only tested with UK version).
So if we have for example Franch Carmageddon this file is in AZERTY standard, unfortunately game doesn't have setup for that file, so if it not match our keyboard layout we have keys switched. Splat Pack have few KEYBOARD.COK files (look in INT sub-folder) used by it setup (in GOG release setup is removed**, however they included KEYBOARD.COK files), unfortunately it took the file based on Carmageddon installation language in PATHS.TXT, so we still have no possibility to choice, there is not even information what that file does... The solution is to manually copy one of KEYBOARD.COK over existing (make backup first) and try. Also it's possible to set it using my Unofficial Carmageddon Patch. It is scheduled to be added to my other patches too, btw.
Edit3: **) Actually setup is included, but we need to extract it from .gog file (copy .gog file to .iso, then extract)
So we don't need to type codes with switched letters or replacing the keyboard (local mirror).
It's a VB tool for Carmageddon 1 / Splat Pack (full / demos / mods) / Carmageddon 2 (full / mods).
With this tool you can bind keys that are not possible to bind from game, also all customizable functions are available to bind. Current version is at very beta stage. There is no load error handling implemented. It need special text files (text format decrypted and full, without "," characters which are not tolerated by simple input command...).
You can run it as standalone then just copy saved keymap_0.txt (1, 2, 3) into game folder.
If you want to test it in game folder create backup of your text files first and use those included (all files should be copied to game dir)! There is also default UK keyboard.cok included.
Edit1: This is Windows Application, so must be started from Windows.
However may be used with DOS Box installation (or any other) of Carmageddon / Splat Pack.
Probably some (or most) descriptions for functions (and for some keys) are wrong, most of them are not tested... If you know - find out - proper - better descriptions or keys mistakes, please let me know here.
The story: I know from years there are keymap files which can be customized outside the game (I have done it in the past for C2), but since default C1 keyboard setting is brilliant for me I always think changing that in C1 is pointless, till now.
On GOG forum there is information how to reassign "S" key which prevent of using WSAD combination as directions (or whatever). So this is not true what Stainless say that we can't reassign 'S' key, it's not a bug but it's feature (to prevent of assign few keys to one function), which become annoying without proper setup.
There is also customized keymap_0.txt file for laptop which is just expanded usage of above information, however this convince me to create this tool. The file is for C2, for C1 it look completely messed up (few keys are added in the middle of file). Btw. I included two configs (C, D) which are set to main keys only (it look like some less important are not working).
Edit2: File mentioned above is for C2, so that's why it look completely messed up, however some functions are set to one key.
There is much laptops without keypad, keyboards without numeric block, so it fill the gap. This also allow to set the keys for left hand, arrows or whatever we want. Some keys are hard-coded in game, but we can set almost everything (I hope).
Note: To detect keypad key-pressing Num Lock must be set to 'on' first.
This tool doesn't prevent from set one key to many functions (yet), so we are responsible to do it right way. There is a information column which indicate reuse of keys, but for some function (set by default) this is not critical, like for those accessed with 'controls' or 'shifts' and in certain modes (like in cockpit view).
I think to add Carmageddon 2 support in the future, since there are same problem (also like F1 key, which is set by default, but can't be assigned again when changed from game)
This program access:
- KEYMAP_0.TXT (A config)
- KEYMAP_1.TXT (B config)
- KEYMAP_2.TXT (C config)
- KEYMAP_3.TXT (D config)
- DKEYMAP0.TXT (default for A)
- DKEYMAP1.TXT (default for B)
- DKEYMAP2.TXT (default for C)
- DKEYMAP3.TXT (default for D)
- KEYNAMES.TXT (key names taken from this file, displayed optionally)
- TEXT.TXT (some text taken from this file, displayed optionally)
The other file which is important for keyboard setting (not used by this tool) is:
- KEYBOARD.COK
This file is responsible for keyboard layout (my tool was only tested with UK version).
So if we have for example Franch Carmageddon this file is in AZERTY standard, unfortunately game doesn't have setup for that file, so if it not match our keyboard layout we have keys switched. Splat Pack have few KEYBOARD.COK files (look in INT sub-folder) used by it setup (in GOG release setup is removed**, however they included KEYBOARD.COK files), unfortunately it took the file based on Carmageddon installation language in PATHS.TXT, so we still have no possibility to choice, there is not even information what that file does... The solution is to manually copy one of KEYBOARD.COK over existing (make backup first) and try. Also it's possible to set it using my Unofficial Carmageddon Patch. It is scheduled to be added to my other patches too, btw.
Edit3: **) Actually setup is included, but we need to extract it from .gog file (copy .gog file to .iso, then extract)
So we don't need to type codes with switched letters or replacing the keyboard (local mirror).