#1054904 angband: Upgrade deletes user data in /var/games/angband

Package:
angband
Source:
angband
Description:
Single-player, text-based, dungeon simulation game
Submitter:
Doug Larrick
Date:
2024-02-24 11:54:02 UTC
Severity:
normal
#1054904#5
Date:
2023-10-28 13:07:29 UTC
From:
To:
Dear Maintainer,

Upon upgrade from Angband 1:3.5.1-2.5, user data in /var/games/angband appears
to have been deleted, including character history and the saved game in
progress.

#1054904#10
Date:
2023-10-29 20:09:14 UTC
From:
To:
Hi,

After an eight year gap I'm afraid save files were not compatible anyway,
but please could you expand on what you mean by character history? Which
files are missing? Most personal stuff should be in ~/.angband/Angband,
which is not cleansed. I didn't have anything in /var/games/angband when I
tested the package, so curious to know what you lost.

Thanks

Chris

#1054904#15
Date:
2023-10-30 21:03:51 UTC
From:
To:
After having run the new Angband for a few runs through the dungeons,
/var/games/angband has files in "scores" and "save" directories. The
"save" is the save files, and the "scores" contains historic summaries
of characters who were killed. I suspect, but don't know, that this is
what the old version did as well.

You are right, it would make more sense to save this info in
~/.angband but that does not seem to be what it does. That's where I
looked in my backups, but to no avail (I don't back up /var).

No great loss, really, in my case, but some might be more upset.
Certainly I think it's as worthy of a mention as the SDL font issue you
nicely put in the NEWS.Debian.

#1054904#20
Date:
2024-02-24 11:51:44 UTC
From:
To:
Hi,

(Apologies for the delay, I didn't get a copy of that reply, which I think
is because I am only uploader now not maintainer.)

Thanks - I understand now. The only things stored outside the personal
space (~/.angband/) are the save files and the high score file.
Older versions had private score files - it wasn't possible to have
system-wide score files due to a security bug in gtk that prevented
building the package with setgid. Now gtk has been deprecated upstream the
package is built with setgid so that all users feature in the same high
score file - but of course it started blank, because it's a new one in a
new place.

So I don't think either you or anyone else has actually lost anything - but
you're right that it's worth a mention in NEWS.Debian in case people want
to go hunting for their old private high score file.

Best

Chris