ppsspp_dump
Captures the currently bound GPU texture or CLUT palette as an image with metadata, aiding debugging of PPSSPP rendering.
Instructions
PURPOSE: Dump the currently-bound GPU texture OR CLUT palette as an image plus metadata.
USAGE: kind='texture' → the bound texture (level selects mipmap; PPSSPP captures the currently-bound texture — it does NOT support capture by VRAM address); kind='clut' → the bound palette (level must be 0).
BEHAVIOR: READ-ONLY. An empty capture raises CAPTURE_EMPTY — enter a scene that renders (texture) or uses the palette (clut) and retry.
RETURNS: structuredContent metadata (kind/level/file_path/size_bytes/format); the image itself arrives as an ImageContent block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | What to capture from the CURRENTLY bound GPU state (no VRAM-address targeting): 'texture' = the bound texture (use level for mipmap); 'clut' = the bound CLUT palette. | |
| level | No | Texture mipmap level (default 0). kind=texture only — a non-zero level with kind=clut is rejected. | |
| session_id | Yes | Active session ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Texture mipmap level dumped. | |
| format | Yes | Image format ('png' or 'jpeg'). | |
| file_path | Yes | Path where image was saved. | |
| size_bytes | Yes | Decoded image size in bytes. |