Commit Graph

4302 Commits

Author SHA1 Message Date
x1nixmzeng 0259feb0a9 Break correctly on breakpoint exceptions
Suspend was previously called which would trace at the wrong location
2018-04-18 00:52:01 +01:00
x1nixmzeng e0e2c434d2 Cleanup of data and assembly patches
Now encapsulates patched memory differently to Cheat Engine which
doesn't actually support auto-assembly like I assumed
2018-04-18 00:25:45 +01:00
ergo720 0e250a9d8a Small updates + use HDkey provided by the user if possible 2018-04-18 00:08:55 +02:00
jarupxx 2342dae79a OOVPA : Add for LTCG D3DDevice_SetIndices 2018-04-17 18:34:35 +09:00
Luke Usher 50b6f333de
Merge pull request #1071 from PatrickvL/prepare_d3d9_port
Prepare d3d9 port
2018-04-17 08:05:51 +01:00
ergo720 50b8a0e42b Fixed RSA implementation 2018-04-17 00:26:29 +02:00
PatrickvL b22d681559 More D3D9 conversion:
* add additional arguments to functions that need them
* use newly available types where possible
* enable D3D9 porting preparations inherited from Dxbx
2018-04-16 14:03:17 +02:00
PatrickvL 4ca78e947d Add Debug_Direct3D9 build configuration, specifically to be able to build for Direct3D9 while keeping the Direct3D8 code paths intact. 2018-04-16 13:18:47 +02:00
PatrickvL 6777c7d6ab Copied over d3d9 include files from June 2010 DirectX SDK 2018-04-16 13:17:35 +02:00
x1nixmzeng 5012078a35 Added variable watch from memory view 2018-04-15 22:54:22 +01:00
PatrickvL e2395e6a04
Merge pull request #1063 from LukeUsher/rdtsc-requency-hack
HACK: Alternate method of handling Performance Counter
2018-04-15 08:01:21 +02:00
ergo720 ecbab4fdec SHA1 implementation (SHA1 works, but RSA still doesn't) 2018-04-14 23:20:14 +02:00
Luke Usher 95ad62c409 Oops, forgot to add resource files 2018-04-14 18:22:55 +01:00
Luke Usher 31c328ab3e Fix an off-by-one patch error 2018-04-14 17:34:23 +01:00
Luke Usher fe8b2764f3 Remove left-over debug line 2018-04-14 17:33:56 +01:00
Luke Usher b6c1f5b714 HACK: Alternate method of handling Performance Counter 2018-04-14 17:30:47 +01:00
patrickvl 39789fe54f More porting work 2018-04-14 17:49:50 +02:00
PatrickvL 7490221b14 Groundwork for a potential port to Direct3D 9 2018-04-14 15:30:34 +02:00
x1nixmzeng 00020a1d1a Automatically load local CT files
Also fixed the debug title event, adding it to the titlebar
2018-04-14 00:39:18 +01:00
x1nixmzeng a99c919367 Additional support for common datatypes 2018-04-14 00:15:59 +01:00
x1nixmzeng 51ef652f94 Support for disabling breakpoint groups 2018-04-13 23:56:36 +01:00
x1nixmzeng 3b16f2672d Support display preferences 2018-04-13 23:40:55 +01:00
x1nixmzeng 0308b5cea3 Support for memory editing single bytes
Very rough, but useful for skipping debug interrupts
2018-04-13 23:23:56 +01:00
x1nixmzeng 8856bbc76f Cleaner CT version check 2018-04-13 22:35:41 +01:00
x1nixmzeng 90758466b7 Updated to icon resource 2018-04-13 22:35:17 +01:00
ergo720 96dc895916 Dump in the logs xbe signature info 2018-04-13 23:18:45 +02:00
x1nixmzeng 182d22854d Breakpoint logging 2018-04-13 21:48:59 +01:00
x1nixmzeng 2d01a4815b Minor additions to CT parser
Supports some known older versions too
2018-04-13 21:48:16 +01:00
Luke Usher 389ec4fb80
Merge pull request #1060 from PatrickvL/PS_fix_constant_modifier
Pixel shader fix
2018-04-13 19:59:44 +01:00
Luke Usher 5dd735e55f
Merge pull request #1058 from PatrickvL/Refactor_CreateHostResource
Refactor CreateHostResource
2018-04-13 19:54:55 +01:00
x1nixmzeng abff5b0781 Added basic cheat loader UI 2018-04-13 18:40:38 +01:00
ergo720 99770ffea6 Finished xbe header and section hash verification 2018-04-13 19:19:12 +02:00
x1nixmzeng c6968ebb8a Added parser for CT files
Early support for Cheat Engine memory tweaks
2018-04-13 18:16:13 +01:00
ergo720 ac8b798c66 Finished RSA decryption 2018-04-13 16:40:11 +02:00
PatrickvL a77967cd92 Pixel shader : Avoid modifiers on constant registers, by moving these to a temporary register (and apply the modifier when reading that) 2018-04-13 16:20:08 +02:00
ergo720 0b972c7989 Added support to read rsa key provided by the user 2018-04-12 22:19:45 +02:00
patrickvl 9fd4194adf Log test cases 2018-04-12 20:41:06 +02:00
PatrickvL 8ed749dc08 Fixes to get Burnout in-game with this code 2018-04-12 18:17:01 +02:00
PatrickvL 94d955c817 Post-rebase fixes 2018-04-12 15:32:39 +02:00
PatrickvL 0b25a736a9 Refactored CreateHostResource 2018-04-12 15:13:06 +02:00
jarupxx 6c977ec426 Add patch for LTCG optimized functions
- D3DDevice_SetVertexShaderConstant_8
- D3DDevice_SetPixelShader_0
- D3DDevice_SetTextureState_BorderColor_4
2018-04-12 20:31:01 +09:00
PatrickvL 6b6f6265f5
Merge pull request #1057 from LukeUsher/update-d3d8to9
Update D3D8to9 to latest master
2018-04-12 12:45:50 +02:00
PatrickvL 793354701f
Merge pull request #1056 from PatrickvL/take_two
Take two on preparing unswizzling for 3D
2018-04-12 12:45:17 +02:00
Luke Usher 8464447009 Update D3D8to9 2018-04-12 10:19:39 +01:00
patrickvl 49c670a6cb I was wrong - destination pitch is not a problem, it's just that one unswizzle call must still use source pitches, because it's an intermediate step 2018-04-11 23:51:31 +02:00
PatrickvL 8b16287c73 More notes 2018-04-11 23:51:29 +02:00
PatrickvL 6a4ece315a Unswizzling turns out to require SOURCE pitches (not destination pitches), or otherwise buffer-overflows cause crashes (not to speak : incorrect results).
This does bring to light another special case : when source and destination pitches differ - this isn't handled yet, but at least it now gets logged!
2018-04-11 23:51:29 +02:00
PatrickvL 318f11c4d5 Prevent crash on call to ConvertD3DTextureToARGBBuffer 2018-04-11 23:51:28 +02:00
PatrickvL a488ab0a8a Tuned CxbxGetPixelContainerMeasures, ConvertD3DTextureToARGBBuffer, ConvertD3DTextureToARGB, CreateHostResource 2018-04-11 23:51:28 +02:00
PatrickvL 654dc1bfc9 Added missing depth argument to ConvertD3DTextureToARGBBuffer call, and
reordered unswizzle arguments
2018-04-11 23:51:28 +02:00