A character of mine died

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sffp
    Swordsman
    • Apr 2020
    • 434

    A character of mine died

    But when I open angband this morning to start anew
    I get a parsing error referencing column 1 line 1 on the old character's name

    Parse error in Brand line 1 column 1

    Any way to fix that easily without reinstalling?
  • sffp
    Swordsman
    • Apr 2020
    • 434

    #2
    to confuse the matter further -

    The background/main screen of angband is showing:
    "Initializing brands"

    I've tried moving the dead Brand character in the save directory but no joy.
    Attached Files

    Comment

    • backwardsEric
      Knight
      • Aug 2019
      • 526

      #3
      Originally posted by sffp
      to confuse the matter further -

      The background/main screen of angband is showing:
      "Initializing brands"

      I've tried moving the dead Brand character in the save directory but no joy.
      Are you using the most recent nightly version? That has a change in the configuration for the brands, though that wouldn't explain why it would stop at the first line of the file.

      The file it's complaining about is brand.txt from the lib\gamedata directory within the game's files. If you post the contents of that, it could help determine what went wrong.

      Comment

      • backwardsEric
        Knight
        • Aug 2019
        • 526

        #4
        What's likely happening is that the game is trying to read the character dump, Brand.txt , as the configuration file for the brands. Moving or renaming that dump - it should be one directory up from the save file you removed - should solve the problem.

        Comment

        • DavidMedley
          Veteran
          • Oct 2019
          • 1004

          #5
          I just gotta say, I love the title "A Character of Mine Died."
          Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

          Comment

          • Nick
            Vanilla maintainer
            • Apr 2007
            • 9631

            #6
            Originally posted by backwardsEric
            What's likely happening is that the game is trying to read the character dump, Brand.txt , as the configuration file for the brands. Moving or renaming that dump - it should be one directory up from the save file you removed - should solve the problem.
            Yes, this should be the correct answer.

            I can't believe that when I allowed custom versions of datafiles to be read from the user directory I never saw this problem coming. Now I'm looking through all the datafiles deciding which of them make good character names - I think I like ui_entry_renderer...
            One for the Dark Lord on his dark throne
            In the Land of Mordor where the Shadows lie.

            Comment

            • sffp
              Swordsman
              • Apr 2020
              • 434

              #7
              That was indeed it. And that was funny.
              I do have a character called Ul but sadly not ui_entry_renderer

              Comment

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