-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
bug: Viper not auto-detecting Titanfall2 install on SteamDeck #94
Comments
Truly... I've never actually tested #53, and had someone else do that for me, however would you be able to give the contents of
Unless the error wasn't the standard no game path found message I don't need it, in case it wasn't that error, simply removing |
Contents of
|
I tried setting |
Seems to imply that the game is installed at that location and not |
Huh, so
Not sure what you mean by this exactly ^^ |
I felt it was phrased very weirdly as well, I was referring to the path behind the |
I added some debug messages to the VDF file found at: /home/deck/.steam/steam/steamapps/libraryfolders.vdf
Game found at: <path>
# or
Game not found at: <path> Should be right at the top of the logs... |
Can try but I will need either build instructions so I can create an AppImage on my Linux machine to copy over to the Deck or a pre-built AppImage. The Deck doesn't have |
Hm, perhaps you could transfer the |
Seems like there's a missing package? |
Weird... My random guess is you're not using the right Node version, Alystrasz had similar issues in #86, if you could try using node v17 or similar and see if that fixes it? That is, if you're not already... |
Yup, that seems to it
Thanks Ubuntu |
I was more referring to Seems it is possible to install it tho, just not through APT and instead a bash pipe. |
Aight, managed to build the AppImage via some electron builder Docker container. The output:
(After prompted to select the Titanfall2 install location I cancelled out) |
Seems like it's never actually searching any library, I added an exrta log that should spew out all the parsed VDF stuff, perhaps that'll give some more insight into what's going wrong...
Won't matter, the log code runs no matter what :) |
Same process as before ^^
|
Everything seems normal, it just never actually wants to check if a library contains the game, which is odd, I added one last step of debug logging, if that doesn't give any useful info, I'll probably go ahead and @ 3top1a, who implemented the whole VDF parsing to begin with... |
|
After a little digging, and guessing based on the raw VDF file you gave earlier, I was able to reproduce the problem, apparently as documented in the code: // `.length - 1` This is because the last value is `contentstatsid` We apparently remove the first element because it's not a library, however, for whatever reason the VDF file that the SteamDeck makes doesn't have this value (either due to Valve refactoring code or something maybe, or the value isn't set for whatever reason), which means, it skips the first library, given you only have one library, it skips everything... So I need to implement a quick check to whether the first value is |
From my testing it should now be fixed, but if you've the time, it'd be nice if you could verify that it in fact does fix it! I also removed all the debugging logs! Which I now realize may not have been the best idea to verify that it works... Just delete your config and check if it finds the path, if not I'll add the logging back in briefly :p |
Confirmed working on c411343 :D |
Lovely, I'll merge it, then fix the flatpak issue...! |
Describe the bug
Viper fails to auto-detect Titanfall2 path when launching for the first time.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Viper should be able to detect the game path. Especially SteamDeck which brings a lot of Linux noobs needs this feature to work.
(AFAIK auto-detecting path should work on Linux with #53)
Screenshots
Forgot to take a screenshot of the message (if you really want one, let me know where Viper stores the game path and I'll grab one)
Version:
v1.2.5
Additional Info
By default, the install for SteamDeck games is on
/home/deck/.steam/steam/steamapps/common/
. This of course changes if the game is installed on a SD card.The text was updated successfully, but these errors were encountered: