Skip to content

Wraith CLI

wraith.exe comes with Wraith and does what the app does, from a terminal. It’s handy for scripting, or when you’re working on a plugin.

Run wraith help for the full list.

Command Does
wraith games Lists the games from Steam, GOG, Epic and Xbox, plus ones you added
wraith games add <game.exe> Adds a game no store knows about
wraith games remove <id> Takes a game you added off the list
wraith play <id> [game.exe] Starts an installed game with Wraith in it
wraith launch <game.exe> [args] Starts an exe directly, with Wraith in it
wraith watch <game.exe or folder> Waits for the game to start, from Steam or a launcher, and goes in then
wraith inject <name or pid> Goes into a game that’s already running
wraith ps Lists running programs, likeliest games first

wraith identify <game.exe> tells you a game’s id and store. wraith exes <id> lists the exes a game could start from, for when play picks the wrong one.

Some games don’t like being injected. For those, Wraith can sit next to the game as a proxy DLL, and the game loads it however it’s started.

Command Does
wraith install <game.exe> Puts the proxy DLL in the game’s folder
wraith install <game.exe> --as dinput8 Uses another DLL name, if the game doesn’t load version.dll or another mod has it
wraith uninstall <game.exe> Takes it out again
wraith play <id> --proxy Starts a game through the proxy instead
Command Does
wraith plugins [game] Lists what’s on the hub, and what’s installed
wraith plugins install <id> [version] Installs one, or updates it
wraith plugins update Updates everything that has a newer version, and takes out any the hub pulled
wraith plugins remove <id> Takes one out
Command Does
wraith dev add <folder> Loads the plugin in that folder, besides the installed ones
wraith dev rm <folder> Stops loading it from there
wraith dev list Shows the folders you’ve added
wraith sdk js types Writes TypeScript typings for a JS plugin, with its schemas folder and any .sal you give it. Its npm run types does this for you
wraith sdk lua types Writes LuaLS types for a Lua plugin, and a .luarc.json if it has none. --globals adds the ones scripts get. The VS Code extension does this for you
wraith sdk js info Tells a build or editor about this Wraith, as JSON

After dev add, hit Rescan in the overlay’s Plugins window. See Write plugins.

wraith import ct <table.CT> [--out <folder or .rwp>] turns a table into a project. See Cheat Engine.

Made with ♥ by Asgard