American McGee's Scrapland reversing and hacking
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel S. 48bf3773c9 Update 'ScrapHacks/' 6 days ago
.vscode Code cleanup 9 months ago
ScrapHacks Update 'ScrapHacks/' 6 days ago
lib Big Update 9 months ago
.gitignore Update .gitignore and 6 days ago
LICENSE Add LICENSE 11 months ago Update .gitignore and 6 days ago Add r2_analyze script to parse and label interesting stuff 2 weeks ago
helplib.txt Auto format everything 3 months ago Auto format everything 3 months ago code cleanup, expand REPL, Automatically generate D3D8-VMT header file from include file, made ScrapHacks importable as python module 6 days ago Auto format everything 3 months ago

Scrapland Reverse Engineering noted and tools


  • Dumps information extracted from Save file
  • Extractor and Repacker for *.packed files, needs the construct and tqdm python modules and python 3.x
    • Run -h for help
  • uses radare2 to parse and label a lot of interesting stuff in the Scrap.exe binary
  • lib/ general Script for poking around inside the game’s scripting system
    • Run import dbg inside the Game’s Console, this will load all builtin modules and enable godmode
    • The dbg module also enables writing to the ingame console using print <var> and defines two global functions s_write() and e_write() for writing to the Ingame Console’s Stdout and Stderr Stream
    • Displays the Game’s built in Debug Menu (doesn’t work properly)
    • dbg.enable_all_conv() allows you to “overwrite” any character, even if they are protected/invulnerable
    • dbg.become(name) allows you to transform into any character
    • dbg.helplib() generates a file helplib.txt in the Game’s folder containing all available Documentation for all available classes and functions
    • dbg.settrace() Logs all Python function calls together with their arguments into a dbg.txt file inside the Game’s folder


WIP Memory hacking library


Tools used: