Strange name problem

anthonylam

Chieftain
Joined
Mar 3, 2008
Messages
5
Hello. I am new to here and I play Civilization IV Complete.

When I first play the game (I bought it recently), I found somewhere wrong inside the game. Some text are shown as 'TXT_KEY_something_something' See screenshot. The Zulu leader has an extra TXT_KEY_LEADER_SHAKA name instead of Shaka, I suppose.
It occurs at different places including the leader selection, the civopedia, the maps selection , names of buildings/wonders etc.

Is there a solution? Please help me.

Thank you.

Anthony
 

Attachments

  • Civ4ScreenShot0000.JPG
    Civ4ScreenShot0000.JPG
    109.2 KB · Views: 174
Have you tried to mod the game ? Or do you use any mods ?

One of the files containing text is obviously missing or corrupt, so instead of the actual text you see the makro used as placeholder - usually to be repleaced by the translated text...

A 'brocken' mod might cause this.
 
I tried but the link doesn't work. Where else can I get it?
I can't install the official 3.13 patch because it said "the computer has no Beyond the Sword installed" How strange!
With Bhruic's patch only, It couldn't work, help!

P.S. refar, I didn't use any mods currently.
 

Attachments

  • ErrorMessage.JPG
    ErrorMessage.JPG
    21.6 KB · Views: 154
Might have something to do with the Language Version of your windows... Did you use chinese characters in the Folder or path name where you installed Civ ? Perhaps someone else who's running on a non Latin windows can give some advice...
 
Oh. yes, i missed that - 3.13 should be included in Civ Complete, so you dont need to patch it. No idea why Bhruics patch would not work...
 
The TXT_KEY_LEADER_SHAKA, etc, is pointing to a file in the Assets\XML\text folder - the game pulls text data from this folder. It's there mainly to distinguish between different language preferences you can select for the game.

If the game can't find a given TXT_KEY in the text files, it will print the "pointer" in game regardless of the language preferences. This is a pretty easy fix you understand XML modding. It would require making a new XML file in the TEXT directory with the missing TXT_KEY's in it, in the same likeness as the other files presently there. This is one of the few examples where you can even name the XML file anything you want and the game will pull from it. There's more info about modding in the creation / customization section.
 
I checked the My Documents folder but the path is all composed of alphabet, so it should be OK.
By the way, How can I deal with the XMLs?

EDIT:
Hey! I found the related word strings in the XMLs, but why they just can't be shown properly?
 
If you don't get a solution here, try posting it in the tech support forum.

xml is just plain text
 
EDIT:
Hey! I found the related word strings in the XMLs, but why they just can't be shown properly?

It's hard to say without seeing the actual XML text file - even a small typo could cause the problem...

For example: I think it was the unpatched BTS version had the text for the 'ship of the line' unit incorrect. The actual path was "TXT_KEY_UNIT_SHIP_OF_THE_LINE" but they had omitted 'UNIT' from the text key in the declaration. Even though the actual text was in the text file, because the declaration was incorrect it would always print "TXT_KEY_SHIP_OF_THE_LINE"... it was an easy fix if you understand XML modding, but understandably most people who play the game probably don't understand it. So, to answer your question, even though you may have found the word strings, it could be that they're located in the wrong place or that they're being declared incorrectly.
 
For a really easy fix, if you only plan on playing the game in one language, you could just go to the Leaderhead XML in the Assets\XML\Civilizations folder and change "TXT_KEY_LEADER_SHAKA" to "Shaka", and it will print name that way. This is kind of a band-aid fix (and I would recommend backing up the unedited XML's first) but it will fix the problem.
 
For a really easy fix, if you only plan on playing the game in one language, you could just go to the Leaderhead XML in the Assets\XML\Civilizations folder and change "TXT_KEY_LEADER_SHAKA" to "Shaka", and it will print name that way. This is kind of a band-aid fix (and I would recommend backing up the unedited XML's first) but it will fix the problem.

Well, I have done some FIY (Fix It Yourself) using your techniques and it SEEMED to be work, But I don't know if there are problems in the future. Anyway, Thanks.:)

P.S. Some strings still not work properly after the edit. Hmm... this could be tricky.
 
Back
Top Bottom