Is the update to Inform's Parchment able to do graphics and sounds?

I am still trying to properly install and run the updated version of parchment found on the creators github but I would like to know if it’s worth it for what I want it to do, which is show graphics, and play sounds, on the complied webpage interpreter. Is that possible with the latest version?

I’m also having problems with the Parchment Site Generator, I’m was getting Error: ENOSPC: no space left on device, write when I was trying to make the single file site. Now I am getting 500 Internal Server Error anyone know a way to fix this? Thank you. :slight_smile:

Is there a way to download the Parchment Site Generator so I could use it locally?

The Parchment template for Inform 7 has not been updated with sound support yet, sorry. It has supported graphics for a long time, but Inform 7 didn’t output a Blorb meaning it couldn’t really be used.

The Sitegen site shouldn’t be showing an error like that! I’ll investigate. How big is your storyfile?

1 Like

The Parchment template for Inform 7 has not been updated with sound support yet, sorry. It has supported graphics for a long time, but Inform 7 didn’t output a Blorb meaning it couldn’t really be used.

I used the blorbtool.py mentioned in: Inform 7 Released .html not displaying images in web browser - Authoring / Inform 7 - The Interactive Fiction Community Forum and it added enabled the graphics in my HTML release from Inform 7.

But since your sitegen did support sound (although oddly not a sound/music on the opening of the game) I began using it instead.

The Sitegen site shouldn’t be showing an error like that! I’ll investigate. How big is your storyfile?

A bit over 1.5meg. :open_mouth:

Tried a smaller 600k file and still getting the 500 Internal Server Error. :frowning:

Is there any way to use it offline?

I can’t help with the other stuff, but not supporting sound/music on opening the webpage is a security feature of most web browsers. You can get past it easily by having the game start with a ‘press any key’ screen and only starting the music once the player presses a key (browsers require you to interact with a page before it can play sound).

3 Likes

If you’re okay using console scripts on Linux then this is an option: parchment/src/tools/single-file-cli.ts at master · curiousdannii/parchment · GitHub

You can set the autoplay option to false to show a Play button instead of autoplaying, which will then allow sounds to work.

1 Like

I’ll try a setting up a VM I suppose. Still getting “500 Internal Server Error” over a “nginx/1.21.6” on the site though. :frowning:

Yeah there must be something wrong that has filled up the server’s hard drive. I’ll take a look when I can.

So Docker was using all the disk space. I’m not sure what exactly was wrong, it could even have been something as simple as the logs not being capped. I didn’t solve the core problem, just cleared it all and started over (there’s no persistent state). Which should give me a year or so to find the cause before it happens again.

4 Likes