Bug 64 - Input recording and replaying
Input recording and replaying
Status: RESOLVED FIXED
Product: Ports
Classification: Unclassified
Component: Miscellaneous
tip of tree
All All
: High major
: 0.1
Assigned To: Jeffrey Pfau
: Feature, TASBlocker
Depends on: 57
Blocks: 62
  Show dependency treegraph
 
Reported: 2014-01-23 00:30 PST by Jeffrey Pfau
Modified: 2014-08-06 02:16 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Pfau 2014-01-23 00:30:12 PST
The emulator should support input recording and replaying. This will help with debugging along with supporting #62.
Comment 1 Jeffrey Pfau 2014-07-19 00:43:38 PDT
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.
Comment 2 Jeffrey Pfau 2014-07-30 01:53:03 PDT
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.
Comment 3 Jeffrey Pfau 2014-08-04 23:39:25 PDT
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.
Comment 4 Jeffrey Pfau 2014-08-04 23:46:55 PDT
Starting from a savegame is fixed in 5ee336d274fd481c9eb4eb0ee9b49d598aa4340a.
Comment 5 Jeffrey Pfau 2014-08-06 02:05:57 PDT
Restoring old branches when loading a savestate is implemented in 0389237fc6a43382aa1fce96af2d6a031d7e2ff9.
Comment 6 Jeffrey Pfau 2014-08-06 02:16:03 PDT
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.