[1.0.1][BLOOD]Custom Sounds from mods don't work

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.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [1.0.1][BLOOD]Custom Sounds from mods don't work

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by Graf Zahl » Tue Apr 13, 2021 6:57 am

Yeah, I know, it will be again when I can push my changes.

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by SaveTheDoomer » Tue Apr 13, 2021 6:47 am

:) Every mod with a single episode doesn't work anymore...

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by Graf Zahl » Tue Apr 13, 2021 6:35 am

Oops...
Sorry, put a change in the wrong code block...

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by SaveTheDoomer » Tue Apr 13, 2021 5:59 am

Ehm... sorry to bother you, but in the latest git when i load trauma therapy or ira the new game button doesn't work!

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by SaveTheDoomer » Tue Apr 13, 2021 12:59 am

I've enabled logging on gdb, it should work in the future, thank you.

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by SaveTheDoomer » Mon Apr 12, 2021 2:58 pm

I recompiled and made a speedrun through the map, the automap seems to be fixed, thanks.
About gdb, i haven't found any crash log, sorry :(

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by _mental_ » Mon Apr 12, 2021 12:59 pm

With GDB installed, raze-crash.log file should be created in the current directory when Raze crashes.

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by Graf Zahl » Mon Apr 12, 2021 12:55 pm

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.

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by SaveTheDoomer » Mon Apr 12, 2021 10:17 am

_mental_ wrote:
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
Install GDB, and it will create much more useful crash report.
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 :

(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 ()

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by _mental_ » Mon Apr 12, 2021 8:14 am

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
Install GDB, and it will create much more useful crash report.

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by Graf Zahl » Mon Apr 12, 2021 7:53 am

Can you make a savegame at the problem spot and post that here?

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by SaveTheDoomer » Mon Apr 12, 2021 7:13 am

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.

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by Graf Zahl » Mon Apr 12, 2021 6:24 am

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.

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by Graf Zahl » Mon Apr 12, 2021 5:53 am

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.

Re: [1.0.1][BLOOD]Custom Sounds from mods don't work

by SaveTheDoomer » Mon Apr 12, 2021 3:37 am

Of course, thank you for your time.

Top