If you've ever run NotITG through wine, you've probably noticed that stealth renders differently. This bash script patches NotITG v4.3.0 to make stealth render as it's intended.
Winestealth in action (normal): https://youtu.be/p1l1lPyS0AI
Winestealth not in action (fixed): https://youtu.be/bXpeyOiDX_Y
For checksum validation, you'll need sha256sum
. You can install it via homebrew with
brew install coreutils
If you don't want checksum validation, put -n
in the command below.
Open your terminal of choice and cd
to wherever you downloaded the patch.sh
.
Run:
./patch.sh -i <your-path-to-the-nitg-v4.3.0-exe>
If the checksum passes, congrats! The patched file will be called NotITG-v4.3.1.exe
by default and it should be in the same directory as the original exe.
If the checksum fails, make sure your filepath is correct.
If you're running this script on a different NotITG version, pass -n
to disable the checksum. This script should still correctly patch all past versions of NotITG. The output exe will be changed to NotITG.exe
because I can't be bothered to update the version number for more than one build.
In Stepmania v2, a RageDisplay method called SetTextureModeGlow
was implemented to achieve a white glowing effect on actors[1][2]. This method was later used for the stealth
modifier. In the method, the game checks if the player's GPU has EXT_texture_env_combine
, a new extension that not everyone in 2003 had. Nowadays, all modern GPUs have this, but because this extension is so old, wine doesn't even recognize it, and fails the check. Windows passes the check, which leaves wine users with the gross fallback rendering.
- HeySora for explaining to me back in early 2023 why winestealth existed
- Jousway for fact-checking some of the readme explanation
- jj for general decompilation and assembly help, giving me the ghidra SavePatch.py script, and for writing the original bash script that I then modified
- My stubbornness