Skip to content

Commit 92c28b9

Browse files
committed
up: README: for v1.1.0
1 parent 97961ee commit 92c28b9

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

README.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,29 @@
99
```bash
1010
git clone https://github.com/StormExecute/InputSwitcherX.git && cd InputSwitcherX
1111
```
12-
4. Copy your original InputSwitch.dll file from %windir%\system32\InputSwitch.dll to /InputSwitcherX/input/ . This can be done with this command:
12+
4. Apply the patch with the following command :
1313
```bash
14-
copy %windir%\system32\InputSwitch.dll input\InputSwitch.dll /Y
14+
python usePatch.py
1515
```
16-
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+
1721
```bash
18-
python createPatch.py
22+
python offPatch.py
1923
```
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**.
2124

22-
## Another patching way
25+
## Another patching way (old)
2326

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+
<div id='descAndNodes'></div>
2530

26-
<a name="descAndNodes"></a>
2731
## Description and Notes
2832

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+
2935
This is patcher for %windir%\system32\InputSwitch.dll . Its main purpose is to prevent the language switching animation from appearing.
3036

3137
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
3440

3541
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 .
3642

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).
3844

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**.
4046

4147
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.
4248

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.
4450

4551
## Special thanks
4652

0 commit comments

Comments
 (0)