changes for clarity - no major changes in function.

remove PyInstaller stuff

use NOPs to fill in the end of `new_and_improved_bytes`

prevent corrupting the exe if the script is interrupted

I verified this works on my Steam copy of Trials: Rising on Linux
This commit is contained in:
Kyle Mohr committed 2026-09-26 11:29:53 -05:00
1 parent 75a2077b54
commit 3e615cd1a0
5 files changed
+69 -107

No files matched your search

+4
View File
@@ -3,6 +3,8 @@ Disabling Easy Anti-Cheat in trialsrising.exe so that the game works on Linux +
## Usage:
This is a Python script, it requires Python 3, which is already installed on SteamOS and virtually every Linux distribution.
Run this script on the Linux device that Trials: Rising is installed on with:
`python3 patch.py`
@@ -11,6 +13,8 @@ If the patcher says it couldn't find the file, you can specify the path to `tria
`python3 patch.py /path/to/trialsrising.exe`
Before patching, the script saves a backup of your original executable to `trialsrising.exe.bak` so you can revert the change (for example, after a game update).
---