Commit Graph

6 Commits (51e5a6c0c1c279ae7a87d890ba9b34268e4738ec)

Author SHA1 Message Date
Peter Repukat 4841fc2caa Cleanup 8 years ago
Peter Repukat e581716dae static link hooking dll 8 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 3dbd4de39a fix: SteamTarget not beeing updated 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