Nethack-3.4.3

Play with your Puppy.
Message
Author
User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#21 Post by Keef »

OscarTalks

Try it with this tileset (can't remember where I got it).
Some tilesets I've tried have displayed like on your screenshot, but this one should be ok.
Attachments
x11tiles.gz
xpm file compressed with gzip
(45.49 KiB) Downloaded 368 times

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#22 Post by Makoto »

OscarTalks wrote:Does the Wolf Pup version actually run using X11 or only in terminal?
I don't know much about this program and it looks very old, but I was having a quick tinker and made a .pet which displays like this:-
I'm not sure what Wolf Pup's version is doing, if anything, with X11. The "nethack" script (from ~/.usr/games) appears to run directly in my terminal (Sakura):

Image

The "nethackgui" script apparently tries to find an appropriate terminal on the system to use... but in my case, ends up using urxvt (with a "urxvt: the locale is not supported by Xlib, working without locale support." error):

Image
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#23 Post by OscarTalks »

The x11tiles file is included in the main directory but it seems you have to edit /root/.Xresources for the images to be found. If I do that (and I can include the edited file in the .pet) it looks like this below:-

EDIT:-
I don't know if it is correct or complete but I have uploaded my .pet to my Yandex Disk if anyone wants to try it. You will get a splash message but remember to RESTART X SERVER after you install the .pet. You will find the instructions in a folder in /root
Download from here:-
http://yadi.sk/d/zTshLczR4wHj8
Attachments
nethack-X11-tiles.jpg
nethack-X11 with graphical tiles
(70.76 KiB) Downloaded 906 times
Oscar in England
Image

zaivala
Posts: 125
Joined: Mon 21 Mar 2011, 07:14

#24 Post by zaivala »

OK, I'm finally remembering how to load things and run terminals and such...

I switched to /usr/games in a terminal, ran Nethack... and was told I was missing libXaw... I tried to attach the screen capture, not sure it worked...nope came out black... anyhow, I'm apparently missing this library...

Update: Not missing it... but it's missing a dependency called "tk"...

Update 2: Running Nethackgui works... so now, is there some way to run this from menus, or do I always have to go into Console?

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#25 Post by OscarTalks »

zaivala wrote:... so now, is there some way to run this from menus?
Yes, if you read the few posts above, ditch the version that you have, download the version from my Yandex Disk and install that instead. I don't know anything about this game and have never tried to play it, but my version runs from the menu AND has a graphical interface.
Oscar in England
Image

zaivala
Posts: 125
Joined: Mon 21 Mar 2011, 07:14

#26 Post by zaivala »

Apparently it's a difference in Puppies. I'm running Precise 5.7.1...

I downloaded it, it installed, it goes to the Fun menu... and clicking on it just brings up a quick flash and then nothing.

Went to Console, cd to usr/games ... ran Nethack ... still says missing that library libXaw. Ran nethackgui and NOTHING happened (at least last night I could run a graphic-less Nethack). So this was a step backwards... and I swear that's the same package I downloaded last time so that should not have done worse than stayed the same.

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#27 Post by OscarTalks »

I knew you were running Precise 5.7.1 which was why I made a point of working on it in Precise 5.7.1 although it works in other Puppies too.

I have made several modifications to it and then repackaged it as a .pet so it is different from the original one by poster Wolf Pup even though it may bear the same name and version number.

I have tested it in a virgin Precise 5.7.1 (booting with pfix=ram) and it starts and runs from the menu or from console with the command nethack ( do NOT cd to /usr/games ) and there are no missing libraries. See the above screenshot.

That libXaw is native to Puppy so should be there unless you have done something to delete it.

LATER:- Just had a possible brainwave. I remember I took a look inside the Wolf Pup package and I believe it had a libXaw file in it. This is not needed, certainly not for Precise 5.7.1 or other recent Pups, but it is possible that if you installed and then uninstalled that Wolf Pup package it has effectively deleted the libXaw from your system which is why my package now does not run for you.

If this is the case we need to restore it which is easy because it is just a symlink.

With my package installed, just run nethack in terminal and if the reported missing lib is libXaw.so.7 just do:-

Code: Select all

cd /usr/lib
ln -s libXaw7.so.7.0.0 libXaw.so.7
and then try nethack again.
Oscar in England
Image

zaivala
Posts: 125
Joined: Mon 21 Mar 2011, 07:14

#28 Post by zaivala »

Truly weird, Oscar. I downloaded your version (I think that's the second time, but there have been a few downloads of other versions since).

It placed it on the menu. Much lower on the Fun menu than the previous install.

I clicked on it, and got nothing, not even a blink.

I went and deleted all Nethack directories (yeah, I got sloppy learning the filesystem) and installed it again. Same as before... wonder if I got your PET or the earlier one, as the menu item moved back up the menu. OK, I answered that question by deleting the files and downloading your file again.

OK, the menu item is back down just above the bottom of the Fun list, and no blink or anything running it from the menu. So I tried it from Console and got the following screen capture (hope it worked).
Attachments
capture9191.png
(26.17 KiB) Downloaded 567 times

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#29 Post by OscarTalks »

I just took another look inside the Wolf Pup .pet and I'm pretty sure I have identified the problem. He has a symlink libXaw.so.7 in /usr/lib so you have probably been left with yours missing. Restore it as I described, then run my nethack from terminal. If it does not work just tell me what errors you get.

If you prefer to restore the missing symlink lib graphically, open ROX, click the green up arrow then navigate into /usr/lib

Look for the file named libXaw7.so.7.0.0
Right click it and choose "link..."
Insert the name libXaw.so.7 so the total path reads /usr/lib/libXaw.so.7
Click the "Symlink" button

That's it, you should now see the symlink libXaw.so.7 next to the file libXaw7.so.7.0.0
Make sure the names are correct.
My nethack package should then run.
Oscar in England
Image

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#30 Post by Keef »

In case it is of use, I have knocked up a RoxApp version. One click and it launches the graphical version.
Due to a problem with one of the fonts, a terminal pops up (although covered by the main window) that says:

Code: Select all

Warning: Cannot convert string "nh10" to type FontStruct
Ignore it, but don't close it.

The .nethackrc file is inside the directory (and named dot.nethackrc so it is visible) and symlinks to '~', the HOME directory.
No need to modify Xresources.

File is 1224KB packed, 3044KB unpacked.
md5sum 5aad64bc49474d8f8e3173fabf9074c3

http://www49.zippyshare.com/v/86050251/file.html

Tested on Precise 5.7.1 with nothing added.
Also works on Slacko.

zaivala
Posts: 125
Joined: Mon 21 Mar 2011, 07:14

#31 Post by zaivala »

OscarTalks wrote:...

If you prefer to restore the missing symlink lib graphically, open ROX, click the green up arrow then navigate into /usr/lib

Look for the file named libXaw7.so.7.0.0
Right click it and choose "link..."
Insert the name libXaw.so.7 so the total path reads /usr/lib/libXaw.so.7
Click the "Symlink" button

That's it, you should now see the symlink libXaw.so.7 next to the file libXaw7.so.7.0.0
Make sure the names are correct.
My nethack package should then run.
I opened /usr/lib and scrolled down.... libXaw.so.7 is shown as a ! in a triangle... attached file. I think that means the link is there but the library is not...

Edit: oK, now I see it. I'll try again... sorry for the empty head.

Re-Edit: OK again. I did the symlink. The other link did not go away... and Nethack still reports missing that library.

And FInal Edit: What I wound up with was, as you can see and I took a while, liveXaw7.so.7... had to delete the 7 after the w. And now it works, and I thank you all.
Attachments
capture9858.png
(32.24 KiB) Downloaded 530 times

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

RoxApp

#32 Post by Keef »

Corrected an error in the AppRun script and added some extra tilesets:
Default one in 16x16, 24x24 and 32x32
DawnHack in 16x16 and 32x32 (not that keen on this one)
Chozo5 in 32x32
These can be selected by right click options:

http://www28.zippyshare.com/v/19483928/file.html


md5: 745f4c7576dbcd094aba643071be907f

zipfile is 5342K, extracted size is 17M.
Attachments
right-click.png
(32.56 KiB) Downloaded 888 times
chozo5.png
(83.55 KiB) Downloaded 893 times
DawnHack16.png
(15.15 KiB) Downloaded 952 times
Default24.png
(11.97 KiB) Downloaded 797 times

zaivala
Posts: 125
Joined: Mon 21 Mar 2011, 07:14

#33 Post by zaivala »

OK, I have my system back, have PrePu 571 on it, have installed the Nethack pet...

Did the changename link...

And I only get the old text version. Yes, this is the version I first learned on, way back in 1988, so I can get around, but ya know I'd rather have SOME graphics, all I am asking for is the default.

Any suggestions?
Attachments
capture17469.png
(6.52 KiB) Downloaded 917 times

User avatar
solo
Posts: 389
Joined: Thu 14 Nov 2013, 20:33

#34 Post by solo »

Has anyone ever attempted to make a pet or sfs of Nethack with the Falcon's Eye http://falconseye.sourceforge.net/, or Vulture http://www.darkarts.co.za/vulture isometric GUI?

Because if someone succeeded in doing that, then I would be interested in playing it.

zaivala
Posts: 125
Joined: Mon 21 Mar 2011, 07:14

#35 Post by zaivala »

solo wrote:Has anyone ever attempted to make a pet or sfs of Nethack with the Falcon's Eye http://falconseye.sourceforge.net/, or Vulture http://www.darkarts.co.za/vulture isometric GUI?

Because if someone succeeded in doing that, then I would be interested in playing it.
I doubt it. I've played quite a bit of Falcon's Eye on Windoze, and it has a ton of bugs still in it, which may be why. I'm not sure anyone continued development of those 3-D variants (might be interested if they have).

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

Re: RoxApp

#36 Post by Puppyt »

Keef wrote:Corrected an error in the AppRun script and added some extra tilesets:
Default one in 16x16, 24x24 and 32x32
DawnHack in 16x16 and 32x32 (not that keen on this one)
Chozo5 in 32x32
These can be selected by right click options:

http://www28.zippyshare.com/v/19483928/file.html.
Hey Keef, and OscarTalks - thanks very much for your updates earlier on the nethack front. Sorry I missed it earlier, but Keef - would you or anyone who has a copy from your expired link above, please repost an upload link to the pet, when you can,
Cheers!
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#37 Post by Keef »

Back by popular demand....

http://www69.zippyshare.com/v/3802894/file.html

Hope it is what you need.

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#38 Post by Puppyt »

Thanks HEAPS Keef - my son was wanting this up with the choice of non-ascii tiles - this is absolutely fab - Cheers :)

(working well in test rig with pemasu's Upup precise 3.8.3.1)
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

zaivala
Posts: 125
Joined: Mon 21 Mar 2011, 07:14

#39 Post by zaivala »

Keef wrote:Back by popular demand....

http://www69.zippyshare.com/v/3802894/file.html

Hope it is what you need.
I hope so too... sorry to be stupid, but I downloaded it, what do I do with it? I know I need to unzip it, and can do that, but which directory do I put it in?

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#40 Post by Keef »

It's a RoxApp, so if you have Rox, it can go anywhere. Assuming you've unzipped it and see the Nethack icon, just right click for the menu.
If you don't have Rox, clicking on the icon will open the directory instead. Clicking on AppRun will run Nethack with the default tile set - you have just lost the right click options.

Post Reply