flathub / org.zdoom.Raze

https://flathub.org/apps/details/org.zdoom.Raze
3 stars 1 forks source link

Hardcoded soundfounds dir? #2

Open bobberb opened 2 months ago

bobberb commented 2 months ago

Running nixos (unstable) base with flatpak.

On launch of org.zdoom.Raze:

Raze 1.9.1 - 2024-01-01 07:47:40 +0100 - SDL version
Compiled on Mar 23 2024

Log started: 2024-04-12 14:00:36
OS: Freedesktop SDK 23.08 (Flatpak runtime), Linux 6.8.5 on x86_64
Can't find file 'BLOOD.GRP' in '/home/user/Games/Blood_raze'
adding /app/share/raze/raze.pk3, 3756 lumps
adding /home/user/Games/Blood_raze/blood.rff, 678 lumps
adding /home/user/Games/Blood_raze/SOUNDS.RFF, 1747 lumps
adding /home/user/Games/Blood_raze/GUI.RFF, 7 lumps
adding /home/user/Games/Blood_raze/, 189 lumps
adding /home/user/Games/Blood_raze/:blood.rff, 678 lumps

*** Fatal Error ***
!!! Failed to exec debug process
/app/bin/raze.sh: line 2:     3 Segmentation fault      (core dumped) raze +fluid_patchset /app/share/games/raze/soundfonts/raze.sf2 "$@"

soundfonts should be accessible locally so I edited the flatpak's ./home/user/.var/app/org.zdoom.Raze/.config/raze/raze.ini

[SoundfontSearch.Directories]
Path=./soundfonts
...

And yet error still remains at another dir I have not referenced.

smirnov commented 2 months ago

It seems that the issue is actually several lines above:

Can't find file 'BLOOD.GRP' in '/home/user/Games/Blood_raze'

Soundfonts are found just fine for me (and they come packaged with the app