stormexecute / inputswitcherx Goto Github PK
View Code? Open in Web Editor NEWInputSwitcherX sources
License: MIT License
InputSwitcherX sources
License: MIT License
Hey bud! Thank you for the starting point. I've played a bit with x64dbg and IDA and found that changing 1 byte in a sub-procedure does the trick too.
So basically shit happens in this proc marked yellow.
I moved to it and inserted return at the start, changing byte 57 to C3.
Here are 2 files: one (.dll.bak) is original inputswitch.dll, other is modified. You can compare them by content and see where the byte has been changed.
Basically, byte sequence is:
48 89 5C 24 08 48 89 6C 24 10 48 89 74 24 18 57
48 83 EC 40 48 63 FA 48 8B D9 48 85 C9
It should define the procedure ambiguously, where 57 should be replaced with C3.
BTW, it disables this shitty Win+Space language switching key combination as well.
Thank you for the good job!
P.S. I will find the way to patch it without installing Python, shouldn't be that hard. It's just "Kill explorer.exe, find some bytes, change some bytes, start explorer.exe"
Процесс патчинга начинается. Отключение explorer.exe...
SUCCESS: The process "explorer.exe" with PID 3192 has been terminated.
SUCCESS: The file (or folder): "C:\WINDOWS\System32\InputSwitch.dll" now owned by the administrators group.
processed file: C:\WINDOWS\System32\InputSwitch.dll
Successfully processed 1 files; Failed processing 0 files
ERROR! FilePath: C:\WINDOWS\System32\InputSwitch.dll : cant patch this dll!
Successfully processed 1 files; Failed processing 0 files
processed file: C:\WINDOWS\System32\InputSwitch.dll
Successfully processed 1 files; Failed processing 0 files
processed file: C:\WINDOWS\System32\InputSwitch.dll
Successfully processed 1 files; Failed processing 0 files
WARN! FilePath: C:\WINDOWS\WinSxS\amd64_microsoft-windows-inputswitch.resources_31bf3856ad364e35_10.0.22543.1000_en-us_adca65fc26024ae1\InputSwitch.dll : not exists
WARN! FilePath: C:\WINDOWS\WinSxS\amd64_microsoft-windows-inputswitch.resources_31bf3856ad364e35_10.0.22543.1000_ru-ru_f6eb7db077074688\InputSwitch.dll : not exists
SUCCESS: The file (or folder): "C:\WINDOWS\WinSxS\amd64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22543.1000_none_201f5d39ed604126\InputSwitch.dll" now owned by the administrators group.
processed file: C:\WINDOWS\WinSxS\amd64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22543.1000_none_201f5d39ed604126\InputSwitch.dll
Successfully processed 1 files; Failed processing 0 files
ERROR! FilePath: C:\WINDOWS\WinSxS\amd64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22543.1000_none_201f5d39ed604126\InputSwitch.dll : cant patch this dll!
Successfully processed 1 files; Failed processing 0 files
processed file: C:\WINDOWS\WinSxS\amd64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22543.1000_none_201f5d39ed604126\InputSwitch.dll
Successfully processed 1 files; Failed processing 0 files
processed file: C:\WINDOWS\WinSxS\amd64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22543.1000_none_201f5d39ed604126\InputSwitch.dll
Successfully processed 1 files; Failed processing 0 files
SUCCESS: The file (or folder): "C:\WINDOWS\WinSxS\wow64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22543.1000_none_2a74078c21c10321\InputSwitch.dll" now owned by the administrators group.
processed file: C:\WINDOWS\WinSxS\wow64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22543.1000_none_2a74078c21c10321\InputSwitch.dll
Successfully processed 1 files; Failed processing 0 files
ERROR! FilePath: C:\WINDOWS\WinSxS\wow64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22543.1000_none_2a74078c21c10321\InputSwitch.dll : cant patch this dll!
Successfully processed 1 files; Failed processing 0 files
processed file: C:\WINDOWS\WinSxS\wow64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22543.1000_none_2a74078c21c10321\InputSwitch.dll
Successfully processed 1 files; Failed processing 0 files
processed file: C:\WINDOWS\WinSxS\wow64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22543.1000_none_2a74078c21c10321\InputSwitch.dll
Successfully processed 1 files; Failed processing 0 files
Патч завершился с ошибками. Это есть не добрый знак. Попытайтесь откатить изменения с помощью "python offPatch.py"
I've attached the failing DLLs:
inputswitch.zip
Can you please disable Win+Space hotkey completely? Also as new useless hotkeys like emoji panel (it has 2 hotkeys Win+; and Win+.), Win+W, Win+W, Win+U, Win+I, Win+X. They can not be disabled via registry.
Doesn't work on version
НЕ ИСПОЛЬЗУЙТЕ setPatch.bat на вин 11 потому что после перезапуска приведет к черному экрану!
DO NOT USE setPatch.bat on wine 11 because after restarting it will cause a black screen!
`Процесс патчинга начинается. Отключение explorer.exe...
Успешно: Процесс "explorer.exe", с идентификатором 9900, был завершен.
Успех. Владельцем файла (или папки) "C:\Windows\System32\InputSwitch.dll" является группа администраторов.
обработанный файл: C:\Windows\System32\InputSwitch.dll
Успешно обработано 1 файлов; не удалось обработать 0 файлов
ERROR! FilePath: C:\Windows\System32\InputSwitch.dll : cant patch this dll!
Успешно обработано 1 файлов; не удалось обработать 0 файлов
обработанный файл: C:\Windows\System32\InputSwitch.dll
Успешно обработано 1 файлов; не удалось обработать 0 файлов
обработанный файл: C:\Windows\System32\InputSwitch.dll
Успешно обработано 1 файлов; не удалось обработать 0 файлов
WARN! FilePath: C:\Windows\WinSxS\amd64_microsoft-windows-inputswitch.resources_31bf3856ad364e35_10.0.22621.1_ru-ru_1e6ef6ae7e592491\InputSwitch.dll : not exists
Успех. Владельцем файла (или папки) "C:\Windows\WinSxS\amd64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22621.1_none_47a2d637f4b21f2f\InputSwitch.dll" является группа администраторов.
обработанный файл: C:\Windows\WinSxS\amd64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22621.1_none_47a2d637f4b21f2f\InputSwitch.dll
Успешно обработано 1 файлов; не удалось обработать 0 файлов
ERROR! FilePath: C:\Windows\WinSxS\amd64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22621.1_none_47a2d637f4b21f2f\InputSwitch.dll : cant patch this dll!
Успешно обработано 1 файлов; не удалось обработать 0 файлов
обработанный файл: C:\Windows\WinSxS\amd64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22621.1_none_47a2d637f4b21f2f\InputSwitch.dll
Успешно обработано 1 файлов; не удалось обработать 0 файлов
обработанный файл: C:\Windows\WinSxS\amd64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22621.1_none_47a2d637f4b21f2f\InputSwitch.dll
Успешно обработано 1 файлов; не удалось обработать 0 файлов
Успех. Владельцем файла (или папки) "C:\Windows\WinSxS\wow64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22621.1_none_51f7808a2912e12a\InputSwitch.dll" является группа администраторов.
обработанный файл: C:\Windows\WinSxS\wow64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22621.1_none_51f7808a2912e12a\InputSwitch.dll
Успешно обработано 1 файлов; не удалось обработать 0 файлов
ERROR! FilePath: C:\Windows\WinSxS\wow64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22621.1_none_51f7808a2912e12a\InputSwitch.dll : cant patch this dll!
Успешно обработано 1 файлов; не удалось обработать 0 файлов
обработанный файл: C:\Windows\WinSxS\wow64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22621.1_none_51f7808a2912e12a\InputSwitch.dll
Успешно обработано 1 файлов; не удалось обработать 0 файлов
обработанный файл: C:\Windows\WinSxS\wow64_microsoft-windows-inputswitch_31bf3856ad364e35_10.0.22621.1_none_51f7808a2912e12a\InputSwitch.dll
Успешно обработано 1 файлов; не удалось обработать 0 файлов
Патч завершился с ошибками. Это есть не добрый знак. Попытайтесь откатить изменения с помощью "python offPatch.py"`
Version - 22H2;
OS Assembly - 22621.521;
Release - Windows 11 Pro;
Hello!
I got fed up with that problem, so I made my own solution. It involves installing ExplorerPatcher (it is opensource though), but should be compatible with probably almost all Windows versions (as I'm using the MS Symbols store for the patching), and, best of all, doesn't touch any system files, doing all the patching in-memory.
Check out my ExplorerPatcher plugin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.