Skip to content

yesyes0649/steamnetsock-patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

SLSsteam SteamNetworkingSockets Patch

Patch to fix multiplayer in a small number of games when using SLSsteam's FakeAppIds feature.

To use

  • Download the fix from releases, or build it from source

    • To build, run gcc -O3 -shared -fPIC -o fix.so steamclient_audit.c -ldl
  • Copy the fix.so file to the game folder

  • Edit steam launch options: LD_AUDIT=./fix.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.

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.

Compatible Games

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)
  • DARK SOULS REMASTERED (570940) with Seamless Co-op mod

Explanation

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.

Credits

  • AceSLS for SLSsteam and also figuring out the game coldloads steamclient.so
  • niwia for finding the issue, testing the fixes and sacrificing his save file... sorry!

About

Fixes FakeAppIds in a few games for SLSsteam enjoyers

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages