Failed to uncompress

BobTheBull

Warlord
Joined
Dec 29, 2007
Messages
189
Location
New Orleans
This same problem has been posted a few times, going back to vanilla, although none of the threads has any replies about the cause. So to those who are going to tell me to post in the ROM forum, I already did, but I am pretty sure this is not a mod problem.

This morning when I tried to load my last saved game from last night I got a "Failed to uncompress game data" error and CTD; this comes in the load game screen after the full screen comes up; the one where you normally get init engine, init graphics, etc. Get the same with any saved game file, even ones I know loaded OK yesterday.

Have reinstalled BTS and 3.19 and ROM-AND 1.75 & 1.75b still same thing. So, does anyone here know about this? Could there be something external to BTS out of whack? What does the engine use to uncompress the game data, anyway?

No, it is NOT a broken save file. If it was I would have sniffed that out. ALL of my save files give the same result, even back to the first turn save file. And these are files which have been successfully loaded before, even yesterday.

Note also that both BTS and ROM-AND were cleanly installed and still the same problem. Ergo this is something in vanilla 1.74 that has been corrupted or it is external to Civ4. Actually, if you use only BTS does anything in the vanilla install get used? Do you even need to keep it on the disk?

So, does anyone here know about this? Could there be something external to BTS out of whack? What does the engine use to uncompress the game data, anyway?
 
Hah! Nobody else would help so I fixed it myself. Well, actually it's been two days since I have played Civ and the withdrawal symptoms motivated me to take drastic measures and go over everything I had done between the time it worked and didn't.

Here it is then: in GlobalDefines.xml I changed this tag
<Define>
<DefineName>MAX_TRADE_ROUTES</DefineName>
<iDefineIntVal>32</iDefineIntVal>
</Define>
from 32 to 64. When I went and changed it back to 32 my latest save game loaded! Changed it back to 64 and same error, Failed to uncompress. Go figure. BTW the original ROM-AND file has 16. Note that only desperation led me to discover this. I had not thought that changing anything in xml could cause that kind of an error. If it goes through xml check and init everything must be OK?

Sooo, obviously there are some tags which if changed from what they were at the start of a game will screw up all save games from that point on. I would assume they would only be in GlobalDefines, or maybe WorldInfo or GameSpeedInfo, but you never know. Also, I don't really know what that tag does; that's what I was trying to find out.

From now on I am putting: Changed mm/dd/yy commented out before every change I make. I tried a few other files and they all load fine as well.

Now, if anyone knows answers to any of my other questions I would like to know.
 
Back
Top Bottom