American McGee's Scrapland reversing and modding
Find a file
2017-10-08 00:03:48 +00:00
lib Added lib/dbg.py 2017-10-08 01:37:53 +02:00
NOTES.md Created NOTES.md 2017-10-07 23:13:42 +00:00
parse_save.py Update parse_save.py to use PrefixedArray and PascalString 2017-10-08 00:03:48 +00:00
README.md Updated README.md 2017-10-08 01:37:07 +02:00
scrapper.py Added scrapper.py and parse_save.py 2017-10-08 01:35:50 +02:00

Scrapland Reverse Engineering notes and tools

Scripts:

  • parse_save.py: Dumps information extracted from Save file
  • scrapper.py: Extractor and Repacker for *.packed files, needs the construct python module and python 3.x
  • Run scrapper.py -h for help
  • lib/dbg.py: 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
  • dbg.menu() Displays the Game's built in Debug Menu (you can't exit it though)
  • 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