Rebind Everything 0.0.1 for World of Tanks 2.4.1.1
===================================================

  rebind_everything_0.0.1.wotmod
      Bind any key to battle actions, including keys the game settings refuse:
      Left/Right Alt, Ctrl, Shift, Tab, CapsLock, Mouse 4/5 and combinations
      such as Ctrl+F. Also moves the hard-coded mouse cursor (Ctrl) and full
      battle statistics (Tab) keys; the game's Ctrl+Tab (player panel mode)
      keeps working.

  Included libraries (needed for the in-game settings window):
      izeberg.modssettingsapi_1.7.1.wotmod     ModsSettings API by IzeBerg
      me.poliroid.modslistapi_1.8.0.wotmod     Mods List API by POLIROID
      net.openwg/net.openwg.gameface_1.2.2.wotmod
                                               OpenWG Gameface (MIT license,
                                               see net.openwg/LICENSE-openwg-gameface.txt)

Install: copy all files and folders of this archive into
  World_of_Tanks\mods\2.4.1.1\   (the folder named after your game version).
  If another mod already brought one of the included libraries, keep only the
  newest copy of each.
Update: copy the new files over the old ones, then delete the older
  rebind_everything_<version>.wotmod if its version differs.
Remove: delete rebind_everything_0.0.1.wotmod (leave the libraries if other
  mods use them). Your game control settings are never changed by the mod.

Settings: garage -> mods list button in the bottom bar -> mod settings ->
  Rebind Everything.
  * Click the field next to an action and press a key or a combination.
    Esc cancels. Right-click the field to clear it (back to the game's key).
  * The key currently set in the game is shown in [brackets] next to each action.
  * "Old key of the action":
       stops working (replace)    - only the new key triggers the action,
       keeps working (additional) - both keys work.
  * "A bound key loses its previous functions" (on by default):
       e.g. with Fire on LAlt, LAlt no longer shows extended vehicle markers.
       Move the markers to another key in the INTERFACE section if you want.
       If you give two actions the same shortcut, the one set last keeps it
       and the other one is cleared (also in the window), so one press always
       reaches one action. Fire and Charged shot may share a key, as in the game.
  * The switch next to the mod name turns all changes off at once.
  Changes apply from the next battle, no restart needed. The window is in
  English, or in Polish when the game client is Polish.

Config file: World_of_Tanks\mods\configs\rebind_everything\config.json
  Also lets you bind LMB / RMB / MMB, which the settings window does not accept:
    "bindings": {
      "CMD_CM_SHOOT": ["KEY_LALT"],
      "CMD_CM_LOCK_TARGET": ["KEY_F", "CTRL"],
      "CMD_CM_ALTERNATE_MODE": ["KEY_MIDDLEMOUSE"],
      "HC_CURSOR": ["KEY_CAPSLOCK"]
    }
  Key names: KEY_* from the game (KEY_LALT, KEY_RALT, KEY_LCONTROL, KEY_MOUSE3,
  KEY_MOUSE4, KEY_CAPSLOCK ...). ALT / CTRL / SHIFT = left or right.
  "mode": 0 = replace, 1 = additional.  "exclusive": true / false.
  "order": bound actions from oldest to newest; with exclusivity on, the newer
  one keeps a shared shortcut.
  A broken file is never overwritten - it is kept as config.json.broken.

Good to know:
  * No macros, no automation: the mod only changes which key triggers an
    existing game action.
  * Ammo/equipment slots (1-0) always use the key set in the mod, also in
    "additional" mode (the game panel supports one key per slot).
  * The field shows ALT/CTRL/SHIFT without a side, but the mod remembers
    whether you pressed the left or the right key.
  * If you bind Left Alt to Fire, Alt+Tab will also fire - like any key bound
    to Fire.
  * Log messages: python.log in the game folder, look for [RebindEverything].
  * Not obfuscated: WoT loads only Python 2.7 .pyc files, so the plain-text
    source is stored inside a tiny .pyc loader and compiled by the game's own
    Python 2.7. Open mod_rebind_everything.pyc (inside the .wotmod) in a text
    editor to read it.
