X2CommunityCore / xcom2-launcher

The Alternative Mod Launcher (AML) is a replacement for the default game launchers from XCOM 2 and XCOM Chimera Squad.
GNU General Public License v3.0
348 stars 51 forks source link

Automatic game directory detection not working #192

Open RevZero opened 4 years ago

RevZero commented 4 years ago

Game directory detection is sometimes not working because Steam seems to be reporting no folder at all or a non-existing folder.

This could is expected to happen when the game isn't (properly?) installed because according to the API documentation: "...works even if the application is not installed, based on where the game would be installed with the default Steam library location."

It was observed that the Steam API reported steamapps\common\XCOM 2\Binaries\Win64\Launcher\ instead of steamapps\common\XCOM 2.

Sentry issue: XCOM2-LAUNCHER-21

Xymanek commented 4 years ago

Did you get this from sentry?

RevZero commented 4 years ago

With the next release, AML will report the path to Sentry if Steam reports a non-existing folder as game directory. We can decide how/if we want to handle this, when we got some data.