Commit Graph

103 Commits

Author SHA1 Message Date
Daniel S. 63962c95cc add Rust ScrapHacks prototype and network sniffer/parser 2023-05-07 21:36:20 +02:00
Daniel S. 58407ecc9f Add web-based .packed explorer, updated parser and ghidra untility script 2023-05-07 21:29:21 +02:00
Daniel S. 8e0df74541 Add WIP model parser (works for levels and Blender importer 2023-03-07 20:05:56 +01:00
Daniel S. 45f38885ec Add Scrap_analyze.py to locate and mark up engine vars and callbacks 2023-02-06 17:22:59 +01:00
Daniel S. b5afe0e2a5 Merge pull request 'Added script for dumping C callbacks' (#7) from Strongleong/ScrapHacks:callbacks into master
Reviewed-on: Earthnuker/ScrapHacks#7
2023-02-04 11:24:00 +00:00
Strongleong 685e0b9e53 Moved `tools/callbacks_to_md.py` to `tools/ghidra_scripts/callbacks_to_md.py` 2023-02-04 11:22:01 +00:00
Strongleong d8f4339d7b Added script for dumping C callbacks 2023-02-04 11:17:58 +00:00
Daniel S. a93a2fc63a Merge pull request 'C callbacks' (#6) from Strongleong/ScrapHacks:callbacks into master
Reviewed-on: Earthnuker/ScrapHacks#6
2023-02-04 11:17:52 +00:00
Strongleong e131f42b7d Added link to `Callbacks.md` to `SUMMARY.md` 2023-02-04 11:12:11 +00:00
Strongleong 5ed9bf7af2 Fixed typo 2023-02-04 11:10:52 +00:00
Strongleong 46c48d6a22 `/callbacks.md` -> `notes/src/Callbacks.md` 2023-02-04 11:09:50 +00:00
Strongleong 4c45dc80aa Fixed crappy markdown 2023-02-04 09:50:40 +00:00
Strongleong ce1271c202 Added list of C callbacks and their addresses 2023-02-04 09:49:25 +00:00
Daniel S. acdce64f37 Added list of engine vars in the remastered version 2021-12-14 18:44:51 +00:00
Daniel S. 9f69934a32 Add GUI version of scrapper.py, needs PyQt5 and construct 2021-05-23 03:03:37 +02:00
Daniel S. 88737f29e4 Update notes 2021-05-22 23:32:22 +02:00
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. 43c01e81d2 added purpose of CMSH block 2020-08-04 18:08:34 +02:00
Daniel S. f31467c3c6 Update chunked.md added purpose of AMC file 2020-08-04 18:07:33 +02: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. aabacafd9c Update 'README.md'
Fix typo
2020-03-03 17:14:13 +00:00
Daniel S. 3fca2cd438 fix small mistake in r2_analyze.py 2020-01-03 04:21:06 +01:00
Daniel S. 7f34e298b8 Separated configuration for analysis into YAML file 2020-01-03 04:20:18 +01:00
Daniel S. d46d725409 Remove and ignore D3D8_VMT.hpp since it's autogenerated 2020-01-03 03:26:55 +01: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. ae80b05af7 Update .gitignore and NOTES.md 2019-12-04 00:28:36 +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. 1804541acd Update NOTES.md and r2_analyze.py: add suspected address of RenderFrame() 2019-11-28 20:00:56 +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. 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
Daniel S. a0b08b7544 Add r2_analyze script to parse and label interesting stuff 2019-11-22 23:11:34 +01:00
Daniel S. d539d83648 formatting 2019-11-20 20:53:08 +01:00
Daniel S. 11f6637386 Add radare2 link to readme 2019-11-20 20:53:00 +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