Wondering if there is a FOSS downloable tool to convert other formats to HTML

Is there a tool (like the one hosted at the link below) that can run on Windows and can convert various game files to HTML?

Is there a specific game format you’re trying to convert? Parchment itself is free software, and the formats it supports (Adrift 4, Glulx, Hugo, TADS 2/3, Z-Code) represent the majority of interactive fiction being produced that isn’t already HTML, i.e. Twine.

3 Likes

I figure probably I can always rely on Parchment being there, and I have it running locally atop XAMP.

Where Parchment is able to run games of different types, conversely is there a tool I can use on Windows that can convert z3, z5, etc. to HTML?

Do you want a Windows-specific tool? I don’t think one exists since using Parchment online works well. Why do you need it to run on Windows?

I guess I don’t truly need it on Windows, I just like having backup / local copies of things I rely on.

1 Like

There’s a Node version of the site generator: parchment/src/tools/single-file-cli.ts at master · curiousdannii/parchment · GitHub

I’ve only tested it on Linux though, so it may need some adjustments to run on Windows. I’d be happy to receive a pull request if anyone ever tries that!

2 Likes

Too sophisticated for me :smiley: I do have Node installed but I’m a rank amateur in that area. I wouldn’t know how to build it. But if a Windows build comes available, I’m definitely interested.

Depending on what counts as “too sophisticated” here, the post announcing the Parchment Site Generator has a few tips, including a link to this post about a similar command-line Python tool for Inform games (ie. Glulx and Z-machine).

But since the tool itself is open source, you could also host your own web version of the original tool.

The Python script (ifsitegen.py) doesn’t do single-file output, but it does work very well. I’ve used it for all of my releases.

What’s the actual scenario you’re trying to insure yourself against here? Even if you want to ensure that you can keep playing IF if you permanently lose access to the internet, surely it would be easier just to download one of the many offline interpreters for the formats you’re interested in?

1 Like

Yeah, you’re totally right, Adam. I’ve always been a digital packrat, a collector of tools and utilities. I can’t imagine there being a actual ‘oh crap!’ situation in regard to IF tools. Although… that concept might make a fun concept for a game…

1 Like