Commit Graph

3246 Commits

Author SHA1 Message Date
RadWolfie 530f2d6e5c Removed Xapi v1 Database 2017-10-23 22:48:51 -05:00
RadWolfie 178618956e Removed XActEng v1 Database 2017-10-23 22:36:51 -05:00
RadWolfie 159e6d6a73 Removed D3D8 v1 Database 2017-10-23 22:16:35 -05:00
RadWolfie 13c128d922 Append Previous Commit 2017-10-23 22:11:29 -05:00
RadWolfie e15e4e0d0a Removed DSound v1 Database 2017-10-23 21:54:47 -05:00
RadWolfie f3e660692c Mostly Predicted (lowered) Revision for DSound 4134
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
2017-10-23 15:31:36 -05:00
Luke Usher b2a32db9e2 Merge pull request #773 from jarupxx/XACT_UNPATCHED
HLE v2 XACT library leave UNPATCHED
2017-10-23 12:35:07 +01:00
jarupxx c21286e2da HLE v2 XACT library leave UNPATCHED 2017-10-23 20:23:23 +09:00
PatrickvL 74e61b6b99 Merge pull request #772 from LukeUsher/fix-logo-images
Fix an issue where xbe logo images failed to load
2017-10-21 00:26:05 +02:00
Luke Usher 3ab96df510 Fix an issue where xbe logo images failed to load after a fix to Xbe section name length. 2017-10-20 23:23:50 +01:00
Luke Usher a62d73c109 Merge pull request #771 from LukeUsher/WIP_HLEDB_v2
HLEDB v2
2017-10-20 15:10:43 +01:00
jarupxx 179c158cf2 Fix OOVPA's XDK revision to lowest known match
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
2017-10-20 09:32:14 +01:00
jarupxx e252cdf767 Insert an empty line 2017-10-20 09:32:09 +01:00
jarupxx cc66a0615b Replaced Set #if 1~#endif to #if 0~#endif 2017-10-20 09:32:03 +01:00
jarupxx 8ea9e8a978 Moved OOVPAs lowere HLEDBv1 2017-10-20 09:31:47 +01:00
jarupxx ace13ba786 Moved OOVPAs lowere HLEDBv2 2017-10-20 09:31:37 +01:00
jarupxx 65410cf1bd Set #if 1~#endif. It will move OOVPAs lowere. 2017-10-20 09:31:31 +01:00
jarupxx 8dcafeb9ff Improved D3D OOVPA signature 2017-10-20 09:31:26 +01:00
jarupxx 4a480465c0 Update D3D Database
- D3D_Unknown 5788 is D3DDevice_MakeSpace, meaged to D3DDevice_MakeSpace 4134 version.

- Improved signature
D3DDevice_End
D3DDevice_EndVisibilityTest
D3DDevice_SetRenderState_MultiSampleRenderTargetMode
D3DVertexBuffer_Lock
D3DVertexBuffer_Lock2
D3DVertexBuffer_Lock
2017-10-20 09:31:18 +01:00
jarupxx 1e6d43e38e Reregisterd Obsolete OOVPA UNPATCHED 2017-10-20 09:31:04 +01:00
jarupxx cee6e19019 Moved 3925 to 3911
Except following 3 OOVPAs
D3DDevice_SetRenderState_MultiSampleMode
D3D_EnumAdapterModes
D3D_GetAdapterModeCount
2017-10-20 09:30:57 +01:00
jarupxx 4bb5b2de2d Minor Update D3D 3911 Database 2017-10-20 09:30:49 +01:00
Luke Usher a87f43db55 Fix GetTypeInformation
This completes a rebase onto master!
2017-10-18 21:08:46 +01:00
RadWolfie 1249a8f592 Append Previous Commit
Oops...
2017-10-18 20:47:10 +01:00
RadWolfie a1b21112f8 Add DSound 4242 Database File
- 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
2017-10-18 20:47:10 +01:00
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