Help!!!!

j51

Blue Star Cadet
Joined
Oct 22, 2006
Messages
1,750
Location
Ping Island
I edited the gametextcities file and the gametextinfoscivilizations file as well as the civilizations file and replaced the originals with them in the proper folders. When I tried to play the game, it could no longer find any text files at all and every button would say "TEXT_KEY_BLAH_BLAH_BLAH"! But I never deleted any files in my editing! I just want to play the game with decent city lists and proper civ names without having to upload it as a mod each time I play! :mad:

It doesn't make sense. The files i replced have nothing to do with the text for the menu screens!
 
These kinds of things are usually easier to solve when looking at the code. What I will say is that 90% of the time there is some kind of error in your coding, usually in the form of an unclosed bracket. Otherwise, it's probably a wrong application of the <Row> or <Update> tags.
 
So its the gametextcities file, but to me the code and looks well formed. Could using umlauts, accents and the like be doing it?

I would attach the file, but xml isnt valid, so I'd have to paste it, but it's huge! If anyone wants to see it I will attach it.
 
Okay, first of all, DO NOT EDIT THE BASE FILES. If you want to modify content, create a mod, and use <Update> tags.

Why? Because you do things like this. You break it, and now you can't do anything, because the game doesn't have a valid archive to fall back on. And since the files are huge, you can't post your mod on here to get help on what went wrong.

The TXT_KEY thing, for instance, means one of two things:
1> There's an error in the file that declared the text keys. An error invalidates the entire file, not just the single bad entry.
2> You've duplicated an entry somewhere. That is, you try to make TXT_KEY_CITY_NAME_ROME, when there's already an entry with that name in the database. Same effect as #1.

But without your code, we have no way to tell you what you did wrong.
 
look in the database.log file, it will probably tell you what you have screwed up
 
Okay, first of all, DO NOT EDIT THE BASE FILES. If you want to modify content, create a mod, and use <Update> tags.

Why? Because you do things like this. You break it, and now you can't do anything, because the game doesn't have a valid archive to fall back on. And since the files are huge, you can't post your mod on here to get help on what went wrong.

So you have to make it a mod? There's no alternative folder to place it in my documents like in civ 4?


The TXT_KEY thing, for instance, means one of two things:
1> There's an error in the file that declared the text keys. An error invalidates the entire file, not just the single bad entry.
2> You've duplicated an entry somewhere. That is, you try to make TXT_KEY_CITY_NAME_ROME, when there's already an entry with that name in the database. Same effect as #1.

But without your code, we have no way to tell you what you did wrong.

Hmm, I probably did duplicate a city name. I'll look through that. thanks. :)
 
So you have to make it a mod? There's no alternative folder to place it in my documents like in civ 4?

If you try to do it that way, then four things will happen:
1> Any mistake you make will cause the game to break. (Mistakes like, for instance, the one you're running into right now.)
2> As soon as the devs release a patch, it'll overwrite your changes with the official version, undoing any changes you make.
3> You'll have problems when trying to use other mods.
4> You won't be able to play multiplayer.

Learn how to make a mod correctly. Kael's beginners guide, over in the reference section, is a good place to start.
 
Back
Top Bottom