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

MIDI music not supported #32

Open
cobalt2727 opened this issue Nov 15, 2022 · 8 comments
Open

MIDI music not supported #32

cobalt2727 opened this issue Nov 15, 2022 · 8 comments
Labels
help wanted Extra attention is needed

Comments

@cobalt2727
Copy link

every time I open up the game I'm greeted with

ERROR: Mix_LoadMUS_RW: Couldn't open /etc/timidity/freepats.cfg
ERROR: Music _title could not be loaded: engine failure!

I've installed the necessary dependencies and that file does exist on my system, but the flatpak file for it can't see it. I haven't yet tested this, but I'm pretty sure this is only an issue with the Flatpak bundling...

@ZebulanStanphill
Copy link

Just ran into this issue myself while playing SRB2 The Past, which requires MIDI music support to hear the soundtrack in various old stage recreations.

I tried enabling a bunch of additional permissions in Flatseal in hopes that it would get things working, but it didn't.

Notably, the Midi Settings section that should be present under Options -> Sound Options -> Advanced Options is missing in the Flatpak version of the game.

@ghisvail
Copy link
Collaborator

Looks like we need to add timidity + freepats to the app manifest to make this work.

@ghisvail
Copy link
Collaborator

There is another Flatpak manifest which includes freepats and a config file. Maybe that's enough to get us started with?

@cobalt2727
Copy link
Author

Looks like that would do it, if I had to guess...

@ghisvail ghisvail added the help wanted Extra attention is needed label Sep 30, 2023
@hazepastel
Copy link
Contributor

The "intended" way to fix this is to compile with HAVE_MIXERX=1 set. However, I do not know the details of how or if it's even possible to include SDL Mixer X in a flatpak build.

@cobalt2727
Copy link
Author

I can't think of any reason why that wouldn't work - although I'm also not too familiar with how the Flatpak runtime is set up.

@Natedogwoooof
Copy link

fix plz, i dont like booting into windows

@ghisvail
Copy link
Collaborator

@Natedogwoooof you are welcome to submit a fix if you find one 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants