ModOrganizer2 / modorganizer

Mod manager for various PC games. Discord Server: https://discord.gg/ewUVAqyrQX if you would like to be more involved
http://www.nexusmods.com/skyrimspecialedition/mods/6194
GNU General Public License v3.0
2.19k stars 163 forks source link

Problems running games when Steam launched as admin #659

Closed LostDragonist closed 5 years ago

LostDragonist commented 5 years ago

If Steam is being run as administrator, and MO is not being run as administrator, MO is unable to detect Steam or affect the App ID of an executable started through MO.

The most noticeable effect of this is that MO will constantly tell the user that Steam is not running. This isn't an issue by itself as it's correctly telling the user that there's a problem. The message could be updated to mention the possibility of Steam being run as admin causing a problem. If the message is changed, the "remember choice" flags should be cleared so users get the new message when updating.

Next, trying to run a script extender (SKSE, F4SE, Enderal SKSE) will likely cause the original launcher of the executable to run. This is due to the SteamStub DRM. The script extenders bypass this behavior by providing an App ID for the executable, making SteamStub think the executable was launched normally.

Finally, due to the SteamStub behavior mentioned above, the wrong game installation may be launched. This can occur in innocuous cases like Enderal launching Skyrim or in more odd cases like Skyrim launching a different Skyrim installation. That one may occur if the user has messed up moving the game install. At best, the game launches normally but has no mods as USVFS doesn't know the correct location. At worst, the wrong game launches entirely.

LostDragonist commented 5 years ago

Commit 9ec158d will detect this issue and help the user fix it.