Possible solution for Creative X-Fi Owners having issues with Static
DreadPirate_Duo
Member Posts: 6
Hello everyone.
I was having a huge issue with loud static running for 3 or so seconds... normal sound for 5 - 8 seconds... then static again.
I did some research on OpenAL and found a lot of interesting articles.
I searched the install directories of BGEE and could not find any dlls that would indicate that OpenAL was configured for BGEE... so I searched my HD for OpenAL32.dll and OpenAL64.dll... low and behold I found them in my Minecraft appdata directory.
I copied both the 32 and 64 bit versions of the files to the directory that has baldur.exe in it (not the directory with BGEE in it).
I fired up BGEE and no static... played for 2 hours, no static!
I'm not 100% sure it is fixed... but 2 hours with no static (or studdering sound) and I'm very hopeful that this will prove to be a solid solution.
For reference, these are the locaitons of the source files and the destinations:
My Source for OpenAL32.dll & OpenAL64.dll
C:\Documents and Settings\(USERNAME)\AppData\Roaming\.minecraft\bin\natives
(This will require that MineCraft has been run on your system, it may work if you download and run Minecraft classic which is free, run it, and save a game).
Desination for the DLLs (I used the Direct Installer to install BGEE)
C:\Program Files (x86)\Baldur's Gate Enhanced Edition\Data\00766
(Notice this is not the directory where BGEE.exe is located, the solution does not work if you put the DLLs in that directory as BGEE.exe is not the process that is attemting to use the sound hardware)
I hope this helps others... or BGEE's team to come out with a proper patch. I read the EULA for OpenAL and I cannot post the DLLs to this forum... but I'm hoping that I gave you enough information to get them yourselves.
I was having a huge issue with loud static running for 3 or so seconds... normal sound for 5 - 8 seconds... then static again.
I did some research on OpenAL and found a lot of interesting articles.
I searched the install directories of BGEE and could not find any dlls that would indicate that OpenAL was configured for BGEE... so I searched my HD for OpenAL32.dll and OpenAL64.dll... low and behold I found them in my Minecraft appdata directory.
I copied both the 32 and 64 bit versions of the files to the directory that has baldur.exe in it (not the directory with BGEE in it).
I fired up BGEE and no static... played for 2 hours, no static!
I'm not 100% sure it is fixed... but 2 hours with no static (or studdering sound) and I'm very hopeful that this will prove to be a solid solution.
For reference, these are the locaitons of the source files and the destinations:
My Source for OpenAL32.dll & OpenAL64.dll
C:\Documents and Settings\(USERNAME)\AppData\Roaming\.minecraft\bin\natives
(This will require that MineCraft has been run on your system, it may work if you download and run Minecraft classic which is free, run it, and save a game).
Desination for the DLLs (I used the Direct Installer to install BGEE)
C:\Program Files (x86)\Baldur's Gate Enhanced Edition\Data\00766
(Notice this is not the directory where BGEE.exe is located, the solution does not work if you put the DLLs in that directory as BGEE.exe is not the process that is attemting to use the sound hardware)
I hope this helps others... or BGEE's team to come out with a proper patch. I read the EULA for OpenAL and I cannot post the DLLs to this forum... but I'm hoping that I gave you enough information to get them yourselves.
Post edited by Balquo on
3
Comments
Crative X-Fi Platinum (I love this card)
Windows 7 Ultimate x64
Other things that don't pertain to this thread :-)
Just to be clear, I don't fault the Devs for this too much... there are hundreds of thousands of possible hardware combinations that people could have in their rigs... you can't think of everything, nobody's perfect.
Thanks!
But the DLL files can be found online to download (Google or such).
It seems to have fixed both the Prologue and ingame sounds.
I ended up using the OpenAL32.dll from Unigine "Heaven" DX11 Benchmark (it's a free benchmark/stability test for overclocking your video card if you're curious) that I already had installed. You don't really need the OpenAL64.dll - unsurprisingly since BGEE is a 32-bit program.
I can also say that not all OpenAL32.dll files seem to work. I tried using two different ones from my STALKER games, but those didn't seem to affect anything. I also noted that they were all different in size - the one i got from the "Heaven" Benchmark was 832KB, where as the STALKER ones were only ~50KB.
I'm still curious as to why this problem seems to only affect Creative X-Fi users...
My guess is that there is a bug in the OpenAL detection of the X-Fi and the auto detected OpenAL settings are incorrect.
We'll look into making the 832K OpenAL 32 easier to find.
Best,
-Trent
Known Issues:
Crash on Creative SB X-Fi cards
Please switch your sound card in gaming mode to get correct work with OpenAL library.
Can someone try the setting without changing the OpenAL32.DLL
http://connect.creativelabs.com/developer/Wiki/OpenAL Installer for Windows.aspx
Thanks for looking into this.
My X-Fi was in Gaming mode the entire time... but to try to help I reverted back to the default install, changed my card to "Audio Creation" mode and tested out BGEE that way.
I had the issue with the audio static and game studdering.
I changed it to Gaming mode and both issues were still there.
I changed it to "Audio Creation" mode again and put the "new" dlls in... it worked flawlessly for a bit, then crashed (about 40 minutes of game time).
I changed it to Gaming mode and left the "new" dlls in place... no issues, no crashing.
I hope this helps... let me know if I can do anything else to help...of course this would be a non-issue if MS didn't remove directsound from Windows 7 and later.
The past couple of X-Fi drivers (2-3 years running?) were missing the Control Panel in the installer, and that's why you couldn't get yours to show up. You have to extract the "VolPanel" folder from one of the older drivers (I used the CSL_PCAPP_LB_2_60_29 ones) by using WinRAR and install it manually that way.
With that said, you can still change your sound card settings via the Audio Control Panel found in the Start menu.
EDIT: I tried using the OpenAL installer Chiefeh linked, with the Heaven OpenAL32.dll removed, and it didn't seem to fix the problem. The OpenAL32.dll mod has been working fine for me however.
So I decideded to try the heaven benchmark program above. I downloaded the heaven benchmark program, installed it and nicked the OPENAL32.dll from the program files. I then put into the relevant BGEE directories.
Blow me down if it didn't sort the crackling and horrible noises I was getting! X-fi is in game mode as always and the sound is as I remember it from vanilla BG (which was awesome). I haven't thoroughly play tested it yet but it is looking good thus far.
That wasn't a complete fix though. I've always gotten static and music failures on the waylay screens even after doing this.
I found a solution that works for me though. Using the Creative Alchemy program, all I had to do was go into that and add a game config for BG:EE. You'll have to specify it using the game path. Use whatever default settings show up. Navigate to where baldur.exe is located and add the profile, then make sure it's listed under the Alchemy enabled games.
Bam. After bouncing around the map for about an hour deliberately trying for waylay screens, everything works. No more crackling, no more music cutting out, no more static. Too bad I didn't think to try this BEFORE finishing the game :P
BTW, Alchemy can be used to badger any game that uses the old DirectSound protocols into working on Vista/Win7. You'll notice once this is set up that a dsound.dll file is present in the folder with baldur.exe.
I've always suspected it was an Alchemy issue though, because the original BG games needed it for sound to work properly in Vista/7.
EDIT: Actually, does anyone know the RegPath for BGEE? Maybe using the RegPath in Alchemy would have some results. BG's RegPath for example was: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\BGMain.exe\Path
Ill try playing BGEE in game mode later on tonight.
So if putting these files there manually fixes the games sounds, Alchemy will do so to, plus its easier to use.
ALchemy did not work for me either, even after using the latetest official version for Creative (that I could find on their website/ftp). After looking at the file sizes, I'm thinking that the OpenAL32/64.dlls may support more "features" than the ones used by ALchemy... but that is just pure speculation.
In my opinion, ALchemy is not that easy to use. It does such a simple job (copies DLLs into the same folder as an EXE) but you have too many options and it's clumbsy. I find it easier to manually drop the DLLs in the right folder. The only thing the registry option does is locate the folder with the game EXE in it and drops the DLLs in that folder. Honestly, Creative has never been good designing UI.. but I love the X-Fi's hardware capabilities. I'm sad the card is no longer officially supported (EoL).
However installing the Unigine Heaven Benchmark and placing the openal32.dll from that into the Baldur's Gate folder appears to have fixed the issue. Thanks.
I've never had luck with the default OpenAL implementation in games. That's because most of them use "Generic Hardware" variant by default, and this may -- and will -- cause issues with some soundcards. If you use "Generic Software," most of the issues are gone. Now, BGEE doesn't provide the option to change OpenAL settings, so you'll have to download an alternate API implementation called OpenAL Soft here: http://kcat.strangesoft.net/openal.html#download.
First, install the OpenAL redistributable provided by the BGEE developers (oalinst.exe); it's still required! Then, grab the appropriate package from the link above, extract it to wherever you want, go to Win32 (or Win64, if you have 64-bit OS) folder inside the package, rename the file "soft_oal.dll" to "OpenAL32.dll" (for both 32- and 64-bit OS), and then drop it into your BGEE directory. Alternatively, if it doesn't work on your OS, drop the file into your Windows system32 (32-bit) AND/or systemWoW64 (64-bit) folder(s).
The sound issues should be gone. If you had problems with LOUD sounds prior to this, the volume levels should be fine now, too (except the sound files that may have different/altered peak values than the original BG1 ones; these still would need to be normalized by the devs/modders). If you have further issues with positional audio (e.g loud footsteps, blaring sound effects, incorrect sound sources) disable "Environmental Audio" in your baldur.ini.