Commit Graph

2045 Commits

Author SHA1 Message Date
RadWolfie 8a7756c2bb Minor Update to DSound 4134 Database
- Add CDirectSoundStream_AddRef to 4134
- Add CDirectSound_GetCaps to 4134
- Add CDirectSoundBuffer_SetOutputBuffer to 4134
- Removed IDirectSound_SetRolloffFactor from 4134 (Duplicate OOVPA)

Verified with
- [4134] RalliSport Challenge
2017-10-18 20:47:09 +01:00
RadWolfie c52ec1ea2e Update DSound 4134 Verification List
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.
2017-10-18 20:47:09 +01:00
RadWolfie 9c0fafa239 Append to Previous Commit
Just removing 2 verified 4039 OOVPAs from TODO list...
2017-10-18 20:47:09 +01:00
RadWolfie 27619f4b93 Add DirectSoundCreateStream to DSound 4039 Database
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.
2017-10-18 20:47:09 +01:00
RadWolfie f63d060d44 Update DSound TODO Info 2017-10-18 20:47:09 +01:00
RadWolfie 51c30bd863 Update DSound 4134 Database
- Add CDirectSound_SetAllParameters to 4134
- Add CDirectSoundStream_GetInfo to 4134
- Add CMcpxStream_Flush to 4134
- Add CDirectSoundStream_Flush to 4134
- Add CMcpxStream_GetStatus to 4134
- Add CDirectSoundStream_GetStatus to 4134
- Add CDirectSoundStream_Process to 4134
- Add CMcpxStream_Discontinuity to 4134
- Add CDirectSoundStream_Discontinuity to 4134

Plus tiny clean up from previous commit.

Verified with
- [4134] Blood Omen 2
- [4242] Gauntlet Dark Legacy
- [4361] Burnout
- [4637] Turok Evolution
- [5233] Futurama
- [5558] Dino Crisis 3
- [5849] Lego Star Wars
2017-10-18 20:47:09 +01:00
jarupxx da98130731 Small Update to DSound 4039 Database
Verified with
[4039] The Simpsons - Road Rage PAL
[4039] Nobunaga no Yabou Ranseiki
[4134] Double-S.T.E.A.L
2017-10-18 20:47:08 +01:00
RadWolfie c5998db876 Small Update to DSound 4134 Database
- 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
2017-10-18 20:47:08 +01:00
RadWolfie b5186d5801 Add newline to Recognize Difference 2017-10-18 20:47:08 +01:00
jarupxx b50f7d85c2 Added a note in OOVPATable 2017-10-18 20:47:07 +01:00
jarupxx 9f41ccf96b Insert an empty line 2017-10-18 20:47:07 +01:00
jarupxx 438eca0722 Moved OOVPAs lowered
Verified this PR with
- XNETS
[3911] Halo
[4039] Tony Hawk's Pro Skater 3
[4361] MotoGP
[4721] TimeSplitters 2

- XNETN
[5344] Stake

- XONLINES
[4831] NBA2K3
[4928] Unreal Championship
[5028] Capcom vs. SNK 2 EO
[5120] Muzzle Flash
[5233] MotoGP 2
[5344] Burnout 2
[5455] Ghost Recon Island Thunder
[5558] XIII
[5659] Plus Plum 2
[5788] All-Star Baseball '05
[5849] Kingdom Under Fire: The Crusaders
2017-10-18 20:47:07 +01:00
jarupxx b0db95812c Added XNETN library 2017-10-18 20:47:07 +01:00
jarupxx a46c2eab56 Added XNet 4361
Verified with
MotoGP (4361)
2017-10-18 20:47:07 +01:00
jarupxx 7633870fe7 Initialize commits of HLEDB 2v XOnlines 2017-10-18 20:47:06 +01:00
jarupxx ddf417e523 Support inline functions plus added notes
XnInit is for only XNETS library. XNET library is different one.

Verified with
Halo - Combat Evolved (3911)
Tony Hawk's Pro Skater 3 (4039)
2017-10-18 20:47:06 +01:00
jarupxx 5635cb8575 Initialize commits of HLEDB 2v XNet 2017-10-18 20:47:06 +01:00
jarupxx e8dff9aeb7 Replace XREF_XNINIT to XREF_XnInit 2017-10-18 20:47:06 +01:00
RadWolfie e2d02b2124 DSound Signature for 3925 and 3936 Titles are Done
- 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
2017-10-18 20:47:06 +01:00
RadWolfie 2dc4cc70af Finalize 90% Complete DSound 4039 Database
- 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
2017-10-18 20:47:06 +01:00
RadWolfie 657a3615a7 DSound 3039 Database Update (small)
- 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
2017-10-18 20:47:05 +01:00
RadWolfie e36513de0a Another Update to DSound 4039 Database
- 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
2017-10-18 20:47:05 +01:00
RadWolfie 3e826cb4e6 Change XGCompressRect to Unpatched
Since XGCompressRect is unknown of needing to be patch. I'm adding a note about this and change to unpatched declaration.
2017-10-18 20:47:05 +01:00
jarupxx a33a0f9a6a Added XGRAPHCL library notes 2017-10-18 20:47:05 +01:00
jarupxx fd1f7cea5c Moved OOVPAs lowered
* 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)
2017-10-18 20:47:05 +01:00
jarupxx cc46eff896 Initialize commits of HLEDB 2v Xgraphics 2017-10-18 20:47:04 +01:00
RadWolfie e6ffcdb85d Another More Adding to DSound 4039 Database
- 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...
2017-10-18 20:47:04 +01:00
RadWolfie 46ae7dd0f9 More Adding to DSound 4039 Database
- 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
2017-10-18 20:47:04 +01:00
RadWolfie 9946018845 Minor Update for DSound 4039 Database
- Add IDirectSoundBuffer_SetHeadroom to 4039 (Generic)
- Add CDirectSound_SetPosition to 4039
- Add CDirectSound_SetVelocity to 4039
- Add CDirectSound_SetI3DL2Listener to 4039
- Improve CDirectSound_SetPosition 4134
- Improve CDirectSound_SetVelocity 4134

Verified with
- [4039] Nightcaster
2017-10-18 20:47:04 +01:00
RadWolfie c3a9f78ef1 Add More Non-Existing Functions
TODO:
Need to add into 3911 database
- XAudioCreateAdpcmFormat
- XAudioCreatePcmFormat
2017-10-18 20:47:03 +01:00
jarupxx 2c6801cd4f Fixed D3DDevice_CreatePixelShader 5788 OOVPA 2017-10-18 20:47:03 +01:00
RadWolfie 172a391fc6 Add DSound Notes
Draft list of titles which did compiled with full library and additional
TODO info of which revision might introduce new interface.
2017-10-18 20:47:02 +01:00
RadWolfie ac06730b98 Include DSS Interface OOVPAs for 3911
- 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
2017-10-18 20:47:02 +01:00
RadWolfie f9d165f481 Fix Graphic Issue For V2 Database 2017-10-18 20:47:02 +01:00
RadWolfie d0aba5133e Fix Legacy D3D to be able compile
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!
2017-10-18 20:47:02 +01:00
jarupxx 869c945bbe Fixed newline at end of file 2017-10-18 20:47:02 +01:00
jarupxx 0ab81c5746 Moved OOVPAs lowered
Verified this PR with
Azurik - Rise of Perathia (3925)
Shikigami no Shiro (3948)
NightCaster (4039)
Double-S.T.E.A.L (4134)
NFL Blitz 2002 (4242)
Flight Academy (4361)
NCAA Football 03 (4432)
Jockey's Road (4531)
Innocent Tears (4627)
Tiger Woods PGA Tour 2003 (4721)
Whacked! (4831)
Medal Of Honor Frontline (4928)
Shikigami no Shiro Evolution (5028)
N.U.D.E.@ (5120)
C.A.T. Cyber Attack Team (5233)
Starsky And Hutch (5344)
NCAA Football 2004 (5455)
Top Spin (5558)
Midway Arcade Treasures (5659)
Digimon Battle Chronicle (5788)
Nickelodeon Tak 2 - The Staff of Dreams (5849)
2017-10-18 20:47:02 +01:00
jarupxx fae208c8e2 Removed count text 2017-10-18 20:47:01 +01:00
jarupxx 45611c1409 Renamed D3D XREFs 2017-10-18 20:47:01 +01:00
jarupxx c67a81274c Match MakeRequestedSpace name to the PATCH 2017-10-18 20:47:01 +01:00
jarupxx 1f45af28ee Separated D3D OOVPAs 2017-10-18 20:47:00 +01:00
jarupxx 3bade6f050 Moved OOVPAs lowered 2017-10-18 20:47:00 +01:00
jarupxx 6032da1e76 Fix all OOVPAs to match with same address found. 2017-10-18 20:46:59 +01:00
jarupxx e462e260d3 Support inline functions in .text section 2017-10-18 20:46:59 +01:00
jarupxx 064a3173d9 initialize commits of scan locate D3DDeferredRenderState D3DDeferredTextureState 2017-10-18 20:46:59 +01:00
jarupxx a72cfb8191 initialize commits of HLEDB 2v D3D 2017-10-18 20:46:59 +01:00
jarupxx 3e8efec225 Verified EmuD3DDeferredRenderState and EmuD3DDeferredTextureState
Source:
Azurik - Rise of Perathia (3925)
Shikigami no Shiro (3948)
NightCaster (4039)
2017-10-18 20:46:58 +01:00
RadWolfie c3c007d97f Fix CDSS_GetStatus and CDS_DownloadEffectsImage
- 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
2017-10-18 20:46:58 +01:00
RadWolfie 8f6a314e54 Proceed Add Unknown I or C Funcs for DSStream Class
- 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
2017-10-18 20:46:58 +01:00
RadWolfie e8aab581a6 Another Append Fix to Previous Commit 2017-10-18 20:46:58 +01:00
RadWolfie 3222ada82d Append to Previous Commit 2017-10-18 20:46:57 +01:00
RadWolfie 4d0ba5be88 Reported Duplicate CDirectSoundBuffer_PlayEx OOVPA 2017-10-18 20:46:57 +01:00
RadWolfie 82652b5735 Include Missing DSound APIs
- Add XREF to ignore patch not available to
CDirectSoundBuffer_SetConeOutsideVolume for now. (might not need it.)
- Add API DirectSoundUseLightHRTF
- Add API IDirectSound_GetSpeakerConfig
- Add API IDirectSound_CommitDeferredSettings
- Add API IDirectSound_CommitEffectData
- Switch SetConeOrientation, SetMaxDistance, SetMinDistance,
SetPosition, and SetVelocity to be remain unpatch(? Not tested) from
IDirectSoundStream APIs.
2017-10-18 20:46:57 +01:00
RadWolfie 74a6103222 Append to Previous Commit Fix
Now it should output *UNPATCHED* correctly instead of saying no patch
available.
2017-10-18 20:46:57 +01:00
RadWolfie 22d55c19a1 Replace DISABLED in favor of UNPATCHED
Performing this should help other developers to understand the
difference of being patch and not patched. This has been discussed and
decided to proceed with this rename.

NOTE: It is taken effective for v2 database, v1 database is left intact.
2017-10-18 20:46:57 +01:00
jarupxx 5e58fc82cb Report Known Xapi OOVPA issue list (#744)
* Renamed all XAPI XREF names
* Reregisterd obsolete OOVPA (3911-5849)
2017-10-18 20:46:57 +01:00
jarupxx e4ec165dc0 Fixed REGISTER_OOVPA IXACTSoundBank_Play on HLEDB_v1 2017-10-18 20:46:56 +01:00
RadWolfie f9632a337c Finalize DSound 3911 OOVPA database
- Moved CMcpxAPU_Set3dVelocity to 3911
- Moved CDirectSound_SetVelocity to 3911
- Moved IDirectSound_SetVelocity to 3911
- Moved CMcpxAPU_Set3dRolloffFactor to 3911
- Moved CDirectSound_SetRolloffFactor to 3911
- Moved IDirectSound_SetRolloffFactor to 3911
- Moved CMcpxAPU_SetI3DL2Listener to 3911
- Moved CDirectSound_SetI3DL2Listener to 3911
- Moved IDirectSound_SetI3DL2Listener to 3911
- Add CDirectSound_GetTime to 3911 (100% generic for all revisions)
- Add IDirectSound_GetTime to 3911 (100% generic for all revisions)

Verified 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
2017-10-18 20:46:56 +01:00
RadWolfie 9fa8ad70f3 More DSound 3963 OOVPAs lowered to 3911
- Moved CMcpxAPU_SetMixBinHeadroom to 3911
- Moved CDirectSound_SetMixBinHeadroom to 3911
- Moved IDirectSound_SetMixBinHeadroom to 3911
- Moved CMcpxAPU_Set3dParameters to 3911
- Moved CDirectSound_SetAllParameters to 3911
- Moved IDirectSound_SetAllParameters to 3911
- Moved CMcpxAPU_Set3dDistanceFactor to 3911
- Moved CDirectSound_SetDistanceFactor to 3911
- Moved IDirectSound_SetDistanceFactor to 3911
- Moved CDirectSound_SetDopplerFactor to 3911
- Moved IDirectSound_SetDopplerFactor to 3911
- Add CMcpxAPU_Set3dDopplerFactor to 3911
- Removed CMcpxAPU_Set3dDopplerFactor from 3936

Verified 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
2017-10-18 20:46:56 +01:00
jarupxx 16ba557e31 Reregisterd XapiInitProcess OOVPA (3911-5849) 2017-10-18 20:46:55 +01:00
jarupxx 4c59d7f8be Separated XAPI OOVPAs and Lower XAPI OOVPAs Support
Moved XInputGetState 4928 to 4831
Moved XInputSetState 4928 to 4831
Moved XID_fCloseDevice 4928 to 4831
Moved timeSetEvent 5849 to 5455

Verified with
NBA Live 2002 (3925)
Tony Hawk's Pro Skater 3 (4039)
ESPN Winter X Games Snowboarding 2002 (4134)
NFL Blitz 2002 (4242)
NCAA Football 03 (4432)
Crazy taxi 3 (4531)
Innocent Tears (4627)
Quantum Redshift (4721)
Galaxy Angel (4831)
Medal Of Honor Frontline (4928)
Shikigami no Shiro Evolution (5028)
MVP Baseball 2003 (5120)
C.A.T. Cyber Attack Team (5233)
Starsky And Hutch (5344)
NCAA Football 2004 (5455)
XIII (5558)
Dance Dance Revolution Ultramix (5659)
Steel Battalion - Line of Contact (5788)
Kingdom Under Fire (5849)
2017-10-18 20:46:55 +01:00
RadWolfie b126c159da Adding 3911 OOPVAs to DSound v2 database
- Moved CDirectSound_GetCaps to 3911
- Moved IDirectSound_GetCaps to 3911
- Moved CDirectSound_EnableHeadphones to 3911
- Add CDirectSound_GetSpeakerConfig to 3911
- Add IDirectSound_GetSpeakerConfig to 3911
- Add CDirectSound_DownloadEffectsImage to 3911
- Add IDirectSound_DownloadEffectsImage to 3911
- Add IDirectSound_GetEffectData to 3911
- Add CDirectSound_GetEffectData to 3911
- Add IDirectSound_SetEffectData to 3911
- Add CDirectSound_SetEffectData to 3911
- Add IDirectSound_CommitEffectData to 3911
- Add CDirectSound_CommitEffectData to 3911
- Add IDirectSound_EnableHeadphones to 3911
- Add IDirectSound_CommitEffectData to 3911
- Add CDirectSound_CommitEffectData to 3911
- Add IDirectSound_EnableHeadphones to 3911

NOTE: Titles will regress for not finding required XREF OOVPA from
generic OOVPAs.
Plus discovered false detections, this commit fix the issue.
Which require to perform research again for 4039 revision titles and
later.

Verified with
- [3925] Cel Damage
- [3936] Simpsons - Road Rage
- [4039] revision and later need to perform rework for add/fix XREF
OOVPAs.
2017-10-18 20:46:55 +01:00
RadWolfie 6cc449eb42 3911 DS Stream and Buffer Classes are DONE! 🎉
- Moved CMcpxVoiceClient_Set3dVelocity to 3911
- Moved CDirectSoundVoice_SetVelocity to 3911
- Moved CDirectSoundStream_SetVelocity to 3911
- Moved IDirectSoundStream_SetVelocity to 3911
- Moved CDirectSoundBuffer_SetVelocity to 3911
- Moved IDirectSoundBuffer_SetVelocity to 3911
- Moved CMcpxVoiceClient_SetI3DL2Source to 3911
- Moved CDirectSoundVoice_SetI3DL2Source to 3911
- Moved IDirectSoundBuffer_SetI3DL2Source to 3911
- Moved CDirectSoundStream_SetI3DL2Source to 3911
- Moved CDirectSoundBuffer_Lock to 3911
- Moved IDirectSoundBuffer_Lock to 3911
- Moved CMcpxBuffer_SetCurrentPosition to 3911
- Moved CDirectSoundBuffer_SetCurrentPosition to 3911
- Moved IDirectSoundBuffer_SetCurrentPosition to 3911
- Renamed CDirectSoundBuffer_SetPlayRegion to
CDirectSoundBuffer_SetLoopRegion
- Renamed IDirectSoundBuffer_SetPlayRegion to
IDirectSoundBuffer_SetLoopRegion
- Moved CDirectSoundBuffer_SetLoopRegion to 3911
- Moved IDirectSoundBuffer_SetLoopRegion to 3911
- Add CDirectSoundStream_SetOutputBuffer to 3911
- Add DS_CRefCount_AddRef to 3911
- Add CDirectSoundStream_AddRef to 3911
- Add DS_CRefCount_Release to 3911
- Add CDirectSoundStream_Release to 3911

Verified 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
2017-10-18 20:46:54 +01:00
RadWolfie f131b50eb1 Bunch DSound OOVPAs Lowered
- Moved CMcpxVoiceClient_Set3dMode to 3911
- Moved CDirectSoundVoice_SetMode to 3911
- Moved IDirectSoundBuffer_SetMode to 3911
- Moved CDirectSoundStream_SetMode to 3911
- Moved CMcpxVoiceClient_Set3dPosition to 3911
- Moved CDirectSoundVoice_SetPosition to 3911
- Moved CDirectSoundStream_SetPosition to 3911
- Moved IDirectSoundStream_SetPosition to 3911
- Moved CDirectSoundBuffer_SetPosition to 3911
- Moved IDirectSoundBuffer_SetPosition to 3911
- Moved CMcpxAPU_Set3dPosition to 3911
- Moved CDirectSound_SetPosition to 3911
- Moved IDirectSound_SetPosition to 3911
- Add IDirectSoundBuffer_SetMode to 4039

Verified 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
2017-10-18 20:46:54 +01:00
RadWolfie 057e88bf78 Bunch of DSound OOVPAs Lowered
- Moved CMcpxVoiceClient_Commit3dSettings to 3911
- Moved CMcpxVoiceClient_Set3dParameters to 3911
- Moved CDirectSoundVoice_SetAllParameters to 3911
- Moved CDirectSoundStream_SetAllParameters to 3911
- Moved CDirectSoundVoice_SetConeAngles to 3911
- Moved CDirectSoundStream_SetConeAngles to 3911
- Moved IDirectSoundBuffer_SetConeAngles to 3911
- Moved CMcpxVoiceClient_Set3dConeOrientation to 3911
- Moved CDirectSoundVoice_SetConeOrientation to 3911
- Moved CDirectSoundStream_SetConeOrientation to 3911
- Moved IDirectSoundStream_SetConeOrientation to 3911
- Moved CDirectSoundBuffer_SetConeOrientation to 3911
- Moved IDirectSoundBuffer_SetConeOrientation to 3911
- Add IDirectSoundBuffer_SetAllParameters to 3911

Verified 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
2017-10-18 20:46:54 +01:00
jarupxx 9cbec6a073 Lower XAPI OOVPAs Support
reference to #732 fix XDK 4242, 5120, 5455.
Source:
NFL Blitz 2002 (4242)
Super Bubble Pop (5120)
NCAA Football 2004 (5455)
2017-10-18 20:46:53 +01:00
RadWolfie ceb06a94b1 Lower Few XAPI OOVPAs Support
reference to #732 fix [4242] Gauntlet: Dark Legacy title to run
properly.
2017-10-18 20:46:53 +01:00
RadWolfie 006c319aeb Bunch of Moves and Couple Fixes
- Moved CMcpxVoiceClient_Set3dMaxDistance to 3911
- Moved CDirectSoundVoice_SetMaxDistance to 3911
- Moved CDirectSoundBuffer_SetMaxDistance to 3911
- Moved IDirectSoundBuffer_SetMaxDistance to 3911
- Moved CDirectSoundStream_SetMaxDistance to 3911
- Moved IDirectSoundStream_SetMaxDistance to 3911
- Moved CMcpxVoiceClient_Set3dMinDistance to 3911
- Moved CDirectSoundVoice_SetMinDistance to 3911
- Moved CDirectSoundBuffer_SetMinDistance to 3911
- Moved IDirectSoundBuffer_SetMinDistance to 3911
- Moved CDirectSoundStream_SetMinDistance to 3911
- Moved IDirectSoundStream_SetMinDistance to 3911
- Moved CMcpxVoiceClient_Set3dConeOutsideVolume to 3911
- Moved CDirectSoundVoice_SetConeOutsideVolume to 3911
- Moved CDirectSoundStream_SetConeOutsideVolume to 3911
- Moved IDirectSoundBuffer_SetConeOutsideVolume 3936 to 4039
- Add CDirectSoundBuffer_SetConeOutsideVolume to 3911
- Add IDirectSoundBuffer_SetConeOutsideVolume to 3911
- Removed CDirectSoundBuffer_SetConeOutsideVolume from 3936

IDirectSoundBuffer_SetConeOutsideVolume 3936 is still using
CDirectSoundVoice_SetConeOutsideVolume caller

Verified 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
2017-10-18 20:46:53 +01:00
RadWolfie 2bac80c9a4 Configured V2 Group OOVPA Method
The following changes allow us to manage patch or disable within
individual library with group of OOVPA registrations in each function.

If we want to enable specific function, we can do so in two ways.
- HLE cache file, by remove "_DISABLED" at the end of the function's
name, or
- xxxxx.OOVPA.inl file, by change DISABLED declaration to PATCH.

It is only effective for PATCH and DISABLE declaration purposes. XREF
does not need any change.
2017-10-18 20:46:52 +01:00
RadWolfie 389491ee14 Strengthen XAutoPowerDownResetTimer's OOVPA 2017-10-18 20:46:52 +01:00
jarupxx eba685840a Introduce XAPI database v2
Source:
Azurik - Rise of Perathia (3911)
NightCaster (4039)
Double-S.T.E.A.L (4134)
Flight Academy (4361)
Turok - Evolution (4627)
Quantum Redshift (4721)
NBA 2K3 (4831)
Shikigami no Shiro Evolution (5028)
Cyber Attack Team (5233)
Starsky And Hutch 5344 (5344)
XIII (5558)
Steel Battalion - Line of Contact (5788)
Forza Motorsport (5849)
2017-10-18 20:46:52 +01:00
jarupxx d938af25af Separated 5120 OOVPAs 2017-10-18 20:46:51 +01:00
jarupxx f67f2d3496 OOVPA lowered to 5120
Source: Forza Motorsport (5849)
2017-10-18 20:46:51 +01:00
RadWolfie 0c6ae7fc0f Few Moved Plus Adding More to 3911
- Moved CDirectSoundVoice_SetHeadroom to 3911
- Moved IDirectSoundBuffer_SetHeadroom to 3911
- Moved CDirectSoundStream_Pause to 3911
- Add CDirectSoundStream_GetStatus to 3911
- Add CDirectSoundStream_Process to 3911
- Add CMcpxStream_Flush to 3911
- Add CDirectSoundStream_Flush to 3911
- Add CMcpxStream_Discontinuity to 3911
- Add CDirectSoundStream_Discontinuity to 3911
- Add CDirectSoundStream_GetInfo to 3911

Verified with
- [3925] Cel Damage
- [3936] Simpsons - Road Rage
2017-10-18 20:46:51 +01:00
RadWolfie 8ee718d669 More OOVPAs lowered to 3911.
- Moved DirectSoundCreate to 3911
- Moved CMcpxAPU_ServiceDeferredCommandsLow to 3911
- Moved CDirectSound_DoWork to 3911
- Moved DirectSoundDoWork to 3911
- Moved CDirectSoundVoice_SetFrequency to 3911
- Moved IDirectSoundBuffer_SetFrequency to 3911
- Moved CMcpxVoiceClient_SetMixBins to 3911
- Moved CDirectSoundVoice_SetMixBins to 3911
- Moved IDirectSoundBuffer_SetMixBins to 3911
- Moved CDirectSoundBuffer_SetBufferData to 3911
- Moved IDirectSoundBuffer_SetBufferData to 3911
- Moved CDirectSoundBuffer_SetNotificationPositions to 3911
- Moved IDirectSoundBuffer_SetNotificationPositions to 3911
- Add DirectSoundCreateBuffer to 3911
- Add DirectSoundCreateStream to 3911
- Add CDirectSoundVoice_SetOutputBuffer to 3911
- Add CDirectSoundBuffer_SetOutputBuffer to 3911

Verified with
- [3925] Cel Damage
- [3936] Simpsons - Road Rage (DSound portion)
2017-10-18 20:46:51 +01:00
RadWolfie 0b97e4c783 Fix XRef Issues with PATCH flag
Instead of looking for XREF flag. Check if there is a saved index then
perform the task. This make the job so much easier to do for knowing
which is XREF, PATCH, or both.
2017-10-18 20:46:50 +01:00
RadWolfie c858f4ab2d Fix CMcpxBuffer_GetCurrentPosition OOVPA
Changed OOVPA to support little bit more generic between 3911 and 3936.
This change fixed Simpsons - Road Rage title.
2017-10-18 20:46:50 +01:00
RadWolfie 51d22d4bf7 Tweak _SetPitch OOVPAs
- Moved CMcpxVoiceClient_SetPitch to 3911
- Moved CDirectSoundVoice_SetPitch to 3911
- Moved IDirectSoundBuffer_SetPitch to 3911
- Add IDirectSoundBuffer_SetPitch to 4039, XREF is different
- Make XREF more readable for _SetPitch functions.

Verified 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
2017-10-18 20:46:50 +01:00
RadWolfie 625cad3339 More Moving From 3936 OOVPAs to 3911.
- Moved CSensaura3d_GetFullHRTFFilterPair to 3911
- Moved DirectSoundUseFullHRTF to 3911
- Moved DirectSoundGetSampleTime to 3911
- Moved XAudioCalculatePitch to 3911
- Moved CDirectSound_CreateSoundBuffer to 3911
- Moved CDirectSound_CreateSoundStream to 3911
- Moved IDirectSound_CreateSoundStream to 3911
- Add CSensaura3d_GetLiteHRTFFilterPair to 3911
- Add DirectSoundUseLightHRTF to 3911
- Add TODO of known DSound OOVPA issue list for record purposes.
- Remove duplicates _SetPitch from 5233 database.

Tested with
- [3925] Cel Damage
- [3936] Simpsons - Road Rage
2017-10-18 20:46:50 +01:00
RadWolfie 5ee13a8f87 Append Previous Commit 2017-10-18 20:46:49 +01:00
RadWolfie 33aab3b2af Lowering Several DSound OOVPAs Support
- Moved IDirectSound_Release to 3911
- Moved IDirectSound_AddRef to 3911
- Moved IDirectSound_SetOrientation to 3911
- Moved CDirectSound_SetOrientation to 3911
- Moved IDirectSound_CommitDeferredSettings to 3911
- Moved CDirectSound_CommitDeferredSettings to 3911
- Moved CMcpxAPU_Commit3dSettings to 3911

Verified 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
2017-10-18 20:46:49 +01:00
jarupxx f012f3dffa Enable XACTENG_OOVPAV2 2017-10-18 20:46:48 +01:00
jarupxx ceb6905b66 Recomments 2017-10-18 20:46:48 +01:00
jarupxx 1a74094ef7 Introduce XactEng database v2
Source:
Lord of the Rings - The Two Towers (4928)
Super Bubble Pop (5120)
Cyber Attack Team (5233)
Syberia (5344)
Top Spin (5558)
Steel Battalion - Line of Contact (5788)
Souece: Forza Motorsport (5849)
2017-10-18 20:46:48 +01:00
RadWolfie 8a21a6742c Hot Fix Patch
- Fixed CDirectSoundStream_SetEG
- Fixed CDirectSoundStream_SetFilter
- Fixed CDirectSoundStream_SetLFO

This fixed #720 pull request for missing harden OOVPA of 4039 and 4134
reivisions signature.
2017-10-18 20:46:48 +01:00
RadWolfie 763267a8ba Verified which Lib_XACTENG is linked to. 2017-10-18 20:46:47 +01:00
RadWolfie f1b339012e Renaming IDSB and CDSS SetMixBinVolumes(2)
- Renamed CDirectSoundStream_SetMixBinVolumes(2)
- Renamed IDirectSoundBuffer_SetMixBinVolumes(2)
- Moved CMcpxVoiceClient_SetVolume to 3911
- Moved CDirectSoundVoice_SetMixBinVolumes to 3911
- Moved CDirectSoundStream_SetMixBinVolumes_12 to 3911
- Moved IDirectSoundBuffer_SetMixBinVolumes_12 to 3911
- Add XREF entry to CDirectSoundVoice_SetVolume 3911
- Add XREF entry to CDirectSoundVoice_SetMixBinVolumes 4039

Verified with
- [3925] Cel Damage
- [3936] Simpsons - Road Rage
- [4039] 007: Agent Under Fire
- [4134] Jet Set Radio Future
- [4637] Turok Evolution
- [5558] Dino Crisis 3
- [5849] Lego Star Wars
2017-10-18 20:46:47 +01:00
jarupxx e8ab6bc383 Added DSound 4039 HLE Database (#720)
* Added DSound 4039 HLE Database

Following PATCH are available
 - IDirectSoundBuffer_GetCurrentPosition
 - IDirectSoundBuffer_Lock
 - IDirectSoundBuffer_SetPlayRegion
 - IDirectSoundBuffer_SetCurrentPosition
 - IDirectSoundBuffer_SetFilter
 - IDirectSoundBuffer_SetMixBins
 - IDirectSoundBuffer_SetMixBinVolumes2
 - IDirectSoundBuffer_StopEx
 - IDirectSoundBuffer_SetLFO
 - IDirectSoundBuffer_SetEG
 - IDirectSoundBuffer_SetOutputBuffer
 - IDirectSoundBuffer_SetConeOutsideVolume
 - IDirectSoundBuffer_SetMaxDistance
 - IDirectSoundBuffer_SetMinDistance
 - IDirectSoundBuffer_SetMode
 - IDirectSoundBuffer_SetPosition
 - IDirectSoundBuffer_SetVelocity
 - IDirectSoundBuffer_SetConeOrientation
2017-10-18 20:46:46 +01:00
RadWolfie 016290fb75 More Moving and Additions
- Moved DirectSoundEnterCriticalSection to 3911
- Moved IDirectSoundBuffer_AddRef to 3911
- Moved IDirectSoundBuffer_Release to 3911
- Moved IDirectSoundBuffer_Unlock to 3911
- Moved IDirectSound_SetCooperativeLevel to 3911
- Moved IDirectSoundBuffer_StopEx to 3911
- Moved IDirectSoundBuffer_PlayEx to 3911
- Add CMcpxBuffer_Stop to 3911
- Add CDirectSoundBuffer_StopEx to 3911
- Add CDirectSoundBuffer_PlayEx to 3911

Generic OOVPA functions are...
- DirectSoundEnterCriticalSection
- IDirectSoundBuffer_AddRef
- IDirectSoundBuffer_Release
- IDirectSoundBuffer_Unlock
- IDirectSound_SetCooperativeLevel

Tested with
- [3925] Cel Damage
- [3936] Simpsons - Road Rage
- [4039] 007: Agent Under Fire
- [4134] Jet Set Radio Future
- [5558] Dino Crisis 3
2017-10-18 20:46:46 +01:00
RadWolfie 468a118796 DSBuffer_GetStatus and DSBuffer_GetCurrentPosition
- Moved CMcpxBuffer_GetCurrentPosition to 3911
- Moved CDirectSoundBuffer_GetCurrentPosition to 3911
- Moved IDirectSoundBuffer_GetCurrentPosition to 3911
- Moved CMcpxBuffer_GetStatus to 3911
- Moved CDirectSoundBuffer_GetStatus to 3911
- Moved IDirectSoundBuffer_GetStatus to 3911
- Add CMcpxBuffer_GetCurrentPosition to 4039
- Add CDirectSoundBuffer_GetCurrentPosition to 4039
- Add CMcpxBuffer_GetStatus to 4039
- Add CDirectSoundBuffer_GetStatus to 4039
- Removed duplicate CMcpxBuffer_GetCurrentPosition OOVPAs.

IDirectSoundBuffer_GetCurrentPosition and IDirectSoundBuffer_GetStatus
are generic functions.

Tested with
- [3925] Cel Damage
- [3936] Simpsons - Road Rage
- [4039] 007: Agent Under Fire
- [4134] Jet Set Radio Future
- [5558] Dino Crisis 3
2017-10-18 20:46:45 +01:00
jarupxx 78af3c42db Fixed CDirectSoundBuffer_SetConeOrientation 3936 OOVPA 2017-10-18 20:46:45 +01:00
RadWolfie 93c8a40ae2 Oops, removing bad code.
Um, keep moving. Nothing to see here.
2017-10-18 20:46:45 +01:00
jarupxx eb7554070a Renamed to friendly OOVPA name
+ Sorting
+ Removes IDirectSound8_SetAllParameters.
IDirectSound8_ prefix is obsolete.
Also IDirectSound_SetAllParameters is available.
2017-10-18 20:46:44 +01:00
RadWolfie 8abc01c3be Fix Versions in DSound 5233 Database
Since there was changes in master branch, it would not compile due to
lowering versions support in HLE database v2.
2017-10-18 20:46:44 +01:00
RadWolfie c34a5e9d60 Improve Scan Support
Now it has multi sections array support up to 2 (can be change by
increasing LINKSCANSEC_MAX

In fact, we can finally support other than DSound in v2 database now!
🎉
2017-10-18 20:46:44 +01:00
RadWolfie d145edd1be Introduce DSound 3911 database. 2017-10-18 20:46:44 +01:00
RadWolfie e7e418f598 Generic DirectSoundBuffer_Stop OOVPAs
- CMcpxBuffer_Stop has not changed as of 4242 and newer.
- CDirectSoundBuffer_Stop has not changed as of 4134 and newer.
- IDirectSoundBuffer_Stop has not changed since 3911.
- IDirectSoundBuffer_SetLoopRegion does match against 3911.

TODO: Need to re-locate versions in correct version file.

Verified with:
- [3936] Simpsons - Road Rage
- [4039] 007: Agent Under Fire
- [4134] Jet Set Radio Future
- [4242] Smashing Drive & Gauntlet Dark Legacy
- [4361] Burnout
- [4627] Turok Evolution
- [5233] Futurama
- [5558] Dino Crisis 3
- [5849] Lego Star Wars
2017-10-18 20:46:43 +01:00
jarupxx fbb7a74de2 Removes // (Offset,Value)-Pair # text 2017-10-18 20:46:43 +01:00
jarupxx 55b55aa509 Fixed up 2017-10-18 20:46:42 +01:00
jarupxx 7779319784 Added comments difference from 4134 2017-10-18 20:46:42 +01:00
jarupxx 8bc426be7b Added SetPitch (4134-5849)
The following functions support 4134 to 5849
 - CDirectSoundVoice_SetPitch
 - CDirectSoundBuffer_SetPitch
 - IDirectSoundBuffer_SetPitch
 - CDirectSoundStream_SetPitch
2017-10-18 20:46:42 +01:00
jarupxx cdcf5f2a06 Fixed CDirectSoundBuffer_SetVolume 4134 2017-10-18 20:46:41 +01:00
jarupxx df9a1ab6ac Oops. CDirectSoundVoice_SetPitch come back 2017-10-18 20:46:41 +01:00
jarupxx 07c96f0004 Added DSound 4039 HLE Database
Following PATCH are available
 - CDirectSoundStream_SetVolume
 - CDirectSound_CommitDeferredSettings
 - DirectSoundDoWork
 - IDirectSoundBuffer_SetBufferData
 - IDirectSoundBuffer_SetFrequency
 - IDirectSoundBuffer_SetHeadroom
 - IDirectSoundBuffer_SetLoopRegion
 - IDirectSoundBuffer_SetPitch
 - IDirectSoundBuffer_SetVolume
 - IDirectSoundBuffer_Stop
 - IDirectSound_SetDistanceFactor
 - IDirectSound_SetDopplerFactor
 - IDirectSound_SetRolloffFactor
2017-10-18 20:46:41 +01:00
RadWolfie f84327814d Introduce DSound 4039 HLE Database
- Added DirectSoundCreate
- Added DirectSoundCreateBuffer
- Added CDirectSound_CreateSoundBuffer
- Noted CDirectSound_CreateSoundBuffer OOVPA version 3936 has false
detection for 4039.
2017-10-18 20:46:40 +01:00
RadWolfie 22ca5b38d4 Implement Workaround Fix for missing DSound Library
The workaround will fix DSound 4039 build. It will also fix any other
missing DSound library section as well. In HLEDB v2, the scan method
will check for DSOUND header section. If it doesn't have it, then DSound
DB will be skip.
2017-10-18 20:46:40 +01:00
RadWolfie 5f38195dfd Removed SetFormat
SetFormat method function can be only used on primary buffer class base on DirectSound's documentation.
2017-10-18 20:46:39 +01:00
RadWolfie ac8a827d9c Carry Original Values Over 2017-10-18 20:46:39 +01:00
RadWolfie 569dc59010 Fixed Gauntlet Dark Legacy title
Moving SetFormat OOVPAs to 4242 version.
2017-10-18 20:46:39 +01:00
RadWolfie 4ed100ec83 Fixed Smashing Drive title
Since v1 is overriding build version, lets lower DirectSoundCreateBuffer
OOVPA to last known detected version.
2017-10-18 20:46:38 +01:00
RadWolfie 10c686c65d Append to Previous Commit 2017-10-18 20:46:38 +01:00
RadWolfie fd28748b0f Improve Detection
- Add missing CDirectSound_GetCaps detection for 4361 xdk titles and
later.
- Changed CDirectSound_SynchPlayback patch to xref for 5558.
2017-10-18 20:46:38 +01:00
RadWolfie 0891a74ac2 Couple fixes to comments and a TODO task.
- Removing 8 from DirectSound8's comments for DSound.1.0.5233.inl
- Added a TODO message for 2 different OOVPA signature for same
functionality.
2017-10-18 20:46:37 +01:00
RadWolfie 3a18fe1cb1 Removing Duplicate Patch Function 2017-10-18 20:46:37 +01:00
RadWolfie 022b61b97d Adding IDirectSoundBuffer_Unlock in HLEDB v1 Section 2017-10-18 20:46:37 +01:00
RadWolfie 443e0987ed Implement IDirectSoundBuffer Unlock OOVPA
Verified Unlock does exist in xbe file and is in used. Even though xbox
doesn't handle it directly. It will allow fix audio issue especially
Turok Evolution's XADPCM backgrounc music. Yet is not fully fixed...

On side note... Xbox dashboard is calling Unlock function?!?!
2017-10-18 20:46:37 +01:00
jarupxx b68e9bb90b Move a comment in Rollback support signature section 2017-10-18 20:46:37 +01:00
jarupxx 2a5009d5a2 Fixed XREF name
Plus fixed IDirectSoundBuffer_SetHeadroom 4134 OOVPA
2017-10-18 20:46:36 +01:00
jarupxx 9f33a1f4b7 Improved DSound OOVPA
Also
- Merged alias DSound OOVPA
- Renamed IDirectSoundBuffer_StopEx v5233 to IDirectSoundStream_FlushEx
2017-10-18 20:46:36 +01:00
jarupxx 16639a0500 Improved similar DSound OOVPA 2017-10-18 20:46:36 +01:00
RadWolfie e921d48299 Fix False Positive for XRefs
Since EmuLocateFunction force to add into XRefDataBase array table. It
will only add inside EmuRegisterSymbol function while
EmuLocateFunctionV2 does not.

This method changed numberous false positive to a lot fewer false
positive depending on OOVPA using rollback sig or not.
2017-10-18 20:46:36 +01:00
RadWolfie 525b1ea7af Add Missing OOVPA Patch
Also include rollback alias.
2017-10-18 20:46:35 +01:00
RadWolfie 4107f52e92 Typo Correction
Plus add rollback message header.
2017-10-18 20:46:35 +01:00
RadWolfie 05392878f4 2 New DSound OOVPA v3936
Add 2 New OOVPA 3936 for...
- CDirectSoundBuffer_SetConeOrientation
- CDirectSoundBuffer_SetConeOutsideVolume
Moved 2 4134 to 3936 compatible
- IDirectSoundBuffer_SetConeOrientation
- IDirectSoundBuffer_SetConeOutsideVolume

Tested against Blood Wake and Simpson - Road Rage titles. However Halo
Combat Evolved do return false positive for 2 new signatures (I think).
2017-10-18 20:46:35 +01:00
RadWolfie ee4cc619f8 Improve and Detect Duplicate
For on-going verification to verify any signatures are duplicate or not.
Works as intended base on several titles outputing duplicate messages.
2017-10-18 20:46:35 +01:00
RadWolfie b8e32f2ede Whoops
Forgot to add this addition to able compile HLEDB v2 build.
2017-10-18 20:46:35 +01:00
RadWolfie 625ebe9c78 Append to Previous Commit 2017-10-18 20:46:34 +01:00
RadWolfie 16a3a99baa First Draft of DSound DB Merge
Not tested with all titles, some may will regress anyway.

Plus removed extra "extern"s since they are not necessary in .cpp file.
2017-10-18 20:46:34 +01:00
RadWolfie f780398df3 PatrickvL's HLEDB v2 structure 2017-10-18 20:46:34 +01:00
RadWolfie 9e18bee934 DSound HLEDB Cleanup
Cleaning cluster aliases, re-naming to correct function names, and found
certain signature do match lower XDK version.
2017-10-18 20:46:34 +01:00
Luke Usher 04e14338d0 Abort with an error if any preload section fails to load 2017-10-18 16:41:33 +01:00
Luke Usher 58939f8297 XeUnloadsection should return STATUS_SUCCESS on success 2017-10-18 16:41:13 +01:00
Luke Usher 1613b5d9a6 Create a .bin file for each partition, which is used for direct HDD partition header access
Dashupdate.xbe progresses further with this, now it attempts to format the partitions but fails due to incomplete implementation of DeviceIoControlFile (Specifically IOCTL_DISK_GET_DRIVE_GEOMETRY and IOCTL_DISK_GET_PARTITION_INFO
2017-10-17 23:17:18 +01:00
Luke Usher f4573d097a Fix an issue caused by DesiredAccess not being correctly set when FILE_SYNCHRONOUS is used in CreateOptions 2017-10-17 23:14:13 +01:00
Luke Usher d2514874de Attempt to prevent Share Violation errors 2017-10-17 23:13:21 +01:00
Luke Usher 0fb6a72ffd Fix a compiler warning in Xbe.cpp 2017-10-17 23:12:57 +01:00
Luke Usher 4b35db183c Xbe Loading Improvements
- Rather than copying the entire Xbe into the xbox address space, we
copy only the header
- Only sections marked as 'preload' are loaded at boot time
- All other sections are loaded/unloaded on demand by the running title,
via calls to XLoadSecton/XUnloadSection
- Fixed an off-by-one error in Xbe section name parsing
- Fix an incorrect assumption that section names are always
8 characters null-terminated. They are 9 characters, null padded
2017-10-17 17:25:03 +01:00
ergo720 aedf8df158 Slight improvements 2017-10-11 21:27:31 +02:00
ergo720 5a13c67b54 Fix for issue #746 2017-10-11 20:14:37 +02:00
ergo720 90f885e9bb Slight improvements 2017-10-10 19:22:15 +02:00
ergo720 fe7ef86561 Crash detection implementation 2017-10-10 14:47:30 +02:00
Luke Usher 6a798ad55e Merge pull request #761 from LukeUsher/jsrf
Reinstate JSRF Hack
2017-10-08 19:01:32 +01:00
Luke Usher 68a7f8ab07 Reinstate JSRF hack
This is implemented a little differently than before, it no longer disabled an entire function but instead initialises the X_DEVICETYPE_GAMEPAD structure a little differently.
2017-10-08 18:57:36 +01:00
Luke Usher 5b412d4020 Don't report symbol names if the Xbe crashed outside of the xbox memory space 2017-10-08 18:54:16 +01:00
PatrickvL 94a2ddae66 Merge pull request #760 from LukeUsher/xbe-fix
Fix an issue where Cxbx-Reloaded would crash outright rather than show an error when an XBE failes to load
2017-10-08 13:20:51 +02:00
Luke Usher cc55f79063 Fix an issue where Cxbx-Reloaded would crash outright rather than show an error when an XBE failes to load 2017-10-08 12:08:29 +01:00
ergo720 5abdf9ca01 Alternative implementation to fix issue #730 2017-10-08 02:03:55 +02:00
Luke Usher f710970b0b Fix an issue where titles not making use of Input APIs would crash 2017-10-07 17:40:25 +01:00
Luke Usher c6e2cfdd03 FIx Input in Far Cry Instincts 2017-10-05 20:57:04 +01:00
Luke Usher c9b36b250c Fix an issue where GetTypeInformation was not being registered for 4432 and 5788 2017-10-05 20:15:54 +01:00