NetHack / NetHack

Official NetHack Git Repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change Filename $(GAME) ?

JPRuehmann opened this issue · comments

Hello
I try to make all three Versions (nethack (TTY), Xnethack (X11) and qnethack (QT4)) to install in paralell in /usr/games and /usr/lib/games/nethack/ for Kubuntu 18.04 LTS (32Bit). Therefore I need to use different Names at Compiletime. Seting the GAME=nethack directive to GAME=Xnethack in the Makefile wont help, it still compiles nethack and the Folder nethack.

Thanks,
I´ve have fund a Way to make it work.
On the way I´ve found a problem in the conf.h
All compiled Versons started with the error that they can´t find /lib/usr/games/nethackdir`` I´ve set the Path /usr/lib/games/nethack``` in the hints File.
The Problem is a Function that sets the Path if it is not set, after changing that and commenting out the Variable GAME in the conf.h and set it in the hints File it works as wished.
The next one would be to change the safe Directory to ~/.config/nethack/safe for the USER that runs the Programm.

By the Way, NCurses only work for the Terminal Version. All othe throw an Error. If it is set via .nethackrc

Found the solution, (make $(GAME)).