Check connectivity to RetroArch's Network Control Interface and return the RetroArch version string to confirm the UDP transport is operational before issuing other commands.
Reads RetroArch emulator status: playing/paused state, loaded system, game basename, and CRC32. Required before toggling pause or frame advance to verify current state.
Retrieve a single RetroArch configuration value by parameter name via the Network Control Interface to access filesystem paths and settings without manually parsing the config file.
Display a single-line notification overlaid on the RetroArch window for debug output, progress markers, or user alerts. The message fades out after the configured timeout.
Load a save state from a numbered slot without altering RetroArch's current-slot pointer. Use to access specific bookmarks while preserving ongoing save location.
Write byte sequences to emulated game memory via the libretro core's memory map for cheats, debug pokes, and state mutations. Returns the number of bytes actually written.
Step emulation forward one frame at a time while paused. Use for precise input timing, animation inspection, or letting emulation initialize after a reset.
Trigger a soft reset of the running game, equivalent to pressing the console's reset button, to restart from the reset vector. Unsaved progress is lost.
Capture a PNG screenshot of the current emulator display and save it to RetroArch's configured screenshot directory. Use to verify game state or inspect visible effects of control commands.