ScrapHacks/ScrapHacks
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
..
.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 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
.clang-format 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
.gitattributes Add DLL-Injector+ScrapHacks DLL 2019-02-23 22:40:05 +01:00
CMakeLists.txt 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
README.md 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

README.md

Prerequisites

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

Building

Open VS 32-bit command prompt (vcvars32.bat)

mkdir build
cd build
cmake -G"NMake Makefiles" ..
mkdir bin
cd bin
cmake --build .. --target install

this will drop the compiled files into ./build/bin

Usage

  • create a lib folder next to Scrapland.exe
  • copy ScrapHack.pyd into said folder
  • open the ingame console (Ctrl+^)
  • type import ScrapHack
  • 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)