Login
Remember
IF Answers
Ask a Question

# In Quest, will save files from an older game work with a newer verison of a game?

0 votes
518 views
asked Jun 19 in Playing by lightwriter (5 points)

Let's you're playing v1.0.0 and get about halfway done and then v1.0.1 comes out, can you continue where you left off using the same file or does a save file link to a game where when you open it, it reads as the version you originally started with?

- quest
- save
- files

## 2 Answers

+1 vote
answered Jun 19 by jaynabonne (141 points)
selected Jun 19 by lightwriter
Best answer

As far as I know, a saved game contains the entire state for a game including all the code. If the author updates the original game, it will have no effect on the saved game as the saved game is, in effect, the original game plus any changes that have occurred due to it being played so far.

The updated game will only apply to a new game.

This means, among other things, that there is no way for a game author to update an in-progress game.

0 votes
answered Jun 19 by hegemonkhan (161 points)
edited Jun 19 by hegemonkhan

for the most part, yes. However, if any code lines has changed their syntax~format between versions, then you'll have to update~convert your old code lines to the new format~syntax required of them. The main change was with the list+dictionary Attributes' syntax~format.

http://docs.textadventures.co.uk/quest/upgrade_notes.html

an extremely useful link, for this very reason, hehe :D

P.S.

and you also got to change the very first~top code line in your game file, from:

    <asl version="###">

    to:

    <asl version="###">

    for example:

    from:

    <asl version="550">

    to:

    <asl version="560">

    and lastly, the quest engine only cares about the tens place, so don't do this:

    <asl version="551">
    ~OR~
    <asl version="565">

    as '<asl version="550">' covers~works_for: v550 to v559
    as '<asl version="560">' covers~works_for: v560 to v569

a game file's (*.aslx) creation tag block:

    <asl version="###">
      // your mass of game code~content
    </asl>

a library file's (*.aslx) creation tag block:

    <library>
      // your mass of code
    </libary>

commented Jun 19 by lightwriter (5 points)
I'm talking about an update to a game in quest, not an update of quest itself

## Related questions

- No option to save a .quest file?
- What's a good method when dealing with a ton of objects in Quest?
- Why doesn't clicking work in the offline Quest player?
- How do I work with lists in Quest?
- In Quest, how do I send an integer from javascript to Quest and keep it an integer?

...