bibendovsky / eaxefx

OpenAL EAX Extension
MIT License
57 stars 4 forks source link

Add support for rapture #20

Closed justtoask closed 2 years ago

justtoask commented 3 years ago

I thought that it would be nice to add support for rapture (game edition) because from what I heard it has even better sound positioning than openAL soft, so it would be nice if I could have EAX and the best positional audio, here's the compatibility list: http://blueripplesound.com/compatible-games

mirh commented 3 years ago

Rapture has nothing to do with EAX, and it's just an openal implementation/device like any other. If you think OAL-soft has a subpar positioning, you should report to them.

bibendovsky commented 3 years ago

I thought that it would be nice to add support for rapture (game edition) because from what I heard it has even better sound positioning than openAL soft, so it would be nice if I could have EAX and the best positional audio, here's the compatibility list: http://blueripplesound.com/compatible-games

You could place Rapture's OpenAL driver (rapture3d_oal.dll) with the wrapper and rename it to one of the supported file name (eaxefx_driver.dll, dsoal-aldrv.dll, soft_oal.dll).

justtoask commented 2 years ago

Sorry for replying so late, but I just now tried to do it with doom 3 ("s_libOpenAL" is "openal32.dll") and it doesn't have any sound and crashes after few seconds.

justtoask commented 2 years ago

here's the log:

[2021-12-21 21:11:18.747] [EAXEFX] [I]
[2021-12-21 21:11:18.747] [EAXEFX] [I] <<<<<<<<<<<<<<<<<<<<<<<<
[2021-12-21 21:11:18.747] [EAXEFX] [I] EAXEFX v1.0.6
[2021-12-21 21:11:18.747] [EAXEFX] [I] <<<<<<<<<<<<<<<<<<<<<<<<
[2021-12-21 21:11:18.747] [EAXEFX] [I]
[2021-12-21 21:11:18.747] [EAXEFX] [I] Load AL driver.
[2021-12-21 21:11:18.747] [EAXEFX] [I] Try to load a driver "eaxefx_driver.dll".
[2021-12-21 21:11:18.747] [EAXEFX] [I] Create AL symbol loader.
[2021-12-21 21:11:18.747] [EAXEFX] [I] Load ALC v1.1 symbols.
[2021-12-21 21:11:18.747] [EAXEFX] [I] Load AL v1.1 symbols.
[2021-12-21 21:11:18.747] [EAXEFX] [I]
[2021-12-21 21:11:18.747] [EAXEFX] [I] Apply patches.
[2021-12-21 21:11:18.747] [EAXEFX] [I] Doom 3 (2004) already patched.
[2021-12-21 21:11:18.777] [EAXEFX] [I]
[2021-12-21 21:11:18.777] [EAXEFX] [I] Playback devices:
[2021-12-21 21:11:18.793] [EAXEFX] [I]     "Rapture3D"
[2021-12-21 21:11:18.794] [EAXEFX] [I]
[2021-12-21 21:11:18.794] [EAXEFX] [I] Capture devices:
[2021-12-21 21:11:18.794] [EAXEFX] [I]     none
[2021-12-21 21:11:18.794] [EAXEFX] [I]
[2021-12-21 21:11:18.794] [EAXEFX] [I] ================
[2021-12-21 21:11:18.794] [EAXEFX] [I] Open default device.
[2021-12-21 21:11:18.794] [EAXEFX] [E] AL failed to open the device.
[2021-12-21 21:11:18.794] [EAXEFX] [I]
[2021-12-21 21:11:18.794] [EAXEFX] [I] ================
[2021-12-21 21:11:18.794] [EAXEFX] [I] Create context on device 00000000.
[2021-12-21 21:11:18.794] [EAXEFX] [I]
[2021-12-21 21:11:18.794] [EAXEFX] [I] Input attributes:
[2021-12-21 21:11:18.794] [EAXEFX] [I]     none
[2021-12-21 21:11:18.794] [EAXEFX] [E]
[2021-12-21 21:11:18.794] [EAXEFX] [E] <<<<<<<<
[2021-12-21 21:11:18.794] [EAXEFX] [E] alcCreateContext
[2021-12-21 21:11:18.794] [EAXEFX] [E] [AL_API] Device not found.
[2021-12-21 21:11:18.794] [EAXEFX] [E] >>>>>>>>
[2021-12-21 21:11:18.794] [EAXEFX] [E]
[2021-12-21 21:11:18.794] [EAXEFX] [I]
[2021-12-21 21:11:18.794] [EAXEFX] [I] ================
[2021-12-21 21:11:18.794] [EAXEFX] [I] Make context 00000000 current.
bibendovsky commented 2 years ago

[2021-12-21 21:11:18.794] [EAXEFX] [I] Open default device. [2021-12-21 21:11:18.794] [EAXEFX] [E] AL failed to open the device.

Seems the "game edition" supports only specific games.

justtoask commented 2 years ago

Yeah, but doom 3 is on the support list

mirh commented 2 years ago

It should work anywhere with a bit of elbow grease.

bibendovsky commented 2 years ago

I couldn't get it working.

Test results for Rapture 3D extracted libraries (mentioned in the link above). Done with clean installation of Windows 7 SP1 x64 in the VirtualBox.

P.S. ALCapsViewer and EnumerateWin32 got here.

===

Test 1 Files from a folder "1. Libraries to copy near game exe".

File list rapture_3d_official_router_file_list

ALCapsViewer rapture_3d_official_router_alcapsviewer

EnumerateWin32 rapture_3d_official_router_enumeratewin32

===

Test 2 Files from a folder "1. Libraries to copy near game exe/alternative (rather unnecessary)".

File list rapture_3d_r3d_router_file_list

ALCapsViewer rapture_3d_r3d_router_alcapsviewer

EnumerateWin32 rapture_3d_r3d_router_enumeratewin32

bibendovsky commented 2 years ago

The wrapper not maintained anymore after integration into OpenAL Soft.