Commit Graph

2950 Commits

Author SHA1 Message Date
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 206ee8046d Fix Solution Explorer Filter
- Moved DSound 5849 to bottom section.
- Added missing DSound.OOVPA.inl file to filter.
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