Commit graph

80 commits

Author SHA1 Message Date
d46d725409 Remove and ignore D3D8_VMT.hpp since it's autogenerated 2020-01-03 03:26:55 +01:00
7e044f0114 Lots of changes (expand to read more)
- Update NOTES with new findings
- Add Cutter link to README
- Add ASMJIT, ASMTK and Zydis to CMake
- Make DX8 setting cofigurable via ScrapHacks REPL
- Add scaffolding for build hook trampolines using asmjit
- Add on the fly assembling of code to REPL
- Clean up command structure
- Add memory RWX to REPL
- Add stack dumping to REPL
- Add Gamevar dumping to REPL
- Add hook check to overlay commands (don't work if DX8 not hooked)
- Allow nested command definitions for cleaner REPL
- AllocConsole() as early as possible
- shuffle some code around for cleanup
- Add GameVar, PakEntry and HashIndex structures
2020-01-03 03:22:09 +01:00
48bf3773c9 Update 'ScrapHacks/README.md' 2019-12-04 10:59:49 +00:00
ff503da20a Update ScrapHacks README
Fix small grammar error
2019-12-04 10:58:44 +00:00
9baa3a4630 Update CMakeLists.txt and README.md 2019-12-04 01:21:51 +01:00
1cac557511 Add minimum python version in CMakeLists.txt 2019-12-04 00:54:20 +01:00
f006214af6 small formatting change in D3D8_VMT generator 2019-12-04 00:45:15 +01:00
68451e1f97 Update CMakeLists.txt to search for python executable 2019-12-04 00:44:56 +01:00
5a77320947 Remove .clang-format 2019-12-04 00:28:57 +01:00
ae80b05af7 Update .gitignore and NOTES.md 2019-12-04 00:28:36 +01:00
493b10e78b code cleanup, expand REPL, Automatically generate D3D8-VMT header file from include file, made ScrapHacks importable as python module 2019-12-04 00:28:14 +01:00
37c64ea9ce Remove Injector 2019-11-29 16:10:18 +01:00
1804541acd Update NOTES.md and r2_analyze.py: add suspected address of RenderFrame() 2019-11-28 20:00:56 +01:00
005668103a Update ScrapHack.cpp: remov unused include and variable 2019-11-28 19:59:54 +01:00
5f55c75a4b update ScrapHacks: remove unused VMT_Hook 2019-11-28 19:59:36 +01:00
03f04ae062 Update r2_analyze.py: Fix game_vars() extractor, extract basic blocks referencing World_Ptr, add typedefs and function signatures 2019-11-28 19:59:14 +01:00
a0b08b7544 Add r2_analyze script to parse and label interesting stuff 2019-11-22 23:11:34 +01:00
d539d83648 formatting 2019-11-20 20:53:08 +01:00
11f6637386 Add radare2 link to readme 2019-11-20 20:53:00 +01:00
c2e3c917ee Link against dxerr8 for error handling 2019-11-20 20:52:43 +01:00
1b2232cf5d Close thread handle after starting DllInit() thread from DllMain() 2019-11-20 20:52:20 +01:00
e2464653c7 remove hook wrappers and directly call Hook::addr() at the start of MainLoop(), add console redirection 2019-11-20 20:51:38 +01:00
20a4d53b22 Detach and reattach console on start 2019-11-20 20:50:31 +01:00
934fd3881c move PPID function to Utils 2019-11-20 20:50:09 +01:00
de6b0e2814 Add D3DCheck address 2019-11-20 20:49:37 +01:00
5e65eecf8b Add method to call void function 2019-11-20 20:49:22 +01:00
1ac0a9955b Add Skeleton for REPL to hook into console 2019-11-20 20:48:39 +01:00
5ec1635af2 Add TODO to README 2019-11-20 20:48:15 +01:00
eaaa372060 Simplify Injecto to find Scrapland by WindowClass 2019-11-20 20:48:01 +01:00
1f83c25129 Simplyfy D3D8 Hook and enable hooking at runtime instead of only at launch 2019-11-20 20:46:58 +01:00
8c1acb3e85 Update NOTES.md, add info about launch command line options 2019-09-08 19:18:40 +02:00
837ff3e057 Update README.md 2019-09-05 09:15:40 +00:00
9761ac261b Update CMake files to enable C++11 support 2019-09-02 22:57:20 +02:00
e440e99fab Update ScrapHacks README.md 2019-09-02 21:58:51 +02:00
a920c63d41 Auto format everything 2019-09-02 21:44:17 +02:00
e21faa76a1 remove precompiled headers 2019-09-02 21:40:04 +02:00
738b7607b1 Update README.md,add prerequisites, build and install in one command 2019-09-02 17:06:01 +02:00
37a07242b1 Added note about checksum of executable file 2019-09-01 22:54:47 +02:00
7784f97820 Switch build system to CMake 2019-09-01 22:45:07 +02:00
aa1c8171b2 Fix Scrap.Exit-Hook 2019-03-12 23:58:05 +01:00
4b6f9c520f Update NOTES and README
Fix DX8 hooking bug in ScrapHacks, deinitialize everything properly by hooking `Scrap.Exit`
2019-03-12 23:43:26 +01:00
3a9ab54240 Update Notes
Clean up DLL-Injector code
Fix Crash in DX8 EndScene Hook
Update Hook.c to change whole page protection instead of first few bytes
Add Hashtable parser and dumper
Add keyboard shortcut to toggle DX8 overlay
Add VMT Hooking (currently not working)
Add Cleanup function that gets called on DLL-Unload
2019-03-04 15:11:47 +01:00
3976fdea37 Update NOTES.md 2019-03-03 22:38:12 +00:00
5140d29ba9 Update NOTES.md 2019-03-01 20:07:46 +00:00
3b8257ca5a Update NOTES.md 2019-03-01 20:07:16 +00:00
9e0b2b0f1e Update screenshot 2019-03-01 20:50:38 +01:00
efba0894c4 Added D3D8 EndScene hooking (which currently crashes the game after some time) 2019-03-01 20:47:14 +01:00
7cf3ab8580 Added function hooking
Cleaned up the injector a bit and added launch-time injection
2019-03-01 01:00:50 +01:00
ffbcc30427 Code cleanup 2019-02-28 17:50:52 +01:00
bef8fcbaaa Convert rest of files from UTF-16 to UTF-8 2019-02-27 04:57:05 +01:00