![]() |
|
Some game sounds not playing - Printable Version +- Discovery Gaming Community (https://discoverygc.com/forums) +-- Forum: Welcome (https://discoverygc.com/forums/forumdisplay.php?fid=399) +--- Forum: Help & Support (https://discoverygc.com/forums/forumdisplay.php?fid=26) +--- Thread: Some game sounds not playing (/showthread.php?tid=208342) |
RE: Game is missing sounds - Fish - 06-27-2025 (06-27-2025, 09:01 PM)Caffeine Wrote: Did you check and double check if FLSpew.txt is logging some relevant warnings about audio? Don't have this file on any of my drives. Is it supposed to be there at all times or does it only get generated sometimes? RE: Some game sounds not playing - Laz - 06-27-2025 (06-27-2025, 09:17 PM)Fish Wrote:(06-27-2025, 09:01 PM)Caffeine Wrote: Did you check and double check if FLSpew.txt is logging some relevant warnings about audio? It is located in %LOCALAPPDATA%/Freelancer/flspew.txt, it should always be present. RE: Some game sounds not playing - Fish - 06-27-2025 (06-27-2025, 10:27 PM)Laz Wrote: It is located in %LOCALAPPDATA%/Freelancer/flspew.txt, it should always be present. Ah apologies, search didn't pick it up, but it's there. It's long. It is a repeating pattern(with many different individual file names) consisting of: Code: C:\work\builds\dalibs\dalibs-build\build\Src\SoundStreamer\NewStream.cpp(487) : ERROR:General:StreamingSound: Error initializing ACM for WAV file 'audio\music\music_reveal_and_exposition.wav'and also this shows up: Code: E:\FL\Scratch\Source\Client\cmn\SoundArch.cpp(360) : *** WARNING: unknown Sound archetype '0xb2252782'Something to do with ffmpeg? I know I have it installed because I remember installing it when I updated Audacity some time ago. RE: Some game sounds not playing - Fish - 06-28-2025 This was all I could find, it contains a dead link to some tutorial. I'll try fiddling with codecs and ffmpeg to see if it changes anything. Also, if I changed the file types, would the game detect it as cheating? RE: Some game sounds not playing - Caffeine - 06-28-2025 (06-27-2025, 10:35 PM)Fish Wrote: Something to do with ffmpeg? I know I have it installed because I remember installing it when I updated Audacity some time ago. Very unlikely ffmpeg has anything to do, as I doubt the game even checks any environment variables related to ffmpeg as it's older than ffmpeg, I believe it uses some proprietary libraries (as the logs suggest, one called Wavlib, part of DAlibs) to decode mp3. Code: C:\work\builds\dalibs\dalibs-build\build\Src\WavLib\wavlib.cpp(32) : ERROR:General:StreamingSound: missing MP3 codec?I have the exact same warning spammed on my logs as well, but the sound still works fine, I'm playing this game through Wine, though. I think your best bet here is to ask @Aingar or wait for his input, as he's more familiar with the inner workings of the game engine. These lines though seem to point to the root cause of the problem, which is some library called SoundStreamer, and unlike with the missing MP3 codec line I do not have these logged anywhere: Code: C:\work\builds\dalibs\dalibs-build\build\Src\SoundStreamer\NewStream.cpp(487) : ERROR:General:StreamingSound: Error initializing ACM for WAV file 'audio\music\music_reveal_and_exposition.wav'RE: Some game sounds not playing - Fish - 06-28-2025 my FLspew is now 24MB of just these warnings lmao this is the only music track that plays: I have soundstreamer.dll and soundmanager.dll in both directories. FL ones are from 2003 and Disco ones are from 2016, but the files appear identical in dotpeek decompiler(also as I said before the HD freelancer mod which is independent from Disco has the same issue so they probably are the exact same file?) Can I try installing a different version of these files without the server banning me? RE: Some game sounds not playing - Caffeine - 06-28-2025 (06-28-2025, 06:01 PM)Fish Wrote: my FLspew is now 24MB of just these warnings lmao This track is encoded as follows: Code: Input #0, wav, from 'music_deadlands_space.wav':It's raw PCM16, little endian at 16000Hz and with a 512Kbps bitrate, this track was also added with patch 5.0 so it's not vanilla. The majority of vanilla audio tracks on this game use lossy mp3, 22050Hz at 80kbps, so the issue seems to be with audio streams encoded in mp3 specifically. If there's no known solution you could perhaps try re-encoding one stream into PCM16 and see if SoundStreamer.dll likes it and it does play in-game? RE: Some game sounds not playing - Caffeine - 06-28-2025 (06-28-2025, 06:01 PM)Fish Wrote: I have soundstreamer.dll and soundmanager.dll in both directories. FL ones are from 2003 and Disco ones are from 2016, but the files appear identical in dotpeek decompiler(also as I said before the HD freelancer mod which is independent from Disco has the same issue so they probably are the exact same file?) These are the sha256 hashes my libraries have, see if yours are the same: Code: ef23b1b9ce21f4446f52078d7b34817ab2dfe87a0706a40b223ad847ca73d4da soundstreamer.dllRE: Some game sounds not playing - Fish - 06-28-2025 Code: C:\Users\vis>certutil -hashfile D:\Games\Discovery Freelancer 5.00.8\EXE\soundstreamer.dll sha256Please help idk what i'm doing. (Can't find it in the crappy free dotpeek tool because every time i blink or breathe or think about even touching any button the UI refreshes and all the collapsible menus close and i cba opening them over and over) Edit: nevermind, cmd doesnt like periods in file paths soundmanager.dll: fa3ac6ed980ba5b17235e8b7b61c78d55bbd6e387a7949d2451121c6999f202d soundstreamer.dll: ef23b1b9ce21f4446f52078d7b34817ab2dfe87a0706a40b223ad847ca73d4da They are the same RE: Some game sounds not playing - Fish - 06-29-2025 I'm now running into the problem where FLSpew.txt's file size is ballooning to a few gigs each time I play XD i think the higher powers don't want me playing this game every time it's something new |