You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5. Create a patch based on your InputSwitch.dll file using the command:
16
+
17
+
## Roll back the patch
18
+
19
+
Requires a directory "backup":
20
+
17
21
```bash
18
-
python createPatch.py
22
+
python offPatch.py
19
23
```
20
-
6. At the output, you should get the output directory with the edited InputSwitch.dll. It remains to replace the original InputSwitch.dll in the system directory. To do this, **run setPatch.bat as administrator**.
21
24
22
-
## Another patching way
25
+
## Another patching way (old)
23
26
24
-
If you have Windows 10 2004 - you can just download InputSwitch2004Output.dll from [here](https://github.com/StormExecute/InputSwitcherX/releases/tag/v1.0.0), then rename it to InputSwitch.dll, move to output folder and **run setPatch.bat as administrator**
27
+
If you have Windows 10 2004 - you can just download InputSwitch2004Output.dll from [here](https://github.com/StormExecute/InputSwitcherX/releases/tag/v1.0.0), then rename it to InputSwitch.dll, move to output folder in InputSwitcherX directory and **run setPatch.bat as administrator**
28
+
29
+
<divid='descAndNodes'></div>
25
30
26
-
<aname="descAndNodes"></a>
27
31
## Description and Notes
28
32
33
+
*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**.*
34
+
29
35
This is patcher for %windir%\system32\InputSwitch.dll . Its main purpose is to prevent the language switching animation from appearing.
30
36
31
37
To accomplish its task - the patch overwrites some hex data, which is responsible for the appearance of the above animation of the layout.
@@ -34,13 +40,13 @@ To accomplish its task - the patch overwrites some hex data, which is responsibl
34
40
35
41
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 .
36
42
37
-
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**.
43
+
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).
38
44
39
-
The continuing hex data in the patched file has been replaced with a void that continues until the next combination: **33 C0 48 8B**.
45
+
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**.
40
46
41
47
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.
42
48
43
-
Roughly speaking, this patch replaces sections **74 1F 48 63 D0** to **33 C0 48 8B** with *90*, which is a void.
49
+
Roughly speaking, this patch replaces sections after **FF FF 83 F8 FF** to **33 C0 48 or 8B** with *90*, which is a void.
0 commit comments