CookiePLMonster / SilentPatch

SilentPatch for GTA III, Vice City, and San Andreas
MIT License
259 stars 10 forks source link

[Request] Replace EAX with OpenAL Soft #45

Open UserGit-2021 opened 23 hours ago

UserGit-2021 commented 23 hours ago

Implement EAX using OpenAL soft.

CookiePLMonster commented 22 hours ago

Consider checking out IndirectSound.

UserGit-2021 commented 20 hours ago

Consider checking out IndirectSound.

The game has an EAX 4 implementation. But indirectsound does not. GTA 3 & VC - EAX3 GTA SA - EAX4. re3 has an OpenAL Soft implementation

CookiePLMonster commented 20 hours ago

Regardless I suspect it's not really in scope for SP, it could be cool as a separate mod though.

TheComputerGuy96 commented 18 hours ago

The game has an EAX 4 implementation. But indirectsound does not.

Then DSOAL is what you're looking for (it currently doesn't provide official binaries though: https://github.com/kcat/dsoal/issues/13)

UserGit-2021 commented 17 hours ago

The game has an EAX 4 implementation. But indirectsound does not.

Then DSOAL is what you're looking for (it currently doesn't provide official binaries though: kcat/dsoal#13)

For the game system shock 2 is implemented without DSOAL. Without the need to use DSOAL. DSOAL works very crookedly

iGom commented 17 hours ago

You can use Creative ALchemy and ALchemy Restriction Remover to eestores EAX completely - EAX 4 as well, it works with every sound card https://www.pcgamingwiki.com/wiki/Glossary:Sound_card#Creative

ThreeDeeJay commented 16 hours ago

I agree this belongs more to the scope of DSOAL, which can restore EAX 4 reverb and recently fixed a crashing issue in GTA San Andreas and binaries are available here: https://github.com/ThreeDeeJay/dsoal/releases/tag/latest-c%2B%2B-rewrite

Creative ALchemy might have better compatibility but requires a Creative sound card or an unlocker as mentioned above. I've even managed to use ALchemy with OpenAL Soft with some hacks. which allows fixing some things like the vertically inverted sound field in San Andreas, though III and VC require sound field rotation: https://github.com/kcat/openal-soft/issues/674 Also I think reVC/re3 replaced Miles Sound System with OpenAL natively but I'm not sure it really helped with EAX/reverb.

Anyhow, I know embedding DSOAL into SilentPatch would probably be a big ask (like I suggested in MTA), but it would be nice if the devs tested them together since EAX/3D audio is an extremely underrated feature, not to mention intended by the game devs, that imo everyone should be using.

UserGit-2021 commented 16 hours ago

You can use Creative ALchemy and ALchemy Restriction Remover to eestores EAX completely - EAX 4 as well, it works with every sound card https://www.pcgamingwiki.com/wiki/Glossary:Sound_card#Creative

Again, this is not a solution to the problems. First, the source code is closed. Second, there is less customization. Third, openal soft has an open source code, which means that they are guaranteed to work for future PCs (They will update if it stops working for future PCs.).