![]() |
#1 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,564
Donated: $60
![]() ![]() |
Savefile compatibility
Can anyone provide me with a single good reason why savefile compatibility is desirable now?
In the past, the big reason was monster memory. That is now in a separate file. If there is no such reason, then the plan would be that, for example: Angband 8.1.0 would be released; 8.1.1, 8.1.2, ... would all be savefile compatible (as changes in the third digit are just for fixes); then when 8.2.0 is released 8.1.x savefiles will (probably) not work in it.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#2 |
Veteran
Join Date: Mar 2013
Location: Berkshire, UK
Posts: 1,214
![]() |
Nope.
Go nuts. |
![]() |
![]() |
![]() |
#3 |
Knight
Join Date: Dec 2008
Posts: 649
![]() |
|
![]() |
![]() |
![]() |
#4 |
Knight
Join Date: Sep 2010
Location: England
Posts: 958
![]() |
|
![]() |
![]() |
![]() |
#5 |
Veteran
Join Date: Jun 2007
Posts: 1,393
![]() |
Not really.
However, there is one case where it might conceivably be desirable, namely Linux distributions where you might get updated from 8.1.3 to 8.2.0 semi-automatically. However, people using those usually know what they're doing -- as long as you get a reasonably clear error message from the game (and it doesn't corrupt the save file) people could just downgrade. (Though as you say minor version definitely should -- otherwise it'd get a bit too frustrating.) |
![]() |
![]() |
![]() |
#6 |
Knight
Join Date: Sep 2013
Posts: 527
![]() |
Is there any reason that you couldn't have a save file converter for the players that want to keep playing a character that's in the middle of a game?
|
![]() |
![]() |
![]() |
#7 |
Swordsman
Join Date: May 2009
Posts: 294
![]() |
Not having to figure out how to convert save files across is kind of the point to breaking compatibility...
|
![]() |
![]() |
![]() |
#8 |
Adept
Join Date: May 2015
Posts: 112
![]() |
As far as I can tell from glancing over the savefile howto, Angband should already have the facilities in place to support gracefully rejecting whole savefiles or even just the individual parts it can't load any more.
Which makes me wonder why current iterations of 4.0beta crash and burn horribly when attempting to load old 4.0beta saves from before the break. Last edited by tumbleweed; June 19, 2015 at 15:31. |
![]() |
![]() |
![]() |
#9 | |
Knight
Join Date: Sep 2013
Posts: 527
![]() |
Quote:
However, you have 2 defined file types, with largely overlapping data. Outside of the core game, it seems like it should be possible to fill as much of the new file as exists in the old file, and fill the rest with an acceptable default value. This would leave you with a save file that loads in the new version, without having to change the core game code to facilitate it. Is there a technical challenge to doing this that I'm not aware of? |
|
![]() |
![]() |
![]() |
#10 | |
Prophet
Join Date: Dec 2009
Posts: 9,022
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
request for a savefile | fizzix | Development | 2 | July 26, 2011 01:01 |
Save File Compatibility | dhegler | Vanilla | 2 | September 25, 2009 14:33 |
Savefile Migration | EvilMarshmallow | Vanilla | 9 | May 20, 2009 16:39 |
[3.1.0] Savefile bug? | CunningGabe | Vanilla | 2 | January 16, 2009 03:37 |
Savefile breakage happening soon | takkaria | Vanilla | 11 | May 17, 2008 18:04 |