Jump to content
The Dark Mod Forums

OpenAL EAX support?


Albert
 Share

Recommended Posts

Serpentine was working on merging the dhewm branch of Doom 3 with TDM which would include EFX. It seems he's been absent from the forums these days but I presume he'll be back before the next release.

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Serpentine was working on merging the dhewm branch of Doom 3 with TDM which would include EFX. It seems he's been absent from the forums these days but I presume he'll be back before the next release.

 

That'd be really great if he could come around and get that running. I can confirm OpenAL works quite well with Windows in TDM 2.0. I've got stereo, 5.1, and 7.1 sound working perfectly with it enabled. EAX seems to be the weak link. The EAX option even toggles off TDM's use of OpenAL when you disable EAX.

AFAIK, EAX really only currently works at all in TDM if you are using a Creative card. That's speculation though, and would need testing to confirm.

Link to comment
Share on other sites

Thus far, all OpenAL will get you is surround sound. And you'll need to use cvars to specify the number of speakers.

 

If you are looking for "environmental audio effects" (reverb, etc), you will need to wait for Serpentine or someone else to merge the EFX code changes.

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

Thus far, all OpenAL will get you is surround sound. And you'll need to use cvars to specify the number of speakers.

 

Wait, are you saying surround sound doesn't work by default in TDM??

Link to comment
Share on other sites

Not sure?

 

I seem to recall a discussion that the "seta s_numberOfSpeakers" cvar had to be set manually. Maybe it picks up the speakers automatically now?

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

I've got surround sound speakers and I always just assumed it worked properly. If it's not I'd like to know.

Link to comment
Share on other sites

personally with TDM at default config, only 5.1 works for me, and i have a 7.1 setup. And this only works after setting Windows to say "using 5.1 speakers". Pain in the ass. with s_useopenal cvar in TDM 2.0, it finally works properly with 7.1 (except eax).

 

@nb: the thing with s_numberofspeakers was really just that it was the only console feedback telling you if your surround sound was really working or not, and what type it was using. you could try setting it manually, but it still didn't work 99% of the time. This is fixed in 2.0, it now properly outputs if you're using stereo, 5.1, or 7.1 via menu, so I don't use this cvar anymore, really.

 

I've got surround sound speakers and I always just assumed it worked properly. If it's not I'd like to know.

try the s_numberofspeakers cvar yourself and see if its really working. As a final test, I usually go to the lockpick area in the training mission, and spin around in circles next to the loud machine.

Link to comment
Share on other sites

  • 2 months later...

I remember a quite impressive video about eax and tdm on youtube -> http://www.youtube.com/watch?v=ccsKByfgB5s

 

as i´m a complete noob regarding hardware/software issues, I´d like to know if Open AL support would make it possible for

mappers to include such sound effects in their maps without the need for players to possess specific hardware like eax

obviously does.

Edited by Cookie
Link to comment
Share on other sites

I remember a quite impressive video about eax and tdm on youtube -> http://www.youtube.com/watch?v=ccsKByfgB5s

 

as i´m a complete noob regarding hardware/software issues, I´d like to know if Open AL support would make it possible for

mappers to include such sound effects in their maps without the need for players to possess specific hardware like eax

obviously does.

I wouldn't know whether it would or not, but if it doesn't, and there was enough interest to do so, the Wwise Interactive Sound Engine would be an excellent replacement, being a professional-grade, software-based sound engine on par with other such engines like FMOD.

 

Of course, actually integrating Wwise would be a challenge since The Dark Mod, being based on Doom 3's source code, already has its own EAX-based sound engine; therefore, if the old engine was replaced with a radically new one, it would likely break sound design for most, if not all, TDM maps. In regards to liscening Wwise, while its licensing page states the source code to the PC SDK is available for free to non-commercial projects, it doesn't specify whether this includes source code access to the sound engine itself. Also, there is the matter of potentially tying TDM to a specific sound engine which requires an expensive paid license to be purchased should the game go commercial.

Edited by Expack3
Link to comment
Share on other sites

Well thanks just wanted to ensure the part with the hardware requirements :)

 

But if this is true and this feature will make it to a future version of TDM, it might be a great topic to gather attention for the game as I have never heard anything like this in a game before (lack of hardware with eax support and I guess this might apply to many people)

Edited by Cookie
Link to comment
Share on other sites

OpenAL has an extension called EFX that encapsulates all the functionality of EAX without the hardware requirements. Scroll up a bit and you'll see that some work has already been done to integrate it into TDM.

Well that would make things simpler. :) Do you know if EFX supports EAX5 functionality?
Link to comment
Share on other sites

  • 5 weeks later...

Well - until the support works I recommend to try this out:

 

If you have a sound card that supports so called post processing effects like my onboard ALC blablabla from Realtek, then you can try adding sound presets from the effects menu like "stone corridor" when you start the game. Then you will have a nice reverb for every ingame sound which adds a lot of immersion :)

 

Isn't this genious? ^_^

"Einen giftigen Trank aus Kräutern und Wurzeln für die närrischen Städter wollen wir brauen." - Text aus einem verlassenen Heidenlager

Link to comment
Share on other sites

  • 4 weeks later...

I did the port in March odd, however I got frustrated trying to work out how to merge it into the SVN, since my changes were... vast.

 

I have said that I am willing to do the port to dhewm3 again in the coming week, however I can make no promises that it will happen other than... I'm happy to do it if the others are happy. I will discuss it in the next few days.

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recent Status Updates

    • peter_spy

      Perhaps an unpopular opinion: TDM team might benefit from someone with actual QA experience; someone with naturally and professionally developed curiosity, who is interested in how and why things work, how they break At least to me it's kind of mind-boggling how untested some rather important features are (first the absence alert feature for items, now the rope +body carry behavior).
      · 4 replies
    • nbohr1more

      The Dark Mod is hosting an Ask Me Anything thread on the PC Gaming reddit forum:  https://www.reddit.com/r/pcgaming/comments/10nfcwj/hello_we_are_the_international_development_team/
      Feel free to join the discussion there
      · 2 replies
    • stgatilov

      Bumped into an interesting piece of wisdom called Hyrum's Law:
      With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.
      · 5 replies
    • The Black Arrow

      I love playing The Dark Mod when it's cold in my place. Bonus points when it's a bit (or even very) dark and it's raining, too.
      · 2 replies
    • The Black Arrow

      I've been having stutters in Vulkan, apparently it's Nvidia Drivers' fault, so I reverted to 512 according to this: https://www.nvidia.com/en-us/geforce/forums/geforce-graphics-cards/5/505679/regular-microstutter-in-vulkan-applications-after-/?topicPage=40

      And no, that did NOT fix it. What's going on? My GPU is an RTX 2070, by the way.
      · 4 replies
×
×
  • Create New...