weihuoya / citra

A Nintendo 3DS Emulator
https://citra-emu.org
GNU General Public License v2.0
2.11k stars 195 forks source link

Read/Writing data in `android/data/org.citra.emu/files/citra-emu/sdmc` #943

Closed gunavata closed 5 months ago

gunavata commented 5 months ago

Hello

Commit hash: https://github.com/weihuoya/citra/commit/b3255eecb2c346d93e25f19c4e55561c4b48fc84 Release tag: 20240520 System: Retroid Pocket 4 Pro (Not so relevant i believe)

Issue: I'm currently using Citra_MMJ_20240520_StorageAccess.apk. I would like to maintain a backup copy by syncing data in my citra-emu folder with my PC.

However, the sync fails as data inside the folder sdmc seems to have some read/write protection. Im wondering if this is an issue specific with Android 13 or if it's a misconfiguration on my side.

As an example, there is no issue with syncing the citra-emu folder if i were to use the Retroarch's liberto core instead (Which stores the emulator files in a user defined location).

Also if it matters, the android/data/org.citra.emu/files/citra-emu/ that i am referring to is the internal storage one. The SD card/external storage android/data/org.citra.emu/files/citra-emu/ doesnt seem to have anything inside it even after installing the application.

Any help or input would be appreciated. Thanks!

gunavata commented 5 months ago

So after some further investigation, this seems to be an issue with Android 13's later file updates restricting access to Android/data folders instead of an innate issue with Citra.

It would be nice if we could get citra files outside of that folder but i suppose this is an android specific issue we can't do much about.