HGL
deep-jade

{AppData} giving permissions error when manually trying to download cloud saves

Update: I think the detected save file location is wrong: {AppData}/../LocalLow/Alt Shift/Crying Suns/saves/save0/ I've attempted to remove the ../ I'm getting the same error with loop hero on {AppData}/LoopHero I'm running heroic-games-launcher-bin 2.6.2-1 on Manjaro. I'm getting: PermissionError: [Errno 13] Permission denied: '{AppData}' when trying to sync Epic saves for the game Crying Suns. I could use some help figuring out what's wrong and how to fix. yes .config is owned by me. I'm a bit worried it's trying to write to /opt/ where it shouldn't have access. Odd things about my setup is I've saved games in a hidden folder .GamesAndApps 21:05:36) INFO: [Legendary]: Syncing saves for Crying Suns: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary sync-saves --skip-upload --save-path "{AppData}/../LocalLow/Alt Shift/Crying Suns/saves/save0/" 18fafa2d70d64831ab500a9d65ba9ab8 -y (21:05:37) INFO: [Legendary]: installed.json updated, refreshing library (21:05:37) INFO: [Legendary]: installed.json updated, refreshing library (21:05:37) INFO: [Legendary]: installed.json updated, refreshing library (21:05:37) INFO: [Legendary]: installed.json updated, refreshing library (21:05:37) INFO: [Legendary]: installed.json updated, refreshing library (21:05:38) INFO: [Backend]: [Core] INFO: Trying to re-use existing login session...
30 Replies
deep-jade
deep-jadeOP3y ago
[cli] INFO: Got 15 remote save game(s) [cli] INFO: Checking "Crying Suns" (18fafa2d70d64831ab500a9d65ba9ab8) [cli] INFO: Overriding save path with "{AppData}/../LocalLow/Alt Shift/Crying Suns/saves/save0/"... [cli] INFO: Cloud save for "Crying Suns" is newer: [cli] INFO: - Cloud save date: 2021-08-29 21:22:11 [cli] INFO: - Local save date: N/A [cli] INFO: Downloading remote savegame... [Core] INFO: Deleting old save files... [Core] INFO: Downloading "18fafa2d70d64831ab500a9d65ba9ab8/manifests/2021.08.29-21.22.11.manifest"... Traceback (most recent call last): File "legendary/cli.py", line 3061, in <module> File "legendary/cli.py", line 2988, in main File "legendary/cli.py", line 537, in sync_saves File "legendary/core.py", line 1065, in download_saves File "os.py", line 215, in makedirs File "os.py", line 215, in makedirs File "os.py", line 215, in makedirs [Previous line repeated 3 more times] File "os.py", line 225, in makedirs PermissionError: [Errno 13] Permission denied: '{AppData}' [11725] Failed to execute script 'cli' due to unhandled exception!
ambitious-aqua
ambitious-aqua3y ago
the {AppData} variable still being in the string is a sign of a misconfigured save path
deep-jade
deep-jadeOP3y ago
That makes sense shoud it be relative to the wine prefix?
ambitious-aqua
ambitious-aqua3y ago
i forget but i think you can delete the save path string and let heroic try to auto detect the path
deep-jade
deep-jadeOP3y ago
I tried that and it came up with the same paths
ambitious-aqua
ambitious-aqua3y ago
you need to post your game log
deep-jade
deep-jadeOP3y ago
It could be a bug due to the wine prefix having a '.' in it. My games are saved under a hidden folder .GamesAndApps
ambitious-aqua
ambitious-aqua3y ago
the instructions are in the readme first unlikely
deep-jade
deep-jadeOP3y ago
deep-jade
deep-jadeOP3y ago
missing dependencies?
ambitious-aqua
ambitious-aqua3y ago
this isnt the game log this is the heroic log
deep-jade
deep-jadeOP3y ago
let me see if i can find game log
ambitious-aqua
ambitious-aqua3y ago
click report a problem on the game page
deep-jade
deep-jadeOP3y ago
No log file found "No log file found" I haven't run the game Let me try that and save
deep-jade
deep-jadeOP3y ago
deep-jade
deep-jadeOP3y ago
there's a game log It's loop hero and it's also having appdata issues
generous-apricot
generous-apricot3y ago
"savesPath": "{AppData}/Loop_hero/",
just change this to the appropriate folder rather than relying on the autofill
deep-jade
deep-jadeOP3y ago
Should it be a relative path to the wine prefix or just provide the absolute path?
generous-apricot
generous-apricot3y ago
absolute path
deep-jade
deep-jadeOP3y ago
alright that works. Any way to set relative or absolute save path in heroic?
generous-apricot
generous-apricot3y ago
not that I am aware of. always use absolute path
deep-jade
deep-jadeOP3y ago
Does save path resolve properly for you? Otherwise I'll fix and make a pull request
generous-apricot
generous-apricot3y ago
it usually does
deep-jade
deep-jadeOP3y ago
i've only tried it with 2 games 3 games...something is different enough
generous-apricot
generous-apricot3y ago
given that you're using Proton, I wouldn't be surprised if the answer isn't just that you're doing unsupported actions Proton is not intended to be used outside of Steam
deep-jade
deep-jadeOP3y ago
hmmm appdata isn't resolving b/c i don't have wine is a good reason let me test that
generous-apricot
generous-apricot3y ago
Proton and Wine-GE use slightly different folder paths for prefixes notably, Proton uses a pfx/ folder
deep-jade
deep-jadeOP3y ago
Yea that was it. I switched to wine, created a save, reloaded heroic and it worked It looks like I'll have to create a symlink for libgamemode @termdisc Thanks!
ambitious-aqua
ambitious-aqua3y ago
its possible to have your configs messed up in such a way that the auto fill fails like having your wine prefix in the default wine location, iirc
deep-jade
deep-jadeOP3y ago
they weren't that strange I changed the default install directory and prefixes directory from games to .games

Did you find this page helpful?