-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect whether KSP was installed with Steam #5
Comments
We could simply check if there is a |
This works for a lot of cases, but what if the user's installed Steam in a different library? (Steam allows for multiple game libraries so you can install on multiple HDDs.) |
Does anyone ever use this? |
Look to registry for key HKEY_CURRENT_USER\Software\Valve\Steam\Apps\220200 and check if Installed is 1 |
That doesn't prove KSP was started from Steam. I have a Steam and a store install on my computer - using this check it would always be Steam=true, but I never use the Steam install. |
You can grab location of running KSP.exe process and check whether full path have |
A running instance of KSP has the IsSteam flag, which indicates whether it was started from Steam. The question here is whether KSP was installed with Steam. If someone copies their KSP installation out of the Steam folder and launches it elsewhere, I consider that self-installation. If they run KSP directly but use Steam for updating the game, that's useful information for understanding how people tend to update. |
This seems like a good solution. I'll add this in the next version. |
I'm not sure how to reliably detect this.
The text was updated successfully, but these errors were encountered: