Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
111 stars 0 forks source link

Add setting for configuring database & cache locations #1985

Open Frooxius opened 3 weeks ago

Frooxius commented 3 weeks ago

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

Currently the location of cache & database is fixed and can only be configured via startup parameters. It will be useful to be able to configure the locations directly in-game.

Describe the solution you'd like

Add settings for configuring:

It will also be useful to add option that will migrate any data from old location to the new one.

Describe alternatives you've considered

Keep configuration through command-line arguments or config file, but those are less user friendly.

Additional Context

No response

Requesters

No response

shadowpanther commented 3 weeks ago

The question is, how would you store the location if the data/database folder location is stored in the database?

Also, settings seem to differ for local user and logged-in user, so if you log out the different set of folders might be used.

JackTheFoxOtter commented 3 weeks ago

I think it might also important to make sure this is setting is per device. If I play Resonite on multiple computers I might want to change to a different directory on each.

epicEaston197 commented 3 weeks ago

I think it might also important to make sure this is setting is per device. If I play Resonite on multiple computers I might want to change to a different directory on each.

Yeah that would make a lot of sense especially because you don't want resonite writing data to a drive that doesn't exist

Frooxius commented 3 weeks ago

@shadowpanther Likely a small config file in the "normal" location, which indicates where it should be stored last.

@JackTheFoxOtter Yes, this will implicitly be per device and non-overridable.