Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Multiple account support #521

Open
some-du6e opened this issue Jan 16, 2025 · 4 comments
Open

[Feature Request] Multiple account support #521

some-du6e opened this issue Jan 16, 2025 · 4 comments
Labels
feature-request New feature or request

Comments

@some-du6e
Copy link

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 some-du6e added the feature-request New feature or request label Jan 16, 2025
@Angell1993
Copy link

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..

@loathingKernel
Copy link
Contributor

loathingKernel commented Jan 17, 2025

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 loathingKernel moved this to Backlog in Rare Jan 17, 2025
@RareDevs RareDevs deleted a comment from some-du6e Jan 22, 2025
@loathingKernel
Copy link
Contributor

@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.

@github-project-automation github-project-automation bot moved this from Under consideration to Done in Rare Jan 22, 2025
@loathingKernel loathingKernel moved this from Done to Under consideration in Rare Jan 22, 2025
@loathingKernel
Copy link
Contributor

loathingKernel commented Jan 22, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
Status: Under consideration
Development

No branches or pull requests

3 participants