Commit Graph

2045 Commits

Author SHA1 Message Date
RadWolfie 4a6b3ecb54 Fix DSoundBufferTransfer Function
No reason to create 3D Buffer here... Plus that's not the purpose of
"Transfer". Oops!
2017-10-28 18:45:54 -05:00
RadWolfie c9ebe3ed18 Implement SetLoopRegion and SetPlayRegion Support
WaveBank Sample now play audio 100% correctly, can't verify with other
sound samples.
Audio do sound a bit better to me.

Some titles are still not getting all audio outputting for some reason.
However, it did brought more audible outputs now.

NOTE: It is still "somewhat" leaving experimental stage.
2017-10-28 18:45:54 -05:00
RadWolfie 7fc65b57ce Implement SetPitch Support
This is hard as hell I ever had done. The upside is SetPitch function no
longer fail for DM3DScript sample! 🎆

Tested 12KHz, 48KHz, and 96KHz conversion to ratio and back to hertz
with success.

Any titles using SetPitch in the past should now play audio nicely.
2017-10-28 18:45:54 -05:00
RadWolfie 02a76ffc8d Improve DSound 3D Interfaces
- Fixed HybridDirectSound3DBuffer_SetAllParameters
- Add Info to 3D Interfaces
2017-10-28 18:45:54 -05:00
RadWolfie 186530ee25 Update NULL to xbnullptr For DSound
Note: Some NULL are actually being used internally and is not given to
xbox's xbe.
2017-10-28 18:45:53 -05:00
RadWolfie 6eff832b07 Re-fix Check CreateSound3DBuffer Return Value
For now, let's keep hRet separate from DirectSound's 3DBuffer interfaces
usage. By using hRet3D variable. Just in case we are returning hRet to
xbe.
2017-10-28 18:45:53 -05:00
RadWolfie 3528fccb2e Prevent SetConeOrientation's Popup Message Report
For now just surpress the pop up message and output a warning instead.
2017-10-28 18:45:53 -05:00
PatrickvL 7f82ac6c03 MemoryManager : Fixed block-lookup with non-base addresses, by using block.upper_bound as key.
This resolves crashes in Cartoon sample (and potentially many other titles).
2017-10-27 11:46:15 +02:00
RadWolfie a02c5d76f0 Change Reminder to All Developers
Even to remind myself.
2017-10-25 16:44:16 -05:00
RadWolfie 1e23a18254 Add Notes
- Note about dwCertificateAddr patch requirement
- And reason for change SUCCEEDED and FAILED to check against DS_OK
value.
2017-10-25 16:35:20 -05:00
RadWolfie 733a4a83f0 Use XBE's original Certificate Data
It does fix Game Region reported by @jarupxx. It is likely other values
may have overwritten as well in the process. Using unalternated
certificate data instead.
2017-10-25 16:12:18 -05:00
RadWolfie 61b54bba41 Fix Warning Message From Compiler 2017-10-25 16:08:08 -05:00
RadWolfie 8f887159c5 Enforce Create DirectSound Before Buffer and Stream
Base on research, both DirectSoundCreateStream and
DirectSoundCreateBuffer do check if DirectSound is initialize first then
initialize it. Hopefully some titles wouldn't boot at all will now boot
a bit further.
2017-10-25 03:35:48 -05:00
RadWolfie b019c2ea56 DSound Improvement
- Fixed ResizeIDirectSoundBuffer bug for return value.
- Fixed IDirectSoundBuffer_SetNotificationPositions to only check hRet,
not nullptr itself.
- Replaced SUCCEEDED check to == DS_OK
- Replaced FAILED check to != DS_OK
2017-10-25 03:35:47 -05:00
RadWolfie e2f38df63e Introduce xbnullptr for Xbox usage 2017-10-25 03:35:47 -05:00
Luke Usher be40f6c4c1 Protect against nullptr dereference in SetConeOrientation 2017-10-25 03:35:47 -05:00
RadWolfie 1c4d0f2558 Remove Empty OOVPA Files, Cleanup, Formating
- Remove all empty OOVPA revision files. (Re-add if necessary for new
OOVPA revision)
- Corrected file path and extension for all OOVPA database files.
- Formatted OOVPA.h file to coding standard.
- Fix description in OOVPA.h file
- Add reminder note
2017-10-25 03:35:47 -05:00
Luke Usher 43f0ae9f16 Merge pull request #775 from RadWolfie/WIP_HLEDB_v2
Remove HLE v1 database + Misc Improvement
2017-10-24 21:03:28 +01:00
RadWolfie af17f5cc24 Fix Debug Build 2017-10-24 13:12:29 -05:00
RadWolfie 25cd86fc30 Remove Leftover v1 database 2017-10-24 13:12:18 -05:00
jarupxx 9e1ab01e70 Add HLEDataBase Notes
Titles list which did compiled with full library and additional Verification needed OOVPA.
2017-10-24 20:50:25 +09:00
RadWolfie 20cd6148cd Fix HLE v2 Database includes 2017-10-24 03:24:18 -05:00
RadWolfie d33ffe0c15 Remove HLE v1 Method From Cxbx
- Removed v1 database method
- Migrate v2 into v1 functions
- Format some coding standard
- Fix compile issue
- Say goodbye to HLE v1 method.
2017-10-24 03:23:32 -05:00
RadWolfie 71aabebe27 Append to Previous Commit 2017-10-24 00:09:50 -05:00
RadWolfie c8d12a78ec Removed All HLE v1 Database Header Files 2017-10-24 00:03:34 -05:00
RadWolfie 65162b7fe5 Add XOnline and XNet v2 Database 2017-10-24 00:00:40 -05:00
RadWolfie fabc87fc70 Removed XOnlines v1 Database 2017-10-23 23:15:02 -05:00
RadWolfie 52fdebbcde Removed XNet v1 Database 2017-10-23 23:02:43 -05:00
RadWolfie 4dd0258738 Removed XG v1 Database 2017-10-23 22:58:39 -05:00
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 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
jarupxx c21286e2da HLE v2 XACT library leave UNPATCHED 2017-10-23 20:23:23 +09: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
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
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