I've noticed that parchment urls just point to an online blorb or z machine file, so I assume it just reads it in. I'm trying to find a way to play Blue Lacuna on android (for my post series), and I've been having trouble doing it. Is there any way to direct the parchment url to a file on local storage?

_________________-My IFDB name is Mathbrush, and I'm @MathBrush on Twitter.

It might work if it the gblorb is in the same folder as index.html, but web browsers are pretty temperamental when it comes to running stuff from the local file system. (The same will apply to using Quixe directly)

You can transform the zcode file to a JS-data-format which Parchment can always read from the local filesystem. (I7 does this when building a playable web page.) It's the zcode2js.py script in parchment/tools.

You can transform the zcode file to a JS-data-format which Parchment can always read from the local filesystem. (I7 does this when building a playable web page.) It's the zcode2js.py script in parchment/tools.

Correct me if I'm wrong, but doesn't that just base64-encode the binary file (so it can be represented in 7-bit ASCII)?

Ah, okay. I made a shellscript that used some creative 'sed', 'head', 'tail', and 'wc' to cut everything except the base64 string and then decoded it. Since I am on Android, python was a luxury I did not have easy access to (just busybox and a 'base64' binary I compiled).

This was for automatic decoding of encoded files, though... kinda the reverse of what you want here.

It'd probably not be hard at all to accomplish the reverse in a shellscript. Easier, even.

Who is online

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum