Open PatrickvL opened 7 years ago
From @LukeUsher on May 7, 2017 18:23
Renamed to include XDK version as there are multiple versions of TechCertGame
From @jarupxx on May 9, 2017 11:50
Basically, DirectSound_CDirectSoundVoice_Use3DVoiceData is followed by DirectSound.CDirectSoundBufferSettings.SetNotificationPositions.
Therefore, adding OOVPA of IDirectSoundBuffer_SetNotificationPositions
probably will work.
So I've noticed something a bit peculiar... In TechCertGame 4627, when you enable vibration in options, when starting the game it will just either crash or freeze. But when disabling vibration, the demo is fully functional (with the sound issues still of course).
You can see what I'm talking about here https://youtu.be/dTjb2Ns6y04
Why would the vibration option have an impact on the emulation like this?
EDIT: Just tested 5849 and 5558; both show same symptoms.
That's rather interesting. Vibration/Force Feedback is not emulated, but it shouldn't cause a crash, it should just be ignored. This could be a missing patch, needs investigation.
Hmm was it a mistake for me to add the audio issue tag here? I figured that because it was a DirectSound error I'd be correct
Maybe, but maybe not.
The function name in the error message is not always the function the crash happens in, but in fact the nearest function we have an OOVPA for, it's impossible to log function names that we don't have in the OOVPA database, so it's not always a good idea to assume it's correct.
That said, the fact that the exception occurred only 0x18 bytes away from the mentioned function, implies that it could be directsound-related crash. This is purely speculation, but, perhaps there's a sound that plays when vibration is enabled.
It needs further investigation
New xbe dumps are needed in order to fix the issue title. I will reopen this once they are provided.
Issues
From @furrya on May 6, 2017 4:8
Cxbx-Reloaded Version 8c9f308f (May 5 2017) crashes with error KrnlDebug.txt Xbe.txt
Copied from original issue: Cxbx-Reloaded/Cxbx-Reloaded#445