Can't xrite bone file ?

G

Guest

Guest
Archived from groups: rec.games.roguelike.nethack (More info?)

Just got killed and had the following message (in terminal):

No such file or directory
Exec to compress bonD0.T failed.

Since this is a hand-compiled version (if slash'em, but I don't think that
makes a difference), I guess I just forgot to create a directory or to put
a variable in a Makefile or something similar...

(Arg, just killed 4 shopkeepers in the Mall and was bringing all their
stuff in the same place ("closed for death"). Both a nice game and a
wonderfull bone file...)

--
Hypocoristiquement,
Jym.

Adresse mail plus valide à partir de septembre 2005.
Utiliser l'adresse de redirection permanente :
Jean-Yves.Moyen `at` ens-lyon.org
 

Chuck

Distinguished
Nov 19, 2001
1,479
0
19,280
Archived from groups: rec.games.roguelike.nethack (More info?)

Jym <moyen@loria.fr> wrote in
news:pine.LNX.4.51.0507120150030.1461@hagen.loria.fr:

> Just got killed and had the following message (in terminal):
>
> No such file or directory
> Exec to compress bonD0.T failed.

That file should have a .Z (for compress) extension shouldn't it? I'm pretty
sure that is the direction you should go.

> Since this is a hand-compiled version (if slash'em, but I don't think that
> makes a difference), I guess I just forgot to create a directory or to put
> a variable in a Makefile or something similar...
>
> (Arg, just killed 4 shopkeepers in the Mall and was bringing all their
> stuff in the same place ("closed for death"). Both a nice game and a
> wonderfull bone file...)
>
 
G

Guest

Guest
Archived from groups: rec.games.roguelike.nethack (More info?)

chuck <chucko@nil.car> wrote in
news:Xns9690D2A1B141Fchuckonilcar@207.35.177.135:

> Jym <moyen@loria.fr> wrote in
> news:pine.LNX.4.51.0507120150030.1461@hagen.loria.fr:
>
>> Just got killed and had the following message (in terminal):
>>
>> No such file or directory
>> Exec to compress bonD0.T failed.
>
> That file should have a .Z (for compress) extension shouldn't it? I'm
> pretty sure that is the direction you should go.

It sounds to me like the user he's executing nethack under doesn't have
write permission to the correct directory. Make sure the "bones" directory
exists (I think that's the name) and that it has write permissions for the
appropriate user. Also, to the OP: do your savegames work? If so, what
directory do they store to and what permissions are on that directory?

One last thing I can think of is that you've configured the compression
program incorrectly. In your config you may have it specified at
/bin/compress but maybe on your system it's actually under
/usr/bin/compress. Check your config and make sure the compression program
actually is where you say it is. I would recommend using gzip though ...
set compress and uncompress to /bin/gzip and /bin/gunzip, wherever they are
located on your system.



--
~ Cyde Weys ~

Mana du vortes, mana du vortes
Aeria gloris, aeria gloris
 
G

Guest

Guest
Archived from groups: rec.games.roguelike.nethack (More info?)

Jym wrote:
> Just got killed and had the following message (in terminal):
>
> No such file or directory
> Exec to compress bonD0.T failed.
>
> Since this is a hand-compiled version (if slash'em, but I don't think that
> makes a difference), I guess I just forgot to create a directory or to put
> a variable in a Makefile or something similar...

I'm guessing that it's got the wrong compression program or the
wrong path to the compression program in the Makefile. I've gotten that
error before... it was, IIRC, set to use /usr/bin/gzip, while my systems
keep it at /bin/gzip.

--
John Campbell
jcampbel@lynn.ci-n.com
 
G

Guest

Guest
Archived from groups: rec.games.roguelike.nethack (More info?)

On Tue, 12 Jul 2005, Cyde Weys wrote:

> chuck <chucko@nil.car> wrote in
> news:Xns9690D2A1B141Fchuckonilcar@207.35.177.135:
>
> > Jym <moyen@loria.fr> wrote in
> > news:pine.LNX.4.51.0507120150030.1461@hagen.loria.fr:
> >
> >> Just got killed and had the following message (in terminal):
> >>
> >> No such file or directory
> >> Exec to compress bonD0.T failed.
> >
> > That file should have a .Z (for compress) extension shouldn't it? I'm
> > pretty sure that is the direction you should go.
>
> It sounds to me like the user he's executing nethack under doesn't have
> write permission to the correct directory. Make sure the "bones" directory
> exists (I think that's the name) and that it has write permissions for the
> appropriate user. Also, to the OP: do your savegames work? If so, what
> directory do they store to and what permissions are on that directory?
>
> One last thing I can think of is that you've configured the compression
> program incorrectly. In your config you may have it specified at
> /bin/compress but maybe on your system it's actually under
> /usr/bin/compress. Check your config and make sure the compression program
> actually is where you say it is. I would recommend using gzip though ...
> set compress and uncompress to /bin/gzip and /bin/gunzip, wherever they are
> located on your system.

You're right, compress was not (re)defined in config.h
One more nethack feature that is not documented in the install files and
that has to be modified for correct behaviour...

And save games didn't work.
I redefined compress to be gzip, did not find uncompress. Currently
recompiling all the stuff...

I didn't find either a bonedir specification in config.h, I guess they
will go in the main slashe'em directory (which I don't find is a good
idea, if bonedir is defined somewhere, I would like to change it).
[found it in main Makefile]
[but the FILE_AREA_* variables do not seem to be used properly in the
Makefile... Among other things, levels (*.lev) are put in the
FILE_AREA_UNSHARE directory and not in FILE_AREA_LVLS.
And when trying to modify the FILE_AREA_* variables, my executable is not
able anymore to find the shared files (tiles) or the perm file (for
locking).]

Arg ! I'll bless anybody who'll write the "./configure"-patch for
nethack !
(eg, to automatically set unixconf.h and main Makefile to the same
values...)

Well, couldn't manage to have separate directories for levels, bones
files, data, binaries and such (only saved games). I changed main Makefile
and unixconf.h but that didn't worked (he could not find the tiles in the
share dir or the perm to lock in the main dir).
Put back everything in a single directory but at least it work (and save
games also work, so I assume bonefiles will work...)

--
Hypocoristiquement,
Jym.

Adresse mail plus valide à partir de septembre 2005.
Utiliser l'adresse de redirection permanente :
Jean-Yves.Moyen `at` ens-lyon.org
 
G

Guest

Guest
Archived from groups: rec.games.roguelike.nethack (More info?)

Jym <moyen@loria.fr> writes:

> You're right, compress was not (re)defined in config.h
> One more nethack feature that is not documented in the install files and
> that has to be modified for correct behaviour...

Umm.. what do you mean by "not documented"?
Check Install.unx, section 13, lines 230-231 in the file.. you should read
the file anyway before compiling.

> And save games didn't work.
> I redefined compress to be gzip, did not find uncompress. Currently
> recompiling all the stuff...

There's also an example for using gzip in config.h, commented out.
If you uncomment it, comment out the definitions for compress.
(I have not tried using gzip there, I use the default compression.)

> I didn't find either a bonedir specification in config.h, I guess they
> will go in the main slashe'em directory (which I don't find is a good
> idea, if bonedir is defined somewhere, I would like to change it).

Oh, you're compiling slash'em, not vanilla Nethack? I don't remember
seeing it mentioned earlier..
Anyway, I made a simple patch for using a separate bones directory. See
http://www.netsonic.fi/~walker/nethack.html#directories
(I have not played or compiled slash'em, the patch is for vanilla Nethack.
But it shouldn't be hard to port for slash'em if it doesn't work
directly.)

--
Jukka Lahtinen
 
G

Guest

Guest
Archived from groups: rec.games.roguelike.nethack (More info?)

On Tue, 12 Jul 2005, Jukka Lahtinen wrote:

> Jym <moyen@loria.fr> writes:
>
> > You're right, compress was not (re)defined in config.h
> > One more nethack feature that is not documented in the install files and
> > that has to be modified for correct behaviour...
>
> Umm.. what do you mean by "not documented"?
> Check Install.unx, section 13, lines 230-231 in the file.. you should read
> the file anyway before compiling.

The note begins with "If you are using Solaris", which I'm not.

> > I didn't find either a bonedir specification in config.h, I guess they
> > will go in the main slashe'em directory (which I don't find is a good
> > idea, if bonedir is defined somewhere, I would like to change it).
>
> Oh, you're compiling slash'em, not vanilla Nethack? I don't remember
> seeing it mentioned earlier..

Because I don't think that was really relevant at this point. But maybe
there has been much more change in slash'em Makefile and config.h that I
imagined.

> Anyway, I made a simple patch for using a separate bones directory. See
> http://www.netsonic.fi/~walker/nethack.html#directories
> (I have not played or compiled slash'em, the patch is for vanilla Nethack.
> But it shouldn't be hard to port for slash'em if it doesn't work
> directly.)

Slash'em main Makefile does have a FILE_AREA_BONES variable which is, I
guess, intended as a directory to store bonefiles (and is used in that way
later on, if I understood Makefile properly). But I did not managed to
make it work.

(and was is more interesting is to store levels files somewhere else,
since there are much more numerous, and both nethack and slash'em are able
to do so (the debian binary distribution of both does so) but I did not
find the proper options to set.)

--
Hypocoristiquement,
Jym.

Adresse mail plus valide à partir de septembre 2005.
Utiliser l'adresse de redirection permanente :
Jean-Yves.Moyen `at` ens-lyon.org