HGL
foreign-sapphire

What folders should be persisted when running Heroic in VM or container?

Hello, I'm running Heroic in a specific setup: a Linux (Ubuntu 24) VM / container which may not be persist. only certain volumes (directories) can be persisted. I have a base image with Heroic already installed, I only need to persist data created at runtime (like game data). I did not find specific documentation, but so far I observed these paths were used: - $XDG_CONFIG_HOME/heroic (eg. /home/ubuntu/.config/heroic) - $XDG_DATA_HOME entire folder - $HOME/Games (eg. /home/ubuntu/Games) to install games - $HOME/.wine (for Wine install, eg. /home/ubuntu/.wine) I could go ahead and simply persist $HOME directory, but is there a known or documented list of data managed by Heroic and sub-components ? For context: I'm the creator of Cloudy Pad (https://github.com/PierreBeucher/cloudypad), an open source project to deploy Cloud gaming instances or transform servers/machines into Cloud gaming instances. We already support Steam and now trying to add Heroic support. Thanks in advance !
Solution:
pretty much what you described, you may also want to add $XDG_DATA_HOME/umu to persist runtimes downloaded by UMU...
Jump to solution
8 Replies
Solution
deep-jade
deep-jade2mo ago
pretty much what you described, you may also want to add $XDG_DATA_HOME/umu to persist runtimes downloaded by UMU
foreign-sapphire
foreign-sapphireOP2mo ago
thanks, will give it a try ! Forgot to mention I already persist the entire $XDG_DATA_HOME , edited accordinly
deep-jade
deep-jade2mo ago
other than that, if you are going to run Linux native games, they can write their save files pretty much anywhere. Even though new games use $XDG_DATA_HOME older ones like to write to custom directories in $HOME
foreign-sapphire
foreign-sapphireOP2mo ago
OK so I better persist entire $HOME anyway, planned on that already it's a good occasion
CommandMC
CommandMC2mo ago
~/.wine isn't used by Heroic
foreign-sapphire
foreign-sapphireOP2mo ago
good to know thanks
CommandMC
CommandMC2mo ago
Note that you can change both the game install directory & Wineprefix directory within Heroic, so you might have to add some instructions to your setup to tell users not to do that
foreign-sapphire
foreign-sapphireOP2mo ago
indeed

Did you find this page helpful?