Rare icon indicating copy to clipboard operation
Rare copied to clipboard

[Feature Request] Multiple account support

Open some-du6e opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe.

The time to log in and out of accounts is too long.

Describe the solution you'd like

I would want an account switcher.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

some-du6e avatar Jan 16 '25 23:01 some-du6e

Well, this might be possible with a quick switching method, but it would require a set of config files for each account.. Not sure that Legendary even supports this to begin with..

On Linux it might be possible, by using the Windows version and creating a new wineprefix for each.. It would mean using multiple Windows PCs at the same time..

Not sure how something like this would work and if it's even worth it.. But I think the developers of Rare could take a look at how much work it would take, then give a response on whether it's worth it..

Angell1993 avatar Jan 17 '25 11:01 Angell1993

Well, this might be possible with a quick switching method, but it would require a set of config files for each account.

This is true and legendary does support it indirectly by using a different config location. This is the way it would be implemented. The "issue" with it is that we don't know anything about the account until we log in, making it harder to differentiate them. This also means that the accounts are completely independent, meaning they hold their own data about installed games and updates. An updated game in one account will ask to be updated again to the same version in another, because the version metadata are stored in the configuration directory. Rare currently has provisions for detecting the version through game-local metadata but they are not being used extensively.

There is also some unknowns, which we won't know until this is actually implemented. It might not be faster, it will certainly be "safer" in terms of configuration.

Overall, this is not an easy feature to make it work right, and I do not use multiple accounts, so even my testing will be limited by the fact that it will be done by using a single account multiple times. As such I don't think I want to implement this myself, other than providing a solid foundation for it to work. If someone has a real use-case they use daily for it and can thoroughly test it and fix it, I am willing to guide them through implementing it on top of the existing Rare codebase.

loathingKernel avatar Jan 17 '25 11:01 loathingKernel

@some-du6e I believe linking to your own project here is inappropriate. I wish you the best of luck with it, but some basic etiquette is required in these things.

loathingKernel avatar Jan 22 '25 21:01 loathingKernel

I just remembered though, that if you are familiar with command line usage, you can use Rare with "multiple accounts" (in reality multiple legendary configuration directories, one for each user) by using the LEGENDARY_CONFIG_PATH environment variable. For example, if you are running from Windows cmd

set LEGENDARY_CONFIG_PATH=<path to alternative config directory>
<path\to\>Rare.exe

loathingKernel avatar Jan 22 '25 22:01 loathingKernel