Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Odd issue with recover.exe on Nethack (Kmod version 0.7.1)

52 views
Skip to first unread message

Rob Cypher

unread,
Oct 29, 2012, 2:34:13 PM10/29/12
to
Long story short:

Was playing a choatic female elf wizard character; had just started
(still on level 1) when the power went off briefly due to Hurricane
Sandy.

When power was restored a little later; I rebooted the machine
and used "recover.exe" to recover the save file. Trouble was
that the game file name had somehow saved as "54%0.0" and
"54%0.1" instead of the character's name (in this case "Britney").

When I used recover.exe to bring the file back; the result was a
neutral dwarven caveman. All the characters' attributes had been
changed by default to a caveman character.

Is that a bug with vanilla Nethack too?

Nice mod; btw. I play it most often these days, second to a slightly
older version of UnNethack (the last native Windows version to support
graphic tiles).

karadoc

unread,
Dec 6, 2012, 8:17:22 PM12/6/12
to
Sounds like a pretty weird bug. Are you saying that everything in the
recovered save was current except that your character had somehow turned
into .. a level 1 dwarven caveman with a messed-up name?

That sucks.

I've never actually used recover.exe myself, and it's quite possible
that I've broken it somehow with my K-Mod changes. (I've just trusted
that since I'm not changing the save format, recover should still work.)

I'd be interested to know if this kind of thing ever happens in the
unmodded game.

By the way, if my computer loses power or something, I usually just run
the game again without using recover. Every time I've done that the game
has been able to recover files from where I left off. (Well, from the
start of the level anyway.)

bcode

unread,
Dec 7, 2012, 12:24:47 AM12/7/12
to
karadoc <kar...@gmail.com> wrote:
[Quoted quote moved and split from end]
> On 30/10/2012 5:34 AM, Rob Cypher wrote:
>> Long story short:
>>
>> Was playing a choatic female elf wizard character; had just started
>> (still on level 1) when the power went off briefly due to Hurricane
>> Sandy.

(Reminds me of how energy vortices seem to be supposed to have
an energy-draining attack - though it's unimplemented.
In this case, an air elemental would probably be a better
analogy inside NetHack, though.)

>> When power was restored a little later; I rebooted the machine
>> and used "recover.exe" to recover the save file. Trouble was
>> that the game file name had somehow saved as "54%0.0" and
>> "54%0.1" instead of the character's name (in this case "Britney").
>>
>> When I used recover.exe to bring the file back; the result was a
>> neutral dwarven caveman. All the characters' attributes had been
>> changed by default to a caveman character.
>
> Sounds like a pretty weird bug. Are you saying that everything in the
> recovered save was current except that your character had somehow turned
> into .. a level 1 dwarven caveman with a messed-up name?

I wonder how this could happen, too. Similar things have happened before;
see below...

> That sucks.
>>
>> Is that a bug with vanilla Nethack too?
>
> I've never actually used recover.exe myself, and it's quite possible
> that I've broken it somehow with my K-Mod changes. (I've just trusted
> that since I'm not changing the save format, recover should still work.)
>
> I'd be interested to know if this kind of thing ever happens in the
> unmodded game.

While it's not the same thing, another "pretty weird bug" happened
on the GruntHack public server (and IIRC something similar happened
on NAO, though I'm not as certain about that): there was a recovery
which made the stairs to Vlad's Tower lead to a Sokoban from an
earlier game and all kinds of strangeness...

(GruntHack changes the save file format, I think. I'm not sure whether
NAO does.)

> By the way, if my computer loses power or something, I usually just run
> the game again without using recover. Every time I've done that the game
> has been able to recover files from where I left off. (Well, from the
> start of the level anyway.)

If I recall correctly, the Windows version of NetHack automatically
invokes the recovery program for you. The UNIX version doesn't.

Rob Cypher

unread,
Dec 30, 2012, 10:01:40 PM12/30/12
to
On Fri, 07 Dec 2012 12:17:22 +1100, karadoc <kar...@gmail.com> wrote:

>Sounds like a pretty weird bug. Are you saying that everything in the
>recovered save was current except that your character had somehow turned
>into .. a level 1 dwarven caveman with a messed-up name?
>
>That sucks.
>
>I've never actually used recover.exe myself, and it's quite possible
>that I've broken it somehow with my K-Mod changes. (I've just trusted
>that since I'm not changing the save format, recover should still work.)
>
>I'd be interested to know if this kind of thing ever happens in the
>unmodded game.
>
>By the way, if my computer loses power or something, I usually just run
>the game again without using recover. Every time I've done that the game
>has been able to recover files from where I left off. (Well, from the
>start of the level anyway.)

My bad...should've followed up. It's only occurred that one time; the
few other times there were OS crashes/accidental resets, restore.exe
worked fine. I assume the power outage corrupted the game data.

Sorry to worry you.

Rob Cypher

unread,
Dec 31, 2012, 9:51:09 PM12/31/12
to
On Sun, 30 Dec 2012 22:01:40 -0500, Rob Cypher <bal...@aol.com>
wrote:

>On Fri, 07 Dec 2012 12:17:22 +1100, karadoc <kar...@gmail.com> wrote:
>
>>Sounds like a pretty weird bug. Are you saying that everything in the
>>recovered save was current except that your character had somehow turned
>>into .. a level 1 dwarven caveman with a messed-up name?
>>
>>That sucks.
>>
>>I've never actually used recover.exe myself, and it's quite possible
>>that I've broken it somehow with my K-Mod changes. (I've just trusted
>>that since I'm not changing the save format, recover should still work.)
>>
>>I'd be interested to know if this kind of thing ever happens in the
>>unmodded game.
>>
>>By the way, if my computer loses power or something, I usually just run
>>the game again without using recover. Every time I've done that the game
>>has been able to recover files from where I left off. (Well, from the
>>start of the level anyway.)
>
>My bad...should've followed up. It's only occurred that one time; the
>few other times there were OS crashes/accidental resets, restore.exe
>worked fine. I assume the power outage corrupted the game data.
>
>Sorry to worry you.

To follow-up: I had another outage while playing the game again (this
time with a Valkyrie who had lucked out with an aligned altar in
Minetown early on), and was at the top level of the Sobokan branch
when it crashed. It restored everything properly...except that the
level was generated upside down. (But I suspect it was just a
variation of the default 'top level' of Sobokan.)
0 new messages