Commit Graph

3242 Commits

Author SHA1 Message Date
Luke Usher c33a931432 More HDD work
Jet Set Radio boots again, and sucessfully selects a (different) cache partition to use based on the last used partition in the partition table.

Turok evolution still refuses to start.
2017-11-14 14:02:03 +01:00
Luke Usher fdd4d404ea Working towards unpatched partition functions. 2017-11-14 14:02:03 +01:00
Luke Usher a621f7a8d4 Add IOCTL_DISK_GET_DRIVE_GEOMETRY
This is one of the few IOCTLs required for dashupdate.xbe
2017-11-14 14:02:03 +01:00
Luke Usher eb818bd869
Merge pull request #787 from RadWolfie/WIP_PatrickvL_Commits
Transfer Updates From WIP_LessVertexPatching
2017-11-10 22:28:01 +00:00
jarupxx 7c711c8921 XGSetTextureHeader leave unpatched
Fix regressions in Taz Wanted
2017-11-10 12:02:12 +01:00
RadWolfie 41ff4204fa Fix Dashboard 4920 2017-11-08 18:05:16 -06:00
RadWolfie 17311fc4d1 Restore Error From GameRegionToString 2017-11-08 16:30:07 -06:00
RadWolfie 3fb90f61e8 Remove Turok Hack
Since there's no problem with master branch, this shouldn't be here.
2017-11-08 12:11:12 -06:00
RadWolfie 1be02b4a44 Fix Debug Build Again 2017-11-07 01:38:06 -06:00
RadWolfie d709723e9d Comment CxbxCheckIntegrity Header Out 2017-11-07 01:37:25 -06:00
RadWolfie fd72524c03 Proper Close Event 2017-11-07 00:43:35 -06:00
RadWolfie fa3f4e0dd7 Force Remove EmuAlloc Files 2017-11-07 00:34:25 -06:00
RadWolfie d6949d45a9 Add G_STREAM Support 2017-11-07 00:11:24 -06:00
RadWolfie b039ac5f19 Fix missing detections
Also allow easy transitive between WIP_LessVertexPatching and master.
2017-11-07 00:11:04 -06:00
RadWolfie 008358495c Update D3D8 OOVPAs 2017-11-07 00:10:50 -06:00
RadWolfie 8bd1ee3f39 DbgPrintf Update Message 2017-11-07 00:10:31 -06:00
RadWolfie 1cbde6f7e8 EmuKrnl Files Update 2017-11-07 00:10:06 -06:00
RadWolfie 8379cdad10 Log Relative Stuff 2017-11-06 21:05:30 -06:00
RadWolfie 288ab50e7a Update OpenXDK 2017-11-06 17:04:19 -06:00
RadWolfie e061a75b82 Separate `#endif` and `#if 0` with an empty line 2017-11-06 17:04:19 -06:00
RadWolfie 11e880979c Misc Update 2017-11-06 17:04:19 -06:00
RadWolfie 6f5016a89f
Merge pull request #786 from jarupxx/DSound_DB
Add DSound OOVPA
2017-11-06 11:40:16 -06:00
jarupxx 7510429b09 Add notes 2017-11-06 19:50:03 +09:00
jarupxx 6ea4ba8d62 Add DSound OOVPA
Fixed
* CDirectSound_EnableHeadphones (5233) need evaluate, most likely false detection.

Re-make CMcpxStream_Flush 4134 to 5344, plus 5455 to 5849
Re-make CMcpxStream_GetStatus 4721 to 5233
Re-make CMcpxBuffer_Play2 4039 to 4361
Re-make CMcpxBuffer_Stop2 4134 to 4361
Re-make CDirectSound_EnableHeadphones 4134
Add CDirectSoundVoice_SetDistanceFactor 4361
Add CDirectSoundVoice_SetDopplerFactor 4361
Add CDirectSound_GetSpeakerConfig 4242
Add CFullHrtfSource_GetHrtfFilterPair 4242
Add CHrtfSource_SetAlgorithm_FullHrtf 4242
Add CHrtfSource_SetAlgorithm_LightHrtf 4242
Add CLightHrtfSource_GetHrtfFilterPair 4242
Add CMcpxBuffer_GetStatus 4721
Add CMcpxBuffer_Pause 4721
Add CMcpxStream_GetStatus 4721
Add DirectSoundUseFullHRTF 4242
Add DirectSoundUseLightHRTF 4242
Moved CDirectSoundBuffer_Pause 4928 to 4721
Moved CDirectSoundBuffer_PauseEx 5344 to 4721
Moved CDirectSoundStream_Flush 5344 to 5028
Moved CDirectSoundStream_FlushEx 5233 to 5028
Moved CDirectSoundStream_PauseEx 5344 to 4721
Moved CMcpxBuffer_Pause_Ex 5344 to 4721
Moved CMcpxStream_Discontinuity 5344 to 4531
Moved CMcpxStream_Pause_Ex 5344 to 4721
Moved IDirectSoundBuffer_Pause 4928 to 4721
Moved IDirectSoundBuffer_PauseEx 5344 to 4721
Moved WaveFormat_CreateXboxAdpcmFormat 5344 to 4242
Moved XAudioCreateAdpcmFormat 5344 to 4242

Verified with
- [4039] Azurik PAL
- [4134] Double-S.T.E.A.L
- [4242] NFL Blitz 2002
- [4361] Flight Academy
- [4432] RedCard 2003
- [4531] NHL Hitz 2003
- [4627] MLB SlugFest 2003
- [4721] Terminator - Dawn of Fate
- [4831] Whacked!
- [4928] Drihoo
- [5028] Shikigami no Shiro Evolution
- [5120] N.U.D.E.@
- [5233] Evil Dead
- [5344] Gladius OXM Demo Disc 20
- [5455] Dinosaur Hunting
- [5558] NHL HITZ Pro 2004
- [5659] Midway Arcade Treasures - Paperboy
- [5788] Digimon Battle Chronicle
- [5849] Nickelodeon Tak 2
2017-11-05 21:56:24 +09:00
PatrickvL 893b79114b
Merge pull request #785 from RadWolfie/DSound_Database
Another DSound Improvements
2017-11-04 17:32:57 +01:00
RadWolfie 505c671fa3 Fix XWaveFileCreateMediaObjectEx's LOG_FUNC output 2017-11-03 16:10:08 -05:00
RadWolfie be913dedea Fix XFileCreateMediaObject's LOG_FUNC output 2017-11-03 16:02:59 -05:00
RadWolfie 6b3b4eb8ae Add DSound Stubs 2017-11-03 12:20:51 -05:00
jarupxx 6a7ea66bc9 Add Locking offset 0x00 2017-11-03 11:40:20 -05:00
jarupxx 3a36e5a7b8 Add DSound 4134 OOVPAs
Add CMcpxVoiceClient_SetLFO 4134
Moved CDirectSoundBuffer_SetLFO 4242 to 4134
Moved CDirectSoundBuffer_SetEG 4242 to 4134

Verified with
- [4134] Double-S.T.E.A.L
- [4242] NFL Blitz 2002
2017-11-03 11:40:20 -05:00
jarupxx d1f494eeae Add DSound 4039 OOVPAs
Add CDirectSound_SetAllParameters 4039
Add CDirectSound_SetMixBinHeadroom 4039

Verified with
- [4039] Azurik PAL
2017-11-03 11:40:20 -05:00
jarupxx 883eff28fc Add DSound 4039, 4134 OOVPAs
Add CDirectSoundBuffer_PlayEx 4039
Add CDirectSoundBuffer_SetNotificationPositions 4039
Add CDirectSoundStream_SetFormat 4039
Add CDirectSoundStream_SetHeadroom 4039
Add CDirectSoundStream_SetI3DL2Source 4039
Add CDirectSoundVoice_SetFormat 4039
Add CDirectSound_EnableHeadphones 4134
Add CMcpxBuffer_Play 4039
Add CMcpxBuffer_Play2 4134
Add CMcpxBuffer_Stop2 4134
Add IDirectSoundStream_SetHeadroom 4039
Add IDirectSound_CommitEffectData 4039
Add IDirectSound_GetEffectData 4039
Add IDirectSound_SetEffectData 4039
Add IsValidFormat 4039
Moved CDirectSoundBuffer_PlayEx 4361 to 4134
Moved CDirectSoundBuffer_SetNotificationPositions 4134 to 4242
Moved CDirectSoundBuffer_StopEx 4361 to 4134
Moved CDirectSoundStream_FlushEx 4627 to 4134
Moved CDirectSoundStream_SetFormat 4242 to 4134
Moved CDirectSoundVoice_SetFormat 4242 to 4039
Moved CDirectSoundVoice_SetFormat 4242 to 4134
Moved CMcpxBuffer_Play2 4134 to 4039
Moved DirectSoundCreateBuffer 4242 to 4134
Moved IDirectSoundBuffer_SetFormat 4242 to 4039
Moved IDirectSoundStream_FlushEx 4627 to 4134
Moved IDirectSoundStream_SetFormat 4242 to 4039
Moved XAudioDownloadEffectsImage 4361 to 4134

Verified with
- [4039] Azurik PAL
- [4134] Double-S.T.E.A.L
- [4242] NFL Blitz 2002
2017-11-03 11:40:20 -05:00
RadWolfie 35c586e02b Flush Disabled 3936 OOVPAs 2017-11-01 22:35:29 -05:00
RadWolfie f334be3a90 Mark DSound 5558 Lib Done 2017-11-01 22:34:51 -05:00
RadWolfie ad929ffdf5 Final Add DSound OOVPAs
- Add CDirectSoundVoice_Set3DVoiceData to 5558
- Add CDirectSoundBuffer_Set3DVoiceData to 5558
- Add CDirectSoundStream_Set3DVoiceData to 5558
- Add CDirectSound_MapBufferData to 5344
- Add CDirectSound_UnmapBufferData to 5344
- Add IDirectSoundBuffer_Set3DVoiceData to 5558
- Add IDirectSound_MapBufferData to 5344
- Add IDirectSound_UnmapBufferData to 5344
- Add XAudioSetEffectData to 5344
- Add XFileCreateMediaObject to 5344
- Add XWaveFileCreateMediaObjectEx to 5344

NOTE: Need to make some stub functions.

Verified with
- [5558] Dino Crisis 3
2017-11-01 22:31:36 -05:00
RadWolfie 6d5c82862b Add DSound OOVPAs
- Add CMcpxVoiceClient_GetVoiceProperties to 5344
- Add CDirectSoundVoice_GetVoiceProperties to 5344
- Add CDirectSoundBuffer_GetVoiceProperties to 5344
- Add IDirectSoundBuffer_GetVoiceProperties to 5344
- Add CDirectSoundStream_GetVoiceProperties to 5344
- Add IDirectSoundStream_GetVoiceProperties to 5344
- Add CDirectSound3DCalculator_GetVoiceData to 5344
- Add IDirectSound3DCalculator_GetVoiceData to 5344
- Add CDirectSound3DCalculator_GetPanData to 5344
- Add IDirectSound3DCalculator_GetPanData to 5344
- Add CDirectSound3DCalculator_GetMixBinVolumes to 5344
- Add IDirectSound3DCalculator_GetMixBinVolumes to 5344
- Add CDirectSound3DCalculator_Calculate3D to 5344
- Add IDirectSound3DCalculator_Calculate3D to 5344

NOTE: There are no stubs for these APIs.
2017-11-01 20:55:24 -05:00
RadWolfie 3586332346 More DSound Cleanup
Add [5558] Dino Crisis 3, verified with full library found, to list.
2017-11-01 14:53:52 -05:00
RadWolfie 5f33fcb48d Fix DSound EmuPatch Functions' API
- Corrected all DSound EMUPATCH functions' API
- Add CDirectSoundStream_PauseEx and IDirectSoundStream_PauseEx
2017-11-01 12:44:37 -05:00
RadWolfie 10736eeb45 Fix DS 3DBuffer Creation From Correct DS Buffer
Plus remove unnecessary temporary buffer creation.
2017-10-31 13:26:58 -05:00
RadWolfie 8800a493db Lowering Some OOVPAs
- Rename DS_CMemoryManager_PoolAlloc to DSound_CMemoryManager_PoolAlloc
- Rename DS_CRefCount_AddRef to DSound_CRefCount_AddRef
- Rename DS_CRefCount_Release to DSound_CRefCount_Release
- Moved CMcpxBuffer_SetBufferData 5788 to 5455
- Moved CDirectSoundVoiceSettings_SetMixBins 5558 to 5455
- Moved CDirectSoundVoice_CommitDeferredSettings 5558 to 5455
- DSound_CMemoryManager_PoolAlloc 5788 to 5455

NOTE: Ghost Recon: Island Thunder has issue with intro. If press start
buttton on controller, it will go into main menu.

Verified with
- [5455] Ghost Recon: Island Thunder
2017-10-31 06:15:32 -05:00
RadWolfie 1d0bc15069 More DSound Clean Up
TODO: XAudioDownloadEffectsImage 5558 has same OOVPA as 4361. Need
investigate more of reason why this false detection occur.
2017-10-31 05:39:16 -05:00
RadWolfie 097e6ab88c DSound Database Cleanup Begin
Since so many duplicate OOVPAs has been found.
I am starting with clean up process for DSound database.
Thus narrowing down necessary of workload to research and add missing
OOVPAs.
2017-10-31 04:37:53 -05:00
RadWolfie 4003059966 Fix Loop/Play Region Length Requirement
This should resolve CreateSoundBuffer Failed message for JSRF.
Resolve Cxbx-Reloaded/Cxbx-Reloaded#780
2017-10-31 01:50:37 -05:00
RadWolfie 07ba1803ae So much changes. Need to re-review (twice)
- Add CDirectSound_CommitDeferredSettings to 5455 (Generic OOVPA)
- Add CDirectSoundBuffer_SetBufferData to 4134 (Generic OOVPA, replaced
original 4134)
- Add DS_CRefCount_Release to 5455
- Add CMcpxStream_Flush to 5344 and 5455
- Add CDirectSound_EnableHeadphones to 5455
- Add CMcpxStream_Discontinuity to 5344 and 5455
- Add CMcpxStream_GetStatus to 5344
- Add CMcpxVoiceClient_SetMixBins to 5344
- Add CDirectSound_SetI3DL2Listener to 5455
- Add CHRTFSource_SetFullHRTF5Channel to 5344
- Add CHRTFSource_SetLightHRTF5Channel to 5344
- Add CHRTFSource_SetFullHRTF4Channel to 5344
- Add CHRTFSource_SetLightHRTF4Channel to 5344
- Add DirectSoundUseLightHRTF to 5344
- Add DirectSoundUseFullHRTF4Channel to 5344
- Add DirectSoundUseLightHRTF4Channel to 5344
- Update CDirectSound_SetMixBinHeadroom 4134 (To enable support generic
OOVPA for 5455 and newer)
- Replaced CDirectSoundVoice_SetI3DL2Source in 5344
- Replaced CDirectSound_SetRolloffFactor in 5344
- Replaced CDirectSound_SetDopplerFactor in 5344
- Replaced CDirectSound_SetDistanceFactor in 5344
- Replaced CDirectSound_SetI3DL2Listener in 5344
- Fixed CDirectSound_SetPosition 5344
- Fixd CDirectSound_SetVelocity 5344
- Removed CDirectSoundBuffer_SetBufferData from 5558 (false detection)
and 5788 (alias)
- Removed IDirectSoundBuffer_SetBufferData from 5558 and 5788
(duplicates)
- Removed CDirectSound_CommitDeferredSettings from 5558 and 5788
2017-10-30 19:55:10 -05:00
RadWolfie df8b18ef23 Fixed Found/Skipped Message 2017-10-30 19:51:15 -05:00
RadWolfie 8228de52d0 Introduce DSound 5455 File 2017-10-30 19:41:13 -05:00
RadWolfie 7dae968adb Remove Leftover Linkage
Since these files doesn't exist these shouldn't be here.
2017-10-30 19:38:40 -05:00
PatrickvL 262810b8c1
Merge pull request #782 from jarupxx/OOVPA_lowered
Finalize 90% Complete XAPI, XNET, XONLINE Database
2017-10-31 00:30:38 +01:00
jarupxx 6b12a05919 Fix CMiniport_IsFlipPending OOVPA count 2017-10-30 19:35:39 +09:00
jarupxx 54ff0ea8e5 Fix Xapi OOVPA's XDK revision to lowest known match
Verified with known titles which did compiled with full library.
2017-10-30 19:29:38 +09:00