Hi all!
I've just pushed some major changes to the live version of Parchment, resulting from merging in the library branch to the master branch!
What does this mean?
Well the biggest change is that the VM launcher code has all been rewritten, along with the file downloader. This means that raw story files can now be loaded directly in modern browsers. I have begun working on cross domain loading as well, though that will be harder.
The second more minor though potentially more useful change is that the default story file is now easy to change. Doing so is as simple as adding one of these lines to your parchment.html:
<script>parchment_options = { default_story: './story.z5' };</script>
<script>parchment_options = { default_story: [ './story.z5', './story.z5.txt' ] };</script>
If you can base64 encode your file, use the second option to specify it as the backup (for older browsers which cannot directly load the raw file.)
Finally, together with Zarf we have fixed some of the longest existing bugs. With the development of a new Z-Machine unit test we will hopefully be able to catch and fix bugs quicker in the future.
You can download the updated files from GitHub: http://github.com/curiousdannii/pa…
To use Parchment on your own website grab parchment.html, parchment.css and the lib folder.
Thanks for your support, and keep watching for more exciting changes in the future!