Retrieve loaded ROM name, hash, frame count, memory domains, active domain, and available features. Use to confirm system state and capabilities before other emulator operations.
Write up to 4096 bytes to emulator memory starting at a given address. Use for seeding cheat tables, patching code blocks, or restoring memory after experiments.
Enables AI agents to interact with terminal-based TUI applications by capturing visual terminal output as PNG screenshots and simulating keyboard input through a virtual X11 display.
Reads RetroArch emulator status: playing/paused state, loaded system, game basename, and CRC32. Required before toggling pause or frame advance to verify current state.
Write a 32-bit little-endian value to emulator memory for cheats and pokes. Overwrites four bytes at the specified address with no undo; save state first if rollback needed.
Save the complete emulator state (RAM, registers, GPU, audio, timing) to a numbered slot for rollback before risky writes or sharing reproduction cases.
Press a PSP button for a set number of frames and automatically release it. Ideal for discrete actions like skipping cutscenes or confirming menu selections in the emulator.
Retrieve loaded game metadata—title, serial, disc CRC, game version—and emulator run state in a single call. Identify disc releases with serial and CRC. No side effects.
Read a 16-bit little-endian value from emulator memory at a specified address. Use for game-state values like HP, score, or coordinates that occupy two bytes.