ATI: XML problem? Anyone else have this?

ThBeNdS

Chieftain
Joined
Oct 26, 2005
Messages
9
I have an 8500 All in Wonder and I can get the game to run but the XML files are all screwed up. All the text in the game is in "code format". It looks similiar to HTML or something. Anyone else have this problem or better yet know how to fix it?
 
Yes there are a few of us who have this exact problem. I have no idea what is causing it... It seems to be both ATI and NVIDIA. I have a GeForce 5200 Ultra.
 
Well the only thing I could find that used XML on my system was some spyware. So I ran my spyware killing apps and cleaned everything up in the hope it would help but it didn't. It says it can not parse the file or something like that. Man it drives me crazy because I can SEE the game but I can't play the game UGH. It's like a girlfriend walking around in little to nothing but not letting you near her. What a tease!!! SERIOUSLY though if anyone finds some way around this please let us know.
 
The error I get is "Switch from current encoding to specified encoding not supported." It happens while loading the file "xml/text/Civ4GameTextInfos.xml". Hitting OK to the message window (and all the related errors) will let me get into the game, but with very odd text.

But I did find a work around. - at least for me.

By enabling the logging, I was able to see that 2 xml files were loading successfully, so I checked to see what the difference was. Those two files (GlobalDefines.xml and GlobalDefinesAlt.xml) did NOT specify the encoding.

So I went into all the affected files and removed the ISO-8859-1 encoding, and voila, they loaded successfully. :goodjob:

Again, go into each of the affected files with WordPad and change the

<?xml version="1.0" encoding="ISO-8859-1"?>

To:

<?xml version="1.0"?>


For me, the affected files were all of the ones in c:/Civilization4/Assets/xml/Text
 
There appear to be more xml files with errors in them. It looks like all of the Schema files (if you browse through the xml folder, you'll see lots of blahblahSchema.xml) are missing their <?xml version="1.0"?> header.

But there are some others...
xml/Buildings/CIV4CityLSystem.xml
xml/Buildings/CIV4PlotLSystem.xml
xml/misc/CIV4DetailManager.xml

-I might have missed 1 or two. Don't this so, but you might want to look through all of the files and make sure they have the proper XML header.

It also appears that xml/Units/CIV4FormationInfosxml has had all of it's newline characters stripped. Not sure if this is causing it's load failure. Attempting to reformat the file now.
 
Ok, I apparently missed a file. My xml/Units/CIV4FormationSchema.xml was still specifying an encoding.

Oddly enough, it wasn't specifying ISO-8859-1...It was specifying UTF-8.

Anyway, I removed that and converted xml/Units/Civ4FormationInfos.xml to standard xml formatting (probably unnecessarily) and it worked with no errors! yay :king:
 
Back
Top Bottom