WMA Sound Format Support in GZDooM?

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
ReX
Posts: 1578
Joined: Tue Aug 05, 2003 10:01 am
Location: Quatto's Palace
Contact:

WMA Sound Format Support in GZDooM?

Post by ReX »

In one of my maps from 2017 the player encounters an NPC behind a locked gate. The NPC tells the player that s/he must find an alternative path to the destination.

I was playing around in the game today, and met up with the NPC. His message is delivered in text, but not in audio. In the console I used "PlaySound map11vx2", which is properly defined in SNDINFO, and has a sound file in the Sounds/Messages folder. However, the audio message does not play. I looked at the pk3 file in SLADE3, which indicates the sound type is "Unknown". The file is a Windows Media Audio (wma) file, which is supported by ZDooM. Therefore, it's puzzling why the sound does not play. I am using GZDooM 3.2.5.

What's even more puzzling is that the sound file was playing fine when I play-tested the game before its release last March. Could the new version of GZDooM have something to do with it? But then, why would SLADE not recognize the wma file format?
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: WMA Sound Format Support in GZDooM?

Post by wildweasel »

WMA is not exactly an open-source-friendly sound format - I imagine ZDoom support for it was lost when FMod was abandoned, though I can't account for why SLADE might have supported it before.
User avatar
ibm5155
Posts: 1268
Joined: Wed Jul 20, 2011 4:24 pm
Contact:

Re: WMA Sound Format Support in GZDooM?

Post by ibm5155 »

doesn't slade 3 uses external plug-ins when dealing with "strange" áudio formats? (like using default Windows plugins to play mp3)
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: WMA Sound Format Support in GZDooM?

Post by _mental_ »

Wiki page is wrong, WMA is not supported by OpenAL backend. And I don't think it was supported by FMOD on non-Windows platforms.
There are bunch of good free formats, just forget about this one.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: WMA Sound Format Support in GZDooM?

Post by Graf Zahl »

WMA was not even really supported by FMod, all FMod did was using the Windows ACM to decode unknown files (if it worked, that is)
So Windows has WMA support, but Mac and Linux did not!

The format was never officially supported by ZDoom and no attempts will be made to change that, as there is no decent way to use it. It was ultimately just one more of Microsoft's pathetic proprietary failures. It had a short time to thrive when music downloads were still DRMed.
Post Reply

Return to “Assets (and other stuff)”