Help - Search - Members - Calendar
Full Version: Text Nethack
OESF Forums > General Forums > General Support and Discussion > Software
rohanoberoi
Does anyone know where to get a console version of Nethack or how to persuade the available distribution to run in the console?
grog
Just do a '--force-depends' of the qpe-nethack package & use makecompat on it. If you still want ascii, then choose Game, Options, ascii_map after starting it up (or I imagine you can make a .nethackrc tto set it, haven't tried that yet).

havefun
egw
QUOTE(grog @ Jan 3 2005, 05:50 PM)
(cut)

If you still want ascii, then choose Game, Options, ascii_map after starting it up (or I imagine you can make a .nethackrc tto set it, haven't tried that yet).

*


Cool. That works pretty well. Still, it'd be nice to be able to play it in the terminal itself (that's what programs like screen are made for!) Even thought it's text-mode, a lot of things still go through the gui (e.g. wielding, wearing, etc.) Does anyone have nethack compiled without qt/x/et. al.?

Eric
egw
Hmm. Maybe I'm the only one who wanted this, but I went ahead compiled a gui-less nethack. nethack-console_3.4.3-1.ipk
There shouldn't be any dependencies.



So now with nethack, vim, ssh and screen I'm pretty well set, software-wise!

- Eric
grog
This is pretty darn cool smile.gif. Thanks for sharing. One problem, though:

CODE
root@grond[/media/card/Install_Files]# ll nethack-console_3.4.3-1.ipk
-rwxrwxrwx    1 root     root      1030462 May  4 06:32 nethack-console_3.4.3-1.ipk
root@grond[/media/card/Install_Files]# ipkg -d sd install nethack-console_3.4.3-1.ipk
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package nethack-console_3.4.3-1.ipk.
Check the spelling or perhaps run 'ipkg update'

I can install anything else, from package file or feed, just fine. Any ideas? thks
egw
QUOTE(grog @ May 4 2005, 03:28 AM)
This is pretty darn cool smile.gif. Thanks for sharing. One problem, though:

CODE
root@grond[/media/card/Install_Files]# ll nethack-console_3.4.3-1.ipk
-rwxrwxrwx    1 root     root      1030462 May  4 06:32 nethack-console_3.4.3-1.ipk
root@grond[/media/card/Install_Files]# ipkg -d sd install nethack-console_3.4.3-1.ipk
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package nethack-console_3.4.3-1.ipk.
Check the spelling or perhaps run 'ipkg update'

I can install anything else, from package file or feed,  just fine. Any ideas? thks
*


Hmm. Strange. It might be a bad ipkg (I built the ipkg manually instead of using a utility/script.) Can you untar the ipkg manually? ("tar -ztf nethack-console_3.4.3-1.ipk" or something.)

Eric
grog
QUOTE(egw @ May 5 2005, 11:43 AM)
Hmm.  Strange.  It might be a bad ipkg (I built the ipkg manually instead of using a utility/script.)  Can you untar the ipkg manually?  ("tar -ztf nethack-console_3.4.3-1.ipk" or something.)
*

That's interesting. I can open it with tar:

CODE
grog@grond[/media/card/Install_Files]$ tar -tzf nethack-console_3.4.3-1.ipk
./control.tar.gz
./data.tar.gz
./debian-binary

Whereas I have to use ar with any other package file I have:

CODE
grog@grond[/media/card/Install_Files]$ tar -tzf sudo_1.6.7p5-r2_arm.ipk
gzip: Invalid magic
gtar: Child returned status 1
gtar: Error exit delayed from previous errors
grog@grond[/media/card/Install_Files]$ ar -tv sudo_1.6.7p5-r2_arm.ipk
rw-r--r-- 1000/1000      4 Dec 19 00:14 2004 debian-binary
rw-r--r-- 1000/1000  82137 Dec 19 00:14 2004 data.tar.gz
rw-r--r-- 1000/1000    500 Dec 19 00:14 2004 control.tar.gz

I know nothing about making packages (although I need to learn), so I'm assuming that this is the problem, i.e. the pack method you used? But I did try to unpack the files from the archive with tar, recreated the same package name using ar (you have to use the ar from the binutils package), but that didn't work either. So I'm no closer.
kahm
It worked properly for me on C3k/Cacko3k.

The movement keys for the console version are annoying tongue.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.