intfiction.org

The Interactive Fiction Community Forum
It is currently Fri May 24, 2013 9:51 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Feb 05, 2011 11:58 am 
Offline

Joined: Thu May 20, 2010 9:33 pm
Posts: 479
I made a brief game using Ron Newcomb's "Output Filtering" extension (which allows one to directly manipulate the game's output before it gets printed to the screen, and does a bit of its own grammar/linespacing-tidying). It works fine in Zoom and Spatterlight, but when I tried playing it via Parchment, all the line breaks show up as asterisks, like so:
Quote:
Sidewalk*You're just rising out of a particularly productive streak at work, but now you have a problem: you seem to have forgotten to eat lunch. Or breakfast. Or dinner yesterday. In fact, you're so hungry that you can feel yourself ceasing to make any sense.**You're (conveniently) on a sidewalk in front of a convenience store.**

(That's http://parchment.googlecode.com/svn/tru ... /Sugar.z8# in case you're curious.)
Compiling to glulx and playing it with Quixe works fine as well. ( http://eblong.com/zarf/glulx/quixe/quix ... er=Play+it! )

So it seems that the problem is somewhere in the interaction between the output filtering and Parchment -- possibly the extension is replacing line breaks with a different character that Parchment doesn't recognize? Is there anything I can do about it?


Top
 Profile Send private message  
 
PostPosted: Sat Feb 05, 2011 2:00 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 2086
This is an old Parchment bug, having to do with writing newlines to a memory stream. It's fixed in the Parchment source repository.

I'm not sure what the easiest way is to get it into your web site, though. (My Parchment web sites aren't generated directly from I7; I hacked them together long ago and update them irregularly.)


Top
 Profile Send private message  
 
PostPosted: Sat Feb 05, 2011 8:47 pm 
Offline
User avatar

Joined: Wed Oct 14, 2009 4:02 am
Posts: 963
Oops, I didn't know it wasn't up to date! I've just updated it now.


Top
 Profile Send private message  
 
PostPosted: Sun Feb 06, 2011 1:07 pm 
Offline

Joined: Thu May 20, 2010 9:33 pm
Posts: 479
Excellent, thanks!


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 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