You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add option to use user-specific STEAM_COMPAT_DATA_PATH for Proton #6958
Steam client version (build number or date): 1583800998
Distribution (e.g. Ubuntu): Arch
Opted into Steam client beta?: Yes
Have you checked for system updates?: Yes
Please describe your issue in as much detail as possible:
When having multiple Steam libraries, such as shared libraries between the Linux and the Windows versions of Steam, the Proton prefixes reside in
the compatdata directory relative to the library the game was installed in. This can cause issues in setups with multiple users, because they are sharing
the same prefix and thus settings, saves, etc, and also causes issues with NTFS partitions that can't handle the drive names Wine is using (running disk
repair on Windows deletes those files).
A nice solution to both of these issues would be adding an option to override STEAM_COMPAT_DATA_PATH to point to the compatdata directory
inside the Steam library under the Steam installation folder, i.e $HOME/.local/share/Steam/steamapps/compatdata/$SteamGameId.
This way all prefixes are in one place, they are on a filesystem that can handle special names and they are user specific.
I wrote a patch that overrides STEAM_COMPAT_DATA_PATH inside Proton by setting an env variable, and even though it worked (i.e. it found the existing Proton prefix inside the primary Steam library), the compatdata/$SteamGameId path was still created relative to the Steam library of installation, although it remained empty.
Reacted by LionHeartP, Safsaf-9, NextWorks, Mia Milkyway, Jesse Cambon, theofficialgman, couchsweetpotato, Dennis Schridde, Octelly, Max Parry and 3 more
With 2023 nearing its end, more and more people are getting interested in trying Linux and most of them dual boot.
Having a clean way for them to share libraries between OSes and filesystems is crucial and this proposal seems like a good way to tackle this IMHO.
Reacted by Jesse Cambon, couchsweetpotato and Felix
I support this feature, I don't want to "throw out" my NTFS partition where my Windows games are yet and a way to "force" compatdata to a specifc Linux drive/folder would be nice as it causes havoc/corruption on the NTFS drive otherwise.
(You can easily symlink the compatdata folder to the Linux drive but it just feels like a bad workaround to have something on the NTFS drive pointing to a Linux path. That's what I do now tho', due to lack of other options)
I also support this feature (or one of the similar suggested features). Multiple users should be able to play local shared games, seems the whole point of the Family Sharing feature.
Reacted by Jesse Cambon, Snail with tea and Logan Henrie
I set STEAM_COMPAT_DATA_PATH=/home/[REDACTED]/.local/share/Steam/steamapps/compatdata and still compatdata directories are being created in the SteamLibrary of the game. They appear to contain only the save games. Could it be that Steam Cloud Save does not respect STEAM_COMPAT_DATA_PATH?
Hello loathingKernel, sharing Steam Libraries between OSes is not supported, but we'll see if a Steam dev has any interest in this request.
This is an issue even with sharing a library on the same OS. Wine will refuse to run if the prefix is owned by another user, so having it fixed in the library makes sharing one library between two users on a Linux systems impossible. I guess they still can play Linux native games, but...
Sorry, I had too many bug tabs open and didn't notice I was trying to cross link to a PROTON issue ValveSoftware/Proton#4820 Proton not working when multiple Linux users share a single installation path
Activity
kisak-valve commentedon Mar 13, 2020
Hello @loathingKernel, sharing Steam Libraries between OSes is not supported, but we'll see if a Steam dev has any interest in this request.
LionHeartP commentedon Oct 25, 2023
With 2023 nearing its end, more and more people are getting interested in trying Linux and most of them dual boot.
Having a clean way for them to share libraries between OSes and filesystems is crucial and this proposal seems like a good way to tackle this IMHO.
Adam-Saeed commentedon Oct 25, 2023
I hope we get this sometime in the near future
shelterx commentedon Feb 12, 2024
I support this feature, I don't want to "throw out" my NTFS partition where my Windows games are yet and a way to "force" compatdata to a specifc Linux drive/folder would be nice as it causes havoc/corruption on the NTFS drive otherwise.
(You can easily symlink the compatdata folder to the Linux drive but it just feels like a bad workaround to have something on the NTFS drive pointing to a Linux path. That's what I do now tho', due to lack of other options)
geoffryan commentedon Mar 23, 2024
I also support this feature (or one of the similar suggested features). Multiple users should be able to play local shared games, seems the whole point of the Family Sharing feature.
jessecambon commentedon Apr 18, 2024
+1 and related to ValveSoftware/Proton#4820, ValveSoftware/Proton#4861, and #3942
devurandom commentedon Sep 7, 2024
I set
STEAM_COMPAT_DATA_PATH=/home/[REDACTED]/.local/share/Steam/steamapps/compatdataand still compatdata directories are being created in the SteamLibrary of the game. They appear to contain only the save games. Could it be that Steam Cloud Save does not respectSTEAM_COMPAT_DATA_PATH?mjevans commentedon Mar 25, 2025
IMO this is related to how #4820 should be resolved.
BillGHero commentedon Mar 26, 2025
How is the desire for control over the location of the wine prefixes related to the stream client not starting?
Damglador commentedon Mar 29, 2025
This is an issue even with sharing a library on the same OS. Wine will refuse to run if the prefix is owned by another user, so having it fixed in the library makes sharing one library between two users on a Linux systems impossible. I guess they still can play Linux native games, but...
mjevans commentedon Mar 29, 2025
Sorry, I had too many bug tabs open and didn't notice I was trying to cross link to a PROTON issue ValveSoftware/Proton#4820 Proton not working when multiple Linux users share a single installation path