WaveBank Sample now play audio 100% correctly, can't verify with other
sound samples.
Audio do sound a bit better to me.
Some titles are still not getting all audio outputting for some reason.
However, it did brought more audible outputs now.
NOTE: It is still "somewhat" leaving experimental stage.
This is hard as hell I ever had done. The upside is SetPitch function no
longer fail for DM3DScript sample! 🎆
Tested 12KHz, 48KHz, and 96KHz conversion to ratio and back to hertz
with success.
Any titles using SetPitch in the past should now play audio nicely.
It does fix Game Region reported by @jarupxx. It is likely other values
may have overwritten as well in the process. Using unalternated
certificate data instead.
Base on research, both DirectSoundCreateStream and
DirectSoundCreateBuffer do check if DirectSound is initialize first then
initialize it. Hopefully some titles wouldn't boot at all will now boot
a bit further.
- Remove all empty OOVPA revision files. (Re-add if necessary for new
OOVPA revision)
- Corrected file path and extension for all OOVPA database files.
- Formatted OOVPA.h file to coding standard.
- Fix description in OOVPA.h file
- Add reminder note
85% possible correct lowest revision
- Add IDirectSoundStream_SetHeadroom to 4134
- Add CDirectSoundStream_SetConeAngles to 4134
- Add CDirectSoundStream_SetFrequency to 4134
- Moved CDirectSound_SetMixBinHeadroom 4627 to 4134
- Moved CDirectSoundStream_SetHeadroom 4627 to 4134
- Moved CDirectSoundStream_SetOutputBuffer 4627 to 4134
- Moved CDirectSoundBuffer_SetNotificationPositions 4627 to 4134
Verified
- Add IDirectSoundStream_SetFormat to 4242
- Add CMcpxStream_Flush to 4361
- Moved CDirectSoundBuffer_Play 4361 to 4134
- Improved CMcpxBuffer_Play to 4134
- Improved CMcpxBuffer_Play in 4721
- Improved CMcpxBuffer_Play in 4831
- Improved CDirectSound_SetAllParameters 4134 to support 4361 and
possible later titles.
NOTE: 4039 and 4134 additions/lowered are not tested, they are predicted
and verified with [4361] Hunter: The Reckoning.
WARNING: Hunter: The Reckoning title can cause your computer to crash
once it reach to main menu.
Verified with
- [4134] Blood Omen 2
- [4361] Hunter: The Reckoning
Refactoring of D3D8 library finished!
The following functions are change address or re added.
Fixed PATCH
- D3DCubeTexture_LockRect
Only perform a jmp, add XREF_Lock2DSurface.
- D3DVolumeTexture_LockBox
Only perform a jmp, add XREF_Lock3DSurface.
- D3DDevice_SetTile 4627 and newer
Only perform a jmp, add XREF_D3D_SetTileNoWait.
Added UNPATCHED
- CMiniport_IsFlipPending
XREF in v1 database, any reason for this?
- D3D_EnumAdapterModes
Aready has signature, but missing REGISTER_OOVPA.
- D3D_GetAdapterDisplayMode
Aready has signature, but missing REGISTER_OOVPA.
- D3D_GetAdapterModeCount
Aready has signature, but missing REGISTER_OOVPA.
- IDirect3DVertexBuffer8_Lock
D3DVertexBuffer_Lock 5788 signature is accurately IDirect3DVertexBuffer8_Lock.
Specific issues
- [3925] Azurik
Missing UNPATCHED D3D_SetPushBufferSize due locate in BINK section.
Verified with
[3925] Azurik
[3948] Shikigami no Shiro
[4034] Dark Summit
[4039] New Legends
[4134] Double-S.T.E.A.L
[4242] NFL Blitz 2002
[4361] Hunter The Reckoning
[4432] RedCard 2003
[4531] NHL HITZ 2003
[4627] MLB SlugFest 2003
[4721] Terminato - Dawn of Fate
[4831] Frogger Beyond
[4928] Drihoo
[5028] Shikigami no Shiro Evolution
[5120] N.U.D.E.@
[5233] Evil Dead
[5344] Gladius OXM DEMO\default.xbe
[5455] Dinosaur Hunting
[5558] NHL HITZ Pro 2004
[5659] Midway Arcade Treasures - Paperboy
[5788] Digimon Battle Chronicle
[5849] Nickelodeon Tak 2
- Add CMcpxStream_Flush to 4242
- Improved CMcpxStream_GetStatus 4134 to support 4242 titles.
Both 4242 titles does not have full library compiled. Moved all DSound's
4242 signatures in respective file, nothing has change.
Verified with
- [4134] Blood Omen 2
- [4242] Gauntlet Dark Legacy
- [4242] Smashing Drive
Thanks to jarupxx verifying discovered function with no changes
requirement.
Added a note for CDirectSoundVoice_SetPitch in 4039 needs OOVPA to be
strengthen by implement CMcpxVoiceClient_SetPitch OOVPA.
RalliSport Challenge's [4039] XDemos.xbe now progress a bit further.
However, it is only playing a distortion audio loop for now and still
has no video output.
- Add CMcpxVoiceClient_SetFilter to 4134 (Generic replacement)
- Add CFullHRTFSource_GetCenterVolume to 4134
- Add CDirectSoundStream_SetMixBins to 4134
- Add CMcpxStream_Pause to 4134
- Add CDirectSoundStream_Pause to 4134
- Add CMcpxVoiceClient_SetEG to 4134
- Moved DirectSoundUseFullHRTF from 5558 to 4134
- Removed several same detection OOVPA signatures. The function has been
confirmed not changed over time.
Start working on 4134 database for DSound.
Verified with
- [3925] Cel Damage
- [3936] Silent Hill 2
- [4039] Nightcaster
- [4134] Blood Omen 2
- [4242] Gauntlet Dark Legacy
- [4361] Burnout
- [4637] Turok Evolution
- [5233] Futurama
- [5558] Dino Crisis 3
- [5849] Lego Star Wars
- Add XAudioCreatePcmFormat to 3911
- Add XAudioCreateAdpcmFormat to 3911
- Add IsValidFormat to 3911
- Add CMcpxStream_Flush to 3936
- Add CSensaura3d_GetLiteHRTFFilterPair to 3936
- Improve CMcpxStream_Flush in 3911
All DSound functions are fully detected for 3925 and 3936 titles.
Verified with
- [3925] Cel Damage
- [3936] Silent Hill 2
- Add CMcpxStream_Flush to 4039
- Add CDirectSoundStream_AddRef to 4039
- Add CDirectSoundStream_Flush to 4039
- Add CDirectSoundStream_Process to 4039
- Add CDirectSoundStream_GetInfo to 4039
- Add CMcpxStream_Discontinuity to 4039
- Add CDirectSoundStream_Discontinuity to 4039
- Add CDirectSoundStream_SetMixBins to 4039
- Add IDirectSoundStream_SetMixBins to 4039
- Removed IDirectSoundBuffer_SetNotificationPositions from 4627
ALL DSound OOVPAs for NightCaster are completed, however title does not
have full library compiled necessary to finish 4039 database.
Verified with
- [3925] Cel Damage
- [3936] Silent Hill 2
- [4039] Nightcaster
- [4134] Blood Omen 2
- [4242] Gauntlet Dark Legacy
- [4361] Burnout
- [4637] Turok Evolution
- [5233] Futurama
- [5558] Dino Crisis 3
- [5849] Lego Star Wars
- Add XAudioCalculatePitch to 4039
- Add DS_CRefCount_AddRef to 4039
- Add DS_CRefCount_Release to 4039
- Add CDirectSoundStream_Release to 4039 and 4134
- Add CDirectSound_EnableHeadphones to 4039
- Add DirectSoundUseFullHRTF to 4039
- Add CFullHRTFSource_GetCenterVolume to 4039
- Add CHRTFSource_SetFullHRTF5Channel to 4039
Added some notes as well.
Verified with
- [3925] Cel Damage
- [3936] Silent Hill 2
- [4039] Nightcaster
- [4134] Blood Omen 2
- Add IDirectSoundStream_SetVolume to 4039
- Add CMcpxStream_Pause to 3911 and 4039
- Add CDirectSoundStream_Pause to 4039
- Add CDirectSoundStream_SetPitch to 4039
- Add IDirectSoundStream_SetEG to 4039
- Add IDirectSoundStream_SetLFO to 4039
- Add IDirectSoundStream_SetFilter to 4039
- Add IDirectSoundStream_SetMixBinVolumes_8 to 4039
- Add IDirectSoundStream_SetPitch to 4039
- Fixed CDirectSoundStream_SetMixBinVolumes_8 in 4039
Verified with
- [3925] Cel Damage
- [3936] Silent Hill 2
- [4039] Nightcaster
* XGSwizzleRect, XGUnswizzleRect functions are still UNPATCHED. Those OOVPA are available.
Verified this PR with
Azurik - Rise of Perathia (3911)
NightCaster (4039)
Double-S.T.E.A.L (4134)
Legends of Wrestling (4242)
Nakashima Tetsunari no Othello Seminar (4361)
Sega Soccer Slam (4432)
NHL HITZ 2003 (4531)
Innocent Tears (4627)
Terminator - Dawn of Fate (4721)
Whacked! (4831)
Unreal Championship (4928)
N.U.D.E.@ (5120)
Rayman 3 - Hoodlum Havoc (5233)
Starsky & Hutch (5344)
Dinosaur Hunting (5455)
NHL HITZ Pro 2004 (5558)
LMA Manager 2004 (5659)
All-Star Baseball 2005 (5788)
Nickelodeon Tak 2 - The Staff of Dreams (5849)
- Add CDirectSoundStream_SetMode to 4039
- Add CDirectSoundStream_SetMaxDistance to 4039
- Add CDirectSoundStream_SetMinDistance to 4039
- Add CDirectSoundStream_SetConeOutsideVolume to 4039
- Add CDirectSoundStream_SetConeOrientation to 4039
- Add CDirectSoundStream_SetConeAngles to 4039
- Add CDirectSoundStream_SetAllParameters to 4039
- Add CDirectSoundStream_SetOutputBuffer to 4039
- Add CDirectSoundStream_SetFrequency to 4039
- Add IDirectSoundStream_SetFrequency to 4039
- Fixed CDirectSoundVoice_SetMaxDistance in 4039
- Fixed CDirectSoundVoice_SetMinDistance in 4039
- Improve CDirectSoundStream_SetMode in 4134
- Improve CDirectSoundStream_SetMaxDistance in 4134
- Improve CDirectSoundStream_SetMinDistance in 4134
Verified with
- [4039] Nightcaster
P.S. It's starting to visualize better with RE data. More to come
later...
- Add CDirectSoundVoice_SetAllParameters to 4039
- Add CDirectSoundBuffer_SetAllParameters to 4039
- Add CDirectSoundVoice_SetConeAngles to 4039
- Add CDirectSoundBuffer_SetConeAngles to 4039
- Add CDirectSoundStream_SetVelocity to 4039
- Add CDirectSoundStream_SetPosition to 4039
- Moved IDirectSoundBuffer_SetAllParameters to 4039 (Generic)
- Moved IDirectSoundBuffer_SetConeAngles to 4039 (Generic)
- Improve CDirectSoundBuffer_SetConeAngles in 4134
- Improve CDirectSoundStream_SetVelocity to 4134
- Improve CDirectSoundStream_SetPosition to 4134
Verified with
- [4039] Nightcaster
- Add IDirectSoundStream_SetOutputBuffer to 3911
- Add IDirectSoundStream_SetMixBinVolumes to 3911
- Add IDirectSoundStream_SetAllParameters to 3911
- Add IDirectSoundStream_SetConeAngles to 3911
- Add IDirectSoundStream_SetConeOutsideVolume to 3911
- Add IDirectSoundStream_SetConeOutsideVolume to 3911
Verified with
- [3925] Cel Damage
- [3936] Silent Hill 2
Currently, XDK 4627 (maybe earlier) titles and later does not work
properly. Last known XDK title to work is [4034] Simpsons Road Rage.
Enabling legacy mode indeed do work properly. In fact, there are some
graphic improvement!
- Add CDirectSoundStream_GetStatus to 4039
- Add CDirectSound_DownloadEffectsImage to 4039
- Add CDirectSound_DownloadEffectsImage to 4134
- Fixed CDirectSoundStream_GetStatus 3911 for not detect beginning of
function to avoid 4039 and later revision.
Now most titles should not regress 80% of the time and at least get
video output to verify.
Tested with
- [3925] Cel Damage
- [3936] Simpsons - Road Rage
- [4039] Nightcaster
- [4134] Jet Set Radio Future
- [4242] Gauntlet Dark Legacy
- [4361] Burnout
- [4637] Turok Evolution
- [5233] Futurama
- [5558] Dino Crisis 3
- [5849] Lego Star Wars
- Add CDirectSoundStream_SetVolume to 3911
- Add IDirectSoundStream_SetVolume to 3911
- Add CDirectSoundStream_SetPitch to 3911
- Add IDirectSoundStream_SetPitch to 3911
- Add CDirectSoundStream_SetLFO to 3911
- Add IDirectSoundStream_SetLFO to 3911
- Add CDirectSoundStream_SetEG to 3911
- Add IDirectSoundStream_SetEG to 3911
- Add CDirectSoundStream_SetFilter to 3911
- Add IDirectSoundStream_SetFilter to 3911
- Add CDirectSoundStream_SetHeadroom to 3911
- Add IDirectSoundStream_SetHeadroom to 3911
- Add CDirectSoundStream_SetFrequency to 3911
- Add IDirectSoundStream_SetFrequency to 3911
- Add CDirectSoundStream_SetMixBins to 3911
- Add IDirectSoundStream_SetMixBins to 3911
TODO: Need to include patch, func export, support for
IDirectSoundStream_Setxxxxx from above.
Tested with
[2925] Cel Damage
[3937] Halo: Combat Evolved
[4039] Nightcaster