2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-07 03:20:40 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
Peter Repukat
6cad07e380 SteamTarget: Fix overlay closing not being detected (?) 2017-12-28 22:20:17 +01:00
Peter Repukat
9a57133926 Workaround some UWP not launching in foreground 2017-11-18 19:05:29 +01:00
Peter Repukat
83ef31d822 SteamTarget: "Properly" force FocusedWindow 2017-11-18 18:56:53 +01:00
Peter Repukat
feb5efcd1f Show console when overlay is hidden 2017-11-15 22:40:49 +01:00
Peter Repukat
7cff788b87 Fix show_overlay function
actually hide the overlay window
2017-11-12 02:08:16 +01:00
Peter Repukat
70c1a7917d restrict framerate if overlay isn't shown 2017-11-12 01:46:52 +01:00
Peter Repukat
be91e43291 Remove Focus switch trickery
Doesn't work anymore
2017-11-11 17:39:04 +01:00
Peter Repukat
8960bd99b0 SteamTarget: Link against Win7 compatible XInput 2017-09-29 21:45:06 +02:00
Peter Repukat
e15ff00d62 Fix console not showing in debug builds 2017-05-31 15:17:30 +02:00
Peter Repukat
e18956584a Tabify 2017-05-31 15:07:20 +02:00
Peter Repukat
9ebe3896af Fix crash when no config supplied 2017-05-31 15:01:38 +02:00
Peter Repukat
df89e5837b Fix unhooking 2017-04-19 21:05:05 +02:00
Peter Repukat
9ac6b263ec SteamTarget: Increase process priority
This helps input responsiveness in CPU heavy games (like Forza Horizon 3)
2017-04-19 16:07:57 +02:00
Peter Repukat
e89c413b2d SteamTarget: Re-hide console window 2017-04-19 16:07:10 +02:00
Peter Repukat
f2eb3662f3 Const correctness 2017-04-19 15:38:30 +02:00
Kyle Herock
5b6ca16ffc Support passing command line arguments to targets (closes #6)
This also refactors target configuration storage to reduce the redundancy in copying the same set of files for every target. Each configured entry now instead uses a .ini file with the name of the entry stored in ./targets. SteamTarget can accept the path to a .ini file as a command line argument.

This also fixes the UI so that inputs are ordered the same as the visual order so that tab behavior isn't confusing.
2017-04-19 02:40:05 -04:00
Kyle Herock
0e4f9545e7 Fix crash when CloseWhenDone is enabled
The renderer thread is automatically closed in the SteamTargetRenderer destructor, so just stop the loop and let the program die
2017-04-19 02:06:04 -04:00
Peter Repukat
31791049bf SteamTarget: Fix Unhooking 2017-02-15 21:58:44 +01:00
Peter Repukat
7d02ef4e6f SteamTarget: Unhook Steam from Target
Previously was done via GloSC_GameLauncher
Let's leave unhooking in GloSC_GameLauncher too, just to be safe.
2017-02-15 20:13:41 +01:00
Peter Repukat
209126ea17 Add setting to use Desktop-Config
Add a setting to use desktop-config
If enabled, will disable hooking and deactive any focus-switch trickery
Problems with overlay may occur
2017-02-15 04:04:27 +01:00
Peter Repukat
79ced09dcf SteamTarget: Better way to detect overlay opening / closing
Found out GameOverlayRenderer likes to post very specific messages
Now, instead of memory reading some value from some address, which changes in updates, examine the messagequeue of the process to get overlay status
2017-02-12 22:40:18 +01:00
Peter Repukat
88fbd8c53c Update overlay memory addresses for latest Steam beta
TODO: Switch to pattern scanning!
2017-02-05 01:41:41 +01:00
Peter Repukat
4dd65156a6 SteamTarget: Show a little GloSC logo when the overlay is shown 2017-01-26 00:01:26 +01:00
Peter Repukat
9ae0161195 SteamTarget: Ensure clean application exit... 2017-01-25 17:54:08 +01:00
Peter Repukat
84a0849e7d Hide console window / communite to user with messageboxes 2017-01-25 17:13:48 +01:00
Peter Repukat
c4b8f4d443 GloSC-Main: change wording in UI 2016-12-08 02:59:57 +01:00
Peter Repukat
6e7480c601 SteamTarget: Move mousecursor inside the overlay after console has got focus again 2016-12-04 22:58:52 +01:00
Peter Repukat
f3aa9b2d67 SteamTarget: Force 60FPS lock 2016-12-04 22:04:54 +01:00
Peter Repukat
19445c3ad3 Fix: Injector \ SteamTarget: Not beeing able to hook Steam for some people 2016-12-04 21:43:31 +01:00
Peter Repukat
deccc86441 Add own injector 2016-11-29 18:30:56 +01:00
Peter Repukat
56edf5bad4 fix dll injection / ejection not working:
fixed injection not working when dll-path has spaces
fixed ejection not working by running gameluancher as admin
2016-11-27 16:46:19 +01:00
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
2016-11-26 22:57:32 +01:00
Peter Repukat
a90d1f2802 Add x86 (32bit) support 2016-11-20 09:19:58 +01:00
Peter Repukat
d9fdb3f929 completely kick TargetUserWindow 2016-11-19 06:35:52 +01:00
Peter Repukat
fa4a6a439d setting to close GloSC-SteamTarget when launched game closes 2016-11-19 06:30:48 +01:00
Peter Repukat
6eda0595e3 make sure we stay in game bindings
also removed the userwindow and always show the console (for now?)
2016-11-19 04:41:04 +01:00
Peter Repukat
9a435b39f2 decouple input from framerate by moving it to own thread
this significantly reduces input-lag while keeping cpu usage at a minimum

also removed any of the vsync / framerate options as we now always render the overlay with 60fps
this reduces cpu usage and unnecessary overhead if playing with the default option of vsync on high refresh rate displays
2016-11-19 02:24:49 +01:00
Peter Repukat
524cde67cc fix: file copying in release builds 2016-11-18 04:29:45 +01:00
Peter Repukat
38cf868d56 add license 2016-11-18 01:40:14 +01:00
Peter Repukat
98603a3068 initial GloSC implementation 2016-11-18 01:22:07 +01:00