19

I'm thinking about making a dedicated gaming PC which is to be shared in our household. ChimeraOS/HoloISO seems the ideal solution to that... Except that games thay it means that all save files of games that don't use Steam Cloud OR write save files on Valve's recommended directory are shared between users.

Is there any tool that can recognize the current active Steam User and swap save files on the background? The other solution is to forego using HoloISO/ChimeraOS/SteamOS and install a traditional distro and make different users have different system accounts, but that sounds a nightmare to deal with due to Steam Family Sharing requiring that all steam users are logged into each system users, so the library is shared across all of them. Not to mention config files are going to be separated as well...

you are viewing a single comment's thread
view the rest of the comments
[-] espiritu_p@kbin.social 4 points 9 months ago* (last edited 9 months ago)

you have two problems here:

  • save and config files of linux native games. They will usually create a directory somewhere in your home directory - usually under .var or .config
  • and then the save and config files for wine enabled games. They are saved in the steamapps/compatdata directory tree together with all the (windows) files wine needs to run the program. One folder for each game.
    you would need a separate compatdata structure for every steam account to keep the saves separated.
    A possible solution would be to create a start script for every steam user that links the respective folder to compatdata, and then starts steam with the correct credentials.
    You may need to separate other folders too, although I am not sure which those may be. Steam itself can do several users, since it's based on the same code as on Windows. So you may just test with swapping the compatdata folder and check what it's doing.

A funny thing: Proton/wine seems to have a mechanic to provide a username. Because on my games installed by Heroic Launcher i find the windows Profile folder (in the Heroic prefixes folder which is equal to steams compatdata) under "c:\Users[Linuxusername]" while in the steam compatdata the folder is just named "c:\Users\user"
I found that out because I recently copied my saves files from some games that are not cloud- saved to their folders.
but I haven't seen a setting in Steam to use different profile folders in Proton. Which means you will most probably break cloud features when trying to enforce this by start parameters.

[-] ChristianWS@lemmy.eco.br 1 points 9 months ago

The issue is that AFAIK there is no way to get an event when the Steam user is swapped

[-] espiritu_p@kbin.social 1 points 9 months ago

Yeah, I don't have a solution for this neither.

My suggestion with creating a start script for each user would require to install a more traditional distro.

this post was submitted on 04 Feb 2024
19 points (95.2% liked)

Linux Gaming

15776 readers
166 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS