ppsspp_dump_texture
Dump the currently bound GPU texture from an active PPSSPP session, returning the image with format and size metadata. Use a scene that renders the target texture to avoid empty captures.
Instructions
PURPOSE: Dump the currently-bound GPU texture as an image plus metadata.
USAGE: session_id. Only the CURRENTLY bound texture — no VRAM-address targeting.
BEHAVIOR: READ-ONLY. An empty capture raises CAPTURE_EMPTY — enter a scene that renders and retry.
RETURNS: structuredContent metadata (level/file_path/size_bytes/format); the image itself arrives as an ImageContent block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Texture mipmap level (default 0). PPSSPP captures the currently-bound texture — it does NOT support capture by VRAM address. | |
| 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. |