Name | Description | Sample |
help | Return the list of available commands | {"commands": ["help", "version", "system", "status", "runtime", "reboot", "savestate", "restorestate", "pause", "resume", "pauseresume", "swap", "screenshot", "saveoptions", "defaultoptions", "sendkey:ctrl;alt;esc"]} |
version | Return the full version string of the emulator. | {"info":"ActiveGS Win32/Plugin v3.3.433 BETA"} |
system | Return the system variables that were set at launch. | {"currentBuild":"3.3.433", "joystickPlugged":0, "renderingEngine":"WIN32", "memorySize":2, "audioRate":44100} |
status | Return current status of the emulator. | {"vbl":11762,"speed":{"estimated":" 2.55", "target":"Normal"}, "lights":{"slot51":{"on":0,"track":34},"slot52":{"on":0,"track":0},"slot61":{"on":0,"track":0},"slot62":{"on":0,"track":0}}} |
runtime | Return current status of the emulation. | {"pause":0,"swap":0,"rewindAvailable":0, "savedState":0, "slots":[{"slot":51,"active":1,"name":"Nucleus.2mg","status":"MOUNTED"}], "joystickMode":"Keypad"} |
reboot | Reboot the emulator using the original boot slot (ie: the one from the ActiveGSXML file) | {"info":"Rebooted!"} |
savestate | Save (in-memory) the complete state of the emulator | {"info":"State Saved"} or {"error":"Feature not available"} |
restorestate | Restore a previous (in-memory) state | {"info":"State Restored","vbl":1296} or {"error":"Nothing to restore"} or {"error":"Feature not available"} |
pause | Pause the emulator | {"info":"Paused!","pause":1} or {"error":"already in pause"} |
resume | Resume the emulator | {"info":"Resumed!","pause":0} or {"error":"nothing to resume"} |
swap | Swap disk if multiple disks have been assigned to the same slot | { "info" : "disk %s inserted", "slot" : %d, name : "%s" }) or {"error":"Nothing to swap"} |
screenshot | Grab current screen and save it to disk | {"info":"Screenshot saved : %s.png","filename":"} |
saveoptions | Save current emulator options to disks | {"info":"options saved"} |
defaultoptions | Restore the emulator to its default options | {"info":"default options restored"} |
sendkey | Send key sequence to the emulator. Recognized keys are ctrl;alt;reset;esc;options | { "info" : "key sent %s"} |