Skip to content

CHD files don't work when using the FileProvider API from a frontend application #18919

@leonstyhre

Description

@leonstyhre

Game or games this happens in

All games

What area of the game / PPSSPP

When launching games from the ES-DE Frontend using the FileProvider API everything works fine, except when launching CHD files. If I use SAF URIs instead then everything works fine on my devices, but some people have reported weird/random issues with this mechanism on some devices so it would be really nice to be able to switch to the FileProvider API as the default.

What happens when attempting to launch CHD files using the FileProvider API is that the message "Could not load game. Unknown file type:" is displayed inside PPSSPP, followed by the file/content URI.

Do you perhaps have some specific logic in place to handle CHD files differently than other file formats, which could explain the behavior? PPSSPP is the only emulator I have come across that behaves like this so I don't think there is anything on my side that is causing the issue.

Many thanks in advance!

What should happen

CHD files should launch correctly when using the FileProvider API in the same way as they do when using SAF URIs.

Logs

No response

Platform

Android

Mobile device model or graphics card (GPU)

All devices

PPSSPP version affected

v1.17.1 (regular and Gold)

Last working version

No response

Graphics backend (3D API)

Vulkan

Checklist

  • Test in the latest git build in case it's already fixed.
  • Search for other reports of the same issue.
  • Try resetting settings or older versions and include if the issue is related.
  • Try without any cheats and without loading any save states.
  • Include logs or screenshots of issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions