Fixing zoopedias

In this tutorial I'll teach you how to fix zoopedia problems.

Zoopedia related bugs can be caused by mistakes in multiple files. Therefore it's important to follow all these steps.

[1]

First you have to go to the main xml. The main .xml is named Codename.xml and is located in entities --> units --> animals --> ai

Open the main xml and search for 'zoopedia' and you'll find this: s_Zoopedia="zoopedia:zoopedia_Codename:entry"  

'Codename' has to be in lower case letters. So make sure it looks like this s_Zoopedia="zoopedia:zoopedia_codename:entry" 

So if my codename is FishThom it should look like this: s_Zoopedia="zoopedia:zoopedia_fishthom:entry" 

[2]

Now you've to go the folder lang --> 1033 (or 1043/1031/3082 etc.) --> Codename_strings.xml.

Search for 'zoopedia' again. There are two pieces of code here that need to match

The first one is <zoopedia_Codename> 

and near the end of the file there's the second one:

</zoopedia_Codename>

Both have to be in lower case letters. So make sure you have:

<zoopedia_codename>

</zoopedia_codename>

As you can see, these pieces of code match with the one we just edited in the main xml. If they don't match the zoopedia won't appear ingame!

[3]

It's possible there are some typo's or other small bugs that will mess up the Codename_strings.xml, so to be absolutely sure this file works we can open it with Internet Explorer or Google Chrome.

Just drag the .xml file into one of these browsers. If your file is bugged you'll get an error message, and an explanation of what's wrong. If it's ok you'll just see the file's content like you would if you had opened it with Notepad. 

[4]

Now we go to ui --> zoopedia ---> entries --> Codename_entries.xml

You'll see this line: <BFHelpEntry entry="zoopedia_codename"/> Make sure 'codename' in lower case letters, just like the others we just edited.

[5]

If your game is not English you still won't have names even though your zoopedia coding is fine, because the 1033 folder only works for English games. For example, I have to rename '1033' to '1043' because my game is Dutch. Every language has it's own code.

Here are some common ones:

1033=English

1043=Dutch

1036=French

1031=German

3082=Spanish

So make sure the folder that contains Codename_strings.xml  uses the code that belongs to your game's language.

If you follow these three steps it's almost impossible to mess up your zoopedia coding. Good luck!