Wabere / garglk

Automatically exported from code.google.com/p/garglk
Other
0 stars 0 forks source link

Save and restore transcript #76

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is a feature request:

When saving the game also save a copy of the transcript as displayed.  When
restoring, if the transcript is present, load it so that it is as if I had
never stopped playing; I could scroll back all the way to starting the game.

The new Textfyre engine for Jack Toresal and the Secret Letter has this
functionality, and once I had it, it proved surprisingly addictive to know
I could always go back to review earlier play.   As my wife commented,
having used it once, it will be hard to go back to not having it.

Issues to consider:
- Transcripts can be large.  Compress them? Make it optional?
- Where do they go?   Does the Glulx save file format let you cram in extra
information?  It would be nice to keep portability with other interpreters.

Original issue reported on code.google.com by Alan.A.D...@gmail.com on 3 Jul 2009 at 6:21

GoogleCodeExporter commented 8 years ago
I like the idea.  Gargoyle could write out a binary copy of its scroll buffer 
along
with the saved game, and load it if present on restore.

A related issue is that the scroll buffer is not currently dynamic, and only 
captures
1024 lines.  This would have to be fixed as well.

Original comment by bcressey@gmail.com on 6 Jul 2009 at 10:12

GoogleCodeExporter commented 8 years ago
The internal representation of Gargoyle's text buffer makes this data 
problematic to store, especially when the buffer gets cleared. I am going to 
hold off on this for now.

Original comment by bcressey@gmail.com on 17 Aug 2010 at 9:09