[1.0.1][BLOOD]Custom Sounds from mods don't work
Moderator: Raze Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
[1.0.1][BLOOD]Custom Sounds from mods don't work
On several blood mods the custom sounds don't work :
-Bloody pulp fiction : i've downloaded the repack from FSGFSD and extracted MAP and ART files in the root and renamed the ini to blood.ini; everything works except new sounds, and on several maps in place of the bgm you can hear a sound in the loop. Btw, trying to open automap will crash the game on BAITD2;
-On the way of ira, the custom "meow" from the cat in the last level cannot be heard;
-On trauma therapy there's no custom sounds, maybe because it tries to replace the original sounds.rff and the new file won't be loaded.
Any suggestions? I did'nt find anything about this...
-Bloody pulp fiction : i've downloaded the repack from FSGFSD and extracted MAP and ART files in the root and renamed the ini to blood.ini; everything works except new sounds, and on several maps in place of the bgm you can hear a sound in the loop. Btw, trying to open automap will crash the game on BAITD2;
-On the way of ira, the custom "meow" from the cat in the last level cannot be heard;
-On trauma therapy there's no custom sounds, maybe because it tries to replace the original sounds.rff and the new file won't be loaded.
Any suggestions? I did'nt find anything about this...
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
I need links to all the exact files you loaded. There's so many versions of these mods that it's too easy to pick the wrong ones.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
Here are the links:
https://www.moddb.com/mods/the-way-of-i ... -for-blood
https://www.moddb.com/mods/blood-trauma ... erapy-v-11
https://www.moddb.com/mods/bloody-pulp- ... dgdx-ready
I've tried both on 1.0.1 on win10 and raze-git from aur on linux.
They need some repack, none of them will work out of the box. Way of ira and bpf for bloodgdx use .raw files on a subfolder, while trauma therapy provides a sounds.rff file. Both ways don't seem to work. It seems that raze doesn't load the sound files either way.
Thank you for your reply.
https://www.moddb.com/mods/the-way-of-i ... -for-blood
https://www.moddb.com/mods/blood-trauma ... erapy-v-11
https://www.moddb.com/mods/bloody-pulp- ... dgdx-ready
I've tried both on 1.0.1 on win10 and raze-git from aur on linux.
They need some repack, none of them will work out of the box. Way of ira and bpf for bloodgdx use .raw files on a subfolder, while trauma therapy provides a sounds.rff file. Both ways don't seem to work. It seems that raze doesn't load the sound files either way.
Thank you for your reply.
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
SaveTheDoomer wrote:On several blood mods the custom sounds don't work :
-Bloody pulp fiction : i've downloaded the repack from FSGFSD and extracted MAP and ART files in the root and renamed the ini to blood.ini; everything works except new sounds, and on several maps in place of the bgm you can hear a sound in the loop. Btw, trying to open automap will crash the game on BAITD2;
The problem here is that this mod's packaging is very non-standard and port specific. Just moving the .ART and .MAP files is not enough. You also need to move the contents of the SMK folder and do some renaming in the sound.rfs file before it works. Unless I understand how GDX works here and what rules it defines I'd rather be careful making changes to how the file system works.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
Ok thanks, after some tries on renaming i managed to get BPF sounds working... if it wasn't for that automap crashing on BAITD2.MAP, it seems to work perfectly now... about the smk files i know it, i should have moved them as well, but since i always skip cutscenes i don't mind about that
I tried the same with the way of ira, but i only managed to get it working after unzipping it, unlike bloody pulp fiction, this is really strange...

I tried the same with the way of ira, but i only managed to get it working after unzipping it, unlike bloody pulp fiction, this is really strange...
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
I cannot say yet what's wrong with that one sound. It got late yesterday with some other bug reports I received through private channels.
I'll continue with these after work.
I'll continue with these after work.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
Of course, thank you for your time.
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
Way of Ira is fixed now. The Blood sound loader had a bug that it tried to put a valid sound in the placeholder index 0 which stands for "play nothing". This mod was perfect for testing it because it only got that one custom sound.
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
For Trauma Therapy I added an option to embed blood.rff and sounds.rff files inside a .zip into the file system so its contents can be used.
I deliberately chose to restrict it to these two names because the risk of unintended side effect is high when allowing other files as well.
I deliberately chose to restrict it to these two names because the risk of unintended side effect is high when allowing other files as well.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
Just recompiled raze-git and i can confirm, all the mods now work. Glad to know that all this contributed to improve raze. Thank you very much.
The only thing that remains is the crash in BAITD2, i did run raze in the console by when it crashes it says only :
*** Fatal Error ***
!!! Failed to exec debug process
Segmentation fault
This happens when i open the automap in the upper floor of the house, at the beginning of the level the map works normally.
The only thing that remains is the crash in BAITD2, i did run raze in the console by when it crashes it says only :
*** Fatal Error ***
!!! Failed to exec debug process
Segmentation fault
This happens when i open the automap in the upper floor of the house, at the beginning of the level the map works normally.
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
Can you make a savegame at the problem spot and post that here?
-
-
- Posts: 3819
- Joined: Sun Aug 07, 2011 4:32 am
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
Install GDB, and it will create much more useful crash report.SaveTheDoomer wrote:i did run raze in the console by when it crashes it says only :
*** Fatal Error ***
!!! Failed to exec debug process
Segmentation fault
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
I installed gdb, and after some thinkering and online research, i did run the program until the crash then used the where command, here is the result :_mental_ wrote:Install GDB, and it will create much more useful crash report.SaveTheDoomer wrote:i did run raze in the console by when it crashes it says only :
*** Fatal Error ***
!!! Failed to exec debug process
Segmentation fault
(gdb) where
#0 0x0000555555916d4e in ShowRedLine(int, int) ()
#1 0x0000555555916f7b in drawredlines(int, int, int, int) ()
#2 0x000055555591752b in DrawOverheadMap(int, int, int, double) ()
#3 0x0000555555cb9e7a in Blood::viewDrawScreen(bool) ()
#4 0x0000555555cba57d in Blood::GameInterface::Render() ()
#5 0x0000555555920232 in ()
#6 0x0000555555920ff0 in MainLoop() ()
#7 0x00005555559270e6 in RunGame() ()
#8 0x00005555559282d4 in GameMain() ()
#9 0x0000555555757174 in main ()
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
I wasn't able to get it to crash, but I nevertheless fixes a bogus range check in that code that has the potential to crash with the right values.
-
-
- Posts: 3819
- Joined: Sun Aug 07, 2011 4:32 am
Re: [1.0.1][BLOOD]Custom Sounds from mods don't work
With GDB installed, raze-crash.log file should be created in the current directory when Raze crashes.