Build and test¶
Build the hybrid executable¶
The build compiles every function marked replacement or matching, checks
that it fits its original slot, patches a local copy of the executable, and
verifies the result.
Expected summary:
HYBRID text is normal because reconstructed functions changed. A failure
about bytes outside declared slots is not normal and must be fixed before
testing.
Recheck without compiling¶
Install in the sandboxed Eden setup¶
Close the running game, then run:
This copies the generated mod to:
Start TOTK 1.0.0. Eden's log should report:
That proves the hybrid executable loaded. It does not prove every replacement was executed or behaved correctly.
If the game fails¶
- Close Eden.
- Disable or remove the
totk-decompmod directory. - Confirm the unmodified game still boots.
- Change new functions back to
researchone at a time. - Rebuild and retest to isolate the failing replacement.
Never solve a slot overflow by blindly increasing its CSV size: that may overwrite the neighboring original function.