Help! GFC Error: fails to initialize the primary control theme

OzzyKP

Deity
Joined
Dec 16, 2000
Messages
2,017
Location
Washington, DC USA
I'm very new at this modding thing and I'm clueless as to what the problem is with this thing. I get this error when the mod is loading: "GFC Error: fails to initialize the primary control theme" Then it crashes.

If someone could take a look at it I'd be permanently indebted to you:

http://www.oneandfour.org/FracturedStates-BetaNew.rar
 
This has to do with the HUD, make sure you configured it correctly and put it in C:/Program files and not in My docs.
 
I said make sure you've got it configured correctly too. ;)
http://forums.civfanatics.com/showthread.php?t=244965
To begin, download one of my Mods as an exemple :
UI/HUD Gold
UI/HUD Green
In those Mods the file "Resource\Themes\Civ4\Civ4Theme_HUD.thm" has been modified (lines 882 to 892). You won't have to do that.
If you have any problem with the advisor's icons at top-right of main interface, open this file in any text editor, search for "../Beyond the Sword/Resource/Civ4/HUD/HUD_BTS_icons.tga" and replace it with "Resource/Civ4/HUD/HUD_BTS_icons.tga".
Unzip the folder in [Your Civilization IV folder]\Beyond the Sword\Mods"
If you rename the unzipped folder or if you use it in an other Mod :
Open the file "Resource\Civ4.thm" (with any text editor), and change the text to :
Code:
// *** Control Bitmap Theme file

// Set the resource
resource_path "Mods/[THE NAME OF YOUR MOD]/Resource";

// Setup common properties
include "Mods/[THE NAME OF YOUR MOD]/Resource/Themes/Civ4/Civ4Theme.thm";
Open the file "Assets\XML\Art\CIV4ArtDefines_Misc.xml" and search for "DEFAULT_THEME_NAME". In the next line, change the "path" to :
Code:
<Path>Mods/[THE NAME OF YOUR MOD]/Resource/Civ4.thm</Path>
You have to make sure its the name of your mod in those 2 files.
 
Ok, thanks. That was a definitely a problem. I changed the name of the folder without making those adjustments. I fixed it and now I don't get the GFC error anymore! :goodjob:

But the mod still crashes when loading and it doesn't give me any messages...

Any ideas anyone?
 
Gotta be something else I suspect, either your code or something else.

When that happens I try to dissect the mod and take bits of XML files and add them to a new mod and then when it crashes I know which file is messed up.
 
I believe when you take out the standard civ4 game and make it your own, you must have an Artstyle inplace, not too sure, but thats what i was told??
I think just place all the regular files back in and add your files and just make the other civs you dont want as nonplayable. Just a thought is all.

But when it crashes to desktop right away before load, usually does means an art problem (artstyle more than likely) and then go from there.
 
Back
Top Bottom