Help! Buginit - cannot find xml file for mod init

paulmcc

Chieftain
Joined
Feb 11, 2011
Messages
8
Location
Scotland
I will start by saying I am a Luddite - my personal technological development stopped sometime just after Metal Casting! :lol:

I have seen this problem on various threads but can't grasp how to sort it. Can someone explain in words of one syllable how to fix this please?

My PC runs XP. I have Civ IV complete, patch 3.19. I have BUG 4.4. I always play BTS.

On most scenarios there is no problem, but on various others (which don't seem to have anything in common apart from being ones I want to play) I get the oft-reported problem of the game loading to an empty Technology Advisor and then to the initial map with no interface. I am not smart ebnough to work out how to play with out an interface, and the lovely message "Buginit - cannot find xml file for mod init" appears at the top of the screen.

I have removed and re-installed BUG in both its options for single play, to no avail! :(

If someone needs more info from my PC to work out the solution, then please let me know!

I know there are folk on here who know more than Sid himself about the game, and their help will be hugely appreciated.

:goodjob:
 
The problem does not arise on playing a normal BTS game, but it odes on the following scenarios/mods.

There are more but this is a representative sample.

Defence
All of the Ancient Mediterranean (TAM) scenarios I have tried
Pie's Ancient Europe
Fall From Heaven
History in the Making

I am sure the problem is straight forward. Sadly even that is beyond my limited capabilities!
 
Wew, i didn't even realize that BTS comes with that Defense mod, thanks for pointing that out. Looks fun for a while..

The problem reminds me of an issue i had loading the save of a recent madscientist RPC, Askia. That was using a mod also, and without any additional config steps the BTS interface wouldn't show up for me.

I did some googling back then, and stumpled upon this explanation:
http://forums.civfanatics.com/showthread.php?t=295728
(Thread Merging BUG with other Mods)

Maybe that could solve the issue your are seeing.

At least i could play a short game of Defense on linux/wine by doing the following:
Code:
cd ~wine/civ4/drive_c/users/beleriand/My Documents/My Games/Beyond the Sword/CustomAssets
cp -R Config/ ~/wine/civ4/drive_c/Program\ Files/Firaxis\ Games/Sid\ Meier\'s\ Civilization\ 4/Beyond\ the\ Sword/Mods/Defense/Assets/
(should be similar on windows, just use Explorer to copy the Config dir)

Now i'm not 100% certain that this is the fix which solves the issues. I tried starting a Defense game before doing the above steps, and it seemed to me the interface wasn't quite right, but i didn't pay enough attention on how exactly it looked to compare with the state after doing the above described copying. But anyway, after doing the fix i could play a short Defense game, so it just might be it..

Alternative (altough a rather bad one) would of course be to uninstall BUG mod, as it then can not interfere with other mods.
Installing BUG with the "as a mod" option is also a possibility, but with that method you loose BUGs benefit when loading most saves postet on the forum.
 
Thanks for all that. You are right I don't want to lose BUG - once you play with it, you can't really do without it!

Lots of things to try and I will report back!
 
My PC runs XP. I have Civ IV complete, patch 3.19. I have BUG 4.4. I always play BTS.

...the game loading to an empty Technology Advisor and then to the initial map with no interface... "Buginit - cannot find xml file for mod init" appears at the top of the screen.

:goodjob:


The only difference for me is that I run 32-bit Vista, not XP, on my computer.

I have seen that in the BUG documentation it is said that using the default install-method it should work with every game played without having to load it every time. Also, it should work with another optional mod that you load. This doesn't seem to be true.

Upon searching the forum, this is the only thread with "BugInit" in the title. And since there is no solution for PC's as of yet here, I just had to write this reply to try and hear if anyone has actually found what is the problem.

What have I done?

1. Using Civ4 BTS 3.19 with BUG 4.4 installed. It works perfect, but in the Advanced - About This Build option it is reported that no mods are loaded.

2. I then load a mod (first I tried my own personal mod), and it looks like it works. Advanced- About This Build reports my mod as loaded.

3. Starting a game - and as it starts up I get an empty Tech Advisor screen. Exiting this screeen I have the world without an interface, and a message that reads "BugInit - cannot find xml file for mod init."

4. Tested points 1-3 with five different mods, and here is what happened.
4a Rhye's and Fall - mod works fine, but without BUG (where has BUG gone?)
4b Final Frontier - Empty Tech Advisor, no interface
4c Afterworld - Upon clicking play now it crashes to desktop
4c Afterworld - same as above (had to try twice, just in case)
4d Next War - Empty Tech Advisor, no interface, BugInit - cannot find xml...
4e Broken Star - Crashed to desktop.


As I don't know anything about Python, I cannot do anything about that BugInit file.

I have noticed that after I tried to load my mod, and play, for the first time it came to be a mymod.ini in the mod-folder. In that file I have tried to set the "set game options(?) from xml, not ini" to both 0 and 1. No change.

It seems to me that there is something I have no clue about happening. I don't know Linux either, so that fix reported are of no use for me as I use Vista.

If anyone has a clue, I would very much appreciate if that someone could enlighten me about what causes BUG to magically disappear when loading another mod...and why the user interface is removed as well...


Yours Sincerely

Kjotleik of Norway:)
 
I should've read Mintegar's post a little better before posting.

I did copy the Config folder from CustomAssets into my Assets folder in my mod, and now it works perfectly:D

I just assumed since paulmcc hadn't reported back the tips from the former posts didn't help. That much for assumptions:blush: But now I'm happy to report that it does indeed work! A big thanks to Mintegar for this good tip!:goodjob:


Yours Sincerely

Kjotleik of Norway:)
 
Glad to hear it's working for you also.

And it might be good that you posted after all, could very well be that my explanation with the 2 unix command has already confused or scared away other people having this problem. So you posting and confirming that it indeed fixes the issue will help others, hurray.
 
Back
Top Bottom