Shackled Stones: Save? Restore?
Is there some command for saving, or is it supposed to happen automatically?In any case, something is wrong, because if I try to restart from a save slot, I end up stuck in a wall at the top left corner of the starting room.
(log in to comment)
Comments
Once the initial cutscene sequence is over, there is a convenient save point in front of the water temple.
Thanks, I'll look for it. (Would have been good to mention this in the docs, though!)
what does the 'rt' mode ?
The 'r' stands for 'read'. As for 't', I'm guessing the author meant 'text', but I don't think there's actually any such option -- text mode is the default if you don't specify 'b'. I think it works because open() ignores any characters in the mode string that it doesn't recognise.
Oddly enough, notepad++ (a text editor) tells that those files use macintosh line endings.
That seems to be because the initial state of the save file consists of a single line with no newline on the end at all. Notepad++ appears to be making a default guess of Macintosh in that case.
Yea, it was a combination of me being far removed from dev for the last 5 hours (had to go into work, something about IP rights for all the code I write here) and a communication fail within the team.
Anyway, sorry about that. Hope everything else was enjoyable and we'll do better next time!
I'm enjoying it now that I've found the save points! But there seem to be some bugs that make it extremely easy do derail the plot if you stumble upon things before you're meant to find them. For example, it seems that if you walk up to an altar in a temple, it triggers the relevant response regardless of whether you've found the corresponding stone. The first time through I think I missed about 2/3 of the content. I'm going through it again now with the walkthrough, to make sure I don't skip anything.
- It doesn't seem to be possible to get the Fire Stone out of the power station, and the walkthrough doesn't make any mention of this, telling you to go straight to the Fire Temple (which seems to work anyway due to the bug I mentioned earlier).
- The Fire Temple looks like it was meant to have more puzzles. Various things don't seem to work properly -- there's a red key that you can't pick up, a black one that seems to disappear as soon as you take it, and a door behind a hexagonal pillar that can't be reached.
- Life and Death don't seem to have any stones to find, only temples.
claxo on 2010/09/08 05:03:
There are locations to save.Looks like a round grey-white stone (the texture is animated). To be found near the beginning of each mission, also in other places, but not too common. Touching the stone you will be asked if want to save.
In windows the save-load works.
Save files are in ShackledStones\saves, named slot1.txt ...
Oddly enough, notepad++ (a text editor) tells that those files use macintosh line endings.
grep for 'slot' leads to a line when the file is loaded, (game.py line 4878), and it is
c = open('saves' + os.sep + 'slot' + str(slot) + '.txt', 'rt')
could it be a line ending problem ?
what does the 'rt' mode ?
(man, I hate when very basic things about the python language are hard to find in the docs. And the docstring :
>>> help(open)
open(...)
open(name[, mode[, buffering]]) -> file object
Open a file using the file() type, returns a file object. This is the
preferred way to open a file.
>>>
doesn't help either
)