-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add info regarding DirectSound registry key fix for Windows 8+ #73
Conversation
You can see in #34 why the problem may not even be (only at least) about Windows version, and how those keys aren't the whole list even if you wanted to pursue this fix. |
@@ -39,6 +39,8 @@ Source releases and Windows binaries for OpenAL Soft are | |||
available at its [homepage](https://openal-soft.org/). | |||
Instructions are also provided there. | |||
|
|||
Users on Windows 8 and above may need to add certain DirectSound registry keys for the DLL to work: [dsound.zip](https://github.com/kcat/dsoal/files/10252285/dsound.zip) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what the link is supposed to do to clarify the issue or show what to do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How material is this risk actually? In the sense of do we know how many games actually use fixed paths to address dsound.dll and not always prefer a dsound.dll file in the game folder itself.
I know this can happen when no file available locally (so not in the game folder, but e.g., in the Windows System folder), but regular Windows behavior is to always look in the root folder first and only then check other locations for required files (regular FilePath behavior that is pretty common amongst most operating systems).
Thus far I've always just dropped the 3 files from the binary distributions in the game folder and everything works as planned. Didn't even make any changes to the alsoft configuration file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I pointed out in #34 (comment), this is eventually only about some games using CoCreateInstance
instead of LoadLibrary
to load directsound.
I see. The issue is a lot broader than I realized. Personally, I've had to run the .reg file before dsoal would work in any of the games I used it with on Windows 11 (Max Payne, Red Faction, Mafia, etc.) I'll close this and continue observing the developments of #34. |
Mafia uses eax unified, indeed. |
@mirh Yup, Red Faction also uses eax.dll (version 0.0.0.1) even with Dash Faction @Mystyle-48 In the meantime, until we find a better method, you can also use my script here #34 (comment) |
@ThreeDeeJay I've been using that script for several months now, it really does the trick for situations where the game is required to run with elevated privileges :) A while back I added a link to your solution on the PCGamingWiki sound card page: |
https://www.indirectsound.com/registryIssues.html