WombatFromHell / OriginSteamOverlayLauncher

An executable wrapper for Steam to make third-party launchers more convenient to use with a Steam Controller
MIT License
411 stars 25 forks source link

Overlay interacts with Modern Warfare in the background. #53

Closed SubSonix closed 3 years ago

SubSonix commented 4 years ago

As above, when using the steam overlay to chat for example, it also interacts with the game.

WombatFromHell commented 4 years ago

This is an issue with the Steam overlay itself and how Steam handles hooking GPU accelerated launchers. I'm not aware of a workaround for this except to use GloSC.

I'm currently investigating adding a hook manager into a future version of OSOL or forking GloSC and adding OSOL's features to it (given that the GloSC project is now is maintenance-only mode).

WombatFromHell commented 4 years ago

I tested some possible workarounds just now and for some launchers you can get away with setting SkipLauncher=True and ReLaunch=False. This would have OSOL launch only the game (but still monitor the launcher once the game exits due to CloseLauncher=True being the default) and the game would usually launch its parent launcher if it isn't already running. The Steam overlay should still be able to hook the game in this situation but not always. Try it and see if it works for you.

SubSonix commented 4 years ago

Thanks mate, I'll give them a go later on and let you know how I go :)

SubSonix commented 4 years ago

No luck with those changes, It just complained that it couldn't get online - I'm guessing because ti couldn't find the launcher running. This is what my .ini looks like when it's business as normal.

[Paths] GamePath=X:\Games\Call of Duty Modern Warfare\ModernWarfare.exe LauncherPath=C:\Programs\Battle.net\Battle.net.exe LauncherArgs=--exec="launch ODIN" LauncherURI= GameArgs= MonitorPath= PreLaunchExecPath= PreLaunchExecArgs= PostGameExecPath= PostGameExecArgs= [Options] ReLaunch=True SkipLauncher=False CloseLauncher=True AutoGameLaunch=True MinimizeLauncher=False ElevateExternals=False ForceKillExternals=False PreGameLauncherWaitTime=5 PreGameWaitTime=5 PostGameWaitTime=5 ProcessAcquisitionTimeout=120 InterProcessAcquisitionTimeout=15 GameProcessAffinity= GameProcessPriority=Normal [Info] ReleaseVersion=1.0.9.9