Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Poor Man's IF Player

33 views
Skip to first unread message

chipschap

unread,
Dec 23, 2009, 1:41:24 PM12/23/09
to
I'm making something available that I wrote for myself and will be of
interest to a limited audience to say the least, but I thought I'd put
it out there just in case anyone wants to have a look.

What it is essentially is a poor man's version of the Gargoyle
player. I make no pretense of having put something together anything
remotely as good as the latter, but what I wanted was a "player of all
games" that would run on small Linux distros.

This one, which I call GGZC for no real reason, has been checked out
on a couple of different generations of the Linux Ubuntu distro, and
also on Puppy Linux 4.21. running from a 2GB USB stick ... which was
the whole point; I wanted something minimalist to run in such an
environment. I would imagine it runs on other Linux distros as well,
but I don't have them set up here to test on.

GGZC will play a wide variety of IF stories/games, in a term, in the
default font, using interpreters which rely on curses/ncurses for
minimal formatting. There are a few new things here; for instance
GGZC allows you to walk up and down directory trees looking for a
file; it will allow you to look inside tars, gzips, zips, bz2, etc.,
archives, will extract the games from the archives and when done, will
fold save files back into the archive; and if it sees an EXE or BAT
file it will try to run it with DOSBOX, if available. (OK, I confess
that I wanted T-Zero on my USB installation...)

I've packaged it with Stephane Peter's excellent "makeself" so
everything--- script and interpreters--- reside in a single file. You
could view this as good or bad depending on how you look at things,
but I wanted simplicity and this provides it.

Why would you want this, when playing with Gargoyle is so much better,
and when it only works with Linux? I don't know, but if you are
interested the executable archive is found here:

http://www.bobnewell.net/filez/ggzc.zip

The full source is at http://www.bobnewell.net/filez/makeggzc.zip ,
but please only download the latter if you are sufficiently interested
as it's a bit large.

Comments, if any, to gg...@bobnewell.net . Bugs are guaranteed to
exist.

Otto Grimwald

unread,
Dec 26, 2009, 8:42:37 AM12/26/09
to
On 23/12/2009 19:41, chipschap wrote:

> Why would you want this, when playing with Gargoyle is so much better,
> and when it only works with Linux? I don't know, but if you are
> interested the executable archive is found here:


it's a good idea :)
I like to play in console mode sometimes. What I regret is on linux you
can't use nice proportional fonts in console as they only display
monospace fonts (or if you select a proportional font, it will display
it as a monospace font)

To improve your package, you could replace frotz with fizmo which
handles unicode better than frotz (ggzc doesn't display well accented
letter if you don't switch your terminal to iso8859).

chipschap

unread,
Dec 27, 2009, 4:17:03 PM12/27/09
to

> To improve your package, you could replace frotz with fizmo which
> handles unicode better than frotz (ggzc doesn't display well accented
> letter if you don't switch your terminal to iso8859).

Very good idea; I was not aware of fizmo but I was aware of how bad
French IF looked :(

I'll get hold of this and put in in the archive over the next couple
of days.

Kazuki Mishima

unread,
Dec 27, 2009, 10:03:12 PM12/27/09
to
I can't easily get Gargoyle running on my 64-bit Ubuntu 9.10 system
without using Wine, so I might give GGZC a try.

Otto Grimwald

unread,
Dec 28, 2009, 2:26:27 AM12/28/09
to
On 28/12/2009 04:03, Kazuki Mishima wrote:
> I can't easily get Gargoyle running on my 64-bit Ubuntu 9.10 system
> without using Wine, so I might give GGZC a try.

can't you use this package?

http://packages.ubuntu.com/lucid/gargoyle-free

Hannes Schüller

unread,
Dec 28, 2009, 4:08:53 AM12/28/09
to
> Why would you want this, when playing with Gargoyle is so much better,
> and when it only works with Linux?

I actually *prefer* playing on a terminal. The only problem I see is
that even the 'source' distribution comes with binary interpreters. As
far as I can see, the rest is just shell scripts. Am I right in
assuming that I can simply exchange the files in terps.zip, for example
to get it running on non i386 systems? Or did you do something special
to compile these interpreters?

Hannes

dott.Piergiorgio

unread,
Dec 28, 2009, 8:49:03 AM12/28/09
to
Otto Grimwald ha scritto:

Mah... I'll see this April how it works... but I prefer the rather
intricate kludge I done in the past, at least because somewhat actually
works....

Best regards from Italy,
Dott. Piergiorgio.

Otto Grimwald

unread,
Dec 28, 2009, 9:57:02 AM12/28/09
to
On 28/12/2009 10:08, Hannes Sch�ller wrote:

> I actually *prefer* playing on a terminal. The only problem I see is
> that even the 'source' distribution comes with binary interpreters.

I think it could make sense to get the sources with the interpreters as
sources as well, like for gargoyle.

Kazuki Mishima

unread,
Dec 28, 2009, 12:31:22 PM12/28/09
to
> can't you use this package?

I had no idea that package existed. I'm not sure I can use it yet, as
it's for the upcoming Ubuntu 10.04 (Lucid Lynx) and doesn't seem to be
available for the current Ubuntu 9.10 (Karmic Koala).

chipschap

unread,
Dec 28, 2009, 1:01:07 PM12/28/09
to
On Dec 28, 7:57 am, Otto Grimwald

That's certainly doable and logical especially now as I'm doing a
little customization (not much, but a little). I had hesitated in the
first place to redistribute interpreter source, but most of the
licenses seem to allow it. I'll repackage the source distribution
(over time, as it will take time) to include interpreter source and
builds. And yes, as noted above, the rest is just a large shell
script, nothing particular, just something I wanted to have for
distributions such as puppy linux.

BTW, as recommended, I've put in fizmo for non-English games, and
rebuilt git with glktermw for the same reason. This means that the
ncursesw library is a requirement, but it seems to be present in most
distros, certainly in Ubuntu and Puppy at least, which are the distros
I test on. I have uploaded this to the same place,
http://www.bobnewell.net/filez/ggzc.zip and makeggzc.zip.

There is the question above about running on non-i386 systems. Yes
you can swap out the interpreters in terps.zip but you do have to be
able to run a true bash shell. Great if it works, but of course it
goes beyond my very modest initial concept and purpose, which was
something small and relatively simple to run on a Puppy Linux bootable
USB stick--- and that remains my purpose, as Gargoyle is otherwise
better in every way.

Otto Grimwald

unread,
Dec 28, 2009, 1:30:16 PM12/28/09
to
On 28/12/2009 18:31, Kazuki Mishima wrote:

> I had no idea that package existed. I'm not sure I can use it yet, as
> it's for the upcoming Ubuntu 10.04 (Lucid Lynx) and doesn't seem to be
> available for the current Ubuntu 9.10 (Karmic Koala).

doesn't it work if you download it individually and install it with dpkg
or other package management facility?


Kazuki Mishima

unread,
Dec 29, 2009, 10:06:17 AM12/29/09
to
On Dec 28, 1:30 pm, Otto Grimwald

<contact_is_on_webs...@anamnese.fr.st> wrote:
> doesn't it work if you download it individually and install it with dpkg
> or other package management facility?

It does! Yay! Why hasn't this been added to the Karmic repository, I
wonder?

Dannii

unread,
Dec 29, 2009, 6:42:44 PM12/29/09
to

Karmic had already been released when it was added.

Adam Thornton

unread,
Dec 29, 2009, 9:35:27 PM12/29/09
to
In article <3e98a334-8c1e-4490...@v25g2000yqk.googlegroups.com>,

chipschap <chip...@gmail.com> wrote:
>BTW, as recommended, I've put in fizmo for non-English games, and
>rebuilt git with glktermw for the same reason. This means that the
>ncursesw library is a requirement, but it seems to be present in most
>distros, certainly in Ubuntu and Puppy at least, which are the distros
>I test on. I have uploaded this to the same place,
>http://www.bobnewell.net/filez/ggzc.zip and makeggzc.zip.

I would just point out that there is a reason I built the CLI Inform
distribution to not even assume a cursor-addressible terminal. s390 and
s390x, if you're running on the console, for instance, do not. My ARM
platform in so far as it has a console at all usually uses a serial
link. (Of course, I can telnet or ssh to it and use a virtual vt100,
which DOES allow me to use curses, but that means the network has to be
up.)

Now, you can point out that that's not a way any sane person would run
Inform, and you would be right. But having something that speaks only
to a stdio stream does give you something that you can trivially plug
into something else, be it a chatbot or a screen reader or whatever.

>There is the question above about running on non-i386 systems. Yes
>you can swap out the interpreters in terps.zip but you do have to be
>able to run a true bash shell. Great if it works, but of course it
>goes beyond my very modest initial concept and purpose, which was
>something small and relatively simple to run on a Puppy Linux bootable
>USB stick--- and that remains my purpose, as Gargoyle is otherwise
>better in every way.

And if you're booting from a USB stick then you probably can assume x86
or x64 and a cursor-addressible terminal.

Adam

vaporware

unread,
Dec 29, 2009, 10:31:46 PM12/29/09
to
On Dec 29, 6:35 pm, a...@fileserver.fsf.net (Adam Thornton) wrote:
> In article <3e98a334-8c1e-4490-bfa4-e4997e98f...@v25g2000yqk.googlegroups.com>,

>
> chipschap  <chipsc...@gmail.com> wrote:
> >BTW, as recommended, I've put in fizmo for non-English games, and
> >rebuilt git with glktermw for the same reason.  This means that the
> >ncursesw library is a requirement, but it seems to be present in most
> >distros, certainly in Ubuntu and Puppy at least, which are the distros
> >I test on.  I have uploaded this to the same place,
> >http://www.bobnewell.net/filez/ggzc.zipand makeggzc.zip.

>
> I would just point out that there is a reason I built the CLI Inform
> distribution to not even assume a cursor-addressible terminal.  s390 and
> s390x, if you're running on the console, for instance, do not.  My ARM
> platform in so far as it has a console at all usually uses a serial
> link.  (Of course, I can telnet or ssh to it and use a virtual vt100,
> which DOES allow me to use curses, but that means the network has to be
> up.)

Can't you use VT100 emulation over serial? That's how the real VT100
connected.

vw

Adam Thornton

unread,
Dec 30, 2009, 1:07:34 AM12/30/09
to
In article <d8b36673-07b5-4fe3...@m16g2000yqc.googlegroups.com>,

vaporware <jmc...@gmail.com> wrote:
>Can't you use VT100 emulation over serial? That's how the real VT100
>connected.

If I were using a VT100 rather than a Silent 700, sure.

Adam

chipschap

unread,
Dec 30, 2009, 10:29:12 AM12/30/09
to
I'm just now uploading the new "source" package which really has
source and is about 7 MB:

http://www.bobnewell.net/filez/makeggzc.zip

It was an interesting experience compiling all 11 interpreters, which
only increases my admiration for Gargoyle (which has I think 13 or
more).

I appreciate Adam's comments about further simplicity, but I just
don't have the time to attempt it.

Continue to think of GGZC as hackish, because, well, it is; but I use
it, as I've said often, on my bootable Puppy Linux USB stick. (I
bought a PQI which is extra tiny and extra stealthy, also extra easy
to lose-- a complete OS and IF library on something smaller than my
thumbnail,)

chipschap

unread,
Dec 30, 2009, 10:31:31 AM12/30/09
to

> If I were using a VT100 rather than a Silent 700, sure.

With the thermal printing paper, shades of 1977? I'm old enough to
remember when that was the latest and greatest.

Adam Thornton

unread,
Dec 30, 2009, 9:38:07 PM12/30/09
to
In article <c5c3ced8-c2bc-475b...@e27g2000yqd.googlegroups.com>,


Yep, thermal paper.

Oooh, that smell.

Adam

Gene Wirchenko

unread,
Dec 31, 2009, 12:56:55 AM12/31/09
to

You hear a rustling in front of you.
Never mind; it is just the output.

Sincerely,

Gene Wirchenko

chipschap

unread,
Jan 7, 2010, 4:07:11 PM1/7/10
to
One last word here. I've taken this further than is sane (but sanity
is not an object for me!) and have developed GGZC a little more; I'm
now going to have to set it aside for at least the near future, so
release 0.95, even if I still consider it alpha, is as far as it
goes.

I've added

1) the ability to play from and save to password protected zip
archives
2) the JACL interpreter (making 12 interpreters in all)
3) a PDF manual, about 13 pages long (rather wordy for a minimalist
system)

There are numerous other cleanups and bug fixes and no doubt some
fresh new bugs too.

Once again the executable is at http://www.bobnewell.net/filez/ggzc.zip
and the manual explains where to get full source code, including the
interpreter source.

I also have a page about GGZC on my web site, http://www.bobnewell.net
. Follow the games link.

The GGZC executable is about 1.2 MB with all of the interpreters and
scripts, and is a very compact way to play a large variety of
interactive fiction in console mode.

chipschap

unread,
Nov 6, 2011, 12:56:34 AM11/6/11
to
Since I posted 'ggzc' not quite two years ago, little has happened until now. I've updated the 'git' interpreter and the glktermw library, and added some new stuff like game play history to allow an easy return to one of a stack of recently played games. This is now version 0.992 and is guaranteed to have bugs.

The play package is at http://www.bobnewell.net/filez/ggzc.zip

The source is at http://www.bobnewell.net/filez/makeggzc.zip

and both of these will be silently updated as (and if) I fix bugs. I'll also resubmit the play package to the I-F archive as soon as I'm sure it's more or less stable.

GGZC is "the poor man's interactive fiction player" and is described in all too much detail in the messages earlier in this thread.
0 new messages