Code Monkey home page Code Monkey logo

inputswitcherx's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.