NetHack: one of the best games ever.
I find xnethack default tileset rather ugly. Under Debian/Ubuntu (nethack-x11 package), the tileset file must be in XPM format. It's configuration is in the /etc/X11/app-defaults/NetHack file with the default xpm: /usr/share/pixmaps/nethack/x11tiles.
The file must be in XPM format, with a limited size and different color number, otherwise Nethack loading time explodes (several minutes).
Here is how to change it on Debian / Ubuntu:
- Example: on http://www.multifoliate.com/nh/, get the
chozo32b.zipfile (link: NetHack 3.4.2 (32x32) (modified by me)). Extract it to getchozo32b.bmp. - Open it with Gimp, cut it to 1280x864 (to delete the black at the bottom). You can then convert it to 256 colors, then save it as XPM. It works but it's ugly.
- To get a better result, save it to PNG.
- Install
imagemagickpackage, thenconvert -depth 5 chozo32b.png chozo5.png - Open chozo5.png with Gimp. Then save it to XPM format.
- Edit
/etc/X11/app-defaults/NetHackand replace/usr/share/pixmaps/nethack/x11tileswith the path tochozo5.xpm. - Then, reload X ressources:
xrdb -merge /etc/X11/app-defaults/NetHack - Start your favorite game:
xnethack
The final gzipped file: chozo5.xpm.gz
Notes:
convertalways saves xpms in 256 colors. I don't know why.head image.xpmgives you the first lines of the XPM file, with number of different colors.- Abigada tileset is by default in NetHack iPhone version.
Links:
