Page 1 of 1
Sound file for black hole sound
Posted: Wed Apr 13, 2022 2:29 am
by 100thMonkey
Does anybody know if the sound played when zoomed near a black hole comes from an editable audio file (ie not embedded in a DLL or something like that)? And if it is, do you know the file's name?
I'm asking because I just zoomed-in near a black hole (where one of my ship is fighting a gravilex), and the audio level is crazy loud (the rest of the audio is OK, so I don't want to lower the general audio level). If the sound come from a standard audio file (for instance an mp3), I would edit it to lower the level.
Anybody knows anything about this?
Re: Sound file for black hole sound
Posted: Wed Apr 13, 2022 3:29 am
by OloroMemez
Code taken from data/OrbTypes.xml, relevant section bolded.
<OrbType>
<OrbTypeId>6</OrbTypeId>
<Category>Star</Category>
<Name>Black Hole</Name>
<Description></Description>
<ImageFilename>Environment/OrbTypes/BlackHole</ImageFilename>
<LargeImageFilename>Environment/OrbTypes/Large/BlackHole</LargeImageFilename>
<FullsizeImageFilename>Environment/OrbTypes/Fullsize/BlackHole</FullsizeImageFilename>
<SurfaceDrawType>Star</SurfaceDrawType>
<AtmosphereDrawType>BlackHole</AtmosphereDrawType>
<AmbientSoundEffectFilenames>
<string>Sounds/Ambient/star_intense1</string>
<string>Sounds/Ambient/star_intense2</string>
I've searched through the files and haven't been able to find any folder like Sounds/Ambient. Nothing in the steam folder contains "star_intense" anything except for that one XML file.
Re: Sound file for black hole sound
Posted: Wed Apr 13, 2022 3:59 am
by 100thMonkey
@OloroMemez: Thanks for taking the time to look into it. I also didn't find any folder or file matching what's listed in the XML file. I even searched for handles in memory with Process Explorer (a much more powerful alternative to Windows Task Manager), while the sound was playing in DW2, and it didn't find anything.
I have an old installation of DW:U in another partition, and there I found a star_intense1.wav file, and it does contain the black hole sound... I wonder if OrbTypes wouldn't be a relic from DW:U...
Anyway, if you discover anything else about this, please let me know! I really hope to be able to fix this: it's so loud... and the audio settings in the game options have no effect at all on this!

Re: Sound file for black hole sound
Posted: Wed Apr 13, 2022 4:28 am
by OloroMemez
I think a quick bandaid fix would be changing those two lines of code to instead refer to sound effects used by another star type, like maybe the neutron star for instance. That way it shouldn't be as deafening every time you go near one.
Re: Sound file for black hole sound
Posted: Wed Apr 13, 2022 6:46 pm
by 100thMonkey
Thanks. Interesting idea. It might work as a (hopefully) temporary solution. But I have no experience whatsoever with XML files (and close to zero knowledge also). But I'll look into it (as time allows), and post the results.