yuzu icon indicating copy to clipboard operation
yuzu copied to clipboard

Android: Use an external folder to store Yuzu's “user” folder

Open TTSArrows opened this issue 1 year ago • 8 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

What feature are you suggesting?

Since Android version 11+ strictly restricts each app to access only one built-in hidden directory for storing app data, apps must obtain authorization to read and write to other folders. However, in the Android version of Yuzu, the "user" folder is stored in a hidden built-in folder, while the game folder is stored in any external folder with authorized read access.

Is it possible to request permission in the same way to store the "user" folder in any location? That is to use an external folder to store Yuzu's user folder.

Why would this feature be useful?

This has the advantage of providing the possibility to synchronize archives between the Android and PC versions of yuzu. As the function mentioned in #10644 , a possible workaround is provided here.

On Android phones, there exist such applications as FolderSync, or Synology Drive, which can easily synchronize any folder with the cloud using cloud storage, or backup it.

As far as I know, the famous PSP emulator PPSSPP uses a similar approach on Android 11+, asking the user if they want to store the "user" folder internally or choose a location when they first open the app. This is accompanied by a warning that if the user chooses to store the data internally, it will be deleted as the app is uninstalled.

TTSArrows avatar Jun 27 '23 00:06 TTSArrows