Bay 12 Games Forum

Dwarf Fortress => DF Bug Reports => Topic started by: radicalaces on April 03, 2009, 10:23:53 pm

Title: [40d]one of the compressed files on disk has errors on it.
Post by: radicalaces on April 03, 2009, 10:23:53 pm
(This error occured during the first few times I played v40)

So 2 days after upgrading from 39 to 40 (I had a long exodus from DF) I received the message while trying to run my favorite saved game
"one of the compressed files on disk has errors on it." I tried to reload to see if it'd work again, this failed.

I went on to this message board, searched for a solution, and read that it was probably a fluke and wouldn't happen again.

Quote
Generally speaking DF is crazy stable. My experience with mass market computer games is that almost all of them will crash sometime during your first or second lengthy play session. DF is much better than that, unless you start doing something silly like draining lakes. Then it gets a bit tetchy with you.

 I figured since it was a transfer from v39 to 40 maybe that was the cause of the error.

So I downloaded a fresh copy, started a new fortress, and went from there. Saved the game, loaded it, it worked. All was good, till I saved and loaded again. The same error ruined my new fortress.

I did this 3 more times with 3 other fortresses, it's completely random with when it chooses to corrupt my save files, sometimes it's after the first save, other times it's after the 5th.

I lost about a weeks worth of work and I was wondering if there is a fix of some sort that can both remove this problem and allow me to load up my hours worth of work again as I am severely distraught over this matter.

Thanks...

EDIT....

I just realized that everyone with this problem ran windows x64 which happens to be what I'm running... Meaning that I'm pretty much shit out of luck huh...

I guess my next question is, if I load the saved game on a non windows x64 computer, will it still be corrupt? This sucks, I can't play dwarf fortress till I format my pc.....................
Title: Re: [40d]one of the compressed files on disk has errors on it.
Post by: Gertack on April 04, 2009, 11:08:34 am
I run Windows XP 64-bit and what worked for me is: Right-click the "dwarfort.exe" or "Dwarf Fortress.exe", pick Properties, go to the Compatibility tab, and choose "Run this program in compatibility mode for: Windows 95".

I actually don't use that trick anymore, though.  I haven't had a corruption since I started using 40d, although I think that is more due to my theory than 40d fixing anything. First off, I play in windowed mode. My theory is that causing Dwarf Fortress to either receive a repaint event (due to obscuring the window) or losing focus while saving messes up how it is writing to the save file and thus corrupts it.  I'm not sure if "Cleaning game objects" period could possibly corrupt it too (I wouldn't expect it to but better safe than sorry) but I don't touch anything until I get back to the menu.

The pain with the above is my rather large fort takes between 5 and 10 minutes for the "Cleaning game objects" to finish and that's on an Athlon64 X2 4200.

Turning on seasonal autosave can help too, if you do get corruption.
Title: Re: [40d]one of the compressed files on disk has errors on it.
Post by: Sowelu on April 06, 2009, 01:47:49 pm
Personally, my first instinct is to remind you to back things up at the first even vague hint that your HD might have problems.

Even if that's not really the issue.  Do it anyway.
Title: Re: [40d]one of the compressed files on disk has errors on it.
Post by: Klosterheim on April 11, 2009, 06:36:17 pm
I am having the same problem as well.

I have never been able to get passed the second year because I always end up with the compressed data problem. I have created new worlds, re-installed DF, etc. etc. and eventually I get this problem. I have tried it on my computer at work and another computer at home and I always get it.

Weirdly, and perhaps coincidentally, I seem to only get it during the summer months (in DF, not RL ;) ).

I do backup my games, so I don't have to start completely over, but it's definitely getting a little demoralizing.
Title: Re: [40d]one of the compressed files on disk has errors on it.
Post by: Klosterheim on April 12, 2009, 12:12:24 am
A couple other things, in case it is helpful:

1. I am using Mayday's version of DF.
2. I do not have a x64 version of XP on either of my computers.

I am going to go with a vanilla version of DF and see if I still have the problem.
Title: Re: [40d]one of the compressed files on disk has errors on it.
Post by: Nicpon on April 25, 2009, 01:11:49 pm
I am having same problem, using 32 bit machine.
Using Mayday's too.

I have this error when I try to open adventure or legends mode with current world.
(I can play legends mode with new world without problems)
I used terminate process on df two times.
Title: Re: [40d]one of the compressed files on disk has errors on it.
Post by: Drug_unit on July 01, 2009, 03:43:14 am
Im using vista 32 bit and regular DF whit the modified tileset from Mike maydays
DF wont even launch unless i remove the offending region.
If it helps i kept the file just in case.
Title: Re: [40d]one of the compressed files on disk has errors on it.
Post by: Hyndis on July 01, 2009, 02:47:07 pm
Have you checked your computer for a hardware fault?

Run Memtest and Prime95 to test your memory and CPU, then do a full scandisk and defrag on your HD.