Hi all,
Since I received my Pandora, I always wanted to be able to play one of my favourite roguelike: Nethack. However there is no port of this game available (there was one in the apps repository but it has been removed).
I tried to cross compile it myself but could not find a way to get through all the errors...
But not all hope is lost, because Nethack runs flawlessly in Dosbox So here is a quick tutorial on how to play this game.
1- Install Dosbox from the apps repo:
http://apps.open-pandora.org/cgi-bin/viewapp.pl?/Emulator/Dosbox.inf
2- Run Dosbox for the first time. You will notice that the command line points to a virtual disk "Z:>". We need to change this to a folder where you will store your Dos applications
You can do this directly from the command line every time you start dosbox, but it's more convenient to make this automatic.
Go to your appdata directory (it should be on you SD card, in the main pandora folder) and edit the file "dosbox/.dosbox/dosbox-0.74.conf". Add the following lines to this file:
Now dosbox will always start in the folder specified, under the disk letter C.
3- Download the latest DOS version of nethack (3.4.3)
http://www.nethack.org/v343/ports/download-msdos.html
4- Unzip the file and put everything into a subfolder of appdata/dosbox/games
5- Nethack will not work directly, you need to download the file CWSDPMI.EXE from this location
http://www.delorie.com/djgpp/dl/ofc/simtel/v2misc/csdpmi5b.zip/
Put the file in the same folder as your nethack executable.
6- Done ! Start Dosbox, go to your nethack folder (if you setup your Dosbox like mine, simply type "cd nh343dos"). Then run "nethack".
Et voilà
Extra steps:
By default nethack assume that you are using the numpad to move your character on the screen. In order to use the vi keys, do the following:
- start nethack
- use key "O" to access options
- in the 3rd page of options, switch off the option "number_pad"
You can also edit the file "defaults.nh" in your nh43dos folder.
Enjoy !
Since I received my Pandora, I always wanted to be able to play one of my favourite roguelike: Nethack. However there is no port of this game available (there was one in the apps repository but it has been removed).
I tried to cross compile it myself but could not find a way to get through all the errors...
But not all hope is lost, because Nethack runs flawlessly in Dosbox So here is a quick tutorial on how to play this game.
1- Install Dosbox from the apps repo:
http://apps.open-pandora.org/cgi-bin/viewapp.pl?/Emulator/Dosbox.inf
2- Run Dosbox for the first time. You will notice that the command line points to a virtual disk "Z:>". We need to change this to a folder where you will store your Dos applications
You can do this directly from the command line every time you start dosbox, but it's more convenient to make this automatic.
Go to your appdata directory (it should be on you SD card, in the main pandora folder) and edit the file "dosbox/.dosbox/dosbox-0.74.conf". Add the following lines to this file:
Code:
mount c /media/mmcblk0p1/pandora/appdata/dosbox/games
c:
Now dosbox will always start in the folder specified, under the disk letter C.
3- Download the latest DOS version of nethack (3.4.3)
http://www.nethack.org/v343/ports/download-msdos.html
4- Unzip the file and put everything into a subfolder of appdata/dosbox/games
5- Nethack will not work directly, you need to download the file CWSDPMI.EXE from this location
http://www.delorie.com/djgpp/dl/ofc/simtel/v2misc/csdpmi5b.zip/
Put the file in the same folder as your nethack executable.
6- Done ! Start Dosbox, go to your nethack folder (if you setup your Dosbox like mine, simply type "cd nh343dos"). Then run "nethack".
Et voilà
Extra steps:
By default nethack assume that you are using the numpad to move your character on the screen. In order to use the vi keys, do the following:
- start nethack
- use key "O" to access options
- in the 3rd page of options, switch off the option "number_pad"
You can also edit the file "defaults.nh" in your nh43dos folder.
Code:
Change line 61 :
OPTIONS=time,noshowexp,number_pad:2,lit_corridor
to
OPTIONS=time,noshowexp,[b]number_pad:0[/b],lit_corridor
Enjoy !