IF Archive: Dealing with both a browser version and a story file version of the same game

I have a story file version and a browser version of the same Glulx game. The browser version (released along with an interpreter) has custom CSS and a background image, which the story file by itself does not have. And I’m trying to figure out the best place to host the browser version for online play. Does IFArchive want both versions, or should I find somewhere else for the browser version?

1 Like

What I generally do in that case is make a zip file containing both the browser version and the Glulx file, and put that on the Archive. People downloading it can use whichever one they prefer.

3 Likes

I recently did this with Absence of Law; I uploaded a zip file containing the interpreter, and it can work via the Unboxing service. I remember the volunteers said that only a few people have the ability to work with zip files, so it might take longer to process.

1 Like

As far as I’m aware, we can all work with zip files! Sometimes it takes slightly longer to check the contents of a zip than a single file, but zip files (and HTML files we zip before publishing) are a common upload format.

2 Likes

If you zip it all up together, how do you organize the files? Do you end up with two copies of the story file–one in a folder with the browser version, and one outside? How do you explain to people which file to use? (You wouldn’t be able to link to just one or the other, would you?)

I think there’s only one copy of the real glulx file. The ‘other’ one has suffix .js?

-Wade

Here’s an example, for “The Bat.”

https://ifarchive.org/indexes/if-archive/games/competition2024/#Games/THE_BAT.zip

Games/THE_BAT.zip
View contents
IFDB entry
The Bat, by Chandler Groover. Glulx. Contains story file and walkthrough.

IF Archive puts a link right next to the file, “View contents,” which shows all of the files in the zip: https://unbox.ifarchive.org/?url=/if-archive/games/competition2024/Games/THE_BAT.zip

That page has a prominent button at the top, “Open index.html,” which opens the web version. But there’s also a link there to download the gblorb. You can link directly to any of those files.

For example, on IFDB, https://ifdb.org/viewgame?id=j0sata4yi32bi2xj, someone created a separate link directly to the index.html file on the Unbox site, and that works just fine.

1 Like

Thank you!