Patch to fix multiplayer in a small number of games when using SLSsteam's FakeAppIds feature.
Warning
Do not use this fix with games that have anti-cheat. This fix scans and modifies game memory, which any anti-cheat solution will easily detect.
Installation via h3adcr-b
- If you installed SLSsteam using h3adcr-b, you already have the patch file downloaded. Set launch option:
LD_AUDIT="$HOME/.config/SLSsteam/tools/netsock/netsock.so" %command%
- Multiplayer will now work. Note you can only play with users that have the same fake AppID as yourself. Online-Fix players usually have fake AppID 480.
Manual Installation
-
Download the fix from releases, or build it from source
- To build, run
gcc -O3 -shared -fPIC -o fix.so steamclient_audit.c -ldl
- To build, run
-
Copy the
fix.sofile to the game folder -
Edit steam launch options:
LD_AUDIT=./fix.so %command%
Note: A future steamclient update may break the fix. So, if you're having issues, check the audit_patch.log file. If it says "pattern not found", please open an issue.
Games that use "SteamNetworkingSockets" and work properly via GBE or OnlineFix should also be functional when using this fix.
Confirmed to work:
- Slay the Spire 2 (2868840)
- Enshrouded (1203620)
- RV There Yet (3949040)
- Teardown (1167630)
- Lethal Company (1966720)
- Tabletop Simulator (286160)
- Schedule I (3164500)
- DARK SOULS REMASTERED (570940) with Seamless Co-op mod
- ... and more (you can find more games listed in the SLS Discord)
The "Cert is not authorized for appid 2868840, only 480" error is not caused by StS2, but is part of steamclient.
steamclient itself embeds gamenetworkingsockets, which has this.
This fix simply edits that function to immediately return 1.