Commit Graph

3158 Commits

Author SHA1 Message Date
RadWolfie fd28748b0f Improve Detection
- Add missing CDirectSound_GetCaps detection for 4361 xdk titles and
later.
- Changed CDirectSound_SynchPlayback patch to xref for 5558.
2017-10-18 20:46:38 +01:00
RadWolfie 0891a74ac2 Couple fixes to comments and a TODO task.
- Removing 8 from DirectSound8's comments for DSound.1.0.5233.inl
- Added a TODO message for 2 different OOVPA signature for same
functionality.
2017-10-18 20:46:37 +01:00
RadWolfie 3a18fe1cb1 Removing Duplicate Patch Function 2017-10-18 20:46:37 +01:00
RadWolfie 022b61b97d Adding IDirectSoundBuffer_Unlock in HLEDB v1 Section 2017-10-18 20:46:37 +01:00
RadWolfie 443e0987ed Implement IDirectSoundBuffer Unlock OOVPA
Verified Unlock does exist in xbe file and is in used. Even though xbox
doesn't handle it directly. It will allow fix audio issue especially
Turok Evolution's XADPCM backgrounc music. Yet is not fully fixed...

On side note... Xbox dashboard is calling Unlock function?!?!
2017-10-18 20:46:37 +01:00
jarupxx b68e9bb90b Move a comment in Rollback support signature section 2017-10-18 20:46:37 +01:00
jarupxx 2a5009d5a2 Fixed XREF name
Plus fixed IDirectSoundBuffer_SetHeadroom 4134 OOVPA
2017-10-18 20:46:36 +01:00
jarupxx 9f33a1f4b7 Improved DSound OOVPA
Also
- Merged alias DSound OOVPA
- Renamed IDirectSoundBuffer_StopEx v5233 to IDirectSoundStream_FlushEx
2017-10-18 20:46:36 +01:00
jarupxx 16639a0500 Improved similar DSound OOVPA 2017-10-18 20:46:36 +01:00
RadWolfie e921d48299 Fix False Positive for XRefs
Since EmuLocateFunction force to add into XRefDataBase array table. It
will only add inside EmuRegisterSymbol function while
EmuLocateFunctionV2 does not.

This method changed numberous false positive to a lot fewer false
positive depending on OOVPA using rollback sig or not.
2017-10-18 20:46:36 +01:00
RadWolfie 525b1ea7af Add Missing OOVPA Patch
Also include rollback alias.
2017-10-18 20:46:35 +01:00
RadWolfie 4107f52e92 Typo Correction
Plus add rollback message header.
2017-10-18 20:46:35 +01:00
RadWolfie 05392878f4 2 New DSound OOVPA v3936
Add 2 New OOVPA 3936 for...
- CDirectSoundBuffer_SetConeOrientation
- CDirectSoundBuffer_SetConeOutsideVolume
Moved 2 4134 to 3936 compatible
- IDirectSoundBuffer_SetConeOrientation
- IDirectSoundBuffer_SetConeOutsideVolume

Tested against Blood Wake and Simpson - Road Rage titles. However Halo
Combat Evolved do return false positive for 2 new signatures (I think).
2017-10-18 20:46:35 +01:00
RadWolfie ee4cc619f8 Improve and Detect Duplicate
For on-going verification to verify any signatures are duplicate or not.
Works as intended base on several titles outputing duplicate messages.
2017-10-18 20:46:35 +01:00
RadWolfie b8e32f2ede Whoops
Forgot to add this addition to able compile HLEDB v2 build.
2017-10-18 20:46:35 +01:00
RadWolfie 625ebe9c78 Append to Previous Commit 2017-10-18 20:46:34 +01:00
RadWolfie 16a3a99baa First Draft of DSound DB Merge
Not tested with all titles, some may will regress anyway.

Plus removed extra "extern"s since they are not necessary in .cpp file.
2017-10-18 20:46:34 +01:00
RadWolfie f780398df3 PatrickvL's HLEDB v2 structure 2017-10-18 20:46:34 +01:00
RadWolfie 9e18bee934 DSound HLEDB Cleanup
Cleaning cluster aliases, re-naming to correct function names, and found
certain signature do match lower XDK version.
2017-10-18 20:46:34 +01:00
PatrickvL e305ff48bb Merge pull request #768 from LukeUsher/xbe-loading
Xbe loading & FileSystem Tweaks
2017-10-18 20:33:32 +02:00
Luke Usher 04e14338d0 Abort with an error if any preload section fails to load 2017-10-18 16:41:33 +01:00
Luke Usher 58939f8297 XeUnloadsection should return STATUS_SUCCESS on success 2017-10-18 16:41:13 +01:00
Luke Usher 1613b5d9a6 Create a .bin file for each partition, which is used for direct HDD partition header access
Dashupdate.xbe progresses further with this, now it attempts to format the partitions but fails due to incomplete implementation of DeviceIoControlFile (Specifically IOCTL_DISK_GET_DRIVE_GEOMETRY and IOCTL_DISK_GET_PARTITION_INFO
2017-10-17 23:17:18 +01:00
Luke Usher f4573d097a Fix an issue caused by DesiredAccess not being correctly set when FILE_SYNCHRONOUS is used in CreateOptions 2017-10-17 23:14:13 +01:00
Luke Usher d2514874de Attempt to prevent Share Violation errors 2017-10-17 23:13:21 +01:00
Luke Usher 0fb6a72ffd Fix a compiler warning in Xbe.cpp 2017-10-17 23:12:57 +01:00
Luke Usher 4b35db183c Xbe Loading Improvements
- Rather than copying the entire Xbe into the xbox address space, we
copy only the header
- Only sections marked as 'preload' are loaded at boot time
- All other sections are loaded/unloaded on demand by the running title,
via calls to XLoadSecton/XUnloadSection
- Fixed an off-by-one error in Xbe section name parsing
- Fix an incorrect assumption that section names are always
8 characters null-terminated. They are 9 characters, null padded
2017-10-17 17:25:03 +01:00
RadWolfie 853eea7bdb Merge pull request #764 from ergo720/hlecache
Fix #746 issue
2017-10-11 14:43:07 -05:00
ergo720 aedf8df158 Slight improvements 2017-10-11 21:27:31 +02:00
ergo720 5a13c67b54 Fix for issue #746 2017-10-11 20:14:37 +02:00
PatrickvL 5d1d8f109c Merge pull request #763 from ergo720/crash-fix
Crash detection implementation
2017-10-10 22:17:58 +02:00
ergo720 90f885e9bb Slight improvements 2017-10-10 19:22:15 +02:00
ergo720 fe7ef86561 Crash detection implementation 2017-10-10 14:47:30 +02:00
Luke Usher 6a798ad55e Merge pull request #761 from LukeUsher/jsrf
Reinstate JSRF Hack
2017-10-08 19:01:32 +01:00
Luke Usher 68a7f8ab07 Reinstate JSRF hack
This is implemented a little differently than before, it no longer disabled an entire function but instead initialises the X_DEVICETYPE_GAMEPAD structure a little differently.
2017-10-08 18:57:36 +01:00
Luke Usher 5b412d4020 Don't report symbol names if the Xbe crashed outside of the xbox memory space 2017-10-08 18:54:16 +01:00
PatrickvL 94a2ddae66 Merge pull request #760 from LukeUsher/xbe-fix
Fix an issue where Cxbx-Reloaded would crash outright rather than show an error when an XBE failes to load
2017-10-08 13:20:51 +02:00
Luke Usher cc55f79063 Fix an issue where Cxbx-Reloaded would crash outright rather than show an error when an XBE failes to load 2017-10-08 12:08:29 +01:00
PatrickvL 3bbfcfe63a Merge pull request #757 from ergo720/childwnd
Fix for issue #730
2017-10-08 08:34:40 +02:00
ergo720 5abdf9ca01 Alternative implementation to fix issue #730 2017-10-08 02:03:55 +02:00
Luke Usher 3e85721974 Merge pull request #759 from LukeUsher/master
Fix an issue where titles not making use of Input APIs would crash
2017-10-07 17:42:14 +01:00
Luke Usher f710970b0b Fix an issue where titles not making use of Input APIs would crash 2017-10-07 17:40:25 +01:00
Luke Usher d742c88c37 Merge pull request #755 from LukeUsher/xapi-debug
Split SetupXboxDeviceTypes into a function and add better logging.
2017-10-05 21:30:24 +01:00
Luke Usher c6e2cfdd03 FIx Input in Far Cry Instincts 2017-10-05 20:57:04 +01:00
Luke Usher c9b36b250c Fix an issue where GetTypeInformation was not being registered for 4432 and 5788 2017-10-05 20:15:54 +01:00
Luke Usher f4291b2ed2 Split SetupXboxDeviceTypes into a function and add better logging.
This could help to identify problems from Debug logs.
2017-10-05 09:13:08 +01:00
Luke Usher 05661be44b Fix some compiler warnings and feedback: DeviceTypes should have been xbaddr 2017-10-04 15:11:58 +02:00
Luke Usher 55b0fb8483 Finish XGetDevices and XGetDeviceChanges implementations
JSRF hack removed!
2017-10-04 15:11:58 +02:00
Luke Usher 2b06bb5a59 Derive Gamepad Structure from XAPI functions 2017-10-04 15:11:58 +02:00
Luke Usher 3db0931518 Add OOVPA for GetTypeInformation 2017-10-04 15:11:58 +02:00