Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation of new replays #59

Closed
sfiera opened this issue Mar 13, 2015 · 7 comments
Closed

Creation of new replays #59

sfiera opened this issue Mar 13, 2015 · 7 comments

Comments

@sfiera
Copy link
Member

sfiera commented Mar 13, 2015

Original issue 56 created by sfiera on 2011-01-02T19:40:42.000Z:

It should be possible to create new replays in the game. This is one possible pattern for how this could work:

  1. When each game is started, create a file such as "~/Library/Application Support/Antares/Recent Games/Replay 2011-01-01 at 5:38:00 PM.AntaresReplay".
  2. Append InputSource data to it at each frame.
  3. At the conclusion of each game (or on exit, or something), run a function to reap all but the ten newest replays from the "Recent Games" folder.

Some notes:

  • The current replay format is not really designed as an append-only format; it does a form of RLE to collapse sequences of identical keystrokes. An append-only dialect of the format can be simulated by appending runs of length 1 (see also [http://code.google.com/p/antares/issues/detail?id=55 issue 55]).
  • "Replay 2011-01-01 at 5:38:00 PM.AntaresReplay" is not a localized name, nor is it portable. It will have to be possible to substitute in other formatting strings, but not at the first cut.
  • Being able to view the replays is a separate issue. So is being able to convert them into video files. Both should eventually happen.
@sfiera
Copy link
Member Author

sfiera commented Mar 13, 2015

Comment #1 originally posted by sfiera on 2011-06-21T01:22:57.000Z:

<empty>

@sfiera
Copy link
Member Author

sfiera commented Mar 13, 2015

Comment #2 originally posted by sfiera on 2011-09-29T12:22:53.000Z:

<empty>

@sfiera
Copy link
Member Author

sfiera commented Mar 13, 2015

Comment #3 originally posted by sfiera on 2011-10-04T03:06:03.000Z:

<empty>

@sfiera
Copy link
Member Author

sfiera commented Mar 13, 2015

Comment #4 originally posted by sfiera on 2011-11-03T21:17:36.000Z:

<empty>

@sfiera
Copy link
Member Author

sfiera commented Mar 13, 2015

Comment #5 originally posted by sfiera on 2012-10-03T18:40:14.000Z:

<empty>

@sfiera
Copy link
Member Author

sfiera commented Mar 13, 2015

Comment #6 originally posted by sfiera on 2013-04-29T04:31:30.000Z:

<empty>

@sfiera
Copy link
Member Author

sfiera commented Mar 13, 2015

Comment #7 originally posted by sfiera on 2014-02-02T15:56:40.000Z:

<empty>

@sfiera sfiera closed this as completed Mar 13, 2015
@sfiera sfiera modified the milestone: 1.0 Mar 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant