- Home
- Technical Documentation
- Compatibility system
Compatibility system
How a mismatching game build is detected.
Two independent checks run before any mod code starts:
- The injector compares the SHA-256 of the game executable on disk with the mapping.
- 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.