intfiction.org

The Interactive Fiction Community Forum
It is currently Sat Nov 18, 2017 2:37 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Thu May 04, 2017 10:53 am 
Offline

Joined: Tue Nov 08, 2011 8:11 am
Posts: 2228
Location: US - Central
I look forward to this tutorial as well - in general, I'd love to learn how to make Inform's playable website into a contained app. Fluid will do this with the push of a button on OSX, but the developer isn't keen that people distribute what they make with it.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu May 04, 2017 2:16 pm 
Offline
User avatar

Joined: Thu Feb 11, 2010 1:51 pm
Posts: 745
Location: Chicago, Illinois, USA
Juhana wrote:
A big part of that decision is also the fact that Emscripten (the software that compiles the interpreter from C to JavaScript) generates code that automatically requires a server, and changing it would be a lot of work.


I'm confused by this. Wouldn't you use Quixe instead of the Emscripten generated code? What am I missing?

_________________
David C.
http://www.plover.net/~dave/blog
http://www.ifpress.org

"It boots nothing to avoid his snares, for they are ever beset by other snares." - The shade of High Lord Morham, The Wounded Land - Second Chronicles of Thomas Covenant.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri May 05, 2017 9:19 am 
Offline
User avatar

Joined: Fri Sep 30, 2016 7:02 pm
Posts: 404
Location: USA
I notice that this uses Git interpreter and CheapGlk - https://github.com/vorple/Git/commit/bc ... abeebbc75b

Is the Git interpreter modified to tell Vorple that a file is closed (to call vorple.fileClosed function)? Are there other mods to Git?

_________________
Glulx interpreter Android apps are in open beta testing! Three apps to watch for: Incant!, Thunderword, and Thunderword enhanced Text Fiction.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri May 05, 2017 9:20 am 
Offline

Joined: Tue Dec 25, 2007 10:06 am
Posts: 1526
DavidC wrote:
I'm confused by this. Wouldn't you use Quixe instead of the Emscripten generated code? What am I missing?

That is also a very good question! Vorple replaces Glk almost completely, except for printing plain text, reading input and, for compatibility with existing code, bold and italic text formatting. Git with CheapGlk provides exactly that with no changes needed to Git and only minimal hooks in CheapGlk. Quixe+GlkOte on the other hand is a (nearly) full implementation of Glulx/Glk so I would have to rip out most of the unnecessary stuff and maintain a fork. With Git I can use the main repository directly with no extra work or maintenance required.

Another reason is that HugoJS uses the same setup (C interpreter as the engine) and shares the same interpreter interface (called Haven) which means that any updates to the interface automatically apply to both interpreters.

And finally, on some browsers Git is 2-3 times faster than Quixe. That means that performance won't be a bottleneck for any Counterfeit Monkey-sized project that does expensive calculations (compared to offline interpreters). A big project like that could distribute the game in an executable that uses Firefox to run it and it would be almost as fast as with a native Git interpreter.

The only downside is that the engine's filesize is 1.6 Mb compared to Quixe's ~0.5 Mb, and even that isn't that bad unless you're on a very slow mobile connection. And of course that it can't run directly from the filesystem.

_________________
BlogTextureVorple


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon May 08, 2017 6:23 am 
Offline

Joined: Mon May 08, 2017 6:21 am
Posts: 2
That sounds great!

By the way: what about Inform6 support?

Thanks in advance ;).


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon May 08, 2017 12:37 pm 
Offline

Joined: Fri Jul 23, 2010 5:20 pm
Posts: 257
Hi Sothoth! The I6 libs are essentially done, I just need to test them all, but it shouldnt take too long (core seems to work nicely). I'm hoping to have that done by next weekend. I'll probably be the maintainer for these, so don't hesitate to get in touch :)

_________________
http://hlabrande.fr/if


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon May 08, 2017 2:48 pm 
Offline

Joined: Mon May 08, 2017 6:21 am
Posts: 2
mulehollandaise wrote:
Hi Sothoth! The I6 libs are essentially done, I just need to test them all, but it shouldnt take too long (core seems to work nicely). I'm hoping to have that done by next weekend. I'll probably be the maintainer for these, so don't hesitate to get in touch :)


Superb! Thank you very much, mulehollandaise :). I'm interested on it very much.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Jun 25, 2017 4:06 pm 
Offline

Joined: Fri Jul 23, 2010 5:20 pm
Posts: 257
The preview version of the Inform 6 librairies for Vorple 3 is now available on Github!

Every feature from the I7 libs has been ported, and every single example has been adapted. The names of the functions are mostly the same, so a lot of things should be backwards-compatible with the previous version, but expect to need to adapt some things. There are a couple of small bugs (for instance a sometimes incoherent number of new lines printed), which I logged on the repository's tracker. Please play around with it and let me know if you encounter any other problems!

Keep in mind that Vorple 3 is only compatible with Glulx (whereas the previous version was only Z-Machine compatible). If you really want to keep it Z-Machine, the old version of the librairies is still available on my Bitbucket.

Happy Vorpling!

_________________
http://hlabrande.fr/if


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group