Help! My Mod is Incompatible with v1.61

Agent 009

Civ 4 Addict
Joined
Mar 28, 2006
Messages
346
Location
In a virtual Civ 4 Environment.
Basically, what is happening when I load my mod is all the menu text is blank. I can still click the various areas to advanced or back up through the menus, but it's sort of like a guessing game. :p

I tried replacing the Python files, and then some of the XML files, but nothing has worked so far.

Has anyone had this problem and know how to fix it?

Any help will be much appreciated.

Thanks in advance. :)
 
I'm sorry to say that this is probably happening to a lot of people who have written some type of mod.

I know that I now need to go and update every single one of my components. Oh well....


EDIT: This is why it is important to mark everywhere that you have modified one of the vanilla files.
 
TheLopez said:
I'm sorry to say that this is probably happening to a lot of people who have written some type of mod.

I know that I now need to go and update every single one of my components. Oh well....


EDIT: This is why it is important to mark everywhere that you have modified one of the vanilla files.

Sort of difficult in my case to do that... I mean the tech tree alone is completely different... Everything has changed.

However, in this case it has something to do with the text that is generated for the menus and other such places. So I figured it was the python or the GameText Info XML files... but that still didn't fix it... so I am at a loss.

The last resort will be to copy all the files from Assets, put in all into a new mod folder, and then add my stuff to it. Unfortunately, that will likely take me two days. :(

So, I was hoping someone else who has had this problem in the past might know what the cause is to save me some time. :D
 
I think we're all in for a long night... :(

Make sure you put a disclaimer on your mod page that it works for 1.52 only. I have 2 versions of Civ4 on my computer; one 1.52 and the other patched.
 
Well woodelf... it was going to be another month before I was ready to release it. Now that the SDK is out I might just be able to add some of the things I was unable to add into the mod at present.

I will fix it first and then fiddle around with the SDK and see what I can come up with. So, my mod will be 1.61 compatible. ;)
 
Had this problem with 1.52.

Check GlobalDefines.xml - you'll need to update the first 3 entries.

EDIT: The patch version, save version, and I think also the max languages.
 
Well that was part of it definately.

I did what you suggested and it didn't work... I even copied the newer GlobalDefines.xml over the one for my mod and it didn't work either. But strangely, I decided to copy all the XML files from the XML folder and that worked. :D

It was a much more simpler of a fix than I anticipated. Now time to get some sleep and I'll fool around with the SDK tomorrow. :p
 
Is there some kind of easy way for someone to make a list of all of the files that were affected by the patch? I guess you could just do a search in your Civ4 directory and see which files have been modified most recently? I think I'll go do that right now ;)
 
I'm glad to see that I am the only one having troubles along these lines! I went to start up my custom civ that will be released very soon and I found that once I had redone the xml it didnt work!! :confused: It was like the games wasnt even reading my xml changes :cry: I have tried all that has been suggested here but I am still lost! anyone have any ideas??????? :confused: :wallbash:
 
The Great Apple said:
Had this problem with 1.52.

Check GlobalDefines.xml - you'll need to update the first 3 entries.

EDIT: The patch version, save version, and I think also the max languages.

It looks like the patch doesn't update the version in that file. My version still said 1.52 and the save version said 1.09. The third entry "number of languages" said 8 and I didn't need to change that. After setting the first two to 1.61 I have menues again.

Also, the first time I loaded I had XML errors with Tech_Utopia. After changing the GlobalDefines.xml the errors went away. Strange.

Roger Bacon
 
same problem i desinstalled civ4 and reinstalled 1.52. all the mods are better than their stupid upgrade
I dont care abour _UTOPIA or their stupid 2 scenarios in which you build Rome in the middle of the jungle in south america
 
chrisjustinparr said:
so you're telling us we have to totally redo all of the .xml files? what a bummer way to go Firaxis

No actually... just the GlobalDefines.xml. The few others have new parameters added to them but they aren't neccesary.
 
This is what a software developers' merge tool is for. This is even the ideal case, where you have 3 versions to work with (yours, 1.52, 1.61). A merge tool, such as araxis merge, can compare your version and 1.61 vs 1.52 and tell you where you made changes, and where 1.61 made changes. Then it can even apply the changes from 1.61 to your files for you.

My mod with 50 new techs and hundreds of other changes scattered across the xml took me all of 30 minutes to convert this way.
 
I'm trying to use the terraform mod after installing 1.61, and get 3 error messages. Two look like:

terraformerror17um.jpg


the 3rd is

terraformerror27vr.jpg


I don't understand fully what this means and how to fix it.

Is this easy for a user to change and if so can someone please offer advice on how to fix it?

Thanks in advance!

EDIT: I read some mention up above about a globaldefines.xml needing updating for someone elses problem, and not really knowing what the wrong way is, I looked in the file and here are the first 3 lines. I have no idea if this is related to my issue:

Code:
<Civ4Defines xmlns="x-schema:CIV4GlobalDefinesSchema.xml">
	<Define>
		<DefineName>CIV4_VERSION</DefineName>
		<iDefineIntVal>161</iDefineIntVal>
	</Define>
	<Define>
		<DefineName>SAVE_VERSION</DefineName>
		<iDefineIntVal>103</iDefineIntVal>
	</Define>
	<Define>
		<DefineName>MAX_NUM_LANGUAGES</DefineName>
		<iDefineIntVal>100</iDefineIntVal>
	</Define>

While waiting for a response, I tried changing the 2nd entry to 161. This however did not 'fix' the issue and I still get the 3 error messages when loading the mod.
 
amickiew said:
I'm trying to use the terraform mod after installing 1.61, and get 3 error messages. Two look like:

I don't understand fully what this means and how to fix it.

Is this easy for a user to change and if so can someone please offer advice on how to fix it?

Thanks in advance!

EDIT: I read some mention up above about a globaldefines.xml needing updating for someone elses problem, and not really knowing what the wrong way is, I looked in the file and here are the first 3 lines. I have no idea if this is related to my issue:

Code:
<Civ4Defines xmlns="x-schema:CIV4GlobalDefinesSchema.xml">
	<Define>
		<DefineName>CIV4_VERSION</DefineName>
		<iDefineIntVal>161</iDefineIntVal>
	</Define>
	<Define>
		<DefineName>SAVE_VERSION</DefineName>
		<iDefineIntVal>103</iDefineIntVal>
	</Define>
	<Define>
		<DefineName>MAX_NUM_LANGUAGES</DefineName>
		<iDefineIntVal>100</iDefineIntVal>
	</Define>

While waiting for a response, I tried changing the 2nd entry to 161. This however did not 'fix' the issue and I still get the 3 error messages when loading the mod.

Actually this problem isn't all that bad. It has to do with the XML Data for TECH_UTOPIA. Either it is mispelled somewhere, or it isn't being referenced with the two files shown in the error. My instinct tells me the actual error is located in the tech file and not the civics or building info files. ;)

Check the TechInfos file and see in there if it matches what the prereq is in the other two files. That's what's causing the problem. ;)
 
Back
Top Bottom