Commit Graph

28 Commits (e01339da4c280d9ac5571b8430906d071a07053e)

Author SHA1 Message Date
Peter Repukat 177038540a bump version 6 years ago
Peter Repukat 6ab10cf03f Bump version / fix watchdog build 6 years ago
Peter Repukat ffdd07c0f3 fix build paths 6 years ago
Peter Repukat 5ae1ba0d4e build overlay open/close detection based on hooking... 6 years ago
Peter Repukat d5e4b7b9c7 move hooking stuff to common header 6 years ago
Peter Repukat 9f61d9fb3f begin rewrite 6 years ago
Peter Repukat e3a49db9a9 Revert "EnforceBindingDLL: EXPERIMENTAL: Disable LizardMode"
This reverts commit 30795a1ae0.
6 years ago
Peter Repukat 30795a1ae0 EnforceBindingDLL: EXPERIMENTAL: Disable LizardMode 6 years ago
Peter Repukat 278339ccb3 Bump version 7 years ago
Peter Repukat 65c3242fda bump version 7 years ago
Peter Repukat 91ce45bc75 Bump version 7 years ago
Peter Repukat d7ebf12afd Update Version 7 years ago
Peter Repukat ff4a157454 Fix hook function 7 years ago
Peter Repukat 38ba58ffa9 EnforceBindings: Generalized hooking function
Now I shouldn't have to patch GloSC as often...

 * In the function we want to hook the appID of the Chord bindings get referenced,
  it takes 3 arguments (we can get that from the function prolog)
  and it is the only one that does both. (in steamclient.dll)
  
  We search for the constant appID of SteamChard bindings
  move a bit upward and search for the correct function prolog

The function-prolog of the hooked function, get replaced with a jump to our hook
Our hook, then executed the missing function prolog,
patches the second function argument on the stack
and jumps back to let Steam do the rest for us :)
7 years ago
Peter Repukat e77529137d Include new hook for newer Steam versions 7 years ago
Peter Repukat 55ff0e9fd4 Fix EnforceBinding.dll for newer Steam betas... 7 years ago
Peter Repukat a3d816224e Update hooks for Steam beta 7 years ago
Peter Repukat 0e60dbe786 Bump version 7 years ago
Peter Repukat 105287ecd4 EnforceDLL: Add second hook for newer Steam versions 7 years ago
Peter Repukat 16c56ebe64 Update to VS17
QT-5.9 beta and QT visual studio beta addin is needed
7 years ago
Peter Repukat 9fff72cc65 Add assemblyinformation 7 years ago
Peter Repukat bd99fc0857 Unify build-dirs 7 years ago
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