Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 08:43
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Nethack-3.4.3
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
zaivala

Joined: 21 Mar 2011
Posts: 117

PostPosted: Fri 29 Nov 2013, 23:52    Post_subject:  

I just downloaded it again, from the link you just posted. It says it installed and can be found in my Fun directory... but it is not there.

I've noticed a few things I've downloaded are missing dependencies, and I go to Puppy Manager to download them. A number of times I get an error, that the file no longer exists in the repository. Is this perhaps the issue with Nethack?

OK, I went back and FOUND IT in the Fun menu... clicked on it...

It blinked once, and nothing. Like it opened and closed before it could load.
Back to top
View user's profile Send_private_message 
Makoto


Joined: 03 Sep 2009
Posts: 1797
Location: Out wandering... maybe.

PostPosted: Sat 30 Nov 2013, 00:44    Post_subject:  

Try opening a terminal/console window for ~/.usr/games. If you're using ROX-Filer, go to that directory and press the "~" key. There should be two files named "nethack" and "nethackgui" in that folder.

In the terminal window, what happens if you type either "nethack" or "nethackgui" (without the quotes, of course) and press Enter? Are any error messages shown?

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send_private_message 
zaivala

Joined: 21 Mar 2011
Posts: 117

PostPosted: Sat 30 Nov 2013, 00:53    Post_subject:  

Using rxvt ...

/usr/games/lib/nethackdir/nethack : error while loading shared libraries : libXaw.so.7: cannot open shared object file: No such file or directory

You know what I think may be happening is... I haven't yet edited the nhdat options file... maybe have to create the default directories.

Agree? Disagree?
Back to top
View user's profile Send_private_message 
Makoto


Joined: 03 Sep 2009
Posts: 1797
Location: Out wandering... maybe.

PostPosted: Sat 30 Nov 2013, 02:07    Post_subject:  

I doubt it. It works out-of-the-box on my system - but then, Wolf Pup did create the package for Puppy 4.3.1, so I couldn't say for sure it'd work on any Puppy later than that. Neutral

If I remember correctly, that lib is part of XFree - and I don't know whether or not it would be a good idea to simply 'plug it in.' Do you have a "check dependencies of installed packages" option in your Puppy menu (perhaps in the Setup category)? That might possibly detect what you need and install it.

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send_private_message 
OscarTalks

Joined: 05 Feb 2012
Posts: 884
Location: London, England

PostPosted: Sat 30 Nov 2013, 06:16    Post_subject:  

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:-
nethack-x11.jpg
 Description   Nethack X11 - is this how it should look?
 Filesize   55.67 KB
 Viewed   355 Time(s)

nethack-x11.jpg


_________________
Oscar in England

Back to top
View user's profile Send_private_message 
Keef


Joined: 20 Dec 2007
Posts: 630
Location: Staffordshire

PostPosted: Sat 30 Nov 2013, 06:45    Post_subject:  

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.
x11tiles.gz
Description  xpm file compressed with gzip
gz

 Download 
Filename  x11tiles.gz 
Filesize  45.49 KB 
Downloaded  141 Time(s) 
Back to top
View user's profile Send_private_message 
Makoto


Joined: 03 Sep 2009
Posts: 1797
Location: Out wandering... maybe.

PostPosted: Sat 30 Nov 2013, 07:34    Post_subject:  

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):



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):


_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send_private_message 
OscarTalks

Joined: 05 Feb 2012
Posts: 884
Location: London, England

PostPosted: Sat 30 Nov 2013, 08:12    Post_subject:  

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
nethack-X11-tiles.jpg
 Description   nethack-X11 with graphical tiles
 Filesize   70.76 KB
 Viewed   315 Time(s)

nethack-X11-tiles.jpg


_________________
Oscar in England

Back to top
View user's profile Send_private_message 
zaivala

Joined: 21 Mar 2011
Posts: 117

PostPosted: Wed 11 Dec 2013, 00:56    Post_subject:  

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?
Back to top
View user's profile Send_private_message 
OscarTalks

Joined: 05 Feb 2012
Posts: 884
Location: London, England

PostPosted: Wed 11 Dec 2013, 04:26    Post_subject:  

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

Back to top
View user's profile Send_private_message 
zaivala

Joined: 21 Mar 2011
Posts: 117

PostPosted: Wed 11 Dec 2013, 10:58    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
OscarTalks

Joined: 05 Feb 2012
Posts: 884
Location: London, England

PostPosted: Wed 11 Dec 2013, 11:58    Post_subject:  

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:
cd /usr/lib
ln -s libXaw7.so.7.0.0 libXaw.so.7

and then try nethack again.

_________________
Oscar in England

Back to top
View user's profile Send_private_message 
zaivala

Joined: 21 Mar 2011
Posts: 117

PostPosted: Wed 11 Dec 2013, 13:51    Post_subject:  

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).
capture9191.png
Description 
png

 Download 
Filename  capture9191.png 
Filesize  26.17 KB 
Downloaded  129 Time(s) 
Back to top
View user's profile Send_private_message 
OscarTalks

Joined: 05 Feb 2012
Posts: 884
Location: London, England

PostPosted: Wed 11 Dec 2013, 14:06    Post_subject:  

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

Back to top
View user's profile Send_private_message 
Keef


Joined: 20 Dec 2007
Posts: 630
Location: Staffordshire

PostPosted: Wed 11 Dec 2013, 18:27    Post_subject:  

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:
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.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1026s ][ Queries: 12 (0.0102s) ][ GZIP on ]