HGL
flat-fuchsia
Turmoil tries to save in an inaccessibile directory
If you run the Flatpak version of Heroic, GOG games with a native Linux version which do not support cloud saves might try to write the save-files to inaccessibile directories (like ~/.config). This results in vanishing saves as soon as Heroic is terminated. No warning is provided and the savefiles remain accessible as long as Heroic is running. I have experienced this with Turmoil. The issue is solved by allowing access to ~/.config/TurmoilSteam from Flatpak permissions, but I have already lost my fist two hours of progress.
I suggest to ship with more permissible Flatpak authorizations or to detect and warn about writes to inaccessible folders.
9 Replies
ambitious-aqua•2y ago
Hi, we tried enabling
persist=.
atribute in flatpak manifest to avoid this kind of situations
however this caused Heroic to not run for some peopleflat-fuchsiaOP•2y ago
What about adding ~/.config to the default requested directories?
extended-salmon•2y ago
What about store it for flatpak in the config of flatpak?
ambitious-aqua•2y ago
this defeats purpose of flatpak
extended-salmon•2y ago
We could store it in the ~/Game/Heroic folder
ambitious-aqua•2y ago
what do you mean? And how do you want to achieve it?
extended-salmon•2y ago
Symlink
?
Probably only working for windows games
rare-sapphire•2y ago
I wonder if native GOG games tell us what's the saves folder in some metadata file, then we could do a quick check before starting a game: if we can't access that folder we tell the user to add that using flatseal
ambitious-aqua•2y ago
nope
I literally started to build a wrapper arround that endpoint to also add Linux paths https://github.com/Heroic-Games-Launcher/gog-proxy
which were meant to be crowd sourced, I guess with GOG in touch we can make it upstream
and provided by game publishers