Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old January 15, 2014, 18:01   #1
discochoir
Rookie
 
Join Date: Jan 2014
Posts: 5
discochoir is on a distinguished road
Savefile block can't be read

Ubuntu 13.10
I had gone to the Ubuntu software center and downloaded Angband3.3, played for a bit, then removed it completely.
I then downloaded, compiled, installed v3.5. It opens up fine and asks me to press any key to continue. So I do!
Immediately I receive the error:
Code:
Savefile block can't be read
Maybe try and load the savefile in an earlier version of Angband
I've checked the file where saves are located, and its empty except for a "makefile". I'd rather avoid erasing all of Angband and re-installing it, if possible.

I do not care about the savefile, if it happens to still exist somewhere I do not want it. I just want to play the new version from the beginning. Unless its referring to savefile.c/savefile.h. Which I know little about, but having read them, they appear to be necessary for creating save data. Those however seem both present and intact.
__________________
"And why not? For the mind of man is capable of anything - because everything is in it, all the past as well as all the future."
discochoir is offline   Reply With Quote
Old January 15, 2014, 20:50   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,860
Donated: $60
Nick will become famous soon enough
On Linux, the saves are actually kept in a different place - probably ~/.angband/Angband/save. If you delete your old savefile from there, everything should be fine.
__________________
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 January 15, 2014, 21:28   #3
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,940
Derakon is on a distinguished road
Would it be at all feasible for the game to default to create-a-new-character if loading a save fails for whatever reason? Ideally you shouldn't have to track down the savefile in the filesystem and delete it.

Actually it's kind of weird that the Linux version (apparently?) automatically tries to load your savefile when it starts. Shouldn't it give you the opportunity to save vs. load, and support multiple active savefiles like the OSX and Windows versions do?
Derakon is offline   Reply With Quote
Old January 15, 2014, 22:01   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,860
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by Derakon View Post
Would it be at all feasible for the game to default to create-a-new-character if loading a save fails for whatever reason? Ideally you shouldn't have to track down the savefile in the filesystem and delete it.
Yes, that would be sensible - or at least give the player a choice.

Quote:
Actually it's kind of weird that the Linux version (apparently?) automatically tries to load your savefile when it starts. Shouldn't it give you the opportunity to save vs. load, and support multiple active savefiles like the OSX and Windows versions do?
It does support multiple savefiles, but as a command-line -u<savefile> option (and defaults to the username). If it's run from a menu or whatever, I guess you'll just always get the default. It probably would make sense to have the ability at least to query for savefiles (as the defunct-and-in-most-other-respects-sucky-GTK port used to).
__________________
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 January 15, 2014, 22:29   #5
discochoir
Rookie
 
Join Date: Jan 2014
Posts: 5
discochoir is on a distinguished road
Quote:
Originally Posted by Nick View Post
On Linux, the saves are actually kept in a different place - probably ~/.angband/Angband/save. If you delete your old savefile from there, everything should be fine.
Tried this with high hopes, it made sense. However, there is no such folder in the directory. I navigated to ~/ but no ".angband" to be found. In fact, doing a complete system search there is no ".angband" anywhere at all (which has me a tad concerned)
__________________
"And why not? For the mind of man is capable of anything - because everything is in it, all the past as well as all the future."
discochoir is offline   Reply With Quote
Old January 15, 2014, 22:42   #6
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,940
Derakon is on a distinguished road
Quote:
Originally Posted by discochoir View Post
Tried this with high hopes, it made sense. However, there is no such folder in the directory. I navigated to ~/ but no ".angband" to be found. In fact, doing a complete system search there is no ".angband" anywhere at all (which has me a tad concerned)
Given what Nick said above, you should be able to start it on the commandline with "-uCharacterName" to create a new character. And once you done that, you can search for the new savefile name and find where the old one is.
Derakon is offline   Reply With Quote
Old January 15, 2014, 22:50   #7
discochoir
Rookie
 
Join Date: Jan 2014
Posts: 5
discochoir is on a distinguished road
I guess I missed that, it launches just fine now and moves into character creation. Thanks, I'l see if i can track down the save location now as well

UPDATE:
cannot find the new save file. Created a character dump to a txt file, looked for that too but with no luck. My only theory is that the save is going somewhere hidden, a place I can't see or access without root priviledge.
__________________
"And why not? For the mind of man is capable of anything - because everything is in it, all the past as well as all the future."

Last edited by discochoir; January 16, 2014 at 00:09.
discochoir is offline   Reply With Quote
Old January 16, 2014, 19:43   #8
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by discochoir View Post
I guess I missed that, it launches just fine now and moves into character creation. Thanks, I'l see if i can track down the save location now as well

UPDATE:
cannot find the new save file. Created a character dump to a txt file, looked for that too but with no luck. My only theory is that the save is going somewhere hidden, a place I can't see or access without root priviledge.
How well do you understand hidden files and directories in Linux?

When Nick used ~/.angband/Angband/save he was using shorthand for

/home/yourusername/.angband/Angband/save

- apologies if you already know this, but it does seem like you haven't yet found where Angband is storing your saves and dumps. If you use "ls -a" in your home directory you should see the .angband directory. Please let us know if it isn't there - and paste a screenshot of your ls output.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old January 18, 2014, 15:55   #9
LostTemplar
Knight
 
Join Date: Aug 2009
Posts: 670
LostTemplar is on a distinguished road
Btw when I run vanilla Angband on linux it did wierd things, dont remember exactly what, but I had to create .angband folder manually and modify some path strings in the source to get it working.
LostTemplar is offline   Reply With Quote
Old January 18, 2014, 22:39   #10
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by LostTemplar View Post
Btw when I run vanilla Angband on linux it did wierd things, dont remember exactly what, but I had to create .angband folder manually and modify some path strings in the source to get it working.
What flavour of Linux, and what version of V? I don't think I've heard that reported before.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate 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
Magic, melee, and things that block them Therem Harth Vanilla 2 October 1, 2011 02:29
The Angband FAQ - if you are new, please read this first Magnate Vanilla 0 August 8, 2011 15:27
Bad memory read jbu Development 1 August 14, 2010 14:57
Mark everything read? Timo Pietilš Oook! 5 November 30, 2009 16:05
Replacing #s with block characters Deranged Archivist Vanilla 2 September 28, 2009 19:57


All times are GMT +1. The time now is 17:30.


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