-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
PPSSPP does not ask for file permissions unless Browse is used #18922
Comments
Maybe need to make another manifest for file permissions before install |
The only way PPSSPP can get permissions to a folder on Android 11+ is to ask the user for it. I don't see what we can do here. |
I'd say ask the user for a games folder directly during setup and not make it an optional thing @hrydgard |
PPSSPP already did that isn't? Edit: Oops sorry, it didn't ask the games folder the first time it ran. |
I suppose that could make sense to ask for, but this is only really needed for this use case, and even so, I think it's possible for a frontend to pass content URIs from frontends to PPSSPP that will work without doing this, something like this maybe: https://stackoverflow.com/questions/71100066/how-to-open-a-file-in-another-app-via-an-intent-using-an-uri Undeniably, the "scoped storage" changes has made things a lot harder for frontends :/ |
I see, so it's like opening an ISO file from a File Manager using "Open with" and select PPSSPP, which does works without granting permission through "Browse" on PPSSPP first. |
Hi! ES-DE can use the FileProvider API to pass its access permission to a file when launching an emulator, but there is currently a bug in PPSSPP that prevents this from working with .chd files specifically, as reported here: And secondly I don't think the FileProvider API can pass access to more than a single file, so I don't think this would work if the game consists of more than a single file? Not sure if that will actually happen though, could PSP games consist of more than a single file? For example I don't think you support .bin/.cue files which is normally such a use case? Thanks! :) |
There's apparently only like 9 games that were Japan-only and were on multiple discs although you could just save, exit the game and open disc 2 with ES-DE |
I see, and there are no multi-file formats supported by PPSSPP, i.e. a UMD/disc can only ever consist of a single file? |
@leonstyhre Oh right, that CHD bug. I'll try to get that fixed soon. |
Game or games this happens in
All
What area of the game / PPSSPP
I've been able to replicate a blackscreen in three frontends (ES-DE, Yuno, Beacon Launcher) due to PPSSPP not having permissions to access the files. It turns out I need to use the Browse option to select a game folder directly so PPSSPP prompts for permissions.
I've always just pressed the SD card button and moved to my PSP folder and started games from there, but if users are using frontends, they may not be doing any of that and end up with the same issue.
What should happen
The game should open without any error messages or black screens due to PPSSPP having permissions to the file, would need to be asked during setup directly.
Logs
Platform
Android
Mobile device model or graphics card (GPU)
Ayn Odin 2
PPSSPP version affected
v1.17.1g0159102a1
Last working version
No response
Graphics backend (3D API)
OpenGL / GLES
Checklist
https://discord.com/channels/293316141479362560/480103153803460614/1216033450457567326 for more info/context
The text was updated successfully, but these errors were encountered: