"broken savefile" - WHAT THE HELL'S WRONG?! How do I recover my char?!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nemesis
    Adept
    • Jul 2009
    • 137

    "broken savefile" - WHAT THE HELL'S WRONG?! How do I recover my char?!

    I was clvl 40 and hanging around dlvl 90, had all the resists except for Nether and Disenchantment, +21 speed, 18/200 CON, all dungeon spellbooks, EVERYTHING! And now the game tells me the save file is broken! I could have won this game, and sure, I could have died too, but if the game's going to end, it has to be MY fault! This was my first serious vanilla character, and this is no way for him to go away! Sorry for ranting, what I really wanted to ask was if someone could help me.

    Here's the save file:


    It was a v3.11 game, and I had to reload it after my computer crashed. Then the game told me the save file was broken, but that doesn't make any sense! I mean, it would make sense if my comp crashed while trying to save, but that wasn't the case.

    If there's no way to recover the file, is there any character editor for Angband that can help me create a new character with identical equipment, lvl, etc?
  • Nemesis
    Adept
    • Jul 2009
    • 137

    #2
    Maybe I could edit the artifacts I had to be ultra common and make Filthy Street Urchins drop them and give a shitload of xp? But it would be quite depressing having to do that just to recover my game.

    Comment

    • LostTemplar
      Knight
      • Aug 2009
      • 670

      #3
      Yes, system crashes are evil, just like teleporting into greater undead pit.

      Comment

      • Nemesis
        Adept
        • Jul 2009
        • 137

        #4
        Originally posted by LostTemplar
        Yes, system crashes are evil, just like teleporting into greater undead pit.
        I would much rather have lost my game due to intentional evil from the programmers than unintentinal evil from them/my computer/windows.

        Comment

        • LostTemplar
          Knight
          • Aug 2009
          • 670

          #5
          Yes, saving code is somewhat unsafe in angband, one have to use fsync function to save properly on modern systems, or maybe even something more complicated.

          Comment

          • PowerDiver
            Prophet
            • Mar 2008
            • 2820

            #6
            Surely it is time to disable the stupid panic save functionality. Now that we have autosave on level change, panic saves are much more likely to do a lot of harm than a noticeable amount of good.

            Is there any point to it other than making cheating a tiny bit harder?

            Comment

            • Nemesis
              Adept
              • Jul 2009
              • 137

              #7
              Originally posted by PowerDiver
              Surely it is time to disable the stupid panic save functionality. Now that we have autosave on level change, panic saves are much more likely to do a lot of harm than a noticeable amount of good.

              Is there any point to it other than making cheating a tiny bit harder?
              What do you mean? Is there some auto-backup function that saves on each level change? Is it possible that another, uncorrupted, version of my game is still around?

              Comment

              • PowerDiver
                Prophet
                • Mar 2008
                • 2820

                #8
                Originally posted by Nemesis
                What do you mean? Is there some auto-backup function that saves on each level change? Is it possible that another, uncorrupted, version of my game is still around?
                There is only one savefile. It was overwritten when you arrived at your current level. Then the panic save overwrote and mucked it up when your machine crashed. Had the panic save done nothing, you would have been able to restart at the beginning of the level, but instead you are hosed.

                As to your question how to get your char back, I'd guess it would be straightforward if you learn to use wizard mode, but I don't know for sure. The savefile would be marked as a cheat, but you're going to have to throw it away anyway.

                Comment

                • PowerDiver
                  Prophet
                  • Mar 2008
                  • 2820

                  #9
                  I guess I could be completely wrong about this. There used to be panic saving, and I assume that is the problem, but maybe it isn't. Perhaps the autosave under windows doesn't close/sync the file well enough to withstand a crash.

                  Comment

                  • Nemesis
                    Adept
                    • Jul 2009
                    • 137

                    #10
                    Originally posted by PowerDiver
                    As to your question how to get your char back, I'd guess it would be straightforward if you learn to use wizard mode, but I don't know for sure. The savefile would be marked as a cheat, but you're going to have to throw it away anyway.
                    I managed to get potions of Cure Light Wounds to work as Potions of Experience, and by changing the rarity and depth of the artifacts I had in my old game, I've already recovered two of them. It probably won't take more than this evening to get my new character as good as identical to the one that was lost.

                    If I win the game, my turncount will be unfair, but if I upload the dump at the ladder I guess I'll just explain what happened and why the turncount is so low (the turncount for this character should actually be very high, as I've had had the habit of tunneling the way through the dungeon).

                    Comment

                    • Tiburon Silverflame
                      Swordsman
                      • Feb 2010
                      • 405

                      #11
                      Windows does "save on exit." A system crash *may* have sent a Termination signal that initiated the game's exit, and started a write to file, which got trashed by something else. Hard to say, cuz this may (probably is) depend on which version of Windows you're running.

                      I've had the game crash a few times in Windows...including cases where I'd taken out 2 or 3 uniques and picked up a couple good artifacts...and lost that work. That was painful enough. So I tend to save a bit more often. And periodically, I just manually copy/paste the char file so, if there *is* a crash, I can recover.

                      It might be nice to have 2-tier saves...so the level-switch autosave is written to one file, while the game-exit or user-initiated save is written to a different file. But I don't think that's gonna get much support.

                      Comment

                      • Nemesis
                        Adept
                        • Jul 2009
                        • 137

                        #12
                        Originally posted by Tiburon Silverflame
                        It might be nice to have 2-tier saves...so the level-switch autosave is written to one file, while the game-exit or user-initiated save is written to a different file. But I don't think that's gonna get much support.
                        At least I am totally with you!

                        Comment

                        • Sirridan
                          Knight
                          • May 2009
                          • 560

                          #13
                          Ouch, file is 49kb of all zero's so it can't be recovered, sorry mate.

                          Comment

                          • Nemesis
                            Adept
                            • Jul 2009
                            • 137

                            #14
                            Originally posted by Sirridan
                            Ouch, file is 49kb of all zero's so it can't be recovered, sorry mate.
                            Thanks for having a look at it, anyway. The situation isn't as cathastrophic as I expected though, as I've already managed to hack (with the edit files, not hack and slash) back my stats and xp and some of the artifacts.

                            Comment

                            • buzzkill
                              Prophet
                              • May 2008
                              • 2939

                              #15
                              Originally posted by Nemesis
                              Thanks for having a look at it, anyway. The situation isn't as cathastrophic as I expected though, as I've already managed to hack (with the edit files, not hack and slash) back my stats and xp and some of the artifacts.
                              Just me, but I'd give it up. If you were going to win this game then you'll win another eventually. It just seems like a lot of work and cheating to get a somewhat questionable legitimate win.

                              What ancient version of windows are you running that crashed? I can't remember the last time windows crashed on me.
                              www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
                              My banding life on Buzzkill's ladder.

                              Comment

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