The app
On your desktop. It installs the framework and your plugins, and starts your games with Wraith in them. Find out why it exists →

The app
On your desktop. It installs the framework and your plugins, and starts your games with Wraith in them. Find out why it exists →
The framework
The mod loader inside the game. It draws the overlay and the Workbench, and runs your plugins and tweaks.
Once you’ve found the code that takes your health, this is all it takes to turn it off. Write it in the Workbench and press F8 in game.
@tweak "No damage"@key F8
@patch game.exe+0x1A2B3C expect "mov [rbx+0x98], eax" nopPlugins can do more, like have their own windows and settings. This one halves the damage you take and counts the hits.
import { addresses, hooks, ui, frame } from "wraith";
let hits = 0;const takeDamage = addresses.resolve('sig("40 53 48 83 EC 20")');
hooks.createFn("i32 (i32 damage)", takeDamage, function (damage) { hits++; return this.original(Math.floor(damage / 2));}).enable();
frame.onFrame(() => ui.window("Half damage", () => ui.text("Hits taken:", hits)));local wraith = require("wraith")local addresses, hooks, ui, frame = wraith.addresses, wraith.hooks, wraith.ui, wraith.frame
local hits = 0local take_damage = addresses.resolve('sig("40 53 48 83 EC 20")')
hooks.createFn("i32 (i32 damage)", take_damage, function(hook, damage) hits = hits + 1 return hook:original(damage // 2)end):enable()
frame.onFrame(function() ui.window("Half damage", function() ui.text("Hits taken:", hits) end)end)const TakeDamage = fn (i32) callconv(.c) i32;
fn onDamage(self: *Plugin, hook: *sdk.hooks.FnHook(TakeDamage), damage: i32) i32 { self.hits += 1; return hook.original()(@divTrunc(damage, 2));}
pub fn start(self: *Plugin, ctx: *sdk.Context) !void { const text = try sdk.Module.main().text(); const target = text.scan("take_damage", "40 53 48 83 EC 20"); self.hook = try sdk.hooks.createFn(TakeDamage, target, onDamage, self); try self.hook.enable(); _ = ctx;}Wraith and everything around it is open source on GitHub. Read the code, file issues, or send a pull request.
Wraith itself is AGPL, so anything you share that’s built on it is open too. The Wraith app, the JS SDK and the VS Code extensions are MIT. Building something closed-source? See commercial use.
Made with ♥ by Asgard