Savefile compatibility

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tumbleweed
    Adept
    • May 2015
    • 112

    #16
    Originally posted by Nick
    Thing is, this one has changed during the rewriting process, so it is no longer compatible with savefiles form early in the rewrite, and there is no nice system of tiered item readers to allow it to fail gracefully.
    Yeah, fair enough.

    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.

    Comment

    • Derakon
      Prophet
      • Dec 2009
      • 9022

      #17
      Originally posted by tumbleweed
      Yeah, fair enough.

      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.
      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.

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9647

        #18
        Originally posted by tumbleweed
        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.
        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.

        Comment

        • AnonymousHero
          Veteran
          • Jun 2007
          • 1393

          #19
          Originally posted by Nick
          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
          Hey! I'm sure I should feel insulted, but somehow I don't...?!? Dude?!?

          Comment

          • AnonymousHero
            Veteran
            • Jun 2007
            • 1393

            #20
            Originally posted by Carnivean
            Thanks. Without looking into the code, and I'm hopeless at reading C, I wouldn't have known that.
            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.

            Comment

            • Carnivean
              Knight
              • Sep 2013
              • 527

              #21
              Originally posted by AnonymousHero
              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.
              I'm somewhat familiar with coding, even took classes in C 20 years ago. Nowadays I stick to SQL and VBA. Reading C hurts my head, so I avoid it where possible.

              Sadly I know enough to be dangerous, but not enough to be useful. I don't mind getting an honest answer to a question, no matter how negative the answer might be, so don't feel like you were being dismissive.

              Comment

              • Timo Pietilä
                Prophet
                • Apr 2007
                • 4096

                #22
                Originally posted by Nick
                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.
                If there are no gameplay changes then keep savefile compatibility, if there are then break it. The mid-game char might not be compatible with new version anyway if the game has gameplay changes.

                That's how I see it. If that requires some conversion routine, then that's needed.

                Comment

                • Ingwe Ingweron
                  Veteran
                  • Jan 2009
                  • 2129

                  #23
                  Originally posted by Timo Pietilä
                  If there are no gameplay changes then keep savefile compatibility, if there are then break it. The mid-game char might not be compatible with new version anyway if the game has gameplay changes.

                  That's how I see it. If that requires some conversion routine, then that's needed.
                  Why not just finish your game on the version you're playing before upgrading to the new version?
                  “We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see.”
                  ― Tom Stoppard, Rosencrantz and Guildenstern are Dead

                  Comment

                  • Carnivean
                    Knight
                    • Sep 2013
                    • 527

                    #24
                    Originally posted by Ingwe Ingweron
                    Why not just finish your game on the version you're playing before upgrading to the new version?
                    I'd say that's what he's suggesting. No point taking a mid-game character into what is essentially a different game.

                    Comment

                    • debo
                      Veteran
                      • Oct 2011
                      • 2402

                      #25
                      IMO if you try to load an incompatible savefile, angband should scrape the savefile for the character name, auto-download FAangband, and create a character of the same name in thrall mode. (Nightmare difficulty, if possible.)
                      Glaurung, Father of the Dragons says, 'You cannot avoid the ballyhack.'

                      Comment

                      • Timo Pietilä
                        Prophet
                        • Apr 2007
                        • 4096

                        #26
                        Originally posted by Ingwe Ingweron
                        Why not just finish your game on the version you're playing before upgrading to the new version?
                        That can take a long time. 20 hours real time, half a hour max / day, 40 days for single char.

                        Comment

                        Working...
                        😀
                        😂
                        🥰
                        😘
                        🤢
                        😎
                        😞
                        😡
                        👍
                        👎