Commit Graph

5 Commits (aa74d92047f4914db3f202ca6d4476467fd91592)

Author SHA1 Message Date
Peter Repukat a3d816224e Update hooks for Steam beta 7 years ago
Peter Repukat 105287ecd4 EnforceDLL: Add second hook for newer Steam versions 7 years ago
Peter Repukat 60cd81dbf1 don't patch any instructions if address is not found
also fix some typos in comments + add a bit more + fix function signature
8 years ago
Peter Repukat 4d2c8a544a fix function signature / cleanup 8 years ago
Peter Repukat 7947d6faac Enforce non desktop bindings:
done by mid function hooking a function in steamclient.dll
the function appears to be setting the appId of the new controller bindings

inject/hook right after the target launched
switch focus -> binding gets changed to shortcut bindings -> hook function grabs appid
hook function replaces desktop-config appid with the one grabbed everytime steam tries to active desktop-config
glosc_gamelauncher unloads dll when the target closes; unloading dll patches steamclient.dll back to original
8 years ago