I’m trying to turn an old .z5 file into a playable website that I could put on itch.io. If I were recompiling a new game I’d know how to do it, but this is an old project that I can’t easily (or maybe even at all) drop into inform and compile again.
I thought it would be a matter of finding parchment online and just pressing a button, but either it’s more complicated than I thought or else I really don’t understand the process. Is there anyone who could explain the best way for me to turn this .z5 file into something that can be played on itch.io?
It is also possible to directly convert a Z-code (or Glulx) file into “foo.zblorb.js” and copy it over the project.materials/Release/interpreter/foo.zblorb.js file in the release. This requires the Python script that’s bundled with Parchment, at github.com/erkyrath/parchment/b … code2js.py .
Thanks – this almost works! The remaining problem might be tricky, though. Everything compiles correctly, and I do end up with a playable .zblorb file. But the website version still doesn’t work. As far as I can tell, it doesn’t even load parchment, although I guess it might be loading and just not showing anything. The game uses colored backgrounds and text–would these not work with parchment for some reason?
The old parchment website at googlecode.com used to have a button where you could enter the URL of your story file, press a button, and it’d give you an URL to play it through Parchment, but that seems to have finally disappeared. Still, if you don’t to make your own website, I think you can generate a Parchment url for your file by writing iplayif.com/?story= and then putting the URL for your story file. For instance:
Since you’re not hosting this, it’s vulnerable to whatever happens at the Parchment website (for instance, the redirects from parchment.googlecode.com seem to have expired so all my ancient Play Online links are now broken). And I don’t know if this helps for loading to itch.io. So I think you’re better off doing what the other folks said, but this is what it sounds like what you were thinking of.
This almost worked, slightly more! (Took me a bit because I have never used python before.) I think the colors in the original is going to prevent this from ever being quite right, though. Now I can get the website to load the file, and run the file, but the text is just black bars (in the original it was a black background with white text.)
I really appreciate the help, anyway, even if this isn’t quite meant to be.