sussman / hoosegow

Muddy's plan done landed you and your partner in the hoosegow. Now you're fixing to rectificate the matter before the marshal introduces you to the business end of a hangin' rope at dawn.
Other
5 stars 0 forks source link

saved games don't work (is this a bug?) #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
tried resuming my saved game from last night (a long, meandering URL) but
it re-loaded into nothing.  link, for reference:

http://parchment.googlecode.com/svn/trunk/parchment.html?story=http://www.red-be
an.com/sussman/if/hoosegow.z8#Rk9STQAADz5JRlpTSUZoZAAAAA0ABDEwMDEyNl1yAOhEAENNZW
0AAA2fAB8ZUAAPAQD/AP8A/wC/BgAMBgALBAAHcQABEAAFLwAGEAAAAgAEowAAOgAEAgAEBwAEEAAABg
ACFQAADwAGAgAMAgAMAgAMBgAMBgAMAgAEOgADEAABBAACHgACpwACEAAABgAKEAAABhAACRAAAAYQAA
kQAAAGAAoQAAAGEAAJEAAABhAAA0EABBACBgACFQAAMQAOGgAEBgAMBgAMBgAMBgAMBgAMBgAMBgAMBg
AMBgAMBgAETQAGBgACDQAAVAAAHgAEBgAU2wAEBgACAgAAOwAEFAAABgACdQAAwgAEEAAABgACdQAAAg
AEEAAABgACdQAABgAGBgAMBgAEDwAGBgAMBgACTwAA0gAGBgAEAwAGBgACDQAAGQAGBgAMBgAMBgAMBg
AaAgACLwAAmwAGAgACLwAAXwAGAgACLwAAYAAGAgACLwAAYQAGBgAMBgAMBgAMBgAMBgAMBgAMBgAGag
AEBgACJAAATgAGBgAMBgAMBgAMBgAAEAAKBgAMBgAMBgAMBgAMBgAMBgAMBgAMAgACLwAAYgAGAgACLw
AAdgAGAgACLwAAdwAGAgACLwAAeAAGBgAMAgACLwAAeQAGBgAMBgAMBgAMBgAaAgACLwAAMgAGAgACLw
AAgQAGBgAMBgAMBgAMBgAMBgAMBgAMBgAKEAAABgAEMwAGBgACTwAATQAUBgAMAgACLwAAggAGBgAKEA
AABgACOgAAMwAGAgACLwAAewAGBgAMBgAMBgAMBgAMBgAMBgAMB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AEAAAEAAAEAAAEAAAEAAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA
8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA
8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA
8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA8AAA94AABub250cwAAYW5zIGluIGZvb2QgYm
93bAAoSgAAigD/AIsMSgxoAMQBAAAxAACKAP8A/wDJ/////wAASwAAXf////8AAEIAAGcAAD0AAHYAAH
oAAFEAAIUAAG4AAHIAAEgAAEX///////8AAGsAADr/////AAB+AACBAABXAABa//8AAFQAAGQAAE7///
//AABg//8AAIgAAIsAAJEAAJcAAJoAAJ0AAKAAAKMAAKgAAKsAALEAALT/////AAC3AAC8AAC/AADCAA
DFAADIAADLAADOAADRAADUAADXAADaAADdAADjAADmAADpAADsAADvAADyAAD1AAD4//////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////AAD7//////////8AAAsAABr///////8AAf//AAAX//8AAA
7//wAACP//AAAR/////wAABP//AAAf//////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////AACUAAAnAAAqAAAt//8AABT//w
AAjv////8AACT//////////////////////////wAA4P//////////////////////////AACu//////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////8AiQFQAAADAAJxAAAEAAABAARxAAQBAAA4AAwDAAAKAAQBAAABAA
AGAP8A/wD/AP8A/wD/AP8A/wD/AOXloeMrAC0LKwpPAF8tnC2cADXjTuUU5aHLogAB4ysAActEAA0Lrw
tpCysKxwABCk8AAQnHAP8A/wD/AP8AM9lf2VIAAdlR2VTZS9lO2U3ZQAAF2UTWu9aw1q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q2Z7ZAP8A/wD/AP8A/wD/AP8A9wwBAAH//6LZAP8A/wD/AP8A/wD/AP8A/wD/AP
8A/wD/AP8A/wD/AP8AjBRhc2sgbXVkZHkgYWJvdXQgcGxhbgD/AP8A/wD/AP8A/wD/AP8A/wD/AP8AxB
sAAFEAAEoAADoADABTdGtzAAABdAAAAAAAAAAAAOK+AP8AAAABUlIUAAEAAAACAAAAAAAAAuqEDgQHAA
EAAgAAAAUAAAABAAMAAgAAAACHCypxAAAAAAAAAAAC7UkOBAcAACpxAAAABQAAAAMAAypxAAAAAAAAAA
AAAAAAAAAC7XoEBAAAAAAAAAAAAAAAAVQpFgAHAAAAAwAAAAAAAAAAAAACuZwHBgAABQAAAtcAAAAAAA
AAAP//AAMAAAAAAAAAAAK6TBAAAAAAAOnhEAAAAAABhLQFAAcAAAFBAUIBQwAAAAACvgceAAcAAQAKAA
AAHQAAAAMABgAKAAAAAIdjOpEAAQAAAAD//wLtSQ4EBwAAOpEAAAAdAAAABgAGOpEAAAAAAAAAAAAAAA
AAAALtegAEAAAAAdSbHgABAAABQgAAAAUAAAAAAAYBQgAAAACMyR0HAAAAAAAAAu1JDgQHAAAdBwAAAA
UAAAAGAAYdBwAAAAAAAAAAAAAAAAAAAu16AQQAAAAAAA==

Original issue reported on code.google.com by dub...@gmail.com on 28 Jan 2010 at 8:51

GoogleCodeExporter commented 9 years ago
It didn't work because we pushed up a new .z8 file to red-bean.  It's a 
completely 
different executable now, so the savefile won't work.  Basically, a 'savegame' 
file is 
just a snapshot of the VM's memory state.  And now because it's a new .z8 file, 
the 
whole z-machine state is completely different from the start -- so the snapshot 
can't restore properly.

To really test this, try saving, closing the browser tab, then restoring in a 
new 
browser tab.

Original comment by suss...@google.com on 28 Jan 2010 at 9:39

GoogleCodeExporter commented 9 years ago
It restores OK in zoom, but not in parchment. I see that Ben actually brought 
this issue 
up (#88 on the parchment issue tracker) last May.

There's a big bunch of text after hoosegow.z8 in that url, and I'm not sure if 
that is 
some kind of giant hash tag identifying the saved game file or if it actually 
is the game 
state (in quetzal format?) What ever it is, it is huge, like 5216 characters. I 
don't think 
most HTTP GET's allow that large an argument to be passed, so I think we're 
getting 
hung up at that level even if everything were working.

Original comment by dhakajack on 28 Jan 2010 at 9:45

GoogleCodeExporter commented 9 years ago
That data is the base64 encoded quetzal save file. I've never had any problems 
with
it being too long. The hash isn't actually sent over HTTP remember...

A long term plan of mine is to alter the proxy server so that it will store old
versions of story files. Then if you need to restore a save file after the 
story file
has been updated, you can request the specific version it needs.

Original comment by curiousdannii on 27 Feb 2010 at 2:50