![]() |
#1 |
Rookie
Join Date: Dec 2009
Posts: 21
![]() |
broken save file
Save file breaks when computer bombs (e.g. overheats) while playing. This happens on 3.1.2.dev. Anyway to recover these?
|
![]() |
![]() |
![]() |
#2 |
Scout
Join Date: Sep 2008
Posts: 40
![]() |
You aren't overclocking to play angband are you? ^^
|
![]() |
![]() |
![]() |
#3 |
Rookie
Join Date: Dec 2009
Posts: 21
![]() |
crappy laptop
![]() |
![]() |
![]() |
![]() |
#4 | |
Veteran
Join Date: Apr 2007
Posts: 1,947
Donated: $40
![]() |
Quote:
__________________
takkaria whispers something about options. -more- |
|
![]() |
![]() |
![]() |
#5 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,989
Donated: $40
![]() |
This should never happen. A few questions:
1. What OS? 2. Does it happen always, or only sometimes? 3. Are you sure that it is angband that is pegging the CPU? (On *NIX, top; on Windows, task manager.) |
![]() |
![]() |
![]() |
#6 |
Rookie
Join Date: Dec 2009
Posts: 21
![]() |
+ The save file after the crash is reduced to 0 bytes (angband indicates it's broken - but it's essentially deleted) - thus it wouldn't make sense posting.
+ I compiled using my home directory as the install target. + I'm playing the game on ubuntu karmic (x86) running through sun virtuallbox on win7 x64. + Happen always? So far every time the computer bombed (2x). Lost 2 nifty 35+ level female warriors ![]() + no, angband is not hogging the cpu, win processes are. |
![]() |
![]() |
![]() |
#7 |
Prophet
Join Date: Mar 2008
Posts: 2,712
![]() |
You sound ept enough to set up a daemon to copy the savefile once every 10 minutes [only] while you are playing. Versioning would be a pain, but even if you always copy to the same location you'd only lose if the system crashed while the copy was happening.
The game currently autosaves on level change [I don't know what revision that got in], so a crash would cost the max of the current dLevel or 10 minutes [or whatever] if you use sufficiently recent code. |
![]() |
![]() |
![]() |
#8 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,989
Donated: $40
![]() |
What windows process is pinning it?
And why play on linux, when you can just as well play on the host OS? EDIT: since you're on Linux, can you run it under gdb (compiled -g) and see what causes the fault? |
![]() |
![]() |
![]() |
#9 | |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 40
Posts: 1,516
![]() |
Quote:
My understanding is that Angband doesn't change the savefile until you die, save, quit, or until it gets sent a signal to be killed that it can handle. I think things like "kill -9" or overheating might not allow it to write anything before the process dies. So if you hadn't saved yet, there would be no "old version" of the savefile present when you reload. |
|
![]() |
![]() |
![]() |
#10 |
Prophet
Join Date: Mar 2008
Posts: 2,712
![]() |
As I indicated above, the savefile is currently written over after each dLevel change. At least, it was the last time I checked a couple months ago playing nightlies.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Save File Debugger | Sirridan | Development | 13 | August 25, 2011 14:42 |
Save File Compatibility | dhegler | Vanilla | 2 | September 25, 2009 15:33 |
Save file recovery | buzzkill | Vanilla | 14 | August 20, 2009 07:14 |
import save file | daddyrat | Vanilla | 5 | July 9, 2009 14:29 |
lost both my characters to broken save file? | leopena | Variants | 1 | June 21, 2009 12:44 |