

- #Cant find psp folder on android install
- #Cant find psp folder on android android
- #Cant find psp folder on android iso
- #Cant find psp folder on android free
#Cant find psp folder on android android
#Cant find psp folder on android iso
There are two main things to deal with: Picking and loading ISO files These devices need a nice migration path. We will eventually need to configure PPSSPP to target Android 12, which will enforce Scoped Storage all the way back to Android 10. I'm gonna use this comment as a notepad, adding findings as I find them. It's just going to be very confusing for anyone who doesn't understand storage really well. As long as everything is device-local storage, it's not even a big technical problem. It has many of the same problems, although at least ISOs are read only (they absolutely require seeking, though.) Haven't even gone into how people will transfer ISOs onto their device, or navigate to homebrew.

Hopefully one that doesn't make PPSSPP require network for you to play a single-player game that autosaves. Then we need to handle "installing" gamefaqs zips of saves, and probably need a way to transfer data in out.

Given all those problems, I assume we won't be making users select the PSP folder by default, and instead use the hidden away app-private folder. It's the path to get there that's the problem. Sounds like some kind of nightmare.Īs long as we get a real file descriptor, then we should be fine I guess for saving. For example, if a file is opened for read and write, read the whole thing in, then open it again for writing and wait for the game to write (possibly with seeking.) There will be tons of bugs, save data corruption, and other issues. The alternative is to try to hack around the limitations in the document API. Unless I'm missing some way to filter the "trees", this will at best be a terrible experience, and at worst be straight up unusable on some devices.
#Cant find psp folder on android free
Feel free to correct me if I'm misunderstanding.įor example, PSP games will try to call sceIoLseek on returned PSP file handles. Well, it seems more complicated than that. I'm guessing you already know about ParcelFileDescriptor and ParcelFileDescriptor#detachFd(), which should hopefully work for accessing files via the Storage Access Framework from C++. The other folders, including MUSIC, PICTURE, and VIDEO seem like they could be replaced with using MediaStore when inside scoped storage, or you could use a similar method to the "PSP" directory to get persistent access to those as well. I recommend looking at DocumentFile though I'd recommend against using it directly. This will allow PPSSPP to, via ContentResolver, read and write to the folder structure there, albeit not as easily as with the File APIs. Set the flags in the Intent to: Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION | Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION Would PPSSPP be able to do something like, on API levels up to 28 (or 29 with the flag references above) use the default structure.įor 29+ with scoped storage, use ACTION_OPEN_DOCUMENT_TREE and ask the user to pick the "PSP" folder. The one bright point is that the scoped storage APIs allows getting file descriptors so I/O performance will at least not be hampered much - assuming the file descriptors are unrestricted with regards to seek etc.ĮDIT: I have requested a reprieve through AndroidManifest.xml, the hammer drops with Android 12.
#Cant find psp folder on android install
Users will additionally have problems if they install the app on an older OS, upgrade to Q, and then downgrade to an older version of the app (which is done sometimes to bisect bugs, etc). We need to find ways to make it as workable as possible.įor us, the filesystem really is part of the UX to match the real PSP with an USB connection. So we will be able to limp along for a while longer without it, but next year, new devices will start requiring it, and it'll greatly worsen the user experience. And in the version after Q, it will be a requirement for all apps, even those who target Android-28 (which PPSSPP will do as long as possible).

Android Q will introduce "scoped storage", which imposes really heavy restrictions on external storage.
