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

Auto-mount disc images (CD/DVD) on program launch #3651

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

EmoonX
Copy link
Contributor

@EmoonX EmoonX commented Jan 1, 2025

Description

This is just a draft (for now).

If successful, should close #959 and close #2960.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

[REDACTED]

Sorry, something went wrong.

@EmoonX EmoonX marked this pull request as draft January 1, 2025 18:03
@orowith2os
Copy link
Contributor

The use of flatpak-spawn makes me want to reject this. There should be something else we can do to support disc images... @TheEvilSkeleton?

@orowith2os
Copy link
Contributor

Maybe, does Wine allow mounting in specific directories as devices within its filesystem....? Then we could do this without flatpak-spawn.

@orowith2os orowith2os added this to the 52.0 milestone Feb 3, 2025
@EmoonX
Copy link
Contributor Author

EmoonX commented Feb 3, 2025

You don't have to "reject" anything as this is still just a barebones draft. flatpak-spawn is more like a placeholder, I was also using it in another PR until figuring out a library-driven solution is way better (no need to blundle/invoke external commands). So maybe this one here would be the way to go.

Regardless, I didn't actually have luck with fuseiso at all. Games overall don't recognize CDs mounted with it... as opposed to what happens when using gnome-disk-image-mounter or cdemu.

@orowith2os
Copy link
Contributor

FUSE doesn't work under Flatpak, I don't think. Like I said, the best option is probably figuring out how to mount directories as drives in Wine, and asking the user to extract their disc images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants