Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Nethack in Rockbox?
« previous next »
  • Print
Pages: [1] 2

Author Topic: Nethack in Rockbox?  (Read 9822 times)

Offline Laertes

  • Member
  • *
  • Posts: 3
Nethack in Rockbox?
« on: September 12, 2006, 03:29:56 PM »
Hi,

I've just discovered and installed Rockbox in my iRiver H320 (using wine  ;) ) and I was wondering if Nethack  works with it. I made a few searchs in the forum and I didn't find anything about it.

Thanks.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Nethack in Rockbox?
« Reply #1 on: September 12, 2006, 04:23:45 PM »
I don't know of any existing plugin for nethack but I'm pretty sure it would work -- it only needs someone interested enough in it to actually start coding ;-)
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Laertes

  • Member
  • *
  • Posts: 3
Re: Nethack in Rockbox?
« Reply #2 on: September 13, 2006, 01:16:07 AM »
That would be great! I'm not coder myself, but I could help if anyone tries it. Do you think I should write a feature request?
Logged

Offline Rincewind

  • Member
  • *
  • Posts: 266
Re: Nethack in Rockbox?
« Reply #3 on: September 18, 2006, 01:43:17 PM »
that would be a really cool plugin!

If someone wants to start coding, I would like to help, but I don't have enough spare time to do it on my own (especially for the initial work).

I don't know if a feature request helps to get this started. Just keep the discussion running here.

If you want to help, you could try to find a version of nethack that was ported to a small screen/mobile device and gather as much information as possible. I think I read somewhere that there is one for the playstation portable.
Logged
Iriver H120, Sansa e280

Offline theli

  • Developer
  • Member
  • *
  • Posts: 129
Re: Nethack in Rockbox?
« Reply #4 on: September 18, 2006, 01:56:20 PM »
i would definitly happy if someone ports nethack to rockbox
i once started to port it by myself but was not very confident with rockbox's source at that time and after some time abandoned that project .. unfortunately i now have all source lost...

i would like to help anyone who starts to work on it, though i can't start this by myself as i work on zxbox and atari 2600 emulator for now
Logged
Please, read the manual and wiki!!!!
search before you ask on forums!!!!

Offline Laertes

  • Member
  • *
  • Posts: 3
Re: Nethack in Rockbox?
« Reply #5 on: September 18, 2006, 03:56:31 PM »
So it seems that there is a few people interested. I would like to help but as I've said I can't code, but I can do any other thing needed. I think it's a good idea to keep the discussion running here as Rincewind suggests. Maybe we can assemble a little group to work on it.
Logged

Offline RaeNye

  • Developer
  • Member
  • *
  • Posts: 161
Re: Nethack in Rockbox?
« Reply #6 on: September 19, 2006, 02:35:31 PM »
A first step would be to create a feature request on flyspray.

If you happen to find a GPL/PD implementation (i.e., sources), add this as a comment to the request.
Logged

Offline theli

  • Developer
  • Member
  • *
  • Posts: 129
Re: Nethack in Rockbox?
« Reply #7 on: September 20, 2006, 02:24:24 AM »
btw can anyone say whether it is compatible with GPL2?

http://nethack.org/common/license.html
Logged
Please, read the manual and wiki!!!!
search before you ask on forums!!!!

Offline lachlan

  • Member
  • *
  • Posts: 103
Re: Nethack in Rockbox?
« Reply #8 on: September 20, 2006, 03:24:32 AM »
This would be great, I hope it picks up some momentum.
Logged

Offline tucoz

  • Rockbox Expert
  • Member
  • *
  • Posts: 110
Re: Nethack in Rockbox?
« Reply #9 on: September 20, 2006, 07:07:14 AM »
I think a nethack port would be perfectly possible, but what about the number of keys used when playing nethack? Would this be possible to solve on the rather limited input keys mp3-players have?
I haven't played nethack that much, so i am not sure if there are some alternative ways of controlling it. Maybe through a context menu?

Martin
Logged

Offline tucoz

  • Rockbox Expert
  • Member
  • *
  • Posts: 110
Re: Nethack in Rockbox?
« Reply #10 on: September 20, 2006, 07:12:11 AM »
Quote from: theli on September 20, 2006, 02:24:24 AM
btw can anyone say whether it is compatible with GPL2?

http://nethack.org/common/license.html

I think it is compatible with GPL, from the nethack licence. No licence expert though.
Quote

Stated plainly: You are permitted to modify NetHack, or otherwise use parts of NetHack, provided that you comply with the conditions specified above; in particular, your modified NetHack or program containing parts of NetHack must remain freely available as provided in this License Agreement. In other words, go ahead and share NetHack, but don't try to stop anyone else from sharing it farther.
Logged

Offline Rincewind

  • Member
  • *
  • Posts: 266
Re: Nethack in Rockbox?
« Reply #11 on: September 20, 2006, 01:21:26 PM »
Quote from: tucoz on September 20, 2006, 07:07:14 AM
I think a nethack port would be perfectly possible, but what about the number of keys used when playing nethack? Would this be possible to solve on the rather limited input keys mp3-players have?
I haven't played nethack that much, so i am not sure if there are some alternative ways of controlling it. Maybe through a context menu?

Martin

It is long ago since I last played nethack, but I think it should be possible to have context menus for commands. Most of the the time you are running around trying to find doors and fighting anyway.

From the Nethack FAQ:

Quote
Are you porting NetHack to Palms?
    No. Other people who've written in with information about them lead us to believe that it won't work on most models, but the largest ones *might* be able to run it, if someone wrote bridge code adapting some major NetHack assumptions. The UI would actually be the easy part -- that's split off from the rest of the code anyway. The hard part is that Palms have only memory (no disk) and a very limited heap, while NetHack is designed to run in low memory conditions by writing everything not used to disk and likes to keep those varying-but- often-large numbers of monsters and objects in the heap. A couple people have gone off to look at the exact constraints, but we haven't heard anything to suggest that actual porting has started, let alone successfully finished. Aside from advising such people on NetHack internals, and merging their port code back in should such ever appear, we have no plans in that area. Some people may be making progress.

so there could be a major problem that rockbox doesn't like dynamic memory allocation, too.
But maybe we could steal the mp3 buffer and use it as a heap... I'm not very firm at this low level, I could be completely wrong here.
Logged
Iriver H120, Sansa e280

Offline Rincewind

  • Member
  • *
  • Posts: 266
Re: Nethack in Rockbox?
« Reply #12 on: September 20, 2006, 01:34:05 PM »
some links I found googling:

Nethack port to a nokia phone:
http://www.ee.oulu.fi/~moo/nethack/

Nethack port for the Playstation portable:
http://virtuamunstaz.de/nh/
Logged
Iriver H120, Sansa e280

Offline tucoz

  • Rockbox Expert
  • Member
  • *
  • Posts: 110
Re: Nethack in Rockbox?
« Reply #13 on: September 21, 2006, 10:42:45 AM »
Quote from: tucoz on September 20, 2006, 07:07:14 AM
I think a nethack port would be perfectly possible...

Well, after googling around, maybe not perfectly possible but possible. But the lack of a PalmOS port seems to be a measure of the difficulty to port it to a portable target. Anyway, the source code has a Porting document that could be of good help to start a port. It would be fun to have a rogue like game in rockbox.
Logged

Offline Wett

  • Member
  • *
  • Posts: 6
Re: Nethack in Rockbox?
« Reply #14 on: September 21, 2006, 02:40:18 PM »
I'm afraid the display is a bit too small for comfortable text reading.
Anyway, that'd be great !
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Nethack in Rockbox?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.119 seconds with 14 queries.