Frida-based tool for hooking and reverse engineering MAGES. engine-based visual novels, mainly to aid in Impacto development.
Tested against Steins;Gate (Steam).
Inject Frida into the game somehow, I use frida-gadget alongside wine_injector.
It should also be possible to use frida-server, at least when running under real Windows.
$ npm install
# Presumes Frida has been injected as gadget into the game
$ frida -H localhost -f Gadget -l _agent.jsTo continuously recompile on change, keep this running in a terminal:
npm run watchAnd use an editor like Visual Studio Code for code completion and instant type-checking feedback.