![]() |
#11 | |
Knight
Join Date: Sep 2013
Posts: 526
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#12 | ||
Veteran
Join Date: Jun 2007
Posts: 1,367
![]() |
Quote:
You can certainly mitigate some of this by choosing a standardized and self-describing file format for savefiles (e.g. JSON or XML), but that's only 1% of the solution. Quote:
(At bottom it all has to do with the non-linearity of changes to programs and the effects of those programs, but I won't bother you with the abstract details.) EDIT: I should say, that avoiding breaking compatibility is a lot easier (if you have good testing in place and/or are extremely focused on it), but that constrains the things you can do enormously. It's always a trade-off. Last edited by AnonymousHero; June 19, 2015 at 21:20. |
||
![]() |
![]() |
![]() |
#13 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,860
Donated: $60
![]() |
Quote:
So this behaviour is not unexpected; it shouldn't ever happen for savefiles from actual proper versions, though.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#14 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,860
Donated: $60
![]() |
Quote:
It's also good for me to see that sometimes it's Linux that makes my life more difficult rather that one of the other OSes ![]()
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#15 |
Knight
Join Date: Sep 2013
Posts: 526
![]() |
Thanks. Without looking into the code, and I'm hopeless at reading C, I wouldn't have known that.
|
![]() |
![]() |
![]() |
#16 | |
Adept
Join Date: May 2015
Posts: 112
![]() |
Quote:
Then again, I'd still call it "failing gracefully" if it at least told me to kindly fuck off with pre-230 (iirc) savefiles. But instead it just falls flat on its face with assertion failures and access violations. |
|
![]() |
![]() |
![]() |
#17 |
Prophet
Join Date: Dec 2009
Posts: 8,942
![]() |
Sounds like all that's really needed is to stick a version number in the header and error out if that version doesn't match the version of Angband currently running.
|
![]() |
![]() |
![]() |
#18 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,860
Donated: $60
![]() |
Yes, I think assertion failure just from loading something invalid is a bit rude. I'll fix that.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#19 |
Veteran
Join Date: Jun 2007
Posts: 1,367
![]() |
|
![]() |
![]() |
![]() |
#20 |
Veteran
Join Date: Jun 2007
Posts: 1,367
![]() |
I don't mean to (metaphorically) apply a trounce to anyone, so please do ask if you have any questions about coding (or otherwise). EDIT: ... and I also want to sell you the true awesome of programming in case you're not acquainted already.
|
![]() |
![]() |
![]() |
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 02:01 |
Save File Compatibility | dhegler | Vanilla | 2 | September 25, 2009 15:33 |
Savefile Migration | EvilMarshmallow | Vanilla | 9 | May 20, 2009 17:39 |
[3.1.0] Savefile bug? | CunningGabe | Vanilla | 2 | January 16, 2009 03:37 |
Savefile breakage happening soon | takkaria | Vanilla | 11 | May 17, 2008 19:04 |