HGL
absent-sapphire

Some games lose save state, permissions issue?

I'm testing out Undertale native on my Steam Deck and noticed that the save files disappear when the game is quit, which means I start from scratch. By default, the native version of Undertale saves to ~/.config/UNDERTALE, so I'm wondering if I have to add this path to Flatseal. Do I have to do this for every game or is there something I am missing? Thanks.
2 Replies
absent-sapphire
absent-sapphireOP2y ago
Figured out the problem. See the GitHub issue here: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/issues/2443 Basically, some Linux native games write to the home directory, which is inside the Flatpak sandboxed filesystem, which is wiped when the Flatpak app is closed. The recommended workaround is to use Flatseal. Select Heroic Games Launcher, go all the way down to "Persistent", and add a single entry with the value . Then, stuff should be available in ~/.var/app/com.heroicgameslauncher.hgl/. For the Undertale saves, this should be in ~/.var/app/com.heroicgameslauncher.hgl/.config/UNDERTALE
eastern-cyan
eastern-cyan2y ago
Thanks for the suggestion. I had an identical problem with the native version of ShadowRun and although it is playable with proton, with your solution I was able to play with the native Linux version. :thankyou:

Did you find this page helpful?