Help! Can't start game; XML load errors

Bazzalisk is correct, but XML errors are probably not related to the CPU chip you are running. They are more likely to be problems with the mod.
 
Is it an Intel or a G5? The two are mutually exclusive.
I'm pretty computer illiterate :(

It is a G5, and I have been trying to run the Canada mod. When I try to open the mod it goes to the desktop and attempts to load and when its loading the xml this comes up:

XML Load Error
Failed Loading XML file xml\text\gametextinfor_canada.xml.
[/Projects/depot/civ4/Source Warlords/Win/Fireplace/Fireworks/
Win32/FXml.cpp:140] Error parsing XML File

File: xml\text\gametextinfos.canada.xml
Reason: (null)
Line: 0,0
Source: (null)

Then its:

XML Load Error
Load XML call failed for xml\text\gametextinfos.canada.xml.
Current XML file is: xml\Global DefinesAlt.xml

After that there are 2 similar messages detailing "units" and "barbarians" instead of "fireworks". I am really clueless with computers, so if I need to give more information, Id need to know how to give it. :blush: Again, thanks for helping!
 
^I feel your pain...some things are just too confusing to understand. With almost all the mods designed for pc's that I try to get to run on my mac, I get those same ones. "Barbarians, Units, etc.". Some of them I can solve by messing with the XML but most of the time I just waste an hour doing nothing. That's the way it is. Sadly. Anyway, I'm sure there's some way we could get that mod to run for you. It doesn't look too complicated, it's just an add on civ, right?
 
From the error message it seems you are trying to install into Warlords. Which version of Warlords re you using?

Are you aware of the notes in the Canada Mod link you gave, saying it is not compatible with Warlords 2.08 yet? I don't run version 2.00 of Warlords, but I'll have a look at the mod and see if I can work out the problems.

[EDIT]
OK. The first indication of problems is that when I try to open GameTextInfos_Canada.xml, BBEdit gives me an "Incorrectly formed UTF-8" message, and identifies 144 "gremlins". I'll soldier on :hmm:

[UPDATE] The good news is there's no custom DLL in this mod.
 
Here are the three files I had to modify to persuade the Warlords version of Canada Mod to launch without errors and to start a game as Canada. I just replaced accented characters. They are in the following locations on my system:

~/Documents/Civilization IV Warlords/Mods/Canada Mod/Assets/XML/Text/GameTextInfos_Canada.xml

~/Documents/Civilization IV Warlords/Mods/Canada Mod/Assets/XML/Civilizations/CIV4CivilizationInfos.xml

~/Documents/Civilization IV Warlords/Mods/Canada Mod/Assets/XML/Units/CIV4UnitInfos.xml

I'm running version 2.08 of Warlords, so I've no idea what incompatibilities might show up as the game progresses. Please try swapping these three files and let me know how you get on.
 

Attachments

FWIW, here's the equivalent set of files for the Vanilla version of the Canada Mod. Vanilla Civ4 v1.61 loads and starts a game with these three files swapped.
 

Attachments

Yep, it worked! I can start a game as the Canadians, but I won't be able to go through an entire game to test as I will be away from my precious CIV for the week. Stupid cottage. :p Thanks for all the help, I've been lurking these forums for some time and it was really cool to be treated so nicely with my first post. Thanks again!:goodjob:
 
I am running the regular (not Warlords, etc) version of Civ IV for the Mac. I had the Canadian mod on my PC version before seeing the light, and would really like to run it on my Macbook Pro. Unfortunately, I get the same XML errors as everyone else. Does anyone have a fixed version of the Canada Mod for Mac that they could post, or am I stuck learning XML?

Thanks!
Jorin
 
Umm :hmm:

The post two above yours includes a link to the three files I changed to make the Canada mod load successfully in vanilla.
 
Umm :hmm:

The post two above yours includes a link to the three files I changed to make the Canada mod load successfully in vanilla.

Context made it look like the mod fix might only be for Warlords, hence the question. Not having run Warlords, I am unclear if normal mods work with it...
 
Let's spell it out, then ...

There are two versions of the Canada Mod available for download. You need to pick the right one (vanilla in your case), and then pick the right set of fixed files to make it work on your Mac.

One mod version is for Warlords, and that was the first one I fixed, and I posted the fixed files in post #26.

The other mod version is the one you need. It is for the Vanilla (what you refer to as "regular") version of Civ4. My post #27 includes the three files you need to change in that one.

I hope this makes it clearer for you.
 
Here are the three files I had to modify to persuade the Warlords version of Canada Mod to launch without errors and to start a game as Canada. I just replaced accented characters. They are in the following locations on my system:

~/Documents/Civilization IV Warlords/Mods/Canada Mod/Assets/XML/Text/GameTextInfos_Canada.xml

~/Documents/Civilization IV Warlords/Mods/Canada Mod/Assets/XML/Civilizations/CIV4CivilizationInfos.xml

~/Documents/Civilization IV Warlords/Mods/Canada Mod/Assets/XML/Units/CIV4UnitInfos.xml

I'm running version 2.08 of Warlords, so I've no idea what incompatibilities might show up as the game progresses. Please try swapping these three files and let me know how you get on.
okay i loaded the attatchment loaded the mod and went to single player and clicked "Play a Scenario" and it did not show up just a WB save whats wrong?
 
Where have you installed the mod? Do you have a folder at ~/Documents/Civilization IV Warlords/Mods/Canada Mod/ containing all of the files that were in the main download? If so, it should show up in Play a Scenario.
 
Where have you installed the mod? Do you have a folder at ~/Documents/Civilization IV Warlords/Mods/Canada Mod/ containing all of the files that were in the main download? If so, it should show up in Play a Scenario.
um it was in macintosh HD/civiliztion4/warlords/mods it would show up in "load a mod but not play a scenario and then i COPIED the file to the location you said and it shoed up in load a mod but not play a scenario and then i decided to pull it from my origanal location and leave it in the one you said and it didn't show up in "Load a Mod":mad:
 
Sorry, I should have said it should show up in Load a Mod. The Play a Scenario listing shows maps that are installed in your ~/Documents/Civ4/Public Maps folder.

You *can* use either Mods folder - the one in the application software folder or the one in the ~/Documents/Civ4 branch. The intention is that user-installed mods go in the ~/.../Mods folder and Aspyr/Firaxis-supplied mods go in the application's Mods folder. Some mds work in one place and not in the other, though, so trial and error is often required.
 
Sorry, I should have said it should show up in Load a Mod. The Play a Scenario listing shows maps that are installed in your ~/Documents/Civ4/Public Maps folder.

You *can* use either Mods folder - the one in the application software folder or the one in the ~/Documents/Civ4 branch. The intention is that user-installed mods go in the ~/.../Mods folder and Aspyr/Firaxis-supplied mods go in the application's Mods folder. Some mds work in one place and not in the other, though, so trial and error is often required.
so how do you play it if its not in play a scenario:confused: :(
 
Select Load a Mod. Select Canada Mod. The game relaunches and you should see the mod name in the top right corner of the splash screen. Select Single Player and create a game in the usual way, except you should have Canadian Empire as a Civ option, with Canada Corps and RCMP as UUs, and Jean, King, MacDonald, Pearson or Trudeau as Leader options.
 
Select Load a Mod. Select Canada Mod. The game relaunches and you should see the mod name in the top right corner of the splash screen. Select Single Player and create a game in the usual way, except you should have Canadian Empire as a Civ option, with Canada Corps and RCMP as UUs, and Jean, King, MacDonald, Pearson or Trudeau as Leader options.

well i loaded the mod started the game and there is no canada civ:cry: :mad: :mad: :mad: :mad: :mad: :mad: :mad: :mad: :mad: :mad: :mad:
 
Did the mod load OK? No errors during the load sequence? Did its name appear in the top right corner of the startup menu screen?

What did you do to start the game? I clicked Single Player, then Play Now! Selected the map options, then the list of Civs appeared. Canadian Empire appears after Random, and American, Arabian, Aztec Empires.

If you go through the Custom Game option then you have to select the leader you want to play, or to have as an opponent. Then you can choose from the names I listed above, and Canada appears as the civ name automatically.
 
Back
Top Bottom