Commit Graph

3011 Commits

Author SHA1 Message Date
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 0131fd254e Added files to Cxbx-Reloaded project 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