Write tweaks
A tweak is a small text file that changes a game. It can patch code or give players a slider for a value, and turning it off puts everything back.
@tweak "No damage"@key F8
@patch game.exe+0x1A2B3C expect "mov [rbx+0x98], eax" nopThat’s the whole tweak. You write it in the Workbench while the game runs, and there’s nothing to build.
What you need
Section titled “What you need”- A game running with Wraith. See Install mods if you haven’t got that far.
- The Workbench. Press
Ctrl+Homein game to open it. It’s where you find things and write tweaks. - Optionally, the Wraith extension for VS Code. It’s useful for editing
.rwtfiles outside the game, with highlighting and snippets.
Players don’t need any of that. Your tweaks show up in the overlay’s Tweaks menu, where they can switch them on and change their values.
Tweak or plugin?
Section titled “Tweak or plugin?”Tweaks are for small changes to one game. If you want your own windows or something to put on the hub, write a plugin.
Where to go next
Section titled “Where to go next”- Your first tweak walks through finding something and changing it.
- Tweak files covers everything a
.rwtcan have. - Patch or inject? helps you pick how to change code.
- Finding addresses is about making tweaks survive game updates.
- Groups puts several tweaks in one file, sharing data and code.
Save your project when you’re done. See Projects.
Made with ♥ by Asgard
