Archived from groups: rec.games.roguelike.nethack,misc.misc (
More info?)
Dylan O'Donnell wrote:
> Tiles can be up to 256 colours, though the default
> provided are sixteen-colour.
The situation is more complex than that.
Tiles that fit in the NetHack build script scheme of
"being ASCII encoded" <=> "being an image file" are
limited to the range of characters used by NetHack
in the ASCII encoded form to represent colors, which
IIRC is 16.
Tiles in general (at least in the MS-Windows
version, and Microsoft's "bitmap" format) can use
the full gamut of 24 bit color, as does the Absurd
Tile Set I use currently, they just won't work in
the encoding ring that NetHack provides forth and
back between images and ASCII representations. Thus,
more colorful tiles have to be created directly with
image drawing software, rather than built up as
ASCII and then compiled into images.
Of course, the datum that I'm using 3 byte deep
pixels might also explain why my antique WinOS98SE
won't support tiles at 64x64, but only at 56x56;
that 24 bit deep tile set consumes triple the
storage requirement of 256 color tiles.
If some ambitious person is looking for a
software project, putting into NetHack the
ability to convert tiles between 24 bit color
and Jef Pokanzer's long enduring text
representation modes for graphics (whose acronym
escapes me at the moment), might be a useful
addition, since the text forms of the tiles
could then be "compiled" to and from the various
image formats used by the different NetHack
environments, making stuff like the Absurd Tile
Set available on more platforms for NetHack.
Notice that this isn't a "do from scratch"
proposed project, such conversion software is
widely available, it is more of an "integrate
into" project.
Not that more colorful tile sets can't be
converted readily enough from format to format
by image manipulation software, but still, Jef's
pass through text encodings seems to have the
widest range of source and target image formats
available, and using it would make the
conversion process something doable in batch
mode under control of a makefile.
FYI
xanthian.