?

Log in

Gnusto
 
[Most Recent Entries] [Calendar View] [Friends]

Below are the 20 most recent journal entries recorded in adventures in Javascript's LiveJournal:

[ << Previous 20 ]
Saturday, March 12th, 2011
3:00 am
[curiousdannii]
iplayif.com
In time for PAX East 2011, I've just launched Parchment's new domain: iplayif.com! Parchment finally supports Glulx games as well! Just to prove it...

It also has a fancy search thingy, allowing you to easily search hundreds of stories from the IF Archive (although you may be better off using the IFDB instead.).

As always, post bugs to the tracker. And I'll try to make it prettier soon, I promise!

Enjoy!
Monday, December 20th, 2010
10:22 am
[marnanel]
Gnusto running under QML
After about an hour I got HHGG to start up on the desktop under Nokia's QML toolkit:

http://spectrum.myriadcolours.com/~marnanel/gnusto1

As you see, I haven't fixed input (or wordwrap). I think with a fairly small bit of extra effort it'll be playable.

This has exposed a few very minor bugs in the engine; I'll be submitting patches tonight, I hope.
Wednesday, August 25th, 2010
12:31 pm
[marnanel]
"Release along with an interpreter"
So how many of you knew that (since June of this year) the command Release along with an interpreter. in Inform 7 will actually wrap the output in Parchment with Gnusto? I just discovered this.

This gives me even more impetus to work on Gnusto, after this book's done with.
Friday, July 9th, 2010
9:58 am
[marnanel]
Gnusto enhancements
I've been looking over the code of Gnusto again in recent weeks, and I have a number of ideas about enhancements I could make.  (I got so excited about some of them that I woke up at three in the morning still thinking about them.)  I thought I'd ask you which you thought was the most important.

None of these will be done (by me) in the next few months, because I'm trying to finish writing a book.  They may well be done after that.

Glossary:
  • Optimisation: I would like to instrument the existing code and find where the slow places are.  Then we can optimise them.  This includes the veneer optimisations that (I think) Dannii mentioned.  I already have a half-written patch to cache JIT code, which saves around a second on startup.
  • Desktop Gnusto: The GNOME project is switching to JavaScript as the standard scripting language, so that entire applications may be simply written in JavaScript.  It wouldn't be particularly difficult to write a desktop application around the Gnusto engine, and it would serve as a good demonstration both of JavaScript desktop applications and also of Gnusto.
  • Version 6 support: Version 6 is the graphical Z-machine.  This was planned many, many years ago.  It would be a fairly large upheaval, and there aren't too many v6 games around.  On the other hand, the scarcity of games is not unrelated to the current scarcity of terps which can run them, and it would be an impressive demonstration of the power of Gnusto.
  • TADS support: This would mean writing a whole new Gnusto engine, API-compatible with the existing one, which could run TADS v3 games.  This probably sounds more difficult than it really is, because the TADS bytecode format is fairly simple.  It would mean that any implementation of Gnusto (including Parchment) could suddenly run a large number of new games.
  • The Book of Gnusto: I already have a half-started half-written introduction to the project, but when I began writing it soon became clear that this was going to run to several dozen pages, or quite likely more.  But I really want to write up the current state, history, and objectives of the Gnusto project and put the book online somewhere.  The project is particularly thorny for new programmers to get involved with, and I believe this would be a real help.
Poll #1590099 Gnusto enhancements

Optimisation of existing engine

Mean: 8.00 Median: 9 Std. Dev 2.10
1
0(0.0%)
2
0(0.0%)
3
0(0.0%)
4
0(0.0%)
5
1(20.0%)
6
1(20.0%)
7
0(0.0%)
8
0(0.0%)
9
1(20.0%)
10
2(40.0%)

Desktop Gnusto

Mean: 7.25 Median: 8 Std. Dev 2.59
1
0(0.0%)
2
0(0.0%)
3
1(25.0%)
4
0(0.0%)
5
0(0.0%)
6
0(0.0%)
7
0(0.0%)
8
2(50.0%)
9
0(0.0%)
10
1(25.0%)

Z-machine version 6 support

Mean: 3.60 Median: 2 Std. Dev 3.07
1
2(40.0%)
2
1(20.0%)
3
0(0.0%)
4
0(0.0%)
5
1(20.0%)
6
0(0.0%)
7
0(0.0%)
8
0(0.0%)
9
1(20.0%)
10
0(0.0%)

TADS support

Mean: 5.83 Median: 6.5 Std. Dev 4.22
1
2(33.3%)
2
0(0.0%)
3
1(16.7%)
4
0(0.0%)
5
0(0.0%)
6
0(0.0%)
7
0(0.0%)
8
0(0.0%)
9
0(0.0%)
10
3(50.0%)

The Book of Gnusto

Mean: 7.00 Median: 9 Std. Dev 3.03
1
0(0.0%)
2
1(20.0%)
3
0(0.0%)
4
0(0.0%)
5
1(20.0%)
6
0(0.0%)
7
0(0.0%)
8
0(0.0%)
9
2(40.0%)
10
1(20.0%)
I also have some separate thoughts about a test suite, but I'll talk about that separately.

Those without LiveJournal accounts who would like to vote are welcome to comment, even anonymously.

Finally, anyone who would like to update the Parchment or Gnusto pages on IFWiki is very welcome to do so.
Sunday, March 21st, 2010
10:22 pm
[curiousdannii]
Big progress in Parchment land!
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/parchment
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!
Monday, October 19th, 2009
6:29 pm
[curiousdannii]
Help choose a domain for Parchment
Back in 2004 marnanel suggest having a webpage version of Gnusto - something that has now been realised through Parchment.

Up until now Parchment has been used straight out of the SVN repository, which is not really ideal for several reasons. I would like to move it to a new domain, and would like your help in picking one!
  • My first though was to choose a domain with parchment in it, perhaps parchment-if.com.
  • We could also enquire whether the Gnusto domain could be used (as marnanel suggested), though honestly this wouldn't be my preference.
  • But I now am thinking that something like play-if-online.org or playifonline.org would work better. It better describes what it is: a place to play interactive fiction online. A .org domain would be prefer purely because that's what the archive and wiki have. Sure it will detract from the Parchment brand name, but is that really a big problem? And anyway, if a better web interpreter were ever developed I'd prefer we replace Parchment with it but retain the URLs.
Thoughts?
Thursday, May 28th, 2009
2:26 am
[curiousdannii]
Gnusto at GitHub
Hi all,

I'm now developing the Gnusto engine at GitHub primarily for use with Parchment, though if someone wanted to use it again for an extension that would be great too!

We've been finding and fixing several bugs. For example, did you know that the not opcode was broken (and presumably always has been)? Well not anymore :)

The roadmap:
  • Consider making parts of the engine more generic to have compatibility with Quixe
  • Hopefully make Gnusto independent of any major libraries. Small ones like the Class and IFF will be included
  • Stop it polluting the window namespace, perhaps consider other validators or strict mode
  • Let it be used in a Web Worker
  • Add a unit test suite (planning to write a new inform assembler first though)
  • Lots more optimisations
  • Lots more fun!
Did I miss anyone out of the contributors file?

-Dannii
Tuesday, February 6th, 2007
11:48 am
[onib]
0.8 Nightly 7
WooHoo!

How did I miss Gnusto getting a new version for the first time in a year and a half?

Anyhow, I quickly downloaded it to a PC running Windows XP Professional in Firefox 2.0.0.1. I was excited to see it actually install again.

However, my excitement abated when I immediately ran into a problem with a file. First off, to test, I clicked on the link to Zork 1 in the Gnusto page that automatically comes up. I did not see any complaint, but the link did not seem to do anything. Copying the link location into the location bar did not load the page either. So, I downloaded the z5 file and opened it locally.

Locally, it showed the opening script and began to play. However, whenever the text reached the top of the window, instead of scrolling off, the game halted with the "Press any key for more..." message in the bottom left. This happened whether it was run in a tab or a window. Is there a local setting that can be changed to turn off scrolling or something else to get this working again?

Thanks again for bringing this development back to life!
Thursday, December 29th, 2005
7:59 pm
[onib]
Gnusto no longer works with new Firefox installation
I had a massive hard disk failure, so I'm reinstalling all my applications. When it came to Firefox, I immediately went to install Gnusto, but 0.7 only works up to Firefox 1.0. Also the Firefox Extension page has loads of people begging for a new version or saying they'd never have upgraded if they'd known Gnusto would stop working.

Knowing about the nightlies page, I tried installing directly from there, but 0.8 only works to Firefox 1.1. Is it easy to confirm compatability so your many fans can continue to use your excellent program?
Tuesday, May 3rd, 2005
12:49 pm
[onib]
Trinity screen pauses
I've noticed another little oddity. Infocom's Trinity uses several screen pauses for dramatic purposes. Normally, this is no problem, since Gnusto catches the output and pauses at its own screen size. However, in this game, when you go through the first white door at the beginning, Trinity writes out a message about the voice in your head talking to you as you step through the door yada yada yada, then pauses for input before printing the title screen. In Gnusto, however, the moment you step through the door, the screen wipes and displays the title screen. This seems to happen even if you shrink the Gnusto window (just in case scrolling to the bottom of the output skipped the pause). The behavior seems similar to the way Gnusto behaves oddly when you restart a game. (Does it take the line feed from the "y\m" answer to the restart question and feed it back to the beginning? I always assumed that was the case since restarted games either skipped a screen pause or complained about unknown input.)
Tuesday, April 26th, 2005
12:12 am
[naltrexone]
Release Candidate 6 (Possibly Final Bits?)
Okay folks, assuming Marn doesn't nail down a way to make untyped MIME handling work on OS X in the next day or two and you guys don't find any show-stoppers, Release Candidate 6 may actually be Gnusto 0.8.

Notable changes from RC5 are:

1. Quotation marks and certain other punctuation marks weren't being correctly handled in v3 games (as reported in by an anonymous user-- feel free to identify yourself so we can give you credit in the release notes!). That issue is resolved in this release.

2. There are some cosmetic improvements-- the 10 Most Recently Played Games list on the File menu now lists the game name first followed by the full path in parenthesis (rather than just the full path as it did before). Under the old system, games stored in deeply buried directories could appear in the list such that the name of the game itself wasn't visible. This frequently happened when playing games launched from links online as the temp file was stored in the profile-- always a deeply nested directory. Window titling is handled better, though still not ideally in all circumstances.

We've now tested under Linux the handling of links to z-code files with improper MIME types-- works fine, though you have to launch Gnusto once before it gets registered as a helper app to take care of this. Same on Windows. The feature is still disabled on OS X.

The nightly is available here.

Thanks for testing!
Thursday, April 14th, 2005
1:38 am
[naltrexone]
Gnusto 0.8 Release Candidate 5
Okay, it's another release Candidate. Getting really close, I hope. Still really need some validation under Linux.

Many thanks to demonfile, who tested RC2 and reported in some bugs, many of which are (hopefully) fixed in this release! If we had T-Shirts, we'd give you one.

This release fixes several bugs related to transcription, uses a different strategy for registering to handle z-code files served up with the wrong MIME type, and doesn't attempt to register as a Helper App on MacOS (doesn't work due to OS reasons, so we shouldn't offer).

If you open up a Gnusto window and go to the Tools Menu in that window, there should be a "Register Gnusto as Helper App" option. Choose that and Gnusto should handle z-code files regardless of reported MIME-type from then on. As usual-- give this a shot and then try clicking on this link here. If it launches Gnusto, the Helper App registration worked. If not, let us know and we'll see what we can figure out.

Update: Wow, you can tell I'm tired. I forgot to post a link to the new Release Candidate. You can download it from here. Thanks!
Sunday, April 10th, 2005
3:46 am
[naltrexone]
Gnusto 0.8 Release Candidate 2
Okay, second release candidate is ready to test. Should be mirrored out to this directory in the next few hours. I'll post a direct link in an edit in the morning. Need sleep now, though.

Only major difference from Release Candidate 1 is that it now provides visible feedback that Gnusto is handling the download when you click on a link to a z-code file.

marnanel's been testing RC1 on the Mac and it looks like the handling of incorrectly MIME-typed files may be more challenging on that platform. Some digging in Bugzilla seems to point towards it being OS-specific. Works fine on Windows, though. I suspect it works fine on Linux as well, but am still awaiting confirmation.

Enjoy!

edit: Here's a more proper link: Gnusto 0.8 Release Candidate 2
Friday, April 8th, 2005
11:15 am
[naltrexone]
Things to test in Gnusto 0.8 RC 1
Other than the usual "kicking the tires", there's two things I'd like to be sure work okay for other people-- especially Linux and Mac users (though validation on other Windows machines is good also).

  • Ability to launch Gnusto in a tab-- just make sure this works and that Gnusto behaves in reasonable ways from inside a tab.

  • Ability to launch Gnusto by clicking a link to a z-code file, even if the MIME type is set incorrectly-- be aware that you'll see no indication that anything is happening until the game is fully downloaded. But if you click on this link: Game served with wrong MIME type and Gnusto launches (without errors) it works. If it pops up a "what do you want to do with this file" dialog, it didn't.



Those are the two big questions. Any other feedback and testing is also greatly appreciated. Thanks!
11:00 am
[naltrexone]
Finally! First Gnusto 0.8 Release Candidate
Sorry for the delay! marnanel has been busy and my wife and I are expecting a baby and so have been kind of preoccupied.

So feel free to try out the Gnusto 0.8 Release Candidate 1-- I don't know that you have to uninstall 0.7 first, but it might not hurt to be safe. There's still a couple of known issues that might get fixed before 0.8 Final ships, but I suspect it could ship as-is and be fine. Nothing, to my knowledge, works worse than it did in 0.7.

New Features:
  • Fully supports z-code versions 1 and 2 games (reeeeealy old Infocom games). So now all we lack is support for z6 (the graphical one).

  • Can now run in either a tab or a separate window

  • Has a startup screen if invoked without a game (to help the unfamiliar figure out what Interactive Fiction is and point them to some games).

  • Layout and cursor fixes-- the "registration form" at the beginning of Bureaucracy now works just fine.

  • Should now launch Gnusto when clicking on links to z-code files even if they're set to the wrong MIME-type.


Known Issues:
  • Launching Gnusto by clicking on a link to a game gives no visual feedback at all until the game is fully downloaded

  • Options screen doesn't really work yet

  • Beyond Zork still locks up solid not too far into the game.

  • "Press any key" only responds to the spacebar.


I'll make a separate post with things it would be helpful for other people to test-- I don't have easy access to Linux or MacOS test machines. Thanks!
Thursday, February 3rd, 2005
1:23 am
[naltrexone]
Gnusto in the News
Very tiny is our fame, so it's always exciting when Gnusto gets noticed in the press.

Barbara Krasnoff over at the TechWeb collective of sites wrote up a lovely review of Gnusto 0.7. As extension reviews go, it's fairly in-depth. Also, it's quite positive. Barbara is now officially on our list of Extremely Cool People. She'll get a spiffy-keen Christmas card when December rolls around.

Gnusto also got a very tiny mention in an article about customizable web browsers in the New York Times. Yes, it's not much of a mention, but just seeing the word "Gnusto" in a New York Times article is mighty exciting.

Actually, if anyone has (or knows where we can get) a real dead-trees copy of the New York Times (or at least the Technology section) for January 27, 2005, we'd be grateful for any leads you might have. Likewise for the print versions of any of the TechWeb magazines that contained the "Fire Up Firefox: Our Favorite Extensions" article (probably the Dec 23, 2004 issue). Anyone who helps us out with this would also be an Extremely Cool Person. Yes, that includes a Chrismas card.
12:52 am
[naltrexone]
0.8 Release Candidate Soon...
There are still some pesky, hard-to-kill bugs we want to knock down for 1.0. But we've got plenty of improvements that are too good to shelve until then, so Gnusto 0.8 will be making an appearance soon.

In fact, some time in the next week or so, we'll be posting a release candidate to this forum for testing. We'll fill you in on a full list of features and bugfixes when we post the RC, but highlights include support for z-code versions 1 and 2, a startup page with links to games, the option to run Gnusto in a Firefox tab, some good layout and bug fixes, and some modest speed improvements.

We're hoping to release a very polished 1.0 around the same time Firefox 1.1 ships.

Thanks so much for your enthusiasm and support...
Thursday, January 13th, 2005
2:55 pm
[naltrexone]
Ramping Back Up for a Release
Yes, we stalled out a bit after the release of 0.7. But Tuesday night, I rolled up my sleeves and dove back in full-force. Full support for z-code versions 1 and 2 is now checked in to CVS. I haven't posted a test-build for others yet-- will probably hold off until we get a couple more bugfixes and features worked in.

Also, Update.Mozilla.Org has re-enabled their download counter (now with some spiffy new features). The count was a hair over 7000 downloads when they disabled the counter in preparation for the onslaught of extension downloads for the FireFox 1.0 release. On the new (reset) counter, we've now crossed the 3000 download mark. So even without the month or two around FF 1.0, Gnusto has officially been downloaded over 10,000 times. It boggles the mind...

We're looking to release Gnusto 1.0 in the not too distant future. I'll post again later with information on what to expect in the new release.

Thanks so much for using Gnusto and extra-special thanks for the testing and bug reports.

Happy New Year!
-Eric
Tuesday, November 16th, 2004
2:12 pm
[onib]
Error Message During Restores
I get the following error message every time I try to restore a saved game from within Zork 3.



This is while running Gnusto 0.7 on a Windows 2000 box with Service Pack 3.

I haven't seen this error so far on any other game.
Saturday, October 9th, 2004
11:23 am
[naltrexone]
Poll on Potential Gnusto Features
How would you rank the following potential features for upcoming releases of Gnusto (1 is very interesting, 10 is not at all interesting):

Tell Us What Features You Want HereCollapse )
[ << Previous 20 ]
Test-drive Gnusto   About LiveJournal.com