Your first tweak
This walks through the classic one, turning off the code that lowers your health.
1. Find the value
Section titled “1. Find the value”Open the Workbench with Ctrl+Home and go to Search.
- Search for your current health, say
100. - Take some damage in game, then search again for the new number.
- Repeat until only a few results are left.
- Pick them and press
Ctrl+Lto add them to the Addresses list.
Change one in the list and watch the game. When the health bar moves, you’ve got the right one.
2. Find what writes it
Section titled “2. Find what writes it”Select it in Addresses and press Ctrl+Shift+W for Find what writes this. Take damage again.
An instruction shows up, something like:
game.exe+0x1A2B3C mov [rbx+0x98], eaxThat’s the code that stores your new health. Press Ctrl+D to see it in context if you’re curious.
3. Write the tweak
Section titled “3. Write the tweak”Open Tweaks and press Ctrl+N for a new one. It starts with a commented template. Replace it with:
@tweak "No damage"@key F8
@patch game.exe+0x1A2B3C expect "mov [rbx+0x98], eax" nopUse your own address and instruction, not these.
@tweakis the name players see.@keyis the key that turns it on and off.@patchreplaces the instruction at that address with your code.expectchecks the instruction is still what you think it is. If the game updates and it isn’t, the tweak refuses to turn on instead of breaking something.nopdoes nothing. The rest of the old instruction gets filled with nops too.
4. Try it
Section titled “4. Try it”Press F8 in game, or select the tweak and press Space. Take damage. Your health shouldn’t move.
If something’s wrong, the Tweaks panel shows the problem and the line it’s on.
5. Save
Section titled “5. Save”Press Ctrl+S to save the project. Unsaved changes are gone when the game closes, crashes included.
Made with ♥ by Asgard
