Syntax
Arguments
Overlay directory produced by the
mkoverlay command.Config file consumed by the patcher (e.g.,
.ini file).Flags
Optional path to the game folder if required by the patcher context.
Slash-separated runtime options passed through to the patcher. Known values include:
none- No special optionsconfigless- Run without config validation
Behavior
Therunoverlay command performs live patching with the following characteristics:
Status Output
Prints real-time status to stdout:Status: ...- Current patcher stateConfig: ...- Configuration info[DLL] ...- DLL injection messages
Exit Control
- While patching or awaiting save: Exit is locked
- When idle: Press Enter to exit the process cleanly
Patcher Lifecycle
- Loads overlay from
<overlay_dir> - Reads configuration from
<config_file> - Begins live patching process
- Streams status updates
- Waits for user input to exit when idle
Examples
Run overlay with configless mode
- Loads overlay from
./Overlay - Uses
overlay.iniconfiguration - References game at
/games/LoL - Runs in configless mode (skips config validation)
- Streams status to terminal
Run overlay with default options
- Loads overlay with standard config validation
- Uses default patcher options
- Displays live patching status
Run overlay without game path
- Runs overlay without explicit game path
- Uses
noneoption (no special runtime options) - Suitable for portable configurations
Status Messages
Typical status progression:Use Cases
- Live testing: Test overlay changes in real-time without game restart
- Development: Rapidly iterate on mod development
- Debugging: Monitor patcher status and DLL injection
- Custom configs: Test different patcher configurations
- Automation: Integrate with scripts for automated testing
Exit Behavior
Safe Exit States
You can exit by pressing Enter when:- Patcher shows “Idle” status
- No active patching operations
- No pending save operations
Locked Exit States
Exit is prevented when:- Active patching in progress
- Awaiting file save operations
- DLL injection in progress
Always wait for the idle state before exiting to avoid corrupting game files or leaving orphaned processes.
Troubleshooting
Patcher Won’t Start
- Verify
<overlay_dir>was created bymkoverlay - Check
<config_file>exists and is valid INI format - Ensure game path is correct if using
--game
DLL Injection Fails
- Run with administrator/elevated privileges
- Check antivirus isn’t blocking injection
- Verify game process is running
Can’t Exit
- Wait for idle status
- Check terminal for status messages
- Don’t force-kill unless absolutely necessary