ppsspp_gpu_record
Capture the next rendered frame's GE command stream as a binary dump file for debugging GPU rendering in PPSSPP sessions.
Instructions
PURPOSE: Capture the next rendered frame's GE command stream as a binary dump file.
USAGE: session_id. The CPU must be RUNNING — a paused GPU never flips a frame; the MCP pre-probe converts that into a clean CPU_STATE_ERROR.
BEHAVIOR: READ-ONLY. Captures to a binary file under output/gpu_dumps/ (not JSON).
RETURNS: {size_bytes, file_path, raw, text}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Active session ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | Yes | Raw `gpu.record.dump` response metadata from PPSSPP. | |
| text | Yes | Unified text representation: 'dumped {N} bytes → {file_path}'. | |
| file_path | Yes | Local file path where the dump was auto-saved (.ppsspp-dfx/output/gpu_dumps/<timestamp>.dump). Empty if the dump was empty or save failed. | |
| size_bytes | Yes | Size of the decoded GE command dump in bytes. 0 if PPSSPP returned no data (e.g., no game running, or timeout). |