mame_launch
Launch a persistent live MAME (headless + bridge) that stays active across tool calls. Required first step for any other mame_* live operations.
Instructions
Launch a PERSISTENT live MAME (headless + bridge) and keep it running across tool calls. Required before any other mame_* live tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | MAME working directory. Defaults to MAME_CWD or current directory. | |
| system | No | MAME machine short name. Defaults to MAME_SYSTEM. | |
| mameExe | No | MAME executable. Defaults to MAME_EXE or `mame`. | |
| rompath | No | ROM search path. Defaults to MAME_ROMPATH. | |
| workdir | No | Generated-script/log directory. Defaults to MAME_WORKDIR or <cwd>/.mame_mcp. | |
| bootWait | No | Seconds to wait for the bridge to become ready. | |
| stateDirectory | No | MAME -state_directory (enables load/save state). |