Merging questions...

Mattygerst

King
Joined
Jan 19, 2008
Messages
611
Location
St. Louis, Missouri, USA
Okay, I apologize if this is labeled somewhere and I have missed it. I've checked around and don't exactly see something that would definitely help me.

This is what I want to do:

#1 - Install BUG (done)
#2 - Merge BUG & Better AI (done via instructions in this forum)
#3 - I want to merge BAT with the above mentioned merge.

I haven't seen how/where I would go about merging my BUG/Better AI with BAT. Is this even possible...and if possible, could someone please help me with some instructions on what my next steps are?...

Also, for #2, I'm getting a few errors upon the game loading, which show as:

-BugInt: cannot find XML file for mod BetterAI
&
-BugPath: cannot find asset file BetterAI.xml in config.

Any help for this, as well? I followed the instructions and had no issues with the instructions from the BetterAI merge instructions...

BetterAI is definitely up and running, since when I scroll on the flag it shows as BetterAI v 0.78. With those errors above, though, is BetterAI running correctly?
 
BAT already includes BUG, so merging them is not necessary. You can overwrite the files in BAT with those from BUG to upgrade BAT to the latest BUG version, however. BAT 1.2 includes BUG 3.6 (both latest releases), so if you used the installer there's no point in merging them.

Better AI consists of the DLL which is definitely working because you see it in the flag hover. It also has AI AutoPlay which is where the config XML file it's not finding comes into play. It must go in [Custom]Assets/Config.

Start with the Troubleshooting page. Post the info here, but I think the problem is really that the XML file is in the wrong place or is named incorrectly.
 
Okay.

Just for a reference (in case this is wrong). I see these instructions:

Copy the two Python files AIAutoPlay.py and ChangePlayer.py from Better AI to <BUG Mod folder>/Assets/Python/Contrib/. The remaining Better AI Python files are unnecessary with BUG and can be safely ignored.

So...that is where I am putting both AIAutoPlay, and ChangePlayer. I am copying them both into the C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\BAT Mod 1.2\Assets\Python\Contrib (not putting them into Custom Assets because I am using BAT as a Standalone Mod).

Then I see:
Copy CvGameCoreDLL.dll from Better AI to <BUG Mod folder>/Assets/.
Copy all Better AI XML files to their proper locations in <BUG Mod folder>/Assets/XML/.

The DLL part is simple enough, and is working because I have it show up on the flag hover. THe XML files are getting pasted to: C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\BAT Mod 1.2\Assets\XML (and then the appropriate folder, yet when I copy over the UnitInfos in the Units folder...I am actually losing space - as in, the BAT UntiInfos is 771 KB, and the BetterAI is 768 KB - is this a big deal)?

Is this wrong?...
 
Okay.

Just for a reference (in case this is wrong). I see these instructions:

Copy the two Python files AIAutoPlay.py and ChangePlayer.py from Better AI to <BUG Mod folder>/Assets/Python/Contrib/. The remaining Better AI Python files are unnecessary with BUG and can be safely ignored.

So...that is where I am putting both AIAutoPlay, and ChangePlayer. I am copying them both into the C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\BAT Mod 1.2\Assets\Python\Contrib (not putting them into Custom Assets because I am using BAT as a Standalone Mod).

Then I see:

Copy CvGameCoreDLL.dll from Better AI to <BUG Mod folder>/Assets/.
Copy all Better AI XML files to their proper locations in <BUG Mod folder>/Assets/XML/.

The DLL part is simple enough, and is working because I have it show up on the flag hover. THe XML files are getting pasted to: C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\BAT Mod 1.2\Assets\XML (and then the appropriate folder, yet when I copy over the UnitInfos in the Units folder...I am actually losing space - as in, the BAT UntiInfos is 771 KB, and the BetterAI is 768 KB - is this a big deal)?

Everything else is simple enough. I mean...even doing all the above was simple enough...unless I'm putting them into the wrong place to start with.

The last issue I have:
When I have to create the text document: BetterAI.xml in /C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\BAT Mod 1.2\Assets\Config which contains:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<mod id="BetterAI"
name="BetterAI"
url="http://forums.civfanatics.com/forumdisplay.php?f=245">

<events module="AIAutoPlay" />
<events module="ChangePlayer" />
</mod>

I am creating a Text Document...but after I'm done, it does not show up as an XML document. It stays as a text document. Is this an issue? If so, how do I create an XML document?

Is this wrong?...
 
^ I'm fairly certain that you can make changes to the XML using a text document. So it should not be an issue.
 
You are copying all the files correctly, but I don't know the answer about CIV4UnitInfos.xml. For one thing, BAT Mod 1.2 is for BTS 3.17 and I haven't tested it on 3.19 yet. I think it should work, however. Oh, I think BAT might actually change some names of units (Heavy Footman vs. Maceman), but I don't know why it would be that much bigger. Using either file should not cause trouble.

As for the XML file, if Windows Explorer says it is a Text Document, it won't have the correct name. Do you have file extensions hidden? Go to Tools : Folder Options... : View tab and uncheck "Hide extensions for known file types". Now remove the ".txt" on the end of the file so it ends in ".xml".
 
Whatever happened to the planned BULL/BBAI release you and jdog were talking about? Me thinks such a release would solve many problems :mischief:
 
Whatever happened to the planned BULL/BBAI release you and jdog were talking about? Me thinks such a release would solve many problems :mischief:

Right now I'm extremely busy with a job search and another project, so BULL is on the back burner (thus no new features in a while :(). That won't be for much longer, and soon enough I will be able to focus on BUG and BULL again, including a BBAI merge. I sent jdog5000 an email with some ideas for making it happen, but I think he's been pretty busy with BBAI himself.

It'll happen. :D
 
Back
Top Bottom