SCRYDOSBox-XReferenceSequencesAlso in MAME
The Sequences tools
These tools run other tools of this server for you. perform runs a list of steps in one call, and drive runs a list and then checks that the program reacted. perform_export writes the session so far as a script that replays with no model.
A step is a tool call written as an object, such as {"op": "run_for", "frames": 2}. Every tool can be a step except build_check, start, close, window, promote and the three on this page. start(plan=...) runs the same kind of list on the session it opens.
The tools
performRun a list of this server's tools in one call, in order, stopping at the first step that fails.perform_exportWrite the session's calls sincestartas a script that replays them and checks their answers, with no model.driveSend an input as a list of steps, then check the program reacted by waiting for a new line in the log.