MOTW is a mod for the game Garou: Mark of the Wolves (Steam version) that adds a enhanced training mode.
- Record and playback of inputs
- Save and load states
- Input display
- Hitbox display
- Gauge data display
- Download the latest motw.zip release from the Releases Page.
- Extract the files to any folder on your system.
- Start Garou: Mark of the Wolves and initiate a versus match (Main Menu -> Normal Mode -> Versus).
- Run
motw.exe
. - Press
Start
(pause the game) to access the enhanced training mode menu.- Inside the menu press
A
(light punch) to confirm
- Inside the menu press
- Press
F7
to quit
It works by detouring some functions of the original game, and then executing some code before and/or after the original function.
This is a scratch of the flow of the game workflow:
graph LR;
classDef event fill:#00f,color:#fff;
IS_FRAME_READY{is frame ready?};
IS_FRAME_READY -->|yes| DRAW_FRAME;
IS_FRAME_READY -->|no| READ_INPUTS;
READ_INPUTS(read inputs):::event --> RUN_OP_CODE;
RUN_OP_CODE(run OP code):::event --> IS_FRAME_COMPLETE;
IS_FRAME_COMPLETE{frame complete?};
IS_FRAME_COMPLETE -->|no| RUN_OP_CODE;
IS_FRAME_COMPLETE -->|yes| PREPARE_FRAME;
PREPARE_FRAME(prepare frame):::event --> DRAW_FRAME;
DRAW_FRAME(draw frame):::event;
When this mod run, for each event marked in blue, we detour the original:
%%{init: { 'gitGraph': {'showBranches': true, 'showCommitLabel':true,'mainBranchName': 'GAME'}} }%%
gitGraph
commit id:"detour event"
branch MOD
commit id:"do stuffs before event"
commit id:"run original event"
commit id:"do stuffs after event"
checkout GAME
merge MOD id:"event return"
Because of the detouring, Windows might think that the game is a virus.
If you trust, you can add the game to the exceptions of your antivirus.
Everything I learned about how Garou hitboxes work I owe to dammit and his scripts for MAME-rr.