www.smartbusinesschoices.com

Leading Business and Technology,
News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

Where to find nethack-qt or xnethack for OpenSuse 11.0?
Goto page Previous  1, 2, 3, 4
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux - Suse Forum  
View previous topic :: View next topic  
Author Message
Juha Nieminen
Guest






PostPosted: Wed Nov 19, 2008 8:38 pm    Post subject: Re: Where to find nethack-qt or xnethack for OpenSuse 11.0? Reply with quote

AnimalMagic <AnimalMagic@petersbackyard.org> wrote:
Quote:
Just put Vulture's Eye, or NoeGnud in the distro or build service or
whatever. Wham, problem solved.

So you are admitting that you *don't know* how to get the tiles
working in xnethack?
Back to top
Juha Nieminen
Guest






PostPosted: Wed Nov 19, 2008 8:49 pm    Post subject: Re: Where to find nethack-qt or xnethack for OpenSuse 11.0? Reply with quote

Philipp Thomas <philipp@thogro.org> wrote:
Quote:
Exactly where is it clearly explained how to configure xnethack or
nethack-qt to use tiles on a linux system?

I have the same problem. If anyone can explain how to use these tile
files, I'll try to make rpm packages offered in the build service that
will make it real easy to use them (as long as the license allows it).

I discovered that there's a file named x11tiles which xnethack comes
with, but is not used by default, and to make xnethack use it, you have
to uncomment the following lines in /usr/share/X11/app-defaults/NetHack:

NetHack.tile_file: x11tiles
NetHack.double_tile_size: True

This already looks better, but the tiles are quite small, and this doesn't
solve the problem of how to specify your own tiles. The OPTIONS=tile_file...
setting seems to be completely ignored by xnethack (even though other
options seem to work). Also the x11tiles file is an XPM file, so it
probably cannot be just replaced with a BMP file.
Back to top
Juha Nieminen
Guest






PostPosted: Thu Nov 20, 2008 2:20 am    Post subject: Re: Where to find nethack-qt or xnethack for OpenSuse 11.0? Reply with quote

Juha Nieminen <nospam@thanks.invalid> wrote:
Quote:
in /usr/share/X11/app-defaults/NetHack:

NetHack.tile_file: x11tiles
NetHack.double_tile_size: True

Changing the tiles file even by this method doesn't seem to be a trivial
task. For example, I tried the tiles file (nh32.xpm) available here:

http://rltiles.sourceforge.net/download.html

but its problem is that it has 30 tiles per row, but it seems that xnethack
requires 40 tiles per row. I have found no way of specifying anything else.
This might even be hard-coded into the program.

Converting the 30-tiles-per-row image to a 40-tiles-per-row one is not
trivial either, but possible. I did it this way in zsh (there's probably
a much simpler way, but don't laugh too much about my command line skills):

for ((I=0; I<36; ++I)) convert -extract "960x32+0+$[I*32]" nh32.xpm part`printf "%02i" $I`.png
convert +append part*.png montaged.png
for ((I=0; I<27; ++I)) convert -extract "1280x32+$[I*1280]+0" montaged.png fixedpart`printf "%02i" $I`.png
convert -append fixedpart* fixed.xpm

(If you are using bash, you'll have to add the proper 'do', 'done' and
semi-colons in those 'for' clauses.)

You might also want to make the NetHack*map*columns value in
/usr/share/X11/app-defaults/NetHack smaller than 80 if you are going
to use such big tiles. (In my 1600x1200 screen a value of 50 covers the
entire width of the screen. (32*50 = 1600).)
Back to top
AnimalMagic
Guest






PostPosted: Thu Nov 20, 2008 8:35 am    Post subject: Re: Where to find nethack-qt or xnethack for OpenSuse 11.0? Reply with quote

On 19 Nov 2008 20:20:50 GMT, Juha Nieminen <nospam@thanks.invalid> wrote:

Quote:
Juha Nieminen <nospam@thanks.invalid> wrote:
in /usr/share/X11/app-defaults/NetHack:

NetHack.tile_file: x11tiles
NetHack.double_tile_size: True

Changing the tiles file even by this method doesn't seem to be a trivial
task. For example, I tried the tiles file (nh32.xpm) available here:

http://rltiles.sourceforge.net/download.html

but its problem is that it has 30 tiles per row, but it seems that xnethack
requires 40 tiles per row. I have found no way of specifying anything else.
This might even be hard-coded into the program.

Converting the 30-tiles-per-row image to a 40-tiles-per-row one is not
trivial either, but possible. I did it this way in zsh (there's probably
a much simpler way, but don't laugh too much about my command line skills):

for ((I=0; I<36; ++I)) convert -extract "960x32+0+$[I*32]" nh32.xpm part`printf "%02i" $I`.png
convert +append part*.png montaged.png
for ((I=0; I<27; ++I)) convert -extract "1280x32+$[I*1280]+0" montaged.png fixedpart`printf "%02i" $I`.png
convert -append fixedpart* fixed.xpm

(If you are using bash, you'll have to add the proper 'do', 'done' and
semi-colons in those 'for' clauses.)

You might also want to make the NetHack*map*columns value in
/usr/share/X11/app-defaults/NetHack smaller than 80 if you are going
to use such big tiles. (In my 1600x1200 screen a value of 50 covers the
entire width of the screen. (32*50 = 1600).)


Too damned smart for me.
Back to top
AnimalMagic
Guest






PostPosted: Thu Nov 20, 2008 8:35 am    Post subject: Re: Where to find nethack-qt or xnethack for OpenSuse 11.0? Reply with quote

On 19 Nov 2008 14:38:34 GMT, Juha Nieminen <nospam@thanks.invalid> wrote:

Quote:
AnimalMagic <AnimalMagic@petersbackyard.org> wrote:
Just put Vulture's Eye, or NoeGnud in the distro or build service or
whatever. Wham, problem solved.

So you are admitting that you *don't know* how to get the tiles
working in xnethack?


You are the one looking for the info. You are the one that needs to
learn the paradigm under which nethack and tilesets operate. It has
nothing to do with xnethack, nor qt.

I know you wrote some hard configuration data in various "nethack"
configuration files you have made, however, have you declared any system
variables prior to any attempted gameplay? Or looked at any variables
that my already be set from an install session?
Back to top
Philipp Thomas
Guest






PostPosted: Thu Nov 20, 2008 4:18 pm    Post subject: Re: Where to find nethack-qt or xnethack for OpenSuse 11.0? Reply with quote

On Tue, 18 Nov 2008 18:48:53 -0800, AnimalMagic
<AnimalMagic@petersbackyard.org> wrote:

Quote:
Just put Vulture's Eye, or NoeGnud in the distro or build service or
whatever.

Vulture's Eye is available from the build service. I'll look into that
package for how to handle tiles. Thanks for the tipp!

Quote:
Wham, problem solved.

Well, mostly :)

Philipp
Back to top
Philipp Thomas
Guest






PostPosted: Thu Nov 20, 2008 4:21 pm    Post subject: Re: Where to find nethack-qt or xnethack for OpenSuse 11.0? Reply with quote

On Tue, 18 Nov 2008 18:51:13 -0800, AnimalMagic
<AnimalMagic@petersbackyard.org> wrote:

Quote:
Why don't you guys just simply ask in rec.games.roguelike.nethack?
D'oh!

Usefull idea.

Philipp
Back to top
AnimalMagic
Guest






PostPosted: Fri Nov 21, 2008 8:46 am    Post subject: Re: Where to find nethack-qt or xnethack for OpenSuse 11.0? Reply with quote

On Thu, 20 Nov 2008 11:21:37 +0100, Philipp Thomas <philipp@thogro.org>
wrote:

Quote:
On Tue, 18 Nov 2008 18:51:13 -0800, AnimalMagic
AnimalMagic@petersbackyard.org> wrote:

Why don't you guys just simply ask in rec.games.roguelike.nethack?
D'oh!

Usefull idea.

Philipp


Which I think I stated in my initial response to a nethack thread over
a week ago.
Back to top
AnimalMagic
Guest






PostPosted: Fri Nov 21, 2008 8:46 am    Post subject: Re: Where to find nethack-qt or xnethack for OpenSuse 11.0? Reply with quote

On Thu, 20 Nov 2008 11:18:30 +0100, Philipp Thomas <philipp@thogro.org>
wrote:

Quote:
On Tue, 18 Nov 2008 18:48:53 -0800, AnimalMagic
AnimalMagic@petersbackyard.org> wrote:

Just put Vulture's Eye, or NoeGnud in the distro or build service or
whatever.

Vulture's Eye is available from the build service. I'll look into that
package for how to handle tiles. Thanks for the tipp!

Wham, problem solved.

Well, mostly :)

Philipp

NoeGnud is a also good one to look at as it allows on the fly tileset
selection. You get a drop down list from those you have installed.

The NoeGnud front end is pretty cool. The Vulture's has neat graphics.

I think that NoeGnud allows the Vulture's Eye tileset to be used too.
Back to top
Display posts from previous:   
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux - Suse Forum Goto page Previous  1, 2, 3, 4  
Page 4 of 4
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum