[CONVERSION ERROR] Civ IV To Warlords

jojoweb

Chimpa-Z
Joined
Jun 6, 2004
Messages
493
Location
Lyon, France
Hi !

I have begin a mod for Civ IV (original version), but now that Warlord is available, i need to convert what i've done in Warlord version. I have modified my XML files, my schema files, and they should be compatible with warlords. But they are'nt :lol: And, when i launch my mod, the launcher crash during the xml checking process :confused: . Is it normal ? Is the problem can be an xml error ? But, my xml files are converted, i have tested them in Civ 4 original with the sdk schema files, and it works... :rolleyes: . Is anybody have this type of error ? Can you help me ? :D
 
jojoweb said:
Hi !

I have begin a mod for Civ IV (original version), but now that Warlord is available, i need to convert what i've done in Warlord version. I have modified my XML files, my schema files, and they should be compatible with warlords. But they are'nt :lol: And, when i launch my mod, the launcher crash during the xml checking process :confused: . Is it normal ? Is the problem can be an xml error ? But, my xml files are converted, i have tested them in Civ 4 original with the sdk schema files, and it works... :rolleyes: . Is anybody have this type of error ? Can you help me ? :D

And, if you can't figure it out from Zulu's suggestion, how about posting the exact error message? I'm sure it's just a matter of a missed copy and paste or something silly of that nature, I don't think the problem is so "general" that we can discover what it is soley from that description.
 
zulu9812 said:
the xml error you got should tell you which file has the problem, and even which line number of xml code


No, I forgot to specify what type of crash occurs. It's not a crash which telle me that there is an error in my xml files, it's a system crash, wich tell me that the application must stop. The same crash type that occurs when you use bad graphic files in the game. So, i can't know what is the problem.
 
Gerikes said:
And, if you can't figure it out from Zulu's suggestion, how about posting the exact error message? I'm sure it's just a matter of a missed copy and paste or something silly of that nature, I don't think the problem is so "general" that we can discover what it is soley from that description.

To convert my XML files, i use a software which compare files, Araxis Merge. It's very easy and reliable to compare differences between two files, so i did'nt need to use paste/copy function. And I have tested my xml files in Civ IV original version, and the game launch without errors.

It's a big riddle :mischief:. I know it's hard to find the solution just with my description, but if somebody known the same problem, it would help me.
 
What exactly is the error message that shows on the computer screen? I converted an old mod that worked fine in Civ4, but after the mod choices are made and the map is about to load.... a crash to desktop and a Windows error regarding MSVCP71.dll.
 
jojoweb said:
It's a big riddle :mischief:. I know it's hard to find the solution just with my description, but if somebody known the same problem, it would help me.
I think I am having a similar problem. All I'm trying to do is add one civilization to the game. That is all that is in the mod. I think I'm doing everything right. But I think it's crashing in the same way as your crashes.

Here is my thread about my problem:

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

You can try out my mod and see if it is crashing in the same way. The mod is very tiny. (178 kb)

My only guess is that there is something wrong with the way I implemented the "Unique Building" addition that Warlords introduces to the game. I have yet to see a tutorial the gives instructions about how to add a Unique Building.
 
When I converted my (unpublished) Britain Mod, to be Civ4: Warlords compatible (link in sig). I found that there were few differences. The Leaderhead XML is the main one as it has values to do with Vassal States etc. Also the Uniwue Building needs to be added but I found it simple enough to see in other Civs what was needed.

Not like the hours I spent trying to work out why my flags were all blank, only to realise I typed COLOUR in the path rather than COLOR. how British of me.
 
Flamegrape,

My crash is almost exactly like yours (as seen in the other thread you linked), but the .dll is different.

If you find any resolution, please post it, I will do the same.

You mod is much simpler than mine, though the error is similar. I went through all the files and cleared up all the xml errors, but still the crash. Very frustrating.
 
Hmmm... just thinking here... could the paths for the new artwork mentioned in our civ4unitinfos.xml file be wrong, since the new *.civ4WarlordsWBSave file is in a different place? Why would the game crash only once it starts trying to place stuff on the map?

Are there new tags...elements or whatever they are called, in Warlords maps that we have left out of the WBS file?
 
wotan321 said:
Hmmm... just thinking here... could the paths for the new artwork mentioned in our civ4unitinfos.xml file be wrong, since the new *.civ4WarlordsWBSave file is in a different place? Why would the game crash only once it starts trying to place stuff on the map?

Are there new tags...elements or whatever they are called, in Warlords maps that we have left out of the WBS file?
I'm not sure about that. As an experiment, I took a map that had a .Civ4WorldBuilderSave and simply changed the extension to .CivWarlordsWBSave and it worked just fine in Warlords. The map was a "vanilla" map and not part of any modification. And the resulting Warlords map did not allow for any of the new civilizations. But that was easily fixed with a text editor.
 
Flamegrape,

You are probably correct. I looked at one of the Warlords scenarios and they are referencing pre-warlords art for the units and buttons but the paths are not updated. The default is probably to look in the mod folder, and if its not there, in the Warlords folder, and if its not there, look in the Civ4 folder for art and buttons.

I emailed take2 on the problem. We shall see what they have to say.
 
I have resolve all the errors in my converted SDK (a lot of things were changed, but the result is the same ^^). Now i have new errors like science rate wich decrease automatically every turn. So bad...
 
Ok, so for information, my lasts errors was caused by python files. Some things which were configured by SDK are now configured by Python, and Civ 4 Python files can be uncompatible.
 
Back
Top Bottom