View Full Version : Help needed, getting the Dutch patch to work


gidds
Jul 23, 2006, 01:06 AM
Hello,

Been very close into getting the Dutch patch to work, it seems to overwrite two files though. Although I had it running on my ~PC in the past, I cant remember how to excactly do it.

http://forums.civfanatics.com/showthread.php?t=140784

Anyone any ideas?

ancestral
Jul 23, 2006, 01:42 AM
Hello,

Been very close into getting the Dutch patch to work, it seems to overwrite two files though. Although I had it running on my ~PC in the past, I cant remember how to excactly do it.

http://forums.civfanatics.com/showthread.php?t=140784

Anyone any ideas?Where are you getting stuck? Have you installed it yet and understand the process? Have you tried loading it as a MOD in Civ4? Do you get any error messages?

gidds
Jul 23, 2006, 04:01 AM
Where are you getting stuck? Have you installed it yet and understand the process? Have you tried loading it as a MOD in Civ4? Do you get any error messages?

Yes tried it as a seperate MOD, but I think I am missing something.

It gives me an error saying: Failed loading xml file/xml text (followed by other text).

On the old PC I had it running outside the MOD thingy, I had it integrated in the maingame (overwrite certain assets). I tried the same yesterday and two files were altered and the game would start no more. I remember from the PC version that a seperate file could be downloaded to fix the problem, but also that is somewhere lost in my brain and as a result unfindable in this forum.

Maybe start from scratch and create it myself....anyone any ideas?

AlanH
Jul 24, 2006, 09:50 AM
I loaded it up in the Applications/Civilization IV/Mods/ folder, fired up Civ4, selected Advanced ... Load A Mod ... Netherlands ... OK to reload. Got your XML error message, I imagine, for file XML/Text/GameTextInfos_Netherlands.xml. The error message is rather unhelpful, as the line number is 0,0 which probably means it isn't filled in, there's no other error info, and that's a big file.

I've just been looking at The Ancient Mediterranean mod (TAM). It also gives XML errors, but they are rather easy to fix, as they are caused by four XML files containing non-English author names in the first few lines of comments. Deleting the comment lines from these four files allowed the mod to load and the game to start. It therefore seems likely that the Mac version is more sensitive to ascii character codes above 127 than the PC version, and I've flagged this up to Brad.

I've had a quick look for similar problems in GameTextInfos_Netherlands.xml. I found the offending character in the second text block, and edited it to read: "William I of Orange-Nassau (April 24, 1533 to July 10, 1584), also widely known as William the Silent, was born in the House of Nassau, and became Prince of Orange in 1544.".

The mod then failed in Civ4UnitInfos.xml, complaining about TECH_COMMUNISM. Since there *isn't* a tech called communism it's only surprising that the mod works at all. I changed the reference to read "TECH_UTOPIA", which is the prerequisite for that unit in the current standard XML. Then it fails on "FORBIDDEN_PALACE" and the Chinese leader name, so I think this mod is using data from the pre-1.61 version. These names were changed in version 1.61 to be more appealing in China as I understand it. I compared the mod and standard versions of Civ4CivilizationInfos.xml and found several differences, so I updated the mod version to be the same with just the Netherlands data block added. I still get an error during loading, but the game starts and I can select the Republic of United Provinces as my civ.

In summary, the first, fatal issue is the odd character in the GameTextInfos_Netherlands.xml file. However, there are several other problems with the mod data. There are compatibility issues with 1.61, and I think the name of the Dutch civ was changed, and should not now be "Republic of United Provinces". I recommend you go back to the mod maker and ask about these changes.

Additional Note: The fix mentioned above for TAM will not make it work, because it uses a custom CvGameCore.dll that the Mac version will ignore. You can start a game, but I guess some key features will not be included.

lost_civantares
Jul 24, 2006, 11:20 AM
Then it fails on "FORBIDDEN_PALACE" and the Chinese leader name, so I think this mod is using data from the pre-1.61 versionWhen playing civ4 windows when a mod that was pre 1.61 is loaded into a 1.61 game, the main menu text would dissapear.

AlanH
Jul 24, 2006, 11:36 AM
I didn't bother to try to leave the mod to load with those errors, so I don't know what would have happened if I let it. I force quit while it was stuck at the error screen each time, and fixed the problem before moving on.

PS I've posted in the thread for the mod to raise these issues.