-
-
Notifications
You must be signed in to change notification settings - Fork 44
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 Proton saves for non-Steam games added in Steam #130
Comments
Thanks for your report! I suspect this may be an issue with Flatpak permissions, but let's try to narrow it down.
|
config.TXT On the deck is found it in .var/app/com.github.mtkennerly.ludusavi/config/ludusavi GitHub didn't like the .yaml so I changed to txt |
I'm not seeing logs where the wiki said or in the path above RUST_LOG=ludusavi=trace flatpak run com.github.mtkennerly.ludusavi backup --preview "$GAME"
|
Ah, it didn't get far enough to generate any logs because it didn't understand the title.
Based on PCGW, and since the game is in an other-type root, it should find saves at |
I can but to be clear /Games is the actual folder with all my non-steam games on both the internal and SD card. So based on what you are saying I would have to go into the subfolder for each game one by one and set them up as roots? |
No, you shouldn't make each individual game into a root. That won't work. Roots are for groups of games, not individual games. Since you have
...and so on. There's more info about roots in the docs.
Can you elaborate on this?
|
I mean home/deck/Games for ssd No symlinks at all Deadpool is on the ssd. I lives in the /deck/Games folder. I add them as non steam games. Heroic is also in the /Games/ folders but I'm not focusing on that based on the open issue you linked to previously. -No, you shouldn't make each individual game into a root. That won't work. Roots are for groups of games, not individual games. Since you have /home/deck/Games as an other-type root, that means Ludusavi will automatically look for any games installed inside of it- This is the issue. Even though I have 20 games in folders within home/deck/Games/ Ludusavi doesn't see any of them. Same is true for the games on my SD card. |
Thank you for clarifying! I do still need you to run this command and provide the logs, please:
|
RUST_LOG=ludusavi=trace flatpak run com.github.mtkennerly.ludusav $ RUST_LOG=ludusavi=trace flatpak run com.github.mtkennerly.ludusavi backup --preview "home/deck/Games/Deadpool"
|
That's not the command from my previous comment 😅 Please copy/paste it and run it exactly as-is. Afterwards, I'll need the log file from the config folder, not the command line output. |
Sorry 😐 RUST_LOG=ludusavi=trace flatpak run com.github.mtkennerly.ludusavi backup --preview "Deadpool" Still.dont see files in the location: #130 (comment) |
Hmm... Could you try this instead, with Flatpak's own
|
flatpak run --env=RUST_LOG=ludusavi=trace com.github.mtkennerly.ludusavi backup --preview "Deadpool" |
Any ideas about where the logs are located? |
Just to double check, what does this command say?
Logging wasn't available before v0.13.0. I know you already specified v0.13.0 in the initial comment, but just making sure the update went through. Let's also try double checking a few locations:
|
$ flatpak run com.github.mtkennerly.ludusavi --version flatpak run com.github.mtkennerly.ludusavi --version (deck@steamdeck ~)$ ls -a ~/.var/app/com.github.mtkennerly.ludusavi/config/ludusavi/* (2)(deck@steamdeck ~)$ ls -a ~/.config/ludusavi/* (2)(deck@steamdeck ~)$ flatpak run --command='ls -a ~/.var/app/com.github.mtkennerly.ludusavi/config/ludusavi/' com.github.mtkennerly.ludusavi (1)(deck@steamdeck ~)$ flatpak run --command='ls -a $XDG_CONFIG_HOME/ludusavi/' com.github.mtkennerly.ludusavi |
(deck@steamdeck ~)$ flatpak run --command='ls -a ~/.config/ludusavi/' com.github.mtkennerly.ludusavi |
Okay, yeah, that's the problem 😅 Please update:
Then try again, and it should create the log file this time:
|
flatpak update flathub com.github.mtkennerly.ludusavi
Looking for updates…
error: Invalid id flathub: Names must contain at least 2 periods
…On Sun, Oct 2, 2022, 4:22 PM Matthew Kennerly ***@***.***> wrote:
ludusavi 0.12.1
Okay, yeah, that's the problem 😅 Please update:
flatpak update flathub com.github.mtkennerly.ludusavi
And then try again:
flatpak run --env=RUST_LOG=ludusavi=trace com.github.mtkennerly.ludusavi backup --preview "Deadpool"
—
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD53IKPYHLNE5CPTS3STQ5DWBIKLBANCNFSM6AAAAAAQXZRDOA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Ah, sorry, update has different syntax than install. Try this one:
|
sudo flatpak update com.github.mtkennerly.ludusavi
[sudo] password for deck:
Looking for updates…
ID Branch Op Remote Download
1. [✓] com.github.mtkennerly.ludusavi stable u flathub 5.8 MB / 5.8 MB
Warning: Not exporting file com.github.mtkennerly.ludusavi.appdata.xml of
unsupported type.
Note that '/var/lib/flatpak/exports/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
ID Branch Op Remote Download
1. [✓] com.github.mtkennerly.ludusavi stable u flathub 5.8 MB / 5.8 MB
Warning: Not exporting file com.github.mtkennerly.ludusavi.appdata.xml of
unsupported type.
Updates complete.
…On Sun, Oct 2, 2022, 5:06 PM Matthew Kennerly ***@***.***> wrote:
Ah, sorry, update has different syntax than install. Try this one:
flatpak update com.github.mtkennerly.ludusavi
—
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD53IKP3WST72LJYMCCUWVTWBIPPBANCNFSM6AAAAAAQXZRDOA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Great! Looks like it updated successfully. I think we're almost there. Now let's try these again:
Afterwards, please check ~/.var/app/com.github.mtkennerly.ludusavi/config/ludusavi one more time for the log file. |
I tried some other games in that folder (deck@steamdeck ~)$ flatpak run --env=RUST_LOG=ludusavi=trace com.github.mtkennerly.ludusavi backup --preview "Hades" |
Here are the logs |
Thank you! Here's what I see based on the logs: DeadpoolI do see that it found one file for Deadpool:
Do you see that file in the GUI as well now? I believe this was fixed by v0.13.0's removal of the "exclude saves that have only been confirmed on another OS" setting, which I see was enabled in the config file you provided before. HadesPCGamingWiki only has Windows, Mac, and Linux-with-Steam save locations. Since you're using Linux-without-Steam for this game, there are no known save locations currently. In this situation, someone would need to update PCGamingWiki to add the Linux-without-Steam save locations. Disco ElysiumThe logs for this one are probably in a third file, |
Yup Deadpool shows now when I run preview ony the app. Thank you. For the other games can't Ludusavi look into the compdata folders that proton creates? I actually thought that was how you were running the backup since proton is creating the files within the compdata. |
Great! It is only the settings, though, not the save data. The only known save location is in the Windows documents folder, which it can't currently find because:
It can do that for Steam roots, but not for other roots. However, if there's a standard location where Proton puts the compatdata folders without Steam involved, then I can definitely add that. Could you tell me a little more about how you have Hades and Disco Elysium set up with Proton?
|
Where are their drive_c folders? (full path please) Did you have to manually specify where to put the compatdata, or does Proton decide the location automatically? Inside of drive_c/users, what usernames are there? Is there a folder for steamuser? steamuser |
Ah, that's very interesting. The normal app ID for Hades is 1145360, so I had to do some research about where that 4272918735 ID came from. Apparently, Steam generates app IDs for non-Steam games based on the executable location and game name. Ludusavi would need to be able to map Hades -> 4272918735 in order to find the saves, either by predicting the ID or by reading some Steam config file. I think this may be feasible, but I'll need to look into it more. |
One idea is to have us Steam Deck users provide the IDs for the non steam
games. You could then pull from this list (Google sheets) and hardcode it
into Ludusavi. This is assuming the ID doesn't change numbers.
…On Sun, Oct 2, 2022, 8:20 PM Matthew Kennerly ***@***.***> wrote:
Ah, that's very interesting. The normal app ID for Hades is 1145360, so I
had to do some research about where that 4272918735 ID came from.
Apparently, Steam generates app IDs for non-Steam games based on the
executable and its location. Ludusavi would need to be able to map Hades
<-> 4272918735 in order to find the saves, either by predicting the ID or
by reading some Steam config file. I think this may be feasible, but I'll
need to look into it more.
—
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD53IKIRNMGMIQOW4YXNJHDWBJGI5ANCNFSM6AAAAAAQXZRDOA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Unfortunately, the ID depends on the exact folder where it's installed. For example, if you have Steam has a config file with the non-Steam games that you've added, so it should be possible for Ludusavi to pull the info from there, though. |
Awesome. Please let me know what you find out |
The functionality I would need for this has been added to steamlocate. Once they publish a new release, I'll be able to add this to Ludusavi :D |
Thank you. I'll trust one in that since I don't know how that helps. |
This feature will be included in the next release of Ludusavi (0.15.0). I can't promise an exact date, but it should be in the near future. |
Ludusavi version
v0.13.0
Operating system
Linux (Steam Deck)
Installation method
Flatpak
Description
For non steam games is there a way for your tool to locate the saves and backup? I added the folder but it is only finding the games installed in steam (ignores anything that is a non-steam game).
I set the roots for the SD card and also ssd where the games are along with the steam root (which it finds the installed steam games), and heroic locations. However it doesn't detect any of the non steam games.
Logs
No response
The text was updated successfully, but these errors were encountered: