HGL
deep-jade

cloud saves

Hello I really want to play snow runner through heroic launcher but my cloud saves won’t download. I assume it’s because of the code line “OSError: (Errno 30) Read-Only file system ‘{UserDir}’” If a Linux expert could help me fix my cloud save location that would be great
No description
126 Replies
CommandMC
CommandMC3y ago
Delete the save path currently there, then leave the "Save-Sync" tab of the settings & come back That should re-compute the path
deep-jade
deep-jadeOP3y ago
Ok trying that now @CommandMC I’m still getting the same error. Here’s the save path
deep-jade
deep-jadeOP3y ago
No description
deep-jade
deep-jadeOP3y ago
I think it’s somthing with the {UserDir} like it does not have permission to write in that directory. Idk.
CommandMC
CommandMC3y ago
There is no {UserDir} directory. It for some reason fails to compute the actual save folder, leaving these variables in place Could you head over to the "Log" tab & send that log into here?
deep-jade
deep-jadeOP3y ago
Sure System Info: Heroic Version: 2.5.2 Yamato Legendary Version: 0.20.31 Dark Energy (hotfix #5) GOGdl Version: 0.5 OS: Freedesktop SDK KERNEL: 5.13.0-valve36-1-neptune ARCH: x64 CPU: AMD Custom APU 0405 @2.38 GOVERNOR: schedutil RAM: Total: 11.52 GiB Available: 8.39 GiB GRAPHICS: GPU0: VanGogh [AMD Custom GPU 0405] VRAM: 512MB
PROTOCOL: x11 Game Settings: { "autoInstallDxvk": true, "autoInstallVkd3d": true, "preferSystemLibs": false, "autoSyncSaves": true, "nvidiaPrime": false, "enviromentOptions": [], "wrapperOptions": [], "savesPath": "{UserDir}/My Games/SnowRunner/base/storage/{EpicID}/", "showFps": false, "useGameMode": false, "useSteamRuntime": false, "language": "", "wineVersion": { "bin": "/home/deck/.local/share/Steam/steamapps/common/Proton 7.0/proton", "name": "Proton - Proton 7.0", "type": "proton" }, "winePrefix": "/home/deck/.wine" } Game launched at: Mon Jan 16 2023 09:35:07 GMT-0500 (Eastern Standard Time) Legendary's config from config.ini (before Heroic's settings): { "game_parameters": [ "--startup", "--set", "/Config/Language/Language", "english" ], "game_executable": "en_us/Sources/Bin/SnowRunner.exe", "game_directory": "/home/deck/Games/Heroic/SnowRunner", "launch_command": [ "wine" ], "working_directory": "/home/deck/Games/Heroic/SnowRunner/en_us/Sources/Bin", "user_parameters": [], "environment": {}, "pre_launch_command": "", "pre_launch_wait": false } Launch Command: STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/.steam/steam STEAM_COMPAT_DATA_PATH=/home/deck/.wine PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-SnowRunner PROTON_LOG_DIR=/home/deck/.var/app/com.heroicgameslauncher.hgl /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch Mayflower --language en --no-wine --wrapper "'/home/deck/.local/share/Steam/steamapps/common/Proton 7.0/proton' run"
CommandMC
CommandMC3y ago
"winePrefix": "/home/deck/.wine"
Yeah that's not right
deep-jade
deep-jadeOP3y ago
How do I fix that? 🙂
CommandMC
CommandMC3y ago
That should be set to /home/deck/Games/Heroic/Prefixes/SnowRunner/ by default
deep-jade
deep-jadeOP3y ago
@CommandMC
CommandMC
CommandMC3y ago
"WinePrefix" setting in the game settings
deep-jade
deep-jadeOP3y ago
Ok I’ll try that. I’m not used to navigating Linux files. Thank you
CommandMC
CommandMC3y ago
Once you've set that path to its proper value again, head over to the Save Sync tab and once again delete the path
deep-jade
deep-jadeOP3y ago
No description
deep-jade
deep-jadeOP3y ago
There’s nothin in the prefixes folder
CommandMC
CommandMC3y ago
Hm, that's odd Well, you can just create a new folder in there yourself & set that as the prefix
deep-jade
deep-jadeOP3y ago
Well it could be because I haven’t saved a game in snow runner yet
CommandMC
CommandMC3y ago
That's not related, no. The prefix should always be there, but since it was set to /home/deck/.wine, nothing's going to be in Prefixes/ As to how it got set to /home/deck/.wine: No idea, but it's luckily easy to fix
deep-jade
deep-jadeOP3y ago
Gotcha. I just added a Snowrunner folder in prefixes
deep-jade
deep-jadeOP3y ago
No description
deep-jade
deep-jadeOP3y ago
Here’s the new directory is that correct? @CommandMC
CommandMC
CommandMC3y ago
Yup that looks good
deep-jade
deep-jadeOP3y ago
No description
deep-jade
deep-jadeOP3y ago
This is the directory it detects
CommandMC
CommandMC3y ago
This is after you've erased the path again?
deep-jade
deep-jadeOP3y ago
Yea. And then go out of save-sync and then back into it It still does that
CommandMC
CommandMC3y ago
If you navigate to the prefix folder with Dolphin (File Manager), is there anything inside?
deep-jade
deep-jadeOP3y ago
No description
deep-jade
deep-jadeOP3y ago
Here?
CommandMC
CommandMC3y ago
Inside the Snowrunner folder There should be some folders & files in there (pfx, tracked_files, ...)
deep-jade
deep-jadeOP3y ago
Well I just added that folder remember? There was nothing in the “prefixes” folder
CommandMC
CommandMC3y ago
Yes, but they should've been created once it re-detected the save folder
deep-jade
deep-jadeOP3y ago
Ohhh ok Hmmm
CommandMC
CommandMC3y ago
So just to confirm: After you've set this new folder as your WinePrefix, you've went to the Save Sync tab, deleted the path that's there, then left that tab & came back?
deep-jade
deep-jadeOP3y ago
Yes I wish I could send a video of me doing it
CommandMC
CommandMC3y ago
Alright, give me a second
deep-jade
deep-jadeOP3y ago
Ok thanks man I appreciate your time What if I manually set the save-sync folder?
CommandMC
CommandMC3y ago
That might work, but the fact that you even have this issue means something isn't working right
deep-jade
deep-jadeOP3y ago
Hey wait!
deep-jade
deep-jadeOP3y ago
No description
deep-jade
deep-jadeOP3y ago
There’s stuff in the new snowrunner folder I created now
CommandMC
CommandMC3y ago
Hang on, I have an idea Could you re-do these steps again now?
deep-jade
deep-jadeOP3y ago
Ok one second. I just manually changed the save folder to the SnowRunner folder I created in “Prefixes” that now has stuff in it. And here’s the log I got when trying to save sync
deep-jade
deep-jadeOP3y ago
No description
deep-jade
deep-jadeOP3y ago
Does this mean it worked?
CommandMC
CommandMC3y ago
I just manually changed the save folder to the SnowRunner folder I created in “Prefixes”
Yeah that's not just gonna work like that
deep-jade
deep-jadeOP3y ago
Ok.
CommandMC
CommandMC3y ago
Think of the "SnowRunner" folder as the C: drive of a Windows PC
deep-jade
deep-jadeOP3y ago
Oh Jesus om Ok*
CommandMC
CommandMC3y ago
The save folder wants a specific folder on the C: drive, so you syncing the entire thing will not work
deep-jade
deep-jadeOP3y ago
Crap did I just mess up somthing by trying to sync it?
CommandMC
CommandMC3y ago
The command didn't do anything It determined that the local "save" is newer, but I assume you just selected "Download" so it didn't upload anything
deep-jade
deep-jadeOP3y ago
Ok dope. Also what’s it asking to update? Is that relevant?
CommandMC
CommandMC3y ago
Not relevant
deep-jade
deep-jadeOP3y ago
Ok cool just making sure.
CommandMC
CommandMC3y ago
We'll update Legendary with the next Heroic release, you don't have to do anything
deep-jade
deep-jadeOP3y ago
Ok so I re-did those steps and it still detect the old directory
CommandMC
CommandMC3y ago
Run these two commands (open up "Konsole", run them one after the other):
flatpak run --command=bash com.heroicgameslauncher.hgl

STEAM_COMPAT_DATA_PATH=/home/deck/Games/Heroic/Prefixes/SnowRunner legendary sync-saves Mayflower --skip-upload --skip-download --accept-path
flatpak run --command=bash com.heroicgameslauncher.hgl

STEAM_COMPAT_DATA_PATH=/home/deck/Games/Heroic/Prefixes/SnowRunner legendary sync-saves Mayflower --skip-upload --skip-download --accept-path
Once the 2nd one is done, copy the output into here
deep-jade
deep-jadeOP3y ago
I’m sorry what’s Konsole? Is it like CMD?
CommandMC
CommandMC3y ago
Might also be called "Terminal" on the Deck Yup, it's, well, the terminal I could of course explain what those commands do for you in case you'd like that
deep-jade
deep-jadeOP3y ago
I’m sorry lol where do I search for installed programs. Is it in the discover application?
CommandMC
CommandMC3y ago
There should be a start menu in the bottom-left
deep-jade
deep-jadeOP3y ago
Nevermind I found it What do those commands do?
CommandMC
CommandMC3y ago
Right, so Legendary is essentially a command-line interface to manage your Epic Games library. It is bundled with Heroic, and Heroic runs it to do just about everything you see (logging in, listing games, launching games, etc.) With the first command, we're (in very simple terms) making it so you can use the legendary command yourself. The second command is mostly the same command Heroic runs when it tries to detect your save folder, so I'm hoping that by running it manually it'll tell us what's going wrong
deep-jade
deep-jadeOP3y ago
No description
deep-jade
deep-jadeOP3y ago
This is what I got after first command
CommandMC
CommandMC3y ago
Yup that looks all good
deep-jade
deep-jadeOP3y ago
Should I input second command
CommandMC
CommandMC3y ago
Yes
deep-jade
deep-jadeOP3y ago
I don’t have discord on my deck so bare with me
CommandMC
CommandMC3y ago
That's fine You might want to look into KDE Connect for easily copying text/files between your Deck & your phone (https://reddit.com/r/SteamDeck/comments/tb7h13/kde_connect_is_available_on_the_steam_deck/)
deep-jade
deep-jadeOP3y ago
No description
deep-jade
deep-jadeOP3y ago
This is what I got Looks like the same prompt I got earlier @CommandMC
CommandMC
CommandMC3y ago
Could you head to /home/deck/.var/app/com.heroicgameslauncher.hgl/config/legendary/ and send the "installed.json" file in that folder into here?
deep-jade
deep-jadeOP3y ago
I don’t have .var
CommandMC
CommandMC3y ago
From that output, it sounds like Legendary already has a computed save path for the game stored, but that should be impossible based on what we're seeing in Heroic It's a hidden folder. On a PC, I'd press Ctrl + H to show those but uh
deep-jade
deep-jadeOP3y ago
Oh thanks
CommandMC
CommandMC3y ago
Ah it's in the top-right menu in Dolphin, "Show Hidden Files"
deep-jade
deep-jadeOP3y ago
Ok I just gotta get that file transfer thing I found it I forgot I can just login to discord on browser When I try to upload the file it says error Upload failed I can paste what’s inside it
CommandMC
CommandMC3y ago
You might have to copy the file into your home directory (/home/deck/) first
deep-jade
deep-jadeOP3y ago
{ "Mayflower": { "app_name": "Mayflower", "base_urls": [ "https://epicgames-download1.akamaized.net/Builds/Org/o-wt4zxeetmq6jem7qp4pkssr46aenj5/1c6937ce9501483d9c6ed13386ff1505/default", "https://download.epicgames.com/Builds/Org/o-wt4zxeetmq6jem7qp4pkssr46aenj5/1c6937ce9501483d9c6ed13386ff1505/default", "https://download2.epicgames.com/Builds/Org/o-wt4zxeetmq6jem7qp4pkssr46aenj5/1c6937ce9501483d9c6ed13386ff1505/default", "https://download3.epicgames.com/Builds/Org/o-wt4zxeetmq6jem7qp4pkssr46aenj5/1c6937ce9501483d9c6ed13386ff1505/default", "https://download4.epicgames.com/Builds/Org/o-wt4zxeetmq6jem7qp4pkssr46aenj5/1c6937ce9501483d9c6ed13386ff1505/default", "https://fastly-download.epicgames.com/Builds/Org/o-wt4zxeetmq6jem7qp4pkssr46aenj5/1c6937ce9501483d9c6ed13386ff1505/default" ], "can_run_offline": false, "egl_guid": "", "executable": "en_us/Sources/Bin/SnowRunner.exe", "install_path": "/home/deck/Games/Heroic/SnowRunner", "install_size": 39306541386, "install_tags": [], "is_dlc": false, "launch_parameters": "--startup --set /Config/Language/Language english", "manifest_path": null, "needs_verification": false, "platform": "Windows", "prereq_info": null, "requires_ot": false, "save_path": "/home/deck/Games/Heroic/Prefixes/SnowRunner", "title": "SnowRunner", "version": "20.0" } }
CommandMC
CommandMC3y ago
"save_path": "/home/deck/Games/Heroic/Prefixes/SnowRunner"
Hmm. Did you not delete your manually selected save path (in Heroic)?
deep-jade
deep-jadeOP3y ago
did u want me to?
CommandMC
CommandMC3y ago
Well, that path is never going to work
deep-jade
deep-jadeOP3y ago
{UserDir}/My Games/SnowRunner/base/storage/{EpicID}/ this is still the save sync directory
CommandMC
CommandMC3y ago
Right, now run this command again
deep-jade
deep-jadeOP3y ago
on heroic My wine prefix folder is this
deep-jade
deep-jadeOP3y ago
No description
CommandMC
CommandMC3y ago
Right, capitalization matters with paths on Linux I've corrected the path in the command above
deep-jade
deep-jadeOP3y ago
where?
CommandMC
CommandMC3y ago
^
deep-jade
deep-jadeOP3y ago
got it
deep-jade
deep-jadeOP3y ago
[Core] INFO: Trying to re-use existing login session... [cli] INFO: Got 3 remote save game(s) [cli] INFO: Checking "SnowRunner" (Mayflower) [cli] INFO: Local save for "SnowRunner" is newer [cli] INFO: - Cloud save date: 2023-01-05 01:41:11 [cli] INFO: - Local save date: 2023-01-16 15:05:47 [cli] INFO: Save game uploading is disabled, skipping... Legendary update available! - New version: 0.20.32 - "Dark Energy (hotfix #6)" - Release summary: [!] Fixes installing games that specify invalid install directories (e.g. Kerbal Space Program) [*] More gracefully handles account errors See full changelog for additional details. - Release URL: https://legendary.gl/release/0.20.32 - Download URL: https://legendary.gl/release/download/0.20.32/legendary
GitHub
Release 0.20.32 - Dark Energy (hotfix #6) · derrod/legendary
This release improves handling of login errors due to Epic requiring account actions and fixes installing some games (cough KSP) that have specified invalid installation directories. As always you ...
deep-jade
deep-jadeOP3y ago
thats what i got from the terminal
conscious-sapphire
conscious-sapphire3y ago
After you changed the prefix folder, did you actually run the game yet?
deep-jade
deep-jadeOP3y ago
no
conscious-sapphire
conscious-sapphire3y ago
because if you didn't attempt to run the game, the prefix folder would not have been created
CommandMC
CommandMC3y ago
Prefix is populated
conscious-sapphire
conscious-sapphire3y ago
which is why it still says {UserDir}
CommandMC
CommandMC3y ago
^
conscious-sapphire
conscious-sapphire3y ago
ah, it was a long thread 😄
CommandMC
CommandMC3y ago
The prefix will also be created when just heading to the Save Sync page
deep-jade
deep-jadeOP3y ago
maybe i did run it. lol i dont remember ok so i did the sync save thing again. and it changed the directory
CommandMC
CommandMC3y ago
Check what the "save_path" value in this file says now Oh?
deep-jade
deep-jadeOP3y ago
No description
deep-jade
deep-jadeOP3y ago
Yea I just did it I deleted the path then left and came back
conscious-sapphire
conscious-sapphire3y ago
that's also an incomplete path just fill it in manually if it's not auto-filling
CommandMC
CommandMC3y ago
Yeah not sure how it's getting to that now
deep-jade
deep-jadeOP3y ago
How so I complete the path?
conscious-sapphire
conscious-sapphire3y ago
conscious-sapphire
conscious-sapphire3y ago
then adapt that based on the folder structure of the prefix
CommandMC
CommandMC3y ago
The path should be /home/deck/Games/Heroic/Prefixes/SnowRunner/pfx/drive_c/users/steamuser/My Games/SnowRunner/base/storage/<yourEpicId> Although you'll have to run the game once first to create that directory
deep-jade
deep-jadeOP3y ago
Ok lemme try running the game Game is launching Exiting game Also idk if this helps
deep-jade
deep-jadeOP3y ago
No description
conscious-sapphire
conscious-sapphire3y ago
nothing looks wrong there to me
deep-jade
deep-jadeOP3y ago
[Core] INFO: Trying to re-use existing login session... [cli] INFO: Got 3 remote save game(s) [cli] INFO: Checking "SnowRunner" (Mayflower) [cli] INFO: Overriding save path with "/home/deck/Games/Heroic/Prefixes/SnowRunner"... [cli] INFO: Local save for "SnowRunner" is newer [cli] INFO: - Cloud save date: 2023-01-05 01:41:11 [cli] INFO: - Local save date: 2023-01-16 15:47:13 [cli] INFO: Save game uploading is disabled, skipping... this is what i get when i try to sync save ok so i chose "force download" on the drop down menu and it downloaded the save file
CommandMC
CommandMC3y ago
Overriding save path with "/home/deck/Games/Heroic/Prefixes/SnowRunner"
That doesn't look right
deep-jade
deep-jadeOP3y ago
yea i just launched the game and my saves are not there rip it looks like all my save data is now populated in /Prefixes/SnowRunner but when i launch the game its not saved is that because the path is incomplete?
CommandMC
CommandMC3y ago
The game won't look there for your save data. You'll have to set the proper path ^
deep-jade
deep-jadeOP3y ago
oh theres a PFX folder so what do we do now
CommandMC
CommandMC3y ago
Set the save path in Heroic to that path manually
deep-jade
deep-jadeOP3y ago
Well the farthest I can get to is /base Then there’s just a mods folder
CommandMC
CommandMC3y ago
Try launching the game & creating a new save (if that's possible) It should then create that directory
deep-jade
deep-jadeOP3y ago
Nevermind I relaunched the game And it populated those files Ok I did force download and it downloaded the files Lemme launch the game It worked!! My game save is here Now should it automatically upload to the cloud when I finish playing?
conscious-sapphire
conscious-sapphire3y ago
maybe. mine has never auto-synced post-game when launched via Steam shortcut (no-gui mode for Heroic)
deep-jade
deep-jadeOP3y ago
Ok cool Thanks guys The Reddit post I found about this topic were not nearly as helpful as you guys

Did you find this page helpful?