Questions about The BUG Mod

Okay, so you have BUG loaded in both places. Rename the CustomAssets folder to something else and try again. When you unload BUG, it should start up without BUG this time.
 
@EmperorFool; It worked! Thank you for your help! I have another question I hope you don't mind answering: when I click ctrl+alt+O to go into the BUG options and change the settings, when I exit it always reverts back to the default settings. Do you have any advice?
 
Hmm, that's an odd one. Even if it cannot write the settings to disk for some reason, it shouldn't reload them. Does it revert when the window closes, or only after you restart Civ?

One possibility is that you have two settings folders. The two installation methods (Standard and Mod) put the settings into different places. Since you have BUG installed as a mod, remove the "BUG Mod" folder that's in your My Games \ BTS folder.

Code:
My Games\
    Beyond the Sword\
        BUG Mod\    <-- delete this
        CustomAssets\    <-- you deleted/renamed this (Civ creates a new empty one)
        Mods\
            BUG Mod 3.5.1\    <-- might be called something different
                Assets\
                BUG Mod\    <-- keep this one
 
Oh wow, that's ancient! I highly recommend downloading and installing 3.5.1. We've added quite a lot of features since 2.30. Use the uninstaller or just delete the BUG folder that's in the Mods folder. Since it isn't saving you settings, there's no point in trying to save them. ;)

Note: We're targeting a 3.6 release soon, but we haven't finalized it yet. Your 3.5.1 settings will work with 3.6, and since it's a fairly small download, I think it's worth upgrading now and again for 3.6. I wouldn't remember where to begin to help you solve the problem with 2.30. :confused:
 
Hmm, ok. Will I be able to finish my games that I started with the one I'm using now, or should I wait till I'm done to start using the new one?
 
No, you can upgrade now with no problems. So far we have managed to maintain saved game compatibility with every new release.
 
I got the new veresion, thank you again for your help, EmperorFool. One last thing, I thought I was reading a walkthrough and they had an alert when an AI went WHEOOHRN, is there a box I can check to see that?
 
It's not an alert (yet), but rather an orange fist (the occupation symbol) appears in the scoreboard next to the leader. Check out the right edge of this screenshot:

WHEOOH.png

The red figurehead to the left of the orange fists means you are that AIs worst enemy. Watch out!

The same icon shows next to the leaderhead on the Military Advisor's (F5) new SIT REP tab. That screen actually has two new tabs: the Situation Report gives you an overview of all the leaders and their status and Strategic Advantages shows what resources and units you have over your rivals and vice versa.
 
Assuming [modname] represents the Mods subfolder where you've installed your mod, you should be able to change Python/Contrib/CvModName.modName to "ini-Files".

If instead [modname] is a child of that folder, you'll have to modify CvPath.py, and I'm not sure right now what's involved. I'll have to take a look at it tomorrow or the next day.

I am considering adding a modSettings attribute to separate INI files from other non-code files (help files, readme, changelog, etc), but that won't be until after the 3.6 release I expect.

I'm not totally sure what you mean. But I've tried both:

Neither

PHP:
modName = "ini-Files"

in CvModname.py nor

PHP:
try:
	import CvModName
	modName = "ini-Files"


in BugPath.py is working. I always get this error:

attachment.php
 
Are you using the latest SVN BUG release? Because changing CvModName.py should no longer cause BUG to fail to find its config (init.xml) files. If so, you'll need to upgrade to the latest BUG. If you do that, you will have more luck changing where BUG looks for INI files.

I was trying to describe how you have your directories laid out. Can you describe that or post a screenshot of the folder hierarchy?
 
Yes, I'm using the latest version.

attachment.php


I also tried to use the main folder: Beyond the Sword\Mods\Revolution Enhanced 0.9 and put the ini files there, but your python script is not looking there either.
 
Is attached.

# The preference order is
#
# 1. <user-dir>\<mod-name>
# 2. <user-dir>\<app-name>\Mods\<mod-name>
# 3. <user-dir>\<app-name>\<mod-name>
# 3. <user-dir>\<app-name>
# 4. <root-dir>\<app-name>\Mods\<mod-name>
# 5. <root-dir>\<app-name>\<mod-name>
# 5. <root-dir>\<app-name>

What about adding:

# 6. <app-dir>\Mods\<mod-name>

to the script?
 
I definitely need to update the comments in that file. :blush: That folder is indeed in the list. Using this BugPath.py, you should be able to set modName to "ini-Files" and have it work. You'll need to put all the BUG help and CDA files into that folder as well.

What's more puzzling is the error that BUG cannot find init.xml. Can you post your PythonDbg.log after starting a game? Make sure you set File Logging Level to DEBUG.
 
Back
Top Bottom