Open arielj opened 12 months ago
++ I agree with all of these changes. I wanted to just make sure I understood:
Shared wine prefix path is: ~/
Game prefixes path is: ~/
I think within the heroic UI, the reason it gets confusing is because i feel like sometimes "default" refers to system default wine directory, which tends to be the user's .wine folder.. and sometimes it refers to heroic's default behaviors.
Glad this change will make things more clear :D
I concur as I also think the default should be .wine not all games require a seperate wineprefix and it will save disk space. Checked steams behavior and it does not install wine/proton in the steamapps/common besides the one proton required so you don't end up with a ton of wine/proton installs.
The default should not be .wine because we already had that and it was a mess on steam deck and all systems where wine is not installed. The current default actually should be ~/Games/Heroic/Prefixes/default
which can be created by heroic.
The suggestion from @arielj is actually the best way currently.
+1 on all of this.
As well, if any of those folders are outside of the user's home directory, Heroic can't access them and symlinks are required. (The /run/1000 path that Heroic tries to use doesn't work). Either I end up using Flatseal to allow Heroic ta access the path I want, or I make symlinks.
Would be nice if Heroic just saw it couldn't access a path and asked for permission to add it to the paths it can access.
100% agree. "Use Default Wine Settings" is a super confusingly named option and I have never enabled it. It is weird as hell. From your description it sounds like it forces the games to use a single, shared wine prefix (maybe useful if you want a lot of games to share dependencies).
Edit: Rename it to "Use Shared Wine Prefix" or something.
Describe the bug
We have some problems with how we handle default wine prefixes:
Use default wine settings
option, it makes the game use the default wine prefix which is/Users/arielj/Games/Heroic/Prefixes/default
Use default wine settings
option, the game uses a prefix like/Users/arielj/Games/Heroic/Prefixes/default/observer_
This automatically breaks things, because the
default
prefix is a folder that contains other prefixes.We also have some settings that are not super clear, like the
WinePrefix
option in Settings > Game Defaults. It should be more clear that that path will be the same for other games when checking that option in the install dialog and what that means.Finally, in a new clean install of heroic, we have these settings in the config.json:
the first one is the folder where wine prefixes should go the second one is the prefix path used with the
Use default wine settings
optionbut from the keys it's impossible to know they are supposed to be different types of paths
Add logs
Steps to reproduce
.../default/game title
Use default wine settings
option.../default
now that game will fail to start, the prefix going to be a problem
Expected behavior
So I'm suggesting some changes:
Set Folder for new Wine Prefixes
in the general settings can set adefaultWinePrefixesDir
configuration instead of thedefaultWinePrefix
configuration for example. The setting name is confusing cause it's meant to be a directory to hold prefixes and not one prefix.WinePrefix Folder
setting in Settings > Game Defaults to beShared Wine Prefix
(maybe even move it into Settings > General settings?)Use Default Wine Settings
option in the install dialog asUse Shared Wine and Prefix (Advanced)
which would setsharedWinePrefixPath
. We can also add an(i)
icon to show the wine version and the prefix this will setdefaultWinePrefixesDir
joined with the game's title, to not have that/default
in the middle of the pathdefault
withshared
for the default shared wine prefix: instead of.../Prefixes/default
we can call it.../Prefixes/shared
Screenshots
No response
Heroic Version
Latest Stable
System Information
Linux and Mac
Additional information
No response