Bugzilla – Bug 64
Input recording and replaying
Last modified: 2014-08-06 02:16:03 PDT
The emulator should support input recording and replaying. This will help with debugging along with supporting #62.
Recording and replaying from memory are implemented in 14636f5b8a73f70667932cd119fe110c3ffb26fc, but it can't be exported or imported yet. It does not yet hold onto save files or savestates, either.
As of 5ca6888840e010552b9f38501fc5594f8ccdbd73, this feature is mostly done. All that's left are the following tasks: - Marking whether or not the movie starts from a savestate or SRAM (and bundling the appropriate file) - Loading a savestate from an old branch properly records the footage but doesn't mark the branch as current - Compiling a movie into a single file is not yet implemented - Pruning branches is not yet implemented It is unknown how this interacts with the rewind buffer at the moment.
Starting from a savestate works in 82b31c46f11c81193809e26479d8699b771b1be1, although starting from a savegame is currently broken as it crashes when it tries to map the temporary file.
Starting from a savegame is fixed in 5ee336d274fd481c9eb4eb0ee9b49d598aa4340a.
Restoring old branches when loading a savestate is implemented in 0389237fc6a43382aa1fce96af2d6a031d7e2ff9.
Modulo bugs and enhancements, this feature should be done. There is now a Movies/RR component for tracking said bugs and enhancements, so I'm closing this bug.