-
Notifications
You must be signed in to change notification settings - Fork 49
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
Fixed GameDir location issues. #152
Conversation
I couldn't launch the game without this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my testing the snap install does have the libraryfolders file, which we do need incase the user changes the installation location.
My code suggestions include the change required and some small bits.
Co-authored-by: Tixx <[email protected]>
Co-authored-by: Tixx <[email protected]>
Co-authored-by: Tixx <[email protected]>
Co-authored-by: Tixx <[email protected]>
I know the snap version has its libraryFolders, but for me they didn't find the gameDir for some reason, so I omitted their address. But if they worked with you, maybe something is miss configured on my end. Edit: miss configuration confirmed, |
As requested: - Changed 'string' variables that referred to paths to 'filesystem'. - Added error log for when a valid 'GameDir' isn't found. Also readded error log for when 'libraryfolders.vdf' is missing for better contextualization for the 'basic_string::_M_replace_aux' error (the code doesn't reach the GameDir segment when that file is not found).
a86756f
to
f2b86cd
Compare
I couldn't launch the game without this.
By creating this pull request, I understand that code that is AI generated or otherwise automatically generated may be rejected without further discussion.
I declare that I fully understand all code I pushed into this PR, and wrote all this code myself and own the rights to this code.