GOG Cloud saves not working when launching via steam-shortcut

I noticed, when adding a shortcut for a gog-game via heroic to the steam-library, heroic will not synchronise the gog cloud when launching from aforementioned shortcut. The cloudsave-sync itself does work when launching via heroic directly, but doing so eliminates the benefit of the steam-decks' gaming-mode. The launcher is asking whether or not to update, when one is available during launch via steam-shortcut, though cloud-saves don't appear to be working.
21 Replies
unwilling-turquoise
unwilling-turquoise•3y ago
I am seeing the same behavior with an Epic game as well
rare-sapphire
rare-sapphire•3y ago
Which heroic version?
unwilling-turquoise
unwilling-turquoise•3y ago
2.4.3 for me I am still experiencing this with 2.5.0b2:
Legendary update available!
- New version: 0.20.31 - "Dark Energy (hotfix #5)"
- Release summary:
[!] Fixed cloud-syncing accidentally deleting game or save data in some cases
[*] Updated API URL for Uplay activiation
See full changelog for additional details.
- Release URL: https://legendary.gl/release/0.20.31
! This update is recommended as it fixes major issues.

- Download URL: https://legendary.gl/release/download/0.20.31/legendary - [Core] INFO: Trying to re-use existing login session...
[cli] INFO: Got 16 remote save game(s)
[cli] INFO: Checking "20XX" (Quail)
[cli] INFO: Overriding save path with "/home/deck/Games/Heroic/Prefixes/TwentyXX/pfx/drive_c/users/steamuser/Documents/20XX"...
[cli] INFO: Local save for "20XX" is newer
[cli] INFO: - Cloud save date: 2022-09-07 14:54:27
[cli] INFO: - Local save date: 2022-11-19 19:46:00
[cli] INFO: Save game uploading is disabled, skipping...
Legendary update available!
- New version: 0.20.31 - "Dark Energy (hotfix #5)"
- Release summary:
[!] Fixed cloud-syncing accidentally deleting game or save data in some cases
[*] Updated API URL for Uplay activiation
See full changelog for additional details.
- Release URL: https://legendary.gl/release/0.20.31
! This update is recommended as it fixes major issues.

- Download URL: https://legendary.gl/release/download/0.20.31/legendary - [Core] INFO: Trying to re-use existing login session...
[cli] INFO: Got 16 remote save game(s)
[cli] INFO: Checking "20XX" (Quail)
[cli] INFO: Overriding save path with "/home/deck/Games/Heroic/Prefixes/TwentyXX/pfx/drive_c/users/steamuser/Documents/20XX"...
[cli] INFO: Local save for "20XX" is newer
[cli] INFO: - Cloud save date: 2022-09-07 14:54:27
[cli] INFO: - Local save date: 2022-11-19 19:46:00
[cli] INFO: Save game uploading is disabled, skipping...
this is if I manually attempt to download the save, to verify the dates on the cloud/local saves
rare-sapphire
rare-sapphire•3y ago
Ah OK, the auto sync will only work if there is no conflicts. You will need to force upload or download the saves first
ambitious-aqua
ambitious-aquaOP•3y ago
i did make sure there are no conflicts, it simply appears as if cloud saves are not enabled when launching via a steam-shortcut. I'd post the links, but i have not figured out their file location, as launching via shortcut offers no gui to check them.
rival-black
rival-black•3y ago
I'm having a similar issue, though I've been going directly from the launcher. I've downloaded cloud saves and changd the directory of where they are stored, but still have no recognition when I launch the game.
unwilling-turquoise
unwilling-turquoise•3y ago
I've manually uploaded the save, and it's still not being updated when I run the game, even when I run it via Heroic. what I do: 1. check timestamp of the cloud save by attempting an unforced download. this shows me the cloud date of some period in the past relative to the local save. 2. I run the game for a few minutes to cause the save to be updated. 3. exit the game via the in-game menu 4. go to save-sync to make an unforced upload. the cloud save is still timestamped at the previous timestamp, and the local timestamp is current, so the save is manually uploaded.
rare-sapphire
rare-sapphire•3y ago
Maybe @Linguin might have a better idea then.
equal-aqua
equal-aqua•3y ago
hmm no idea try launching heroic manually from terminal and post logs
dependent-tan
dependent-tan•3y ago
this aint the whole IF the save is newer , then upload it to cloud kinda thing ? on force download or something never used the cloud save thing since , last time i reported
equal-aqua
equal-aqua•3y ago
I mean to run the command shortcut uses to directly launch a game
rare-sapphire
rare-sapphire•3y ago
I think you guys can do this: - On desktop mode start steam from terminal like this: steam -gamepadui - launch a heroic game that you have issues - check the logs to see if something about saves appear This will be easy if you have two screens so you can see it in real time, if not, then close steam after closing the game and then check the terminal
unwilling-turquoise
unwilling-turquoise•3y ago
https://pastebin.com/MHBw06aG (truncated to when the game is launched then closed)
Pastebin
GameAction [AppID 3548811852, ActionID 1] : LaunchApp changed task ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
unwilling-turquoise
unwilling-turquoise•3y ago
line 76 says offline. could that be why? i am not using offline mode
ambitious-aqua
ambitious-aquaOP•3y ago
My logs also indicate that there is no save-syncing when starting via the CLI, using the same command as used in the steam-shortcut. I have not copied yet them over though, but i can post them later if needed. I did have a look at the source-code on github. It appears the function doAutoSyncSaves is only ever called by GUI-triggered functions(click-handlers), and not by handleProtocol , which appears to be responsible for launching games specified via CLI-arguments, thus by steam-shortcuts as well? I only had a brief look thus could be totally wrong. So, when running via the GUI, there are log entries like
INFO: [Gog]: Syncing saves for <appid>
INFO: [Gog]: Syncing saves for <appid>
These however are missing when running from the console with a command like
flatpak run com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch/<appid>"
flatpak run com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch/<appid>"
It rather looks like it is missing feature, i wonder whether to open an issue at Github?
rare-sapphire
rare-sapphire•3y ago
Hmm, might be. Open an issue and we can investigate it further
ambitious-aqua
ambitious-aquaOP•3y ago
Thanks for the support 😄
unwilling-turquoise
unwilling-turquoise•3y ago
Should I stack onto the same one for Epic saves?
ambitious-aqua
ambitious-aquaOP•3y ago
It is probably a more general issue, auto-syncing saves not being called when launching games via CLI
ambitious-aqua
ambitious-aquaOP•3y ago
GitHub
Add Cloud-Save-Syncing when launching via CLI/Steam-Shortcut · Issu...
Problem description It appears that, when launching via CLI/Steamshort, there is not cloud-save synchronization. After logging at logs, there are no entries like INFO: [Gog]: Syncing saves for &amp...
rare-sapphire
rare-sapphire•3y ago
No need, it is probably the same issue

Did you find this page helpful?