intfiction.org

The Interactive Fiction Community Forum
It is currently Sat May 25, 2013 11:29 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Unix interpreters
PostPosted: Thu Apr 28, 2011 8:00 am 
Offline
User avatar

Joined: Wed Sep 01, 2010 1:50 am
Posts: 785
Location: Sydney, Australia
What's the state of glulx interpreters for unix/linux? Especially sound-capable ones?

I'm doing compatibility tests for my sound and graphics-using glulx game and at the front of the game, I want to give a list of sound+graphics capable interpreters for Mac, Windows and Unix. I'm not sure what to say for Unix. My research isn't turning up reliable answers (nor ones I can test. It's the only system I don't have.)


Top
 Profile Send private message  
 
 Post subject: Re: Unix interpreters
PostPosted: Thu Apr 28, 2011 8:08 am 
Offline
User avatar

Joined: Wed Oct 14, 2009 4:02 am
Posts: 963
At the very least, make sure it runs in Gargoyle. Really, that goes without saying for all platforms. :P


Top
 Profile Send private message  
 
 Post subject: Re: Unix interpreters
PostPosted: Thu Apr 28, 2011 8:39 am 
Offline
User avatar

Joined: Wed Sep 01, 2010 1:50 am
Posts: 785
Location: Sydney, Australia
Heh. So... are you saying, Gargoyle runs on Unix too and it sports sound?


Top
 Profile Send private message  
 
 Post subject: Re: Unix interpreters
PostPosted: Thu Apr 28, 2011 8:57 am 
Offline
User avatar

Joined: Tue Apr 20, 2010 2:48 pm
Posts: 688
severedhand wrote:
Heh. So... are you saying, Gargoyle runs on Unix too and it sports sound?

It was written primarily for Unix so how could it not run there? ;)


Top
 Profile Send private message  
 
 Post subject: Re: Unix interpreters
PostPosted: Thu Apr 28, 2011 9:32 am 
Offline
User avatar

Joined: Wed Sep 01, 2010 1:50 am
Posts: 785
Location: Sydney, Australia
You guys may know all this, but random strangers like me don't :)

Gargoyle's homepage doesn't have the word Linux anywhere -

http://ccxvii.net/gargoyle/

and neither does the downloads page:

http://code.google.com/p/garglk/downloads/list

I went to IFArchive too, where I saw some older versions for Unix, but then I didn't know if they had sound, or if sound was a recent addition.

In conclusion, I had no idea where Gargoyle came from, but now I do - a little bit. I still wouldn't want to have to field a quiz on the subject of its origins.


Top
 Profile Send private message  
 
 Post subject: Re: Unix interpreters
PostPosted: Thu Apr 28, 2011 9:44 am 
Offline
User avatar

Joined: Wed Oct 14, 2009 4:02 am
Posts: 963
That's because they're listed here: http://code.google.com/p/garglk/wiki/Packages

If you haven't got a linux install, and you care about ensuring it works, you should really get yourself a linux install! Through much ingenuity you can even install distributions like Ubuntu as Windows programs: http://www.ubuntu.com/download/ubuntu/windows-installer


Top
 Profile Send private message  
 
 Post subject: Re: Unix interpreters
PostPosted: Thu Apr 28, 2011 12:19 pm 
Offline

Joined: Tue Apr 27, 2010 1:02 pm
Posts: 797
I believe Gargoyle is the only Glk implementation on Unix that supports sound, and apart from Spatterlight it is also the only one for OS X.

For best results when using Ogg, your sound files should be in stereo and have a 44.1 kHz sample rate, 16 bit samples. Other formats will work but will get piped through the SDL_sound conversion routines, the results of which are passable but deeply unsatisfying. (Sample rate conversions represent the worst case scenario.)

This is a Gargoyle-ism that I hope to eliminate at some point in the future. SDL development has picked back up recently and the forthcoming SDL_sound 2.0 is supposed to have its own mixer capabilities.

I know it's bad form to encourage authors to work around library limitations and I apologize for that. David Kinder's mantra of "fix the interpreter!" is appropriate and definitely applies here. But I haven't been able to find a good alternative to SDL that works reliably on the target platforms, so the best I can do for now is to point out that there's a "ideal" format for sounds played by Gargoyle and let you make the call.


Top
 Profile Send private message  
 
 Post subject: Re: Unix interpreters
PostPosted: Thu Apr 28, 2011 12:45 pm 
Offline
User avatar

Joined: Tue Apr 20, 2010 2:48 pm
Posts: 688
Vorbis for audio is a good idea anyway, regardless of platform or interpreter. It's high fidelity at low size. MP3 makes zero sense anymore.


Top
 Profile Send private message  
 
 Post subject: Re: Unix interpreters
PostPosted: Thu Apr 28, 2011 12:55 pm 
Online
User avatar

Joined: Wed Feb 03, 2010 4:25 pm
Posts: 264
Location: Sweden
bcressey wrote:
I haven't been able to find a good alternative to SDL that works reliably on the target platforms,

I use OpenAL with Alure. It may be overkill for Gargoyle, but I find it works well on all platforms. It was a bit of a hassle to compile on Mac (but so are many libraries that's started on Linux - universal binaries is not something they expect), but otherwise I've had no problems and my engine (SLUDGE) runs on all three platforms.

_________________
"The thing I like about deadlines is the wonderful whooshing noise they make as they go past."
- Douglas Adams


Top
 Profile Send private message  
 
 Post subject: Re: Unix interpreters
PostPosted: Thu Apr 28, 2011 1:03 pm 
Offline

Joined: Tue Apr 27, 2010 1:02 pm
Posts: 797
Thanks for the pointer. I'll check it out. Do you happen to know if it works on PPC / OS X 10.4?


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

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