Which Angband release is my savefile from

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beholder
    Rookie
    • Jun 2020
    • 2

    Which Angband release is my savefile from

    I had to reinstall my OS (MX linux) so I backed up my savefile (and all the other Angband files I had found). After the fresh installation Angband says the savefile is broken. I found out it may be a matter of different release installed now and before so I tried compiling 4.2.1, 4.2.0, 4.1.2 and 4.0.5 with no success (concerning the savefile, no problem with the installation). Is there a way to determine which release of Angband I used based on my savefile (or some other files I might have)?

    As I don't know if this is a true reason of my problems I'd like to avoid checking all the releases. Would you have any suggestions what else I could try?

    P.S. I know I could start a fresh character, but this one was kind of my favourite of many previous and I'm ready to spend some time reviving him after this 'unusual death' which seems this time to be my fault, not any monster...
    Attached Files
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9637

    #2
    There's not a straightforward way to tell, but I'm pretty sure it's pre-4.0 - probably either 3.5.0 or 3.5.1.
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    • beholder
      Rookie
      • Jun 2020
      • 2

      #3
      Thank you very much for quick reply. I tried 3.5.1 right away and it did not read the savefile neither.

      3.5.0 I have not managed to compile. I got error: "/usr/bin/ld: -r and -pie may not be used together" on make and did not find any solution. However it seems a bit too time consuming and I don't have as much time now as I used to so I will probably have to give up.

      Thanks for your help anyway.

      Comment

      • backwardsEric
        Knight
        • Aug 2019
        • 527

        #4
        Originally posted by beholder
        3.5.0 I have not managed to compile. I got error: "/usr/bin/ld: -r and -pie may not be used together" on make and did not find any solution. However it seems a bit too time consuming and I don't have as much time now as I used to so I will probably have to give up.
        Changing line 35 of src/Makefile from

        Code:
        $LD -nostdlib -Wl,r -o $@ $(OBJECTS)
        to

        Code:
        $LD -nostdlib -r -o $@ $(OBJECTS)
        (see this commit in the GitHub repository for the same change) allows compilation and linking to complete successfully on Debian 10 with gcc 8.3.0 and ld 2.31.1. So that would be something to try if you decide to look at it again.
        Last edited by backwardsEric; July 5, 2020, 07:42. Reason: Fixed typo in changed line

        Comment

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