OK.
After some testing:
Keys:
[keypad =] - doesn't work, there is no such key, num-pad enter is already mapped elsewhere
[\] - doesn't work, there is no such key, or maybe it's useful for other keyboard layout(?), game using key named '#' instead
[#] - "\", can be set from game (used instead of [\])
[print screen] - doesn't work (not detected)
[pause] - pause, but can't be detected with old exec or US keyboard.cok (returned left-control)
[shift] - any shift, can't be set form game
[alt] - any alt, can't be set form game
[control] - any control, can't be set from game
[command] - any control (second time), can't be set from game
Note: "Delete" key actually work in demo, but keys are shifted, so it's not accessible to re-bind from demo game. So fake alert about this.
I have tested and confirmed most functions from 'first page' (with 'Sort' option selected), except for:
- function set as "Space" - which I call "View Net Players" as is in C2?
- function which is by default set to "r" - have no idea what is this for?
- group I was thinking is for replay functions, but those seems to be hard-coded. Binding not working or the functions are for something else?
From 'second page' I have confirmed just two keys: Control and Shift so far.
Keys 1 to 7 are for options - in demo those are enabled in game by default.
I have no idea what for are F1 and "/" keys (second one probably work with Control or Shift)?
I have found that during replay we can bring hud by pressing Control + "I" (default keys), but "I" must be enabled first (KEVWOZEAR).
So maybe other unknown functions need 'special' mode to work?
That's all for today... :)
Edit:Update:
- some corrections in descriptions
- some keys order in menu (not working or problematic moved below correct one)
- paths to C1 and C2 can be set in Settings.ini which is saved in (you need to run CKB [save settings or just quit] once to create this file):
%APPDATA%/Carma Key Binder/Settings.ini
or
%WINDIR%/Carma Key Binder/Settings.ini
or
%TEMP%/Carma Key Binder/Settings.ini
- now one path is used for C2 import and export, but when exporting there is additional question dialog
- some problematic keys conversion added on export / import:
C2->C1
- convert '\' into '#' (used as '\' in C1)
- convert '#' into '\' (I hope this is correct for some keyboards...)
- convert "print screen" into "caps lock" ("print screen" not work in C1, "caps lock" not work in C2)
- convert "right alt" into "pause" (right alt may be detected as left control in C2, pause not work in C2; in C1 pause may be detected as left control [work]) - so...
- joystick remap (present in previous version too)
C1->C2
- convert '#' into '\' (C2 using '\')
- convert '\' into '#' (I hope this is correct for some keyboards...)
- convert "caps lock" into "print screen" ("caps lock" not work in C2, "print screen" not work in C1)
- convert "pause" into "right alt" (in C1 pause may be detected as left control (not work); right alt may be detected as left control in C2 (not work), pause not work in C2 at all) - so...
- joysticks remap (as in previous version)
- C1/C2/C2 demo detection is still not implemented, so just DO NOT COPY THIS TOOL TO C2 DIRECTORY! AND SET C1 AND C2 FOLDERS CORRECTLY!
Edit2:Update:
Fixed:
- bug: when program is moved and previous location is deleted - refuse, to work.
- bug: it always save C1 files in own DATA directory (no matter what is set in ini).
Currently it saving files at paths defined in Settings.ini (path to ini described above), on first run it save location and try to always use it. If path not exist - it set (C1 only) path to new location. So the best is to edit ini with paths we want, then no matter where we start it will try to use those locations. I have added option to see current paths and to edit ini (you need to have set up app for ini extension to open).
- when no C1 files are found it set path to it own DATA folder.
- when own DATA folder is set to use or some files are missed - in place of missing files it using own descriptions and game defaults**.
- now it can load any decrypted version of C1 TEXT.TXT, so you can use it with translations (of course, only text that is present in this file will be replaced).
- there is no need to overwrite .TXT files with those included in CKB (those are C1 files) - only settings B and C (KEYMAP_2.TXT and KEYMAP_3.TXT) are modified - to arrows and WSAD key combinations. (If you need to change keyboard layout to UK QWERTY you may use included KEYBOARD.COK.)
- some other tiny fixes.
Edit3:**) I have found that default setting B in game have bug - the buy armour, power, offense keys are shifted, so we have 'delete', 'w' and 'e' keys instead of 'q', 'w', 'e'. This is set wrong because there was bug in early C1, which show inappropriate keys in key configuration in game (we can see this problem in demo).
Edit4:Big update!
- Added C2 Full version / mod support in main mode (detection is not implemented; demo not yet supported).
- Added simple twat file parser, to read text from data.twt file (Is any translated version of C2 even exist?).
- Limitation: Export / Import is possible only in C1 mode.
- All functions which can be set in C2 keymap files (of course all C1 too) are available - some not working in C2. However this allow to free keys in use (map them to other keys), we want to remap (which game prevent to set - like 'q', 'w', 'e', 's', 'f1' keys).
- Most functions names stay as in C1.
- Build in key names are in upper case now.
- 'Null' keys are allowed to set (it is possible to set '[undefined]' from game).
- Now menu can be accessed by pressing second mouse button, but function must be selected with first mouse button or using keyboard first.
- Some bugs are fixed.
- Bug: Just before release I have found error introduced in previous version which cause C2 path generated by program to point to DATA\_C2 instead DATA_C2, anyway to work with C2 it's required to set correct path to C2 DATA folder - there is dialog for it, which should work fine.
Edit5:Build 50 available!
- Many bugs fixed.
- Now it's possible to switch C1<=>C2 mode at any time.
- New example keyboard schemes for C1 and C2 included - settings C & D - Arrows / WSAD for laptop (you need to copy the files KEYMAP_2.TXT, KEYMAP_3.TXT to games to try - DATA is for C1, DATA_C2 is for C2).
Edit6:Build 53:
- new: keys in use are checked in Key menu.
Build 54 (test 10):
- bug fix: menu "File" descriptions are updated correctly on mode switch to match available functions.
Here is short manual (for both C1 and C2, but information written with C2 in mind).