DeltaLoaderDocs
  1. Home
  2. Technical Documentation
  3. Compatibility system

Compatibility system

How a mismatching game build is detected.

Two independent checks run before any mod code starts:

  1. The injector compares the SHA-256 of the game executable on disk with the mapping.
  2. The mod's bridge compares the SHA-256 again inside the process and checks every byte signature of the mapping against the running code.

If either check fails, sw_mod_start() is not called and the console names the reason. This is intentional: a wrong address would corrupt the game, while a refused start only costs you a wait.

A patch that changes game code (for example the version label) checks the bytes at the patch site first and refuses on a mismatch.

Documentation for game build 1.15.26. Found a mistake? Open an issue.