Help fixing my save file?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TempInDistress
    Rookie
    • Dec 2019
    • 3

    Help fixing my save file?

    Hey guys, like the title says, my save file got corrupted cause the game forgot what an iron shot of venom was, and when I tried to drop them, it crashed the save and I can't reload it.

    I have blue dragonscale mail and a longbow of might for my rogue, I've never had anything CLOSE to this good before and I really really don't want to lose my save to a glitch!!

    I uploaded a Zip of the save file, let me know if there's a better way to go about that.

    Thanks in advance.
    Attached Files
  • TempInDistress
    Rookie
    • Dec 2019
    • 3

    #2
    I was digging around in the files some more and found the following pile_error. It occurred when I tried to store Iron Shots of Venom in my house if I remember correctly, which it was calling an unknown item at the time, and displayed as a whip when I threw it. I didn't realize a glitch was happening, I thought I was cursed or something.

    Pile integrity failure at obj-pile.c:214

    Guilty object
    =============
    Name: & Whip~
    Previous: & Scimitar~

    Guilty pile
    =============
    Name: [First Spells]
    Name: & Cloak~
    Name: & Flask~ of oil
    Name: & Small Metal Shield~
    Name: Cure Light Wounds
    Name: & Set~ of Leather Gloves
    Name: Phase Door
    Name: Neutralize Poison
    Name: & Dagger~
    Name: Magic Missile
    Name: True Seeing
    Name: Searching
    Name: Cure Serious Wounds
    Name: Blue Dragon Scale Mail~
    Name: Light
    Name: Speed
    Name: & Lantern~
    Name: Detect Invisible
    Name: Magic Mapping
    Name: Remove Hunger
    Name: & Pair~ of Iron Shod Boots
    Name: Mapping
    Name: Word of Recall
    Name: & Rounded Pebble~
    Name: the Mouse
    Name: Infravision
    Name: & Iron Helm~
    Name: Reckless Attacks
    Name: & Hard Leather Cap~
    Name: & Ration~ of Food
    Name: & Long Bow~

    Comment

    • Nick
      Vanilla maintainer
      • Apr 2007
      • 9637

      #3
      OK, your game is fairly spectacularly messed up. I have managed to get it to open, but currently saving it again makes it crash. Give me a day or two and I'll see what I can salvage.
      One for the Dark Lord on his dark throne
      In the Land of Mordor where the Shadows lie.

      Comment

      • Pete Mack
        Prophet
        • Apr 2007
        • 6883

        #4
        It's be nice to know the root cause of pile integrity crashes. I don't remember them from before virtual floor objects were introduced.

        Comment

        • Nick
          Vanilla maintainer
          • Apr 2007
          • 9637

          #5
          Originally posted by Pete Mack
          It's be nice to know the root cause of pile integrity crashes. I don't remember them from before virtual floor objects were introduced.
          It sure would be nice

          At some point I decided (and I want to say some other people share the blame for not talking me out of it) that rather than having an object array for the level and an object array for the player's inventory, it would be better to have objects being individual pieces of memory that got passed around between player, monsters, floor and shops. This sounds like a great idea in theory, and has actually mostly worked pretty well, but there's still a couple of gremlins in it and it's fiendishly difficult to debug because bad results usually emerge a bit after the original cause. Having pile integrity checks and crashing the game when they fail is the best solution so far (I think takkaria came up with it), but it's far from perfect as this thread demonstrates. And I think unscrambling the eggs now would only make things worse. I am hopeful that we will reach a bug-free state for object code at some point, but we're not there yet.
          One for the Dark Lord on his dark throne
          In the Land of Mordor where the Shadows lie.

          Comment

          • TempInDistress
            Rookie
            • Dec 2019
            • 3

            #6
            Originally posted by Nick
            OK, your game is fairly spectacularly messed up. I have managed to get it to open, but currently saving it again makes it crash. Give me a day or two and I'll see what I can salvage.
            Thanks so much man, I appreciate it.

            Would it be simpler at this point to make a new rogue, and somehow boost his level, and give him the bow and armor back? I REALLY want that bow and dragon scale.

            Also my friend looking at it for me wants to know, "What are you opening the save file in, nothing I have opens it properly, I get messed up and unrecognized characters everywhere?"

            Thank you very much for looking in to it.

            EDIT: Is there something I can do to keep this from getting screwed up again?
            Last edited by TempInDistress; December 12, 2019, 05:40.

            Comment

            • Pete Mack
              Prophet
              • Apr 2007
              • 6883

              #7
              He is opening it in a -g compile of angband, using gdb or other debugger.

              Comment

              • Nick
                Vanilla maintainer
                • Apr 2007
                • 9637

                #8
                OK, your savefile is attached - I had to hack the game to load it correctly. Let me know if there are any problems.
                Attached Files
                One for the Dark Lord on his dark throne
                In the Land of Mordor where the Shadows lie.

                Comment

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