this post was submitted on 04 Feb 2024
19 points (95.2% liked)
Linux Gaming
16029 readers
385 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
you have two problems here:
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.
The issue is that AFAIK there is no way to get an event when the Steam user is swapped
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.