You are not logged in.

#1 2010-03-23 14:35:28

Tiigon
Member
Registered: 2009-11-03
Posts: 65

Custom tiles in NetHack

So I have installed the nethack-x11 package from AUR and now want to use a custom tileset. I think I need to recompile it with XPM support, but how do I exactly do that? And can I use the AUR package for that? (I've had some troubles compiling the "official" source")

Offline

#2 2010-03-23 20:14:59

skualito
Member
Registered: 2008-11-19
Posts: 203

Re: Custom tiles in NetHack

I don't think you have to recompile it (but I could be wrong). To change the tileset you have to edit the file NetHack.ad which should be located in /usr/share/nethack.

NetHack.tile_file: x11tiles

By the way, to use XPM you need to edit config.h and uncomment the line

/* # define USE_XPM */

under X11_GRAPHICS section.

I made a package some time ago combining nethack-patch and the X11 interface, so one can play both ascii and tiles depending the mood. The tty interface uses the menucolor patch, hpmon patch and dump patch. Look in AUR for nethack-x11-patch. (AUR is in maintenance at the time I write)

Last edited by skualito (2010-03-23 20:16:55)

Offline

#3 2010-03-23 21:42:03

Tiigon
Member
Registered: 2009-11-03
Posts: 65

Re: Custom tiles in NetHack

Thanks, I`ll try.

EDIT: Works perfectly, thanks smile

Last edited by Tiigon (2010-03-23 21:56:15)

Offline

Board footer

Powered by FluxBB