ScrapHacks/ScrapHacks
Daniel S ff503da20a Update ScrapHacks README
Fix small grammar error
2019-12-04 10:58:44 +00:00
..
.vscode 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
src small formatting change in D3D8_VMT generator 2019-12-04 00:45:15 +01:00
.gitattributes Add DLL-Injector+ScrapHacks DLL 2019-02-23 22:40:05 +01:00
CMakeLists.txt Update CMakeLists.txt and README.md 2019-12-04 01:21:51 +01:00
README.md Update ScrapHacks README 2019-12-04 10:58:44 +00:00

Prerequisites

  • Visual Studio 2017/2019 (others might work)
  • CMake
  • Python 3.6 or newer

Building

Open VS 32-bit command prompt (vcvars32.bat) and run the following two commands

cmake -G"NMake Makefiles" -B build
cmake --build build --target install

this will generate ScrapHack.pyd in ./build

Usage

  • create a lib folder next to Scrapland.exe
  • copy ScrapHack.pyd into said folder
  • open the ingame console (Ctrl+^)
  • type import ScrapHack
  • type $help
  • Done!

Notes

(this has only been tested with a (cracked/de-obfuscated) Scrap.exe v1.0 with a SHA1 checksum of d2dde960e8eca69d60c2e39a439088b75f0c89fa, other version might crash if the memory offsets don't match)