dolphin_load_state
Restores a saved emulator state from a specific slot, overwriting all live state. Use it after saving state to revert experiments or undo changes.
Instructions
PURPOSE: Load a previously-saved state from the given slot, replacing all live state. USAGE: Counterpart to dolphin_save_state. The classic snapshot/experiment/restore loop: save_state(N) → run experiment → load_state(N) to undo. BEHAVIOR: DESTRUCTIVE TO LIVE STATE: replaces ALL current emulator state. The state file MUST come from the same game disc and same Dolphin build that produced it; loading an incompatible state typically crashes the core (no recovery without restarting Dolphin). RETURNS: 'Load 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)The Python bridge helper function that actually calls Dolphin's savestate.load_from_slot API — invoked remotely by the Node.js handler.
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