> The first thing I wanted to do is to write a program which records a controller > stream from a game being played and writes it to a file, and it can also feed a > controller stream to a game loaded from such a file.
It already exists, it's the -record and -playback functionality.
Since you seem to want a different format, look around src/emu/ioport.cpp, the methods with "record" or "playback" in the name of the class ioport_manager.
OG.
|