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

126 Replies
Delete the save path currently there, then leave the "Save-Sync" tab of the settings & come back
That should re-compute the path
deep-jadeOP•3y ago
Ok trying that now
@CommandMC I’m still getting the same error. Here’s the save path
deep-jadeOP•3y ago

deep-jadeOP•3y ago
I think it’s somthing with the {UserDir} like it does not have permission to write in that directory. Idk.
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-jadeOP•3y 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"
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"
"winePrefix": "/home/deck/.wine"
Yeah that's not rightdeep-jadeOP•3y ago
How do I fix that? 🙂
That should be set to
/home/deck/Games/Heroic/Prefixes/SnowRunner/
by defaultdeep-jadeOP•3y ago
@CommandMC
"WinePrefix" setting in the game settings
deep-jadeOP•3y ago
Ok I’ll try that. I’m not used to navigating Linux files.
Thank you
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-jadeOP•3y ago

deep-jadeOP•3y ago
There’s nothin in the prefixes folder
Hm, that's odd
Well, you can just create a new folder in there yourself & set that as the prefix
deep-jadeOP•3y ago
Well it could be because I haven’t saved a game in snow runner yet
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 fixdeep-jadeOP•3y ago
Gotcha. I just added a Snowrunner folder in prefixes
deep-jadeOP•3y ago

deep-jadeOP•3y ago
Here’s the new directory is that correct?
@CommandMC
Yup that looks good
deep-jadeOP•3y ago

deep-jadeOP•3y ago
This is the directory it detects
This is after you've erased the path again?
deep-jadeOP•3y ago
Yea. And then go out of save-sync and then back into it
It still does that
If you navigate to the prefix folder with Dolphin (File Manager), is there anything inside?
deep-jadeOP•3y ago

deep-jadeOP•3y ago
Here?
Inside the Snowrunner folder
There should be some folders & files in there (
pfx
, tracked_files
, ...)deep-jadeOP•3y ago
Well I just added that folder remember?
There was nothing in the “prefixes” folder
Yes, but they should've been created once it re-detected the save folder
deep-jadeOP•3y ago
Ohhh ok
Hmmm
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-jadeOP•3y ago
Yes
I wish I could send a video of me doing it
Alright, give me a second
deep-jadeOP•3y ago
Ok thanks man I appreciate your time
What if I manually set the save-sync folder?
That might work, but the fact that you even have this issue means something isn't working right
deep-jadeOP•3y ago
Hey wait!
deep-jadeOP•3y ago

deep-jadeOP•3y ago
There’s stuff in the new snowrunner folder I created now
Hang on, I have an idea
Could you re-do these steps again now?
deep-jadeOP•3y 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-jadeOP•3y ago

deep-jadeOP•3y ago
Does this mean it worked?
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-jadeOP•3y ago
Ok.
Think of the "SnowRunner" folder as the C: drive of a Windows PC
deep-jadeOP•3y ago
Oh Jesus om
Ok*
The save folder wants a specific folder on the C: drive, so you syncing the entire thing will not work
deep-jadeOP•3y ago
Crap did I just mess up somthing by trying to sync it?
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-jadeOP•3y ago
Ok dope. Also what’s it asking to update? Is that relevant?
Not relevant
deep-jadeOP•3y ago
Ok cool just making sure.
We'll update Legendary with the next Heroic release, you don't have to do anything
deep-jadeOP•3y ago
Ok so I re-did those steps and it still detect the old directory
Run these two commands (open up "Konsole", run them one after the other):
Once the 2nd one is done, copy the output into here
deep-jadeOP•3y ago
I’m sorry what’s Konsole?
Is it like CMD?
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-jadeOP•3y ago
I’m sorry lol where do I search for installed programs. Is it in the discover application?
There should be a start menu in the bottom-left
deep-jadeOP•3y ago
Nevermind
I found it
What do those commands do?
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 wrongdeep-jadeOP•3y ago

deep-jadeOP•3y ago
This is what I got after first command
Yup that looks all good
deep-jadeOP•3y ago
Should I input second command
Yes
deep-jadeOP•3y ago
I don’t have discord on my deck so bare with me
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-jadeOP•3y ago

deep-jadeOP•3y ago
This is what I got
Looks like the same prompt I got earlier
@CommandMC
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-jadeOP•3y ago
I don’t have .var
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-jadeOP•3y ago
Oh thanks
Ah it's in the top-right menu in Dolphin, "Show Hidden Files"
deep-jadeOP•3y 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
You might have to copy the file into your home directory (
/home/deck/
) firstdeep-jadeOP•3y 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"
}
}
"save_path": "/home/deck/Games/Heroic/Prefixes/SnowRunner"
Hmm. Did you not delete your manually selected save path (in Heroic)?deep-jadeOP•3y ago
did u want me to?
Well, that path is never going to work
deep-jadeOP•3y ago
{UserDir}/My Games/SnowRunner/base/storage/{EpicID}/
this is still the save sync directory
Right, now run this command again
deep-jadeOP•3y ago
on heroic
My wine prefix folder is this
deep-jadeOP•3y ago

Right, capitalization matters with paths on Linux
I've corrected the path in the command above
deep-jadeOP•3y ago
where?
^
deep-jadeOP•3y ago
got it
deep-jadeOP•3y 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-jadeOP•3y ago
thats what i got from the terminal
conscious-sapphire•3y ago
After you changed the prefix folder, did you actually run the game yet?
deep-jadeOP•3y ago
no
conscious-sapphire•3y ago
because if you didn't attempt to run the game, the prefix folder would not have been created
Prefix is populated
conscious-sapphire•3y ago
which is why it still says {UserDir}
^
conscious-sapphire•3y ago
ah, it was a long thread 😄
The prefix will also be created when just heading to the Save Sync page
deep-jadeOP•3y ago
maybe i did run it. lol i dont remember
ok so i did the sync save thing again. and it changed the directory
Check what the "save_path" value in this file says now
Oh?
deep-jadeOP•3y ago

deep-jadeOP•3y ago
Yea I just did it
I deleted the path then left and came back
conscious-sapphire•3y ago
that's also an incomplete path
just fill it in manually if it's not auto-filling
Yeah not sure how it's getting to that now
deep-jadeOP•3y ago
How so I complete the path?
conscious-sapphire•3y ago
First go to https://www.pcgamingwiki.com/wiki/SnowRunner#Save_game_data_location to see the save path under "Windows"
conscious-sapphire•3y ago
then adapt that based on the folder structure of the prefix
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 directorydeep-jadeOP•3y ago
Ok lemme try running the game
Game is launching
Exiting game
Also idk if this helps
deep-jadeOP•3y ago

conscious-sapphire•3y ago
nothing looks wrong there to me
deep-jadeOP•3y 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
Overriding save path with "/home/deck/Games/Heroic/Prefixes/SnowRunner"That doesn't look right
deep-jadeOP•3y 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?
The game won't look there for your save data. You'll have to set the proper path
^
deep-jadeOP•3y ago
oh theres a PFX folder
so what do we do now
Set the save path in Heroic to that path manually
deep-jadeOP•3y ago
Well the farthest I can get to is /base
Then there’s just a mods folder
Try launching the game & creating a new save (if that's possible)
It should then create that directory
deep-jadeOP•3y 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•3y ago
maybe. mine has never auto-synced post-game when launched via Steam shortcut (no-gui mode for Heroic)
deep-jadeOP•3y ago
Ok cool
Thanks guys
The Reddit post I found about this topic were not nearly as helpful as you guys