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

32x32 tiles in Linux

110 views
Skip to first unread message

Juan Comesaña

unread,
Sep 16, 2002, 8:24:16 PM9/16/02
to
Hello to everybody. I was trying to test the Itakura's Nethack 32x32
tile (http://www.geocities.co.jp/SiliconValley-SanJose/9606/nh/diy.tgz)
in Linux. The D.I.Y. kit produces a file in BMP format, so I converted
it to XPM format using The Gimp. Well, to use it with nethack (Qt
interface) I adjusted the tile_file parameter

Hello to everybody. I am trying to use some of the Itakura's Nethack
32x32 tiles

http://www.geocities.co.jp/SiliconValley-SanJose/9606/nh/diy.tgz

with the Linux version of nethack (Qt interface). I have found some
problems, like it seems that nethack ignores the tile_file, tile_width
and tile_height options in the $(HOME).nethackrc file. So I had to move
the 32x32 tile file to $NETHACKDIR and rename it to x11tiles. Nethack
loads it but doesn't display it properly. With the X11 interface things
doesn't change a lot (well, I can especify the tiles file in
$(HOME).Xdefaults).

I imagine that the origin of the problem could be in the conversion
between BMP and XPM formats. I used The Gimp and bmptoppm | ppmtoxpm and
the results are the same.

Any idea? What am I doing wrong?

Ray Chason

unread,
Sep 20, 2002, 1:41:42 AM9/20/02
to
=?ISO-8859-1?Q?Juan_Comesa=F1a?= <juanco...@terra.es> wrote:

>Hello to everybody. I am trying to use some of the Itakura's Nethack
>32x32 tiles
>
>http://www.geocities.co.jp/SiliconValley-SanJose/9606/nh/diy.tgz
>
>with the Linux version of nethack (Qt interface). I have found some
>problems, like it seems that nethack ignores the tile_file, tile_width
>and tile_height options in the $(HOME).nethackrc file. So I had to move
>the 32x32 tile file to $NETHACKDIR and rename it to x11tiles. Nethack
>loads it but doesn't display it properly.

The Qt interface takes QT_TILEWIDTH and QT_TILEHEIGHT. I don't know
offhand how to specify the file name.


--
--------------===============<[ Ray Chason ]>===============--------------
PGP public key at http://www.smart.net/~rchason/pubkey.asc
Delenda est Windoze

Juan Comesaña

unread,
Sep 20, 2002, 5:12:52 PM9/20/02
to
Ray Chason wrote:
> =?ISO-8859-1?Q?Juan_Comesa=F1a?= <juanco...@terra.es> wrote:
>
>
>>Hello to everybody. I am trying to use some of the Itakura's Nethack
>>32x32 tiles
>>
>>http://www.geocities.co.jp/SiliconValley-SanJose/9606/nh/diy.tgz
>>
>>with the Linux version of nethack (Qt interface). I have found some
>>problems, like it seems that nethack ignores the tile_file, tile_width
>>and tile_height options in the $(HOME).nethackrc file. So I had to move
>>the 32x32 tile file to $NETHACKDIR and rename it to x11tiles. Nethack
>>loads it but doesn't display it properly.
>
>
> The Qt interface takes QT_TILEWIDTH and QT_TILEHEIGHT. I don't know
> offhand how to specify the file name.
>
>
Thanks for your answer, but QT_TILEWIDTH and QT_TILEHEIGHT only work as
scale factors. You can enlarge or shrink the tiles, but nothing else.

0 new messages