Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Vanilla (http://angband.oook.cz/forum/forumdisplay.php?f=3)
-   -   Which Angband release is my savefile from (http://angband.oook.cz/forum/showthread.php?t=10117)

beholder June 22, 2020 23:43

Which Angband release is my savefile from
 
1 Attachment(s)
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...

Nick June 23, 2020 00:32

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.

beholder July 4, 2020 21:37

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.

backwardsEric July 5, 2020 07:33

Quote:

Originally Posted by beholder (Post 146827)
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.


All times are GMT +1. The time now is 09:52.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.