Commit Graph

47 Commits

Author SHA1 Message Date
Daniel S. 7afdfb5869 Lots of changes, expand to read
- Add notes folder with MDBook documentation (the NOTES.md file was getting kind of large)
- Add rz_analyze.py, does the same a r2_analyze.py just with Rizin instead of radare2 so the project can be loaded in Cutter (*and* it's faster)
- Add Scrap.rzdb, Rizin database for the Scrap.exe executable
- Add Scrapper_rs, Rust version of .packed extractor and repacker
- replace helplib.txt with helplib.md
- add Py_Docs folder which contains generated documentation for the binary python modules built into Scrap.exe
2021-01-20 23:53:14 +01:00
Daniel S. 8d92f25b8c Lots of Updates (expand for more):
- Started implementing new parser for chunked data
- Started documenting data formats
- Started dissector for network protocol
- Added AI-Graph renderer (converts .pth files to python data you can import into Blender)
- Added Script to convert savefile to JSON
- Added (old) parser for chunked data format
- Added basic parser for LFVF data section (Vertex Data)
- Added script to analyze and filter read trace generated with frida script
- Added various Frida scripts
2020-08-04 18:05:34 +02:00
Daniel S. 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
Daniel S. 48bf3773c9 Update 'ScrapHacks/README.md' 2019-12-04 10:59:49 +00:00
Daniel S. ff503da20a Update ScrapHacks README
Fix small grammar error
2019-12-04 10:58:44 +00:00
Daniel S. 9baa3a4630 Update CMakeLists.txt and README.md 2019-12-04 01:21:51 +01:00
Daniel S. 1cac557511 Add minimum python version in CMakeLists.txt 2019-12-04 00:54:20 +01:00
Daniel S. f006214af6 small formatting change in D3D8_VMT generator 2019-12-04 00:45:15 +01:00
Daniel S. 68451e1f97 Update CMakeLists.txt to search for python executable 2019-12-04 00:44:56 +01:00
Daniel S. 5a77320947 Remove .clang-format 2019-12-04 00:28:57 +01:00
Daniel S. 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
Daniel S. 37c64ea9ce Remove Injector 2019-11-29 16:10:18 +01:00
Daniel S. 005668103a Update ScrapHack.cpp: remov unused include and variable 2019-11-28 19:59:54 +01:00
Daniel S. 5f55c75a4b update ScrapHacks: remove unused VMT_Hook 2019-11-28 19:59:36 +01:00
Daniel S. d539d83648 formatting 2019-11-20 20:53:08 +01:00
Daniel S. c2e3c917ee Link against dxerr8 for error handling 2019-11-20 20:52:43 +01:00
Daniel S. 1b2232cf5d Close thread handle after starting DllInit() thread from DllMain() 2019-11-20 20:52:20 +01:00
Daniel S. 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
Daniel S. 20a4d53b22 Detach and reattach console on start 2019-11-20 20:50:31 +01:00
Daniel S. 934fd3881c move PPID function to Utils 2019-11-20 20:50:09 +01:00
Daniel S. de6b0e2814 Add D3DCheck address 2019-11-20 20:49:37 +01:00
Daniel S. 5e65eecf8b Add method to call void function 2019-11-20 20:49:22 +01:00
Daniel S. 1ac0a9955b Add Skeleton for REPL to hook into console 2019-11-20 20:48:39 +01:00
Daniel S. 5ec1635af2 Add TODO to README 2019-11-20 20:48:15 +01:00
Daniel S. eaaa372060 Simplify Injecto to find Scrapland by WindowClass 2019-11-20 20:48:01 +01:00
Daniel S. 1f83c25129 Simplyfy D3D8 Hook and enable hooking at runtime instead of only at launch 2019-11-20 20:46:58 +01:00
Daniel S. 837ff3e057 Update README.md 2019-09-05 09:15:40 +00:00
Daniel S. 9761ac261b Update CMake files to enable C++11 support 2019-09-02 22:57:20 +02:00
Daniel S. e440e99fab Update ScrapHacks README.md 2019-09-02 21:58:51 +02:00
Daniel S. a920c63d41 Auto format everything 2019-09-02 21:44:17 +02:00
Daniel S. e21faa76a1 remove precompiled headers 2019-09-02 21:40:04 +02:00
Daniel S. 738b7607b1 Update README.md,add prerequisites, build and install in one command 2019-09-02 17:06:01 +02:00
Daniel S. 37a07242b1 Added note about checksum of executable file 2019-09-01 22:54:47 +02:00
Daniel S. 7784f97820 Switch build system to CMake 2019-09-01 22:45:07 +02:00
Daniel S. aa1c8171b2 Fix Scrap.Exit-Hook 2019-03-12 23:58:05 +01:00
Daniel S. 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
Daniel S. 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
Daniel S. 9e0b2b0f1e Update screenshot 2019-03-01 20:50:38 +01:00
Daniel S. efba0894c4 Added D3D8 EndScene hooking (which currently crashes the game after some time) 2019-03-01 20:47:14 +01:00
Daniel S. 7cf3ab8580 Added function hooking
Cleaned up the injector a bit and added launch-time injection
2019-03-01 01:00:50 +01:00
Daniel S. ffbcc30427 Code cleanup 2019-02-28 17:50:52 +01:00
Daniel S. bef8fcbaaa Convert rest of files from UTF-16 to UTF-8 2019-02-27 04:57:05 +01:00
Daniel S. 941e063a19 Convert UTF-16 to UTF-8 2019-02-27 04:55:21 +01:00
Daniel S. 0461764566 Big Update
Added more functions to DLL
Simplified Injector
Added Screenshot
Added some more functions to dbg.py module
2019-02-27 01:56:10 +01:00
Daniel S. 2a30b53cfb Fix key_down() function 2019-02-23 22:47:58 +01:00
Daniel S. fe97182caa Update README.md 2019-02-23 22:44:33 +01:00
Daniel S. 91901705d9 Add DLL-Injector+ScrapHacks DLL 2019-02-23 22:40:05 +01:00