Skip to content
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

[BUG] Generated paths to ISOs for PCSX2 flatpak are technically wrong #730

Open
Supreeeme opened this issue Nov 28, 2024 · 0 comments
Open

Comments

@Supreeeme
Copy link

Supreeeme commented Nov 28, 2024

  • Describe the bug
    Assuming a user passes the same path they passed to PCSX2 for their ROMs, the ISO paths passed in the generated steam shortcuts will be wrong. This is because PCSX2 seems to use the Flatpak document portal, which seems to reexport paths for flatpak apps in a different location in $XDG_RUNTIME_DIR/doc.

  • Steps to reproduce the behavior

  1. Generate PCSX2 shortcuts
  2. Notice that they don't launch correctly
  • Expected behavior
    The ISO paths to Just Work ™️.

The mapping from the user provided ISO path to what the PCSX2 flatpak will see can be acquired with flatpak documents net.pcsx2.PCSX2 --columns=path,origin - this will show exported paths and their original paths. It would be easy enough to do a sort of search and replace on these, but maybe some kind of script or other command needs to exist to convert these paths. It may also be possible to get this info programatically through the DBus API but I'm not sure.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant