intfiction.org

The Interactive Fiction Community Forum
It is currently Sat May 27, 2017 6:49 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 17 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: 1843
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.

_________________
http://hanonondricek.wix.com/pyramidif


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

Joined: Thu Feb 11, 2010 1:51 pm
Posts: 707
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  
 
PostPosted: Fri May 05, 2017 9:19 am 
Offline
User avatar

Joined: Fri Sep 30, 2016 7:02 pm
Posts: 322
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  
 
PostPosted: Fri May 05, 2017 9:20 am 
Offline

Joined: Tue Dec 25, 2007 10:06 am
Posts: 1514
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  
 
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  
 
PostPosted: Mon May 08, 2017 12:37 pm 
Offline

Joined: Fri Jul 23, 2010 5:20 pm
Posts: 248
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  
 
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 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 5 guests


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