Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old July 19, 2019, 20:57   #1
Oraticus
Apprentice
 
Join Date: Sep 2014
Posts: 84
Oraticus is on a distinguished road
Exclamation Broken savefile error



Just wondering if anyone has seen this issue before, and if there's a fix for it.
Oraticus is offline   Reply With Quote
Old July 19, 2019, 21:11   #2
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,391
Donated: $40
Pete Mack is on a distinguished road
It likely means the randart file is missing. There was a recent Dev build where it was never saved properly.
Pete Mack is offline   Reply With Quote
Old July 19, 2019, 21:25   #3
Oraticus
Apprentice
 
Join Date: Sep 2014
Posts: 84
Oraticus is on a distinguished road
Thanks for the quick reply. Where is this file, and is there any way to restore it? I'm guessing the run (a very lucky one) is probably toast... but was hopeful I might still be able to do something.
Oraticus is offline   Reply With Quote
Old July 19, 2019, 23:33   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,849
Donated: $60
Nick will become famous soon enough
Your randart files are all in the lib\user\archive folder. The one you want will probably be the most recent one; certainly it will be the one that contains an artifact called Elberaman.

The problem, though, is that if that file is there, the game should be loading it correctly. You should also look in the lib\user folder and see if there is a file called "randart.txt".- - although, again, the game should be able to deal with that.

As Pete indicated, the behaviour will depend on which version of the game you're using - whether it is actually the official 4.1.3, or a build from the nightlies page.

If you cannot get the game going, zip up your savefile and any randart file you feel might be related and attach the zipfile to this thread, and I'll try and track down the problem.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old July 19, 2019, 23:40   #5
Sky
Veteran
 
Join Date: Oct 2016
Location: somewhere on the south coast
Age: 47
Posts: 1,309
Sky is on a distinguished road
i have run into - and fixed - this problem. there is a broken pointer somewhere, all you need to do is make a new different character, close, re-load the old character - voila'.

doesnt ALWAYS work, but keep doing this and it eventually will.
__________________
"i can take this dracolich"
Sky is offline   Reply With Quote
Old July 20, 2019, 20:58   #6
Oraticus
Apprentice
 
Join Date: Sep 2014
Posts: 84
Oraticus is on a distinguished road
Thanks, Sky... I'll give it shot to see if it fixes my character too, and I'll reply.

Sorry for the delayed response... this file is on my work computer, so once the work day was over, I wasn't checking it anymore. :P

I checked, and I have the base randart.txt in lib\user. I also found "elberaman" in the most recent randart file in \lib\user\archive, so both files exist. I assume it's what Sky suggested. I was gonna attach those files as an example case for the bug, but when trying to attach the randart.txt file it said it exceeded the forum's upload limit for a .txt file (40.5Kb, limit 19.5Kb).
Oraticus is offline   Reply With Quote
Old July 21, 2019, 01:32   #7
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,849
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by Oraticus View Post
I checked, and I have the base randart.txt in lib\user. I also found "elberaman" in the most recent randart file in \lib\user\archive, so both files exist. I assume it's what Sky suggested. I was gonna attach those files as an example case for the bug, but when trying to attach the randart.txt file it said it exceeded the forum's upload limit for a .txt file (40.5Kb, limit 19.5Kb).
Yes, Shy's fix will probably work; the way you've described it, deleting (or just moving aside) the randart.txt in \lib\user should also work. Let me know if not.

As for attaching to the forum, zipping all the relevant files should work if yo need to again.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old July 22, 2019, 21:08   #8
Oraticus
Apprentice
 
Join Date: Sep 2014
Posts: 84
Oraticus is on a distinguished road
Thanks, Nick! Just moving the randart.txt up one level did the trick! This luckly lil' gnome has been given a new lease on life!
Oraticus is offline   Reply With Quote
Old July 23, 2019, 16:31   #9
schatz
Rookie
 
Join Date: Jun 2014
Posts: 19
schatz is on a distinguished road
I just ran into similar issue. My paladin was just trying out the Single Combat spell for the first time and after casting it at the monster and taking two steps towards the monster, the game crashed. I tried restarting the game, took the same two steps and it crashed again. Thereafter the game did not even start at all, giving me the following error message:

Code:
Broken savefile - probably from a development version
I should have made a backup copy of the directory before I tried starting the game again.

Not sure if this is relevant, but I had compiled my own version from sources on my macbook with the following change to get a wider terminal for the main window plus a second window to the side for monster list (with "-mgcu -- -n2" option):

Code:
diff --git a/src/main-gcu.c b/src/main-gcu.c
index a6fe3545..d3b59ac2 100644
--- a/src/main-gcu.c
+++ b/src/main-gcu.c
@@ -118,7 +118,7 @@ typedef struct term_data {

 /* Minimum main term size */
 #define MIN_TERM0_LINES 24
-#define MIN_TERM0_COLS 80
+#define MIN_TERM0_COLS 100

 /* Comfortable subterm size */
 #define COMFY_SUBTERM_LINES 5
I get a similar error message using the latest nightlies for osx.

Code:
2019-07-23 22:16:23.312 angband[12357:14913391] Broken savefile - probably from a development version
Is there anything I can do to recover the character from this save file?
schatz is offline   Reply With Quote
Old July 23, 2019, 17:34   #10
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,391
Donated: $40
Pete Mack is on a distinguished road
That difference has nothing to do with save file format--it is UI only. No idea what though, from such a mysterious error message.
Pete Mack is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken Savefile icefyre Vanilla 4 November 27, 2016 04:09
broken savefile 4.0.4 orti Vanilla 2 July 4, 2016 10:30
Savefile compatibility Nick Vanilla 25 June 23, 2015 09:17
"Error at line 1988 of 'artifact.txt'. Record 136 contains a many entries' error. thedude Vanilla 1 December 12, 2014 05:31
"broken savefile" - WHAT THE HELL'S WRONG?! How do I recover my char?! Nemesis Vanilla 30 April 24, 2010 05:02


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


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