Author Topic: Text Nethack  (Read 3439 times)

rohanoberoi

  • Newbie
  • *
  • Posts: 22
    • View Profile
Text Nethack
« on: January 02, 2005, 12:36:59 pm »
Does anyone know where to get a console version of Nethack or how to persuade the available distribution to run in the console?
SL-C1000 Sharp ROM

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Text Nethack
« Reply #1 on: January 03, 2005, 08:50:49 pm »
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
GROG!

egw

  • Newbie
  • *
  • Posts: 17
    • View Profile
Text Nethack
« Reply #2 on: February 17, 2005, 05:12:52 pm »
Quote
(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).

[div align=\"right\"][a href=\"index.php?act=findpost&pid=60439\"][{POST_SNAPBACK}][/a][/div]

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

  • Newbie
  • *
  • Posts: 17
    • View Profile
Text Nethack
« Reply #3 on: May 04, 2005, 04:07:24 am »
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.

[img]http://www.taedium.com/zaurus/nethack-console.png\" border=\"0\" class=\"linked-image\" /]

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

- Eric

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Text Nethack
« Reply #4 on: May 04, 2005, 07:28:56 am »
This is pretty darn cool . Thanks for sharing. One problem, though:

Code: [Select]
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
« Last Edit: May 04, 2005, 07:33:27 am by grog »
GROG!

egw

  • Newbie
  • *
  • Posts: 17
    • View Profile
Text Nethack
« Reply #5 on: May 05, 2005, 01:43:58 pm »
Quote
This is pretty darn cool . Thanks for sharing. One problem, though:

Code: [Select]
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78178\"][{POST_SNAPBACK}][/a][/div]

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

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Text Nethack
« Reply #6 on: May 05, 2005, 07:00:59 pm »
Quote
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.)[div align=\"right\"][a href=\"index.php?act=findpost&pid=78405\"][{POST_SNAPBACK}][/a][/div]
That's interesting. I can open it with tar:

Code: [Select]
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: [Select]
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.
GROG!

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Text Nethack
« Reply #7 on: May 05, 2005, 07:03:15 pm »
It worked properly for me on C3k/Cacko3k.

The movement keys for the console version are annoying
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive