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
30 lines
1.5 KiB
Markdown
30 lines
1.5 KiB
Markdown
# Trials-Rising-Steam-Deck-Patch
|
|
Disabling Easy Anti-Cheat in trialsrising.exe so that the game works on Linux + Steam Deck
|
|
|
|
|
|
## 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`
|
|
|
|
If the patcher says it couldn't find the file, you can specify the path to `trialsrising.exe` as a command line argument, like so:
|
|
|
|
`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).
|
|
|
|
|
|
---
|
|
|
|
**Updated 2026-03-03**: Simplified and improved the process! It should now work for both Steam and Uplay versions of the game.
|
|
|
|
The patching process no longer relies on checksums, so it should continue to work even if the game is updated.
|
|
|
|
Fun fact: as a byproduct of disabling EasyAntiCheat, this patch allows you to play the game on macOS! I use [Crossover](https://www.codeweavers.com/crossover), but other Wine-based solutions should work as well.
|
|
|
|
[See here for more details on how this patch works](https://www.kylemohr.com/Trials-Rising-EasyAntiCheat-Bypass-Analysis)
|
|
|
|
All credit for finding this method goes to the user ['Cade-H'](https://pcgamingwiki.com/w/index.php?title=Trials_Rising&diff=prev&oldid=1519149) for posting this method on the [Trials Rising PCGamingWiki Entry](https://www.pcgamingwiki.com/wiki/Trials_Rising#Disable_Easy_Anti-Cheat)
|