Jay's home page ·
Jay's iPAQ Linux page
xmahjongg for iPAQ Linux

One thing I really missed from my Palm when I switched to the
iPAQ was Tan Kok Mun's
PalmJongg (since renamed P-Jongg, presumably because Palm's trademark
lawyers are jerks :-). So I was delighted to find a port of
Eddie Kohler's
xmahjongg for the iPAQ - the file
xmahjongg_3.0b_arm.ipk at
http://ipaq.geekserve.org/ (Damien Tanner's feed, although I'm not sure he buil the
ipk himself).
Unfortunately, that package was built against an older version
of the C++ library than the current
Familiar distribution ships with, and whether for that reason or for
some other reason it generally crashes only a few moves into a
game. So I rebuilt
the
xmahjongg binary myself from source, and it works.
Update 2002.01.06: Thanks to quite a lot of help from Eddie Kohler, I've constructed
smaller versions of all the UI elements, so everything fits on
the screen - buttons, counter, and little yellow pips that tell
you how many matches there are currently.
I've also worked a bit on some tilesets. I don't have anything
I'm quite happy with yet; when I do, I'll put together a complete
ipk with this binary and a few tilesets. In the meantime, if
you're jonesin' for Mah Jongg, you can install my binary on top
of the
ipk from Damien's feed like so:
- Install
xmahjongg_3.0b_arm.ipk from Damien Tanner's feed at
http://ipaq.geekserve.org/.
- Grab the binary I built from
http://www.aq.org/~js/ipaq/xmahjongg/xmahjongg-arm4l.bin and replace
/usr/games/xmahjongg on your iPAQ with it. (This now has the smaller buttons
and digits.)
- If you're going to be starting it from the menu, you'll probably
want to adjust
/usr/lib/menu/xmahjongg to use the small tileset by default, and then run
update-menus. (The
/usr/lib/menu/xmahjongg that's included by default uses a tileset that's way too big
for the screen.) My
/usr/lib/menu/xmahjongg says:
?package(xmahjongg):needs=X11 section=Games title="Mah Jongg"
command="/usr/games/xmahjongg -t real-mini"
- You might also want to install one (or more) of the tilesets
I'm working on, to supplement the
real-mini tileset included in Damien's
ipk. These should go in
/usr/share/xmahjongg/tiles on your iPAQ. (Note - these are GIF files. You'll need
to tell your browser you want to download them rather than just
displaying them.) These are not quite ready for prime-time,
but they're usable.
-
jaybasic-20x28.gif is kind of austere-looking, and I'm not done with it. Some
of the tiles are just mock-ups, or stolen from the
gnome.gif tileset. It's just a bit too wide for the screen if you're
running
ion, but playable.
Here's a screenshot.
-
simple12x20.gif is partly inspired by the tileset that originally came with
Tan Kok Mun's PalmJongg - the tiles are extremely simplified to
conserve space. They're a bit small for the iPAQ screen (but
that means you can use wide layouts if you like).
Here's a screenshot.
-
mini-gnome.gif is just the
gnome.gif tileset that comes with
xmahjongg shrunk by 50% (in both dimensions). I find it a bit more
legible than
real-mini.
Here's a screenshot.
And that should do it.
Jay Sekora
<js+ipaq@aq.org>
last modified 2002.11.06