Jump to content
The Dark Mod Forums

Getting EAX to work


Noisycricket

Recommended Posts

I've gotten EAX to work in a simple one room map. It sounded great and the reverberation you hear in this video is easily produced by EAX, once you feed the card the right data that anyway: http://www.youtube.c...h?v=hJLEtMaYKOg

 

However, i can't get it to work in any other scenario. Basically I followed this guide by Ishvan on the TDM Wiki: Setting Reverb Data of Rooms (EAX)

 

I set put in an info_location entity, named it, put that name into the english.lang text file (in the base/strings folder) as " "info location name" "room1". On any other map but the small 1 room test map, I get the error: "Error: eaxtestmap.efx, line 1: expected "Version" but found '{'. I'm running out of things to try, so i thought i'd post this here. I don't have any experience with the TDM/Doom3 code or Dark Radiant, so i thought some of you might figure it out, if you haven't already.

Link to comment
Share on other sites

I don't have any experience with the TDM/Doom3 code or Dark Radiant, so i thought some of you might figure it out, if you haven't already.

 

I put EAX into my FM (Patently Dangerous), so you might look at my .eax file in its .pk4 and see if it's different (I used some Doom3 maps as a model and to get some target values).

I don't know if it was working properly though. But I didn't get any errors.

What do you see when you turn out the light? I can't tell you but I know that it's mine.

Link to comment
Share on other sites

I've gotten EAX to work in a simple one room map. It sounded great and the reverberation you hear in this video is easily produced by EAX, once you feed the card the right data that anyway: http://www.youtube.c...h?v=hJLEtMaYKOg

 

However, i can't get it to work in any other scenario. Basically I followed this guide by Ishvan on the TDM Wiki: Setting Reverb Data of Rooms (EAX)

 

I set put in an info_location entity, named it, put that name into the english.lang text file (in the base/strings folder) as " "info location name" "room1". On any other map but the small 1 room test map, I get the error: "Error: eaxtestmap.efx, line 1: expected "Version" but found '{'. I'm running out of things to try, so i thought i'd post this here. I don't have any experience with the TDM/Doom3 code or Dark Radiant, so i thought some of you might figure it out, if you haven't already.

 

Post or upload your sfx file so we can have a look, maybe it is asimple typo?

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

I put EAX into my FM (Patently Dangerous), so you might look at my .eax file in its .pk4 and see if it's different (I used some Doom3 maps as a model and to get some target values).

I don't know if it was working properly though. But I didn't get any errors.

 

Unfortunately, I don't get any effect using either the dev or 1.0 install. I think you must have text strings in the english.lang file linking the info_location entity to the specific .efx reverb set, did you do that? I could be wrong.

 

@Tels: Heres my simple .efx file:

http://www.mediafire.com/?3mnhzyrdzwg

Link to comment
Share on other sites

Unfortunately, I don't get any effect using either the dev or 1.0 install. I think you must have text strings in the english.lang file linking the info_location entity to the specific .efx reverb set, did you do that? I could be wrong.

 

@Tels: Heres my simple .efx file:

http://www.mediafire.com/?3mnhzyrdzwg

 

Reading the wiki I don't see why you would have to use english.lang at all. Just name your location "Blah" and add a section:

 

reverb "Blah" {
}

 

into the file "mymapname.efx" (change the name to match the map) and it should work.

 

@demagogue:

 

I don't see any EAX file in your PK4, did you forgot to bundle it or am I blind? :)

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

I don't see any EAX file in your PK4, did you forgot to bundle it or am I blind? :)

 

It's there in the maps folder, patently_dangerous.efx.

 

The reason you don't see it is probably that the last few versions before release inadvertently left it out. So if you still have a slightly older version that you used to betatest and not the release version then you won't see it.

 

Edit: O shi... Or just because I mistakenly spelled it .eax in my first post. It's .efx. :blush:

What do you see when you turn out the light? I can't tell you but I know that it's mine.

Link to comment
Share on other sites

Hmm, still getting that same error. I just realized i forgot to ask if using the info_location entity from the darkmod folder in the entity list is the correct one to use. It was the only one I could find. I'm wondering if i forgot to dmap it any of the last times i made changes to the map, I guess i better try things again.

 

I've also tried putting a efx data set labeled "default" and one labeled "1" as well, no luck.

Link to comment
Share on other sites

It's there in the maps folder, patently_dangerous.efx.

 

The reason you don't see it is probably that the last few versions before release inadvertently left it out. So if you still have a slightly older version that you used to betatest and not the release version then you won't see it.

 

Edit: O shi... Or just because I mistakenly spelled it .eax in my first post. It's .efx. :blush:

 

No, I looked into the SVN PK4. Maybe the released version is not the same as the one in SVN? (I don't have the released here handy)

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Hmm, still getting that same error. I just realized i forgot to ask if using the info_location entity from the darkmod folder in the entity list is the correct one to use. It was the only one I could find. I'm wondering if i forgot to dmap it any of the last times i made changes to the map, I guess i better try things again.

 

I've also tried putting a efx data set labeled "default" and one labeled "1" as well, no luck.

 

The testmap "test/trigger_messages", it has a working info location setup. However, I never tried EAX.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Still giving the same error when giving the .efx file the location names. :(

 

Looking at the default TDM efx file, the first line of that file is:

 

Version 1

 

Maybe you need this, too?

 

te@te-laptop:~/.doom3/darkmod$ cat efxs/tdm_default.efx
Version 1

// reverb default
reverb "default" {
"environment" 26
"environment size" 1.0000
"environment diffusion" 0.6990
"room" 0
"room hf" -1781
"room lf" 0
"decay time" 1.4630
"decay hf ratio" 0.3600
"decay lf ratio" 1.0370
"reflections" -55
"reflections delay" 0.0040
"reflections pan" 0.0000 0.0000 0.0000
"reverb" 27
"reverb delay" 0.0050
"reverb pan" 0.0000 0.0000 0.0000
"echo time" 0.0750
"echo depth" 0.0960
"modulation time" 4.0000
"modulation depth" 0.0000
"air absorption hf" -5.0000
"hf reference" 5000.0000
"lf reference" 250.0000
"room rolloff factor" 0.0000
"flags" 15
}

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

I'll give it a try later tonight. Where did you find the default efx file?

 

It is in "efxs" on my SVN directory, but I see it is not part of the SVN:

 

te@te-laptop:~/.doom3/darkmod$ svn status efxs/

? efxs/tdm_default.efx

 

maybe I created that file but forgot to add it? I can check it in if you want it and you can see if it works on your side.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

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.

  • Recent Status Updates

    • MayheM

      Hello, Since this track is originally from TDM,i think it's better to ask here than TTLG. Do you guys have the full version of this ambient track?
      https://sndup.net/z4ty/
      https://sndup.net/qwhy/
      · 2 replies
    • DeTeEff

      Bachelor Mapping Challenge!
      The girlfriend will be away to her mum's place for almost a week, which means more mapping time for me! I'm planning a speed build. Hope it will go my way
      I'm starting by downloading 2.11. Don't know if I'm going to use any fancy new stuff. Just want to crack those itching map muscles that has gone dry and dead since almost a year's worth of no-mapping
      · 3 replies
    • kano

      The cool part of Canonical's Snap, is that my machine can now ray-trace an entire (simple) scene faster than it takes the web browser to start!
      · 5 replies
    • datiswous

      Fm idea (braindump)
      "Experience the life of a mission builder"
      Esentially there are finnished elements placed somewhere in storage in the game and you have to place them in the correct places, build some walls here and there, add guard routes, give them their correct speech lines, etc. Decorate the places.. all in-game. lots of fun.. 😉
      If you do it right in the end you can play the mission.
      (would be even cooler if a thief-ai could play the mission, making it some kind of tower-defence game)
       
      This first started as an idea for an aquarium builder mission where-in you have to fill an empty aquarium with sand, waterplants, castles water and swimming fish. But above idea is more fun.
       
      · 4 replies
    • JackFarmer

      Dear ChatGPT, What are The Builders in the Dark Mod?
       
      The Builders is a popular game mode in the video game community called "Dark Mod," which is a fan-made tribute to the classic "Thief" series of stealth games. In this game mode, players assume the role of builders who construct structures in a dark and ominous environment while trying to avoid detection by patrolling guards.
      The Builders game mode is unique in that it offers players the opportunity to create and design their own levels using the in-game tools and resources provided. Players can experiment with different building materials, construct intricate traps and puzzles, and create their own unique gameplay experiences.
      While The Builders game mode is not an official part of the Dark Mod, it has become one of the most popular and well-loved aspects of the game, thanks to its emphasis on creativity, strategy, and stealth.
       
      You guys did not know that, did you?
      · 2 replies
×
×
  • Create New...