We’ve just set up a new facility on the IF Archive.
Take a look at https://ifarchive.org/indexes/if-archive/games/twine/. Notice the “View contents” link on every entry. Give one a try. Hit the “Open…” button at the top (or just select “index.html”, or whatever the filename is).
Yep – you’re playing the game, right out of its zip file.
This applies to every
tar file on the Archive, whether they’re games or not. For example, in https://ifarchive.org/indexes/if-archive/infocom/articles/, you can look at the contents of
articles.zip and read the text articles. You can look at the source files in
inform636_source.zip. And so on.
What does this mean? A few things.
First, the IF Archive is now a much better place to host Twine games and other web-playable IF. Uploads will be publicly playable as well as publicly downloadable.
(This is not meant to undermine Borogove.io, which is also a place to host web-playable IF! It’s okay to have several services with different focuses.)
Second, IFDB now makes use of this service to make zipped-up Z-code, Glulx, and TADS games playable too! The iplayif.com service has never handled those, so games like Coke Is It! (
coke.zip) and Worlds Apart (
worlds.zip) did not have a “Play On-line” button on IFDB. Now, with appropriate URL magic, they do.
If you want to link to a game, you can link to the
index.html or other playable URL. This URL will look like, for example, https://0udonbkuf9.unbox.ifarchive.org/0udonbkuf9/Nouns.html. Not pretty, but it should remain permanently accessible. (As long as the file stays in the same place on the Archive. The
"0udonbkuf9" part is hashed from the path. If you upload a new version with the same filename, the linkable URL will stay the same. If you change the filename, you’ll get a new link.)
The Unboxer only works with files on the IF Archive. It’s not a universal zip-extractor for the whole internet. (That would be an abuse magnet.)
You can go to the Unbox front page and enter an Archive URL directly. Only files with
tar.Z extensions are accepted.
The source code and full documentation for Unbox are available on Github.