Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
7.71k stars 413 forks source link

Multiple wine prefixes per game #3329

Open istvandbsd opened 7 months ago

istvandbsd commented 7 months ago

Problem description

I'd like to play games in parallel with my SO, on the same machine, without a clash in saves and settings. A similar system as an example: Playstation, where you share the games you own with other users of the same console.

Feature description

Create and assign a wine prefix for a game entry in the library at will. Preferrably with automated setup of the new prefix based on installed components in the existing one.

UI support to display and manage multiple player profiles for each game.

Alternatives

No response

Additional information

Not sure how it would work with achievement tracking that's present in GOG (don't know about Epic Store). Also haven't checked yet if the T&C-s would allow this for the stores.

Presently the workaround is using Lutris, cloning the existing prefix before starting the game the first time, and pointing it directly at the installed binary by Heroic. Works but inelegant.

flavioislima commented 7 months ago

If you copy and paste the prefix with a different name the saves will still be there and the configs as well. So that would require Heroic to be able to know where the save games are and then remove or rename them on the new prefix.

The only way that would be cool to have is if we can implement different profiles on Heroic as Steam has. But this is far from simple to implement and raises several questions.

I will keep this open if someone wants to work on it, but it is not a high priority IMO.

istvandbsd commented 7 months ago

Thanks for the quick answer! Agreed, not a high priority issue - I was more keen to learn your opinion and to see if there's any interest in the community.

I'm aware that you can switch prefixes right now by pasting their paths, but I hope you would agree this is not a great user experience. I would want my girlfriend, kids, etc not even know what a prefix is, even less having to paste a directory name every time before running a game.

flavioislima commented 7 months ago

Yes so multiple profiles would be the best solution for that.

A simple implementation would be for multiple profiles but only for the prefixes. But then what would happens on windows or native Linux and Macos games? That is the problem.