-
Notifications
You must be signed in to change notification settings - Fork 2
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
Could not find patch set /usr/share/sounds/sf2/... #38
Comments
Hey, Two thing are going wrong here:
Looking at the code for zmusic, this is all I find:
This is problematic since the application isn't even installed in that directory, as it should be Not sure what to do now, but some thing have to change before this could work. |
Hi,
Yes, I was trying to make it available via FlatSeal (or via the command line) but I don't think it can map it with another path. Anyway, as you said, it's not the correct way for a flatpak package. BTW, looking at Archlinux's AUR, the package for zmusic has a patch ( https://aur.archlinux.org/cgit/aur.git/tree/0001-Use-correct-soundfont-path.patch?h=zmusic ) that changes the path for the .sf2 files to match Archlinux's.
I found out that zmusic is defined in |
No, the runtime doesn't contain the soundfonts not because they forgot about it, but because those soundfonts are 100Mb in size. Only if a project really needs them, should they be bundled with the application. Case in point, I also package SLADE 3 and there I do include the soundfonts. Since SLADE 3 is a developer tool, it's worthwhile trade. That's also why I'll be reluctant to package these soundfonts... it's a lot of space for something that GZDoom doesn't technically require. |
Another thing that comes to my mind, if doomShinobi.v1.pk3 asks for the soundfont, then we should also patch the mod so that it can run with a soundfont from |
So, I traced the syscalls gzdoom does and this is what I found:
Digging deeper, I found this:
The line at frame |
Looking at Could you try the following, could you copy the soundfonts to
My full config: |
Also, I have not been able to reproduce this issue yet. it runs on my machine, even without adding the |
Thank you! |
I'm... not sure. Let's leave it open for now. Might have to revisit the upstream project and align some patches. I've already given it some thought but it's a lot of work. |
I'm getting the same error when trying to launch HEXEN.WAD
|
@KawaiiDinosaur Can you post me your config from As explained, the sound fonts are not included but other sound systems should work |
|
Is it possible to continue even without those files? |
@XargonWan If I believe correctly, it's only a problem when you try to play certain mods or Hexen. What are you trying to play? |
I'm trying to run the Doom Shinobi mod (https://www.moddb.com/mods/doom-shinobi) but it can't find the sf2 files...
Since I use Arch, I installed the
soundfont-fluid
package from the package manager (https://archlinux.org/packages/community/any/soundfont-fluid/) but the files are in a different position (/usr/share/soundfonts/FluidR3_GS.sf2
vs/usr/share/sounds/sf2/FluidR3_GS.sf2
) so gzdoom crashes...I ran gzdoom by entering the flatpak and this is the output (I granted access to the folder with the .pk3 via Flatseal):
Is it possible to bundle those two files in the flatpak itself? Thanks.
The text was updated successfully, but these errors were encountered: