dolphin_save_state
Save the complete emulator state (RAM, registers, GPU, audio, timing) to a numbered slot for rollback before risky writes or sharing reproduction cases.
Instructions
PURPOSE: Save complete emulator state (RAM, registers, GPU, audio, timing) to a numbered slot. USAGE: Rollback point before risky writes, bookmarks, repro sharing. Companion dolphin_load_state restores from the same slot. Dolphin maps slots 1-10 to F1-F10 in the GUI by default; 0 and 11-255 are programmatic-only. BEHAVIOR: DESTRUCTIVE TO TARGET SLOT: silently overwrites prior contents — no prompt, no backup. Bound to the exact game disc and Dolphin build; loading mismatched usually crashes the core. The bridge call returns when Felk schedules the save, NOT when the file is on disk. RETURNS: 'Save state triggered for slot N'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | Slot (0-255). 1-10 are mapped to F1-F10 in Dolphin's GUI. |
Implementation Reference
- bridge/mcp_bridge.py:123-124 (helper)Python bridge side: the _save_to_slot helper that calls dolphin.savestate.save_to_slot() with the slot argument, mapped in the HANDLERS dict under 'savestate.save_to_slot'.
def _save_to_slot(p): savestate.save_to_slot(p[0]); return None def _load_from_slot(p): savestate.load_from_slot(p[0]); return None - bridge/mcp_bridge.py:163-164 (helper)HANDLERS dict registration in the Python bridge mapping 'savestate.save_to_slot' to _save_to_slot.
"savestate.save_to_slot": _save_to_slot, "savestate.load_from_slot": _load_from_slot,