Commit Graph

3462 Commits

Author SHA1 Message Date
Luke Usher f519674873 Skip null device table entries 2017-11-19 20:23:56 +01:00
jarupxx ce0897091a Add implementation of SetVertexShaderConstantNotInlineFast
Dukes of Hazzard looking intro screen now.
2017-11-19 14:28:13 +01:00
jarupxx 75a939a7dd Add implementation of SetVertexShaderConstant1Fast 2017-11-19 14:28:13 +01:00
jarupxx 1b921f9430 Add Notes
Confirm OOVPAs lower to include support older titles.
CDirectSoundStream_Flush (5344)
CMcpxStream_Flush (5344)
CMcpxStream_Discontinuity (5344)
CMcpxStream_GetStatus (4721)
CMcpxStream_Pause_Ex (4721)
CDirectSoundStream_PauseEx (4721)
IDirectSoundStream_PauseEx (4721)

Verified with
- [3925] Cel Damage
- [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-18 09:14:50 +01:00
jarupxx de9cf34e76 Separate OOVPA with an empty line 2017-11-18 09:14:50 +01:00
jarupxx e10cb49c99 Rename OOVPA into understandable
Rename CMcpxBuffer_Play2 to CMcpxBuffer_Play_Ex
Rename CMcpxBuffer_Stop2 to CMcpxBuffer_Stop_Ex
2017-11-18 09:14:50 +01:00
jarupxx ece16046e6 Moved to correct database 2017-11-18 09:14:50 +01:00
jarupxx 545e22b6ce Add DSound OOVPAs
Fixed
* CDirectSoundVoice_SetMixBins to use XREF_CMcpxVoiceClient_SetMixBins

Add CDirectSoundVoice_SetDistanceFactor 4361
Add CMcpxVoiceClient_SetMixBins 4039
Add IDirectSoundStream_SetRolloffCurve 4361
Add XFileCreateMediaObject 3911
Add XWaveFileCreateMediaObject 3911

Moved CMcpxAPU_SynchPlayback 5233 to 4831
Moved CMcpxStream_Pause_Ex 4721 to 4361
Moved CMcpxVoiceClient_GetVoiceProperties 5344 to 5028
Moved CMcpxVoiceClient_SetMixBins 5344 to 4134
Moved CDirectSoundVoice_GetVoiceProperties 5344 to 5028
Moved CDirectSoundVoice_Set3DVoiceData 5558 to 5455
Moved CDirectSoundVoice_SetRolloffCurve 4627 to 4361
Moved CDirectSoundBuffer_GetVoiceProperties 5344 to 5028
Moved CDirectSoundBuffer_Set3DVoiceData 5558 to 5455
Moved CDirectSoundBuffer_SetRolloffCurve 4627 to 4361
Moved CDirectSoundStream_GetVoiceProperties 5344 to 5028
Moved CDirectSoundStream_PauseEx 4721 to 4361
Moved CDirectSoundStream_Set3DVoiceData 5558 to 5455
Moved CDirectSoundStream_SetRolloffCurve 4627 to 4361
Moved CDirectSound_GetOutputLevels 4627 to 4361
Moved CDirectSound_SynchPlayback 5233 to 4831
Moved IDirectSoundBuffer_GetVoiceProperties 5344 to 5028
Moved IDirectSoundBuffer_Set3DVoiceData 5558 to 5455
Moved IDirectSoundBuffer_SetRolloffCurve 4627 to 4361
Moved IDirectSoundStream_GetVoiceProperties 5344 to 5028
Moved IDirectSoundStream_PauseEx 4721 to 5361
Moved IDirectSoundStream_Set3DVoiceData 5558 to 5455
Moved IDirectSound_GetOutputLevels 4627 to 4361
Moved IDirectSound_SynchPlayback 5233 to 4831
Moved CFullHRTFSource_GetCenterVolume 5558 to 5344
Moved WaveFormat_CreateXboxAdpcmFormat 4242 to 4039
Moved XAudioCreateAdpcmFormat 4242 to 4039
Moved XFileCreateMediaObject 5344 to 4361
Moved XFileCreateMediaObjectAsync 5344 to 4432
Moved XWaveFileCreateMediaObject 4627 to 4361
Moved XWaveFileCreateMediaObjectEx 5344 to 4361
Moved DSound_CMemoryManager_PoolAlloc 5455 to 4361
2017-11-18 09:14:50 +01:00
Luke Usher 94b721fc96 Add some error checking 2017-11-14 14:02:03 +01:00
Luke Usher a2c8e1152d Cleanup unused code/patches.
We don't normally remove patches, only comment them out, but these no longer compile due to the supporting CxbxMountUtilityDrive being removed completely.
I thought it best to clean up properly.
2017-11-14 14:02:03 +01:00
Luke Usher 3c0f8e1833 When an invalid partition table is detected, format/fix it.
This fixes compatibility with previous versions of Cxbx-Reloaded, that created an invalid partition table.
2017-11-14 14:02:03 +01:00
Luke Usher db54267109 Cache partitions now work as expected, with Format/Mount functions unpatched.
Note: This requires all PartitionX.bin files within %AppData%\Cxbx-Reloaded\EmuDisk\ to be deleted before this branch is executed. After this, it will work as expected without the need to do this again in the future.

There may be a way to auto-detect if we need to do this, and manually update the partition table... Will update if possible.
2017-11-14 14:02:03 +01:00
Luke Usher 98fd7fde9f More titles are starting to work again, Turok Evolution is happy now! 2017-11-14 14:02:03 +01:00
Luke Usher 66ef652cca Turok get slightly further now, but still doesn't boot properly. 2017-11-14 14:02:03 +01:00
Luke Usher ff44348081 Filesystem improvements
Turok still isn't happy.
2017-11-14 14:02:03 +01:00
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
Luca D'Amico f38a5c76e7 Implemented KeInitializeDeviceQueue for issue #64 2017-11-12 20:10:08 +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