Bug 20454 - Save games fails
Summary: Save games fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: nethack
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
: 45428 52800 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-11-07 03:05 UTC by Need Real Name
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-16 16:48:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2000-11-07 03:05:14 UTC
When I install nethack-3.3.1-1.i386.rpm, run nethack, save a game, and then
restart it, the restore of the saved games fails with a "version mismatch"
error.

Comment 1 Bernhard Rosenkraenzer 2000-11-10 10:14:38 UTC
Verified; looking into it.

Comment 2 Uli Heller 2001-03-13 07:17:33 UTC
I think it is a problem with compression.
There is following work around:
1) Save game --> file "/usr/lib/games/nethackdir/save/123uli.bz2" is created
   (123 and uli are replaced by user id/user name)
2) Decompress this file by executing "bzip2 -cd 123uli.bz2"
3) Now the restart of the game will be OK

Comment 3 Ville Skyttä 2001-05-10 22:44:39 UTC
Exists in RH7.1 powertools' nethack-3.3.1-3.i386.rpm too.
Here's a fix: in the source RPM's nethack-3.3.1-redhat.patch
COMPRESS_OPTIONS are defined as "-q -z9" but bzip2 _forces_ compression with
the -z flag, thus making decompression always fail since the COMPRESS_OPTIONS
are passed to the COMPRESS executable also when decompressing. Modifying the
patch to define COMPRESS_OPTIONS as "-q -9" and recompiling fixes this.



Comment 4 Bernhard Rosenkraenzer 2001-06-25 09:23:38 UTC
*** Bug 45428 has been marked as a duplicate of this bug. ***

Comment 5 Bernhard Rosenkraenzer 2001-08-29 14:21:55 UTC
*** Bug 52800 has been marked as a duplicate of this bug. ***

Comment 6 Nicolau C. Saldanha 2001-08-30 17:51:43 UTC
A very minor but annoying bug...

Fwiw, I created rpms fixing it
(by deleting 1 character from the patch file and rebuilding,
exactly as proposed by <ville.skytta> above),
they are here:

http://www.mat.puc-rio.br/~nicolau/rpms



Comment 7 David Lawrence 2003-05-16 16:48:51 UTC
Closing as WONTFIX due to end of life of the Power Tools product line. Please
open a new bug report under the Red Hat Linux product if the component is still
included in the base Red Hat distribution.


Note You need to log in before you can comment on or make changes to this bug.