Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Fixing the 'corrupted save when ctrl-alt-del' thing...  (Read 1099 times)

Sowelu

  • Bay Watcher
  • I am offishially a penguin.
    • View Profile
Fixing the 'corrupted save when ctrl-alt-del' thing...
« on: April 21, 2009, 03:10:52 pm »

My understanding is that the way units are saved is what causes the nemesis load errors and other related glitches, and they really ought to be loaded/saved with the rest of the save data, even if that takes up more memory.  It's worth it for all the heartaches it would save.

Considering that it's one of the most save-compat-breaking things you could ever do...well, when would a better time be?

>_>
Logged
Some things were made for one thing, for me / that one thing is the sea~
His servers are going to be powered by goat blood and moonlight.
Oh, a biomass/24 hour solar facility. How green!

Zangi

  • Bay Watcher
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #1 on: April 21, 2009, 06:58:52 pm »

I always do that, but thats really only when I'm scumming it. 

Why else would you Ctrl+Alt+Del?  Well, I guess if you saved mid-season...  and/or don't have autosave/autobackup...

Remember to copy+paste the folder before Ctrl+Alt+Del?
Logged
All life begins with Nu and ends with Nu...  This is the truth! This is my belief! ... At least for now...
FMA/FMA:B Recommendation

Sowelu

  • Bay Watcher
  • I am offishially a penguin.
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #2 on: April 21, 2009, 07:14:40 pm »

If you copy the folder away while it's running, you get the same problem.

Your save folder is quietly, very slightly corrupt from the time you load a game until the time you save it and stop playing.  It is only safe to copy it away when you are not currently playing--or when it makes a seasonal backup.
Logged
Some things were made for one thing, for me / that one thing is the sea~
His servers are going to be powered by goat blood and moonlight.
Oh, a biomass/24 hour solar facility. How green!

Zangi

  • Bay Watcher
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #3 on: April 21, 2009, 07:28:00 pm »

Huh... I've been doing all that....   and never had a problem...  ?  I usually am paused when I do that.

Can't be of help then.
Logged
All life begins with Nu and ends with Nu...  This is the truth! This is my belief! ... At least for now...
FMA/FMA:B Recommendation

Enzo

  • Bay Watcher
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #4 on: April 21, 2009, 07:33:23 pm »

Huh... I've been doing all that....   and never had a problem...  ?  I usually am paused when I do that.

Can't be of help then.

It's possible that the nemesis simply hasn't struck...yet. Be very afraid!
IMHO I wouldn't be surprised if Toady doesn't fix it, as it's only an issue if you're save scumming, and you can work around it by simply backing up the region folder whenever you save (which only requires a tiny bit of foresight, and takes my computer all of about 5 seconds).
Logged

Aquillion

  • Bay Watcher
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #5 on: April 21, 2009, 09:35:36 pm »

It's possible that the nemesis simply hasn't struck...yet. Be very afraid!
IMHO I wouldn't be surprised if Toady doesn't fix it, as it's only an issue if you're save scumming
No, it also causes problems whenever your game crashes.
Logged
We don't want another cheap fantasy universe, we want a cheap fantasy universe generator. --Toady One

Sowelu

  • Bay Watcher
  • I am offishially a penguin.
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #6 on: April 21, 2009, 10:05:57 pm »

Or whenever you lose power.
Logged
Some things were made for one thing, for me / that one thing is the sea~
His servers are going to be powered by goat blood and moonlight.
Oh, a biomass/24 hour solar facility. How green!

Enzo

  • Bay Watcher
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #7 on: April 21, 2009, 10:26:50 pm »

Touché. I forgot about that due to my laptop having a battery and not crashing lately. But that would be pretty damn annoying.
Logged

Aquillion

  • Bay Watcher
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #8 on: April 23, 2009, 02:28:26 am »

Huh.  According to Toady here, it's been fixed for a long time now...

I vaguely recall something like that, now that I think about it.  It backs up your save when you start playing, and doesn't overwrite it until you quit.  So currently CTRL-ALT-DEL or crashing or whatever is perfectly safe as long as it doesn't happen during a save (well, you lose everything since your last save, but that's obvious...  and probably intentional, with CTRL-ALT-DEL.)
Logged
We don't want another cheap fantasy universe, we want a cheap fantasy universe generator. --Toady One

Draco18s

  • Bay Watcher
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #9 on: April 23, 2009, 01:00:52 pm »

Huh.  According to Toady here, it's been fixed for a long time now...

I vaguely recall something like that, now that I think about it.  It backs up your save when you start playing, and doesn't overwrite it until you quit.  So currently CTRL-ALT-DEL or crashing or whatever is perfectly safe as long as it doesn't happen during a save (well, you lose everything since your last save, but that's obvious...  and probably intentional, with CTRL-ALT-DEL.)

QFTMFT.

This is actually the second thread on this request SINCE it was added in.
Logged

profit

  • Bay Watcher
  • Finely Crafted Engravings... Or it didn't happen.
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #10 on: April 23, 2009, 01:29:34 pm »

* Thinks a thread lock on a problem that no longer exists would be a good thing =)
Logged
Mods and the best utilities for dwarf fortress
Community Mods and utilities thread.

Sowelu

  • Bay Watcher
  • I am offishially a penguin.
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #11 on: April 23, 2009, 02:46:57 pm »

Yeah...Okay, my bad.

So where are the nemesis errors coming from NOW?  o.o
Logged
Some things were made for one thing, for me / that one thing is the sea~
His servers are going to be powered by goat blood and moonlight.
Oh, a biomass/24 hour solar facility. How green!

Tahin

  • Bay Watcher
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #12 on: April 23, 2009, 04:16:21 pm »

I suggest you post your save up so Toady can take a look... That really shouldn't be happening.
Logged

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: Fixing the 'corrupted save when ctrl-alt-del' thing...
« Reply #13 on: April 23, 2009, 06:15:58 pm »

I suggest you post your save up so Toady can take a look... That really shouldn't be happening.

Posting an already-corrupted save hasn't been useful for tackling this problem.  If you could find an uncorrupted save that gets corrupted in a reproducible manner, that would be useful.  However, I don't know of any way to identify a corrupted save (note that saves are usually corrupted long before the Nemesis Unit Load Error actually appears).
Logged