bryceco / nethack-cocoa

OS X tile port of NetHack-3.6 using the native Cocoa framework
11 stars 4 forks source link

Unrecoverable game from closed window #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Closing the window with the close button or quitting with command-q

What is the expected output? What do you see instead?

I've ended up with an apparently unrecoverable game.  Opening the app gives me 
a "There is already a game in progress under your name.  Destroy old game?" 
message.  I've attempted to use the recover utility from a terminal port of the 
same version with no luck (Cannot open level of save for 501Alannon.
)

My ~/Library/NetHackCocoa library looks as follows:

-rw-rw----  1 alannon  staff  22757 24 Aug 03:41 501Alannon.0
-rw-rw----  1 alannon  staff  15824 24 Aug 00:32 501Alannon.3
-rw-rw----  1 alannon  staff  16601 24 Aug 00:32 501Alannon.4
-rw-rw----  1 alannon  staff  17460 24 Aug 00:27 501Alannon.5
-rw-rw----  1 alannon  staff  17239 24 Aug 00:58 501Alannon.53
-rw-rw----  1 alannon  staff  17674 24 Aug 01:32 501Alannon.54
-rw-rw----  1 alannon  staff  18002 24 Aug 01:56 501Alannon.55
-rw-rw----  1 alannon  staff  41898 24 Aug 03:41 501Alannon.56
-rw-rw----  1 alannon  staff  18586 24 Aug 03:41 501Alannon.57
-rw-rw----  1 alannon  staff  19454 24 Aug 03:41 501Alannon.58
-rw-rw----  1 alannon  staff  18422 24 Aug 03:41 501Alannon.59
-rw-rw----  1 alannon  staff  17918 24 Aug 00:17 501Alannon.6
-rw-rw----  1 alannon  staff  20410 24 Aug 03:28 501Alannon.60
-rw-rw----  1 alannon  staff   4391 20 Aug 19:33 bonD0.O.Z
-rw-rw----  1 alannon  staff    286 22 Aug 01:52 logfile
-rw-rw----  1 alannon  staff    134 20 Aug 19:33 paniclog
-rw-rw----  1 alannon  staff    286 22 Aug 01:52 record
drwxr-xr-x  3 alannon  staff    102 24 Aug 17:25 save

the save directory contains:

-rw-rw----  1 alannon  staff  75036 24 Aug 03:46 501Alannon

Any ideas?

If I delete 501Alannon.0 the game loads up from the point that I was at when I 
quit, but I get a 'trickery' error when I attempt to change levels.

Please note that I can't seem to reproduce this consistently.

Original issue reported on code.google.com by cherry...@gmail.com on 25 Aug 2012 at 12:49

GoogleCodeExporter commented 9 years ago
I have this problem too - Mac crashed in the middle of a game.

Was able to use the terminal port to recover
karl:~/Library/NetHackCocoa $ /usr/games/bin/recover -d ~/Library/NetHackCocoa 
501Karl
recovered "501Karl" to save/501Karl

I noticed that the App saves its files like 501Karl.Z, so renamed the save file 
to that.

Now when I start the message I get is "Unable to uncompress save/501Karl".

Deleting 501Karl.0 had no effect.

Any ideas how I can convert the terminal-generated save file to work with the 
app?

Original comment by karl.sch...@gmail.com on 2 Nov 2013 at 7:19

GoogleCodeExporter commented 9 years ago
As of 0.3.5 the game will prompt to recover files following a crash.

Original comment by bryc...@gmail.com on 25 Oct 2014 at 6:23

GoogleCodeExporter commented 9 years ago
I am only able to get version 0.3.3 from the Mac App Store, and I can only see 
0.3.4 for download in this wiki. Is there a plan for a new release any time 
soon?  My nice well-developed character just got destroyed due to a similar bug 
(I didn't close the window, but the app crashed and the game was 
unrecoverable). :(

Original comment by tessa....@gmail.com on 17 Feb 2015 at 5:36