-
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
Claw: Missing SFX and lower volume #53
Comments
Lower volume might actually be proper behaviour. Assuming the game was previously stuck to just using stereo, it may be that now a lot of the soundscape is getting spread to other channels.
Not true. Dsoal is not "based" on any specific openal-soft version. It uses whatever it finds.
Test it! |
Interesting...it does work with r422, the previous release. Using the dsound.dll from that version with the dsoal-aldrv.dll (OpenAL Soft v1.22) from r430 works, so that means it's the DSOAL part that causes it, right? |
The latest artifact at the time of writing works (CI #224: Commit cdd9a21), however still only with dsound.dll from r422. |
Here is information about this game that I didn't know at all: https://www.pcgamingwiki.com/wiki/Claw |
Yes, eax is a 1998 thing. So what? DS3D could have been already potentially available in 1996 (even though miles doesn't mention it explicitly in the changelog until almost the end of the century). And since 1997 sound card quality mattered (it's so weird to quote wikipedia). It's interesting to read on PCGW, that the game is alleged not to support surround sound (even though who knows how it was tested) |
I use it for Cubic spline resampling and the overall quality of the output. Especially old games are rough as-is. As for surround, that would be weird considering it's a 2D action platformer. I think the DVD release was a promo thing from Creative with less compressed cutscenes, so surely they used some proprietary codecs to lock it down. |
mmh it definitely doesn't use DirectSound3D, probably just DirectSound (stereo audio, 2d) so, leaving out the higher quality resampling of DSOAL, it should work natively with Windows dsound.dll. It is however strange that there are some missing sounds with the latest versions of DSOAL, but i haven't tried this game.
Before 1998 I believe that no game uses 3D audio, indeed until 1997 there were still games for DOS. Also, one of the first cards to support this (Sound Blaster Live!) came out in 1998. |
https://www.gamecareerguide.com/features/sound_and_music/090597/direct_sound.htm |
Given that it works with r422, which was made Nov 1st 2021, and not the latest version, and it doesn't use EAX, there's only a couple commits that could've really broken it. Commit f7ce1f0 adds partial support for the VoiceManager extension that some apps want. It's primarily a no-op, but if the game uses it and is sensitive to what it may return, it could be causing the app to get confused and not play certain sounds. Commit e7a82d4 reduces the number of allocatable DSound buffers, from 256 "hardware" and 256 "software" buffers, to 128 of each. Some games didn't like having so many hardware voices, but if this game uses software buffers, it might be that 128 is too few. I don't know what native DSound does for the number of software buffers, but DSOAL might need the number of software buffers increased again. |
#23 (comment) has build in-between the two points. |
That seems to be referring to the number of OpenAL sources that can be created with their X-Fi card. Maybe that hints at the maximum number of DSound "software" buffers you could get with ALchemy (1024 total - 128 hw = 896 sw), or maybe it's unrelated and is just what they felt was good enough for OpenAL apps. What's annoying is that OpenAL Soft could've had "infinite" (4 billion) sources and only limit the number to play as needed. But as the answer in the stackoverflow question says,
For any apps that do that, there has to be a limit or else it can crash (if not hang the system from OOM). Even a really high default limit could cause memory waste if the app generates as many as it can but only uses a handful. So OpenAL sticks with the 256 default limit used by other implementations with the 'every source is playable' philosophy, and anything more needs to be requested by the app with the expectation it'll behave itself with the amount it asks to make. That Guild Wars 1 issue may be a separate concern, since it doesn't actually play any of the software buffers it creates, so realistically it shouldn't need a source for them. Software buffers should probably handle sources more dynamically (get a source only when playing, give it back when not). |
Commit e7bc895 increases the number of software buffers (to 384), which should help with this case. |
Not noticing any issues with build 435a on here - closing. |
Homepage (unofficial): https://captainclaw.net/en/
Monolith no longer sells it, not even through something like GOG, and has no dedicated page for the game.
Instead a version with fixes for modern releases of Windows can be downloaded on the link above.
Playing with the latest release which is based on OpenAL Soft 1.22 (unknown if this was an issue with previous versions of DSOAL), there are missing SFX, like the trumpet when starting levels, or when picking up treasure.
The volume is also significantly lower compared to not using the wrapper.
Changed settings from defaults:
OS: Windows 11 - 22H2 - 22621.1
The text was updated successfully, but these errors were encountered: