However, I’m unable to set up the HTML file to use the z5 file with this said distribution of Parchment.
Am I missing a crucial step here?
Do I need a different file obtained from the z5 file to use Parchment in an offline manner?
If so, how do I get that file from my current z5 file?
I’ve tried to do stuff with Parchment, but it doesn’t like being offline. I know Parchment creates a file on the fly, to load into the web browser. I think you might be able to make it yourself though. I forget how. When I set it up, I had to have the page on my site, not offline. I did have it working offline once, a while ago, but not anymore. Yeah, they changed something.
Okay, in that case basically get the Parchment code (not Parchment for Inform 7), and then edit the HTML to add a parchment_options object, as specified at Options · curiousdannii/parchment Wiki · GitHub
The only required option is default_story but you might like to add some of the others as well.
To have it work offline from a file: URL in Chrome, you’ll need to generate a JS version of the storyfile. See this topic for a few ways to do that:
BTW, this is an example of a no longer working ZIP file distribution that uses an (admittedly) old version of Parchment to play a Mansion.z5 file through an HTML file (MansionP.html is the proper file)
It’s trying to load the storyfile directly, which isn’t possible from a file: URL in Chrome. So Parchment then tries to give the Parchment proxy a relative file path, which won’t work. MansionP.html might work in Firefox, but it’s probably designed for being uploaded to a webserver.
Also, there’s no need to put a signature. We can see your username above your post, thanks!
The proposed solution worked perfectly and I have used it to update all of my Inform 6 ZIP distribution files (10 different works in spanish) wich are now online on my IF web.