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

Regarding .config/retroarch directory location #47

Open
joaorb64 opened this issue Oct 21, 2021 · 3 comments · May be fixed by #61
Open

Regarding .config/retroarch directory location #47

joaorb64 opened this issue Oct 21, 2021 · 3 comments · May be fixed by #61

Comments

@joaorb64
Copy link

Hi there, I was noticing every update was taking a long, long time for me (more than 20 min) and it was because it had to copy my .config/retroarch directory from my old install to the new, and I had more than 7 GB of data (most of which thumbnails).
This made me realize, shouldn't this directory be located in the common directory instead of being copied over for every update and even be duplicated in the backup install directories?

@hizzlekizzle
Copy link
Collaborator

hizzlekizzle commented Oct 21, 2021

Hmm, yeah, that's not good. I've had some issues with shaders doing the same thing, but thumbnail archives are much more serious.

Looks like COMMON is root-owned, so probably not what we would want, but SNAP_USER_COMMON may do the trick (https://snapcraft.io/docs/environment-variables). It looks like I can probably replace my goofy relative path to home with SNAP_REAL_HOME, too...

If I make these changes, would you mind giving it a shot in edge channel?

EDIT: just committed those changes: 1adcbdd and triggered a new build, so it should be up to the edge channel soon.

@joaorb64
Copy link
Author

Sure, as soon as I get an update I'll test it out :)

@joaorb64
Copy link
Author

joaorb64 commented Oct 21, 2021

What was the change supposed to do?
I returned all paths to default on Retroarch. In the config file they're all routed to ~/.config/retroarch/, and in Retroarch's UI it shows the path to home/USER/snap/retroarch/899/.config/retroarch.
Before that, I had moved this directory from ~/snap/retroarch/VERSION to ~/snap/retroarch/common. Other snaps such as Yuzu and Dolphin use this common directory.

Edit: Sorry, yes, now I red the docs and saw your changes. They seem to be correct, but yet the default directories aren't redirecting to SNAP_USER_COMMON.

@viachaslavic viachaslavic linked a pull request Sep 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants