Skip to content

StormExecute/InputSwitcherX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InputSwitcherX

Installation and Patching

  1. Read the notes first.
  2. Download Python 3 from official site - https://www.python.org/downloads/
  3. Launch installer, click add python to PATH
  4. Clone this repository and cd there with command:
git clone https://github.com/StormExecute/InputSwitcherX.git && cd InputSwitcherX
  1. Apply the patch with the following command :
python usePatch.py

Roll back the patch

Requires a directory "backup":

python offPatch.py

Another patching way (old)

If you have Windows 10 2004 - you can just download InputSwitch2004Output.dll from here, then rename it to InputSwitch.dll, move to output folder in InputSwitcherX directory and run setPatch.bat as administrator

Description and Notes

Starting from version 1.1.0 the patch is also applied to the InputSwitch.dll files found in %windir%\winsxs\ and subdirectories that have inputswitch in the name. In addition, an experimental patch has been applied for inconsistent values between FF FF 83 F8 FF and 33 C0 8B.

This is patcher for %windir%\system32\InputSwitch.dll . Its main purpose is to prevent the language switching animation from appearing.

To accomplish its task - the patch overwrites some hex data, which is responsible for the appearance of the above animation of the layout.

Finding and changing the correct hex address is a risky task and perhaps for someone this patch will do more harm than good, so the responsibility for applying it is entirely up to whoever applies this patch!

Regarding which hex data the patch rewrites. First of all, the details described in a special forum topic dedicated to this problem were taken into account - https://www.cyberforum.ru/windows10/thread2466696.html#post14150170 .

Comparing the differences between the patched and the original files, duplicate hex sections were identified that begin with FF FF 83 F8 FF and continue like 74 1F 48 63 D0 (not always).

The continuing hex data in the patched file has been replaced with a void that continues until the next combination: 33 C0 48 or 8B.

Based on the fact that the void in the file after the fix solves the original problem - replacing the same sections in the new version of the file should bring the desired result.

Roughly speaking, this patch replaces sections after FF FF 83 F8 FF to 33 C0 48 or 8B with 90, which is a void.

Special thanks

NShut (https://www.cyberforum.ru/windows10/thread2466696.html#post14150170) - for data that helped automate the patching process

Waysek (https://www.cyberforum.ru/windows10/thread2466696-page2.html#post14410402) - for the base of .bat file posted in the final release of this repository