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)