Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/herxayah/discord-fixer
Disabled the Global Hotkey Process to save Deltas (get you nyoooooming)
https://github.com/herxayah/discord-fixer
discord optimization tweaking tweaks windows-10 windows-11 windows-tweaks
Last synced: about 2 months ago
JSON representation
Disabled the Global Hotkey Process to save Deltas (get you nyoooooming)
- Host: GitHub
- URL: https://github.com/herxayah/discord-fixer
- Owner: HerXayah
- Created: 2023-07-08T09:45:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-15T09:12:36.000Z (6 months ago)
- Last Synced: 2024-07-15T10:58:30.164Z (6 months ago)
- Topics: discord, optimization, tweaking, tweaks, windows-10, windows-11, windows-tweaks
- Language: C
- Homepage:
- Size: 204 KB
- Stars: 34
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord-Fixer
Disables threads responsible for calling GetRawInputData for Discord, Discord PTB and Discord Canary desktop clients.[Research Part by AMIT](https://twitter.com/amitxv/status/1636094504905179138)
## Usage
1. Download the latest [Release](https://github.com/PrincessAkira/Discord-Fixer/releases).
2. Locate where Discord Stable/PTB/Canary is installed (Folder with `Update.exe`) and place this executable.
![image](https://github.com/PrincessAkira/Discord-Fixer/assets/45071533/857bed44-de5c-453f-aa72-51ea0cd0c91b)
3. Launch the downloaded executable, this will also launch the relevant executable for Discord.### How does it work?
1. The program attempts to locate a valid `Discord.exe`, `DiscordPTB.exe` and `DiscordCanary.exe` file.
2. Once the correct file was located, the located file will be launched.
3. Using [WinEvent](https://learn.microsoft.com/en-us/windows/win32/winauto/what-are-winevents) [Hooks](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwineventhook), the process waits until a window with the class name of `raw_input` is created.
4. The process that is hosting the `raw_input` window will have its threads iterated and if any thread is using `discord_utils.node`, it will be suspended.![alt text](image.png)
# Building
1. Install the latest version of [`GCC`](https://winlibs.com/) and [`UPX`](https://upx.github.io/) for optional compression.
2. Run `build.bat`.## Credits
- [Amit](https://twitter.com/amitxv) * for the scientific analysis of the problem and the idea
- [Aetopia](https://github.com/Aetopia) * thx for fixing my shizz and rewriting it better <3
- [Me(Sarah)](https://github.com/PrincessAkira) * fixing code from aetopia and making it work :3