No interface

hermitagehill

Chieftain
Joined
Oct 21, 2008
Messages
4
Hello,
I have just installed the bugmod 3.5 (just by using the .exe), but when I begin a new game, I am unable to open the mod with ctrl-alt-O, and the interface is now missing (map only - no buttons). Moreover I can't use most of shortcuts. I play BTS - 3.17 - French langage.
Where did I go wrong ?
Thank you for your help.
Hermitagehill
 
If you have nothing else outside the BUG mod, you can try to remove everything related to it, and re-install it. Sometimes old files create conflicts.
 
Thank you for your help.
I have no other mod.
I have uninstalled (with the uninstall exe) and re-installed the mod twice, both with the standard install and in mods folder. But none of them worked. Is there something that I should manually remove ?

Hermitagehill.
 
Yes, but a quick summary might be nice. :)

In the Bug Reporting thread I posted a new BugPath.py file -- use the second one.

Also, are you using the /altroot option for Civ4? If you don't know what that is, you aren't.

Finally, are you using a French Windows XP or English?
 
Thank you.
I found your file in the thread and followed your instructions. I was then able to use the mod (but only when I use a standard install - with the "as-a-mod install" replacing the .py file does not seem to work).
However I have now the missing small icons problem. I know now that this problem has already been reported, but I don't understand the solution: I can't find a bug mod.ini file (is it by the way normal? I am however not sure that I checked after launching (and not only before launching); so that I have to check it again)). There is a bug mod 3.5.ini, but only with the "as-a-mod install" - but as mentionned in this case the mod does not work. When playing without the mod I don't have this problem (missing icons).

As you say, I suppose that I don't use the /altroot option for Civ4, as I don't know what that is!

Last I use a French W XP.

(Sorry for posting in the wrong thread :blush:. In fact, before posting I used the search engine, but wasn't able to find a mention of this problem, my bad... Moreover I opened a new thread (and did not post in the bug report thread), as I wasn't sure that it was a bug).
 
I still have the missing icon problem, but your new file seems to fix the problem with installing BUG as a mod. However (I mention it because it was not clear for me at first sight), both BugPath.py and CvModName.py must be replaced with your new files.
 
Ok I must be a real noob. I have lurked (hides face in shame) at civfanatics for years and I registered just to ask this question. I installed BUG 3.5 on a completely fresh install of Civ IV: Vanilla, Warlords, and BTS. I can not use the alt i to get the interface to show up. I tried installing as standard (alt i did not work). So I uninstalled. Next I tried as a mod and alt i still did not work. I tried the fix...

For anyone that installed BUG 3.5 as a mod, please replace "Assets/Python/Contrib/CvModName.py" with the file in this post and let me know if it fixes the problem. Thanks and sorry for the trouble.

But I do not have this file installed in either My Games or Program Files folders for CivIV. I checked the assets under vanilla and each addon too. No such file exists. So what the heck fo I do?

EDIT Forgot to add I used the EXE version. (Plus minor spelling fix.)
 
But I do not have this file installed in either My Games or Program Files folders for CivIV. I checked the assets under vanilla and each addon too. No such file exists.

When you install BUG as a mod, unzip and place the file in this ZIP archive into

C:\Documents and Settings\<user>\My Documents\My Games\Beyond the Sword\Mods\BUG Mod 3.5\Assets\Python\Contrib​

If you install BUG into CustomAssets, put the file into

C:\Documents and Settings\<user>\My Documents\My Games\Beyond the Sword\CustomAssets\Python\Contrib​
 
Is BUG compatible with "Next War" ?
I installed as default non-mod and it works fine in BTS pure.
But with Next War there's the missing UI. Anything I can do ?
 
Check PythonErr.log and post the error messages you find here. It might be something easy to fix. If not, you can turn the "NoCustomAssets" option on in the Next War INI which will disable BUG while running that mod.
 
Here it is :

Code:
Traceback (most recent call last):

  File "CvAppInterface", line 72, in preGameStart

  File "BugEventManager", line 240, in fireEvent

  File "BugEventManager", line 250, in handleEvent

  File "BugEventManager", line 295, in _handleInitBugEvent

  File "BugEventManager", line 337, in initBug

  File "BugInit", line 39, in init

  File "BugInit", line 54, in loadMod

  File "BugConfig", line 346, in __init__

  File "BugConfig", line 246, in setGameBuilder

  File "BugConfig", line 92, in __init__

AttributeError: 'module' object has no attribute 'getBugOptionsScreen'
ERR: Python function preGameStart failed, module CvAppInterface
 
AttributeError: 'module' object has no attribute 'getBugOptionsScreen'

BUG's CvScreensInterface module adds the getBugOptionsScreen() function, but the Next War mod doesn't. Given this, I assume that mod files take precedence over CustomAssets files.

You need to modify Next War's INI file to have it ignore BUG's files:

Code:
# ; Custom XML and Python from user folder are not loaded
[B]NoCustomAssets = 1[/B]

Ah, I see that Next War doesn't have an INI file by default. If it doesn't create one the first time you launch it, either copy one from another mod or make sure you check "Lock Modified Assets" when starting a Custom Game.
 
Hi all,

My mod, CivFusion, includes BUG 3.5 in it. One of my testers is running into a no interface problem and by his logs it seems that BUG can't find the init.xml file. He has 3 strikes against him (German Windows Vista, Civ4 Complete, Civ4 installed in a non-default directory) but I'm hoping we can get this to work for him. He is using the updated BugPath.py and CvModName.py that were posted.

I've attached his logs and would be grateful if someone could take a look at them.

Cheers,
ripple01
 

Attachments

Does the German installation of Civ Complete still use the word "Mods" for the Mods folder?

Civ4 installed in a non-default directory

Do you mean where the EXE is installed, or is he using /altroot to change where to look for the INI file? Where exactly is the EXE installed. And if he's using /altroot, what is the directory?

You are indeed correct about BUG not finding init.xml. It uses a few pieces of information to locate the config XML files (yes, I really need to document this part):

  • Path to CIV4BeyondTheSword.exe: Used to find the install and "My Games" folders.
  • CvModName: Used to find Mods/<mod>/Assets folder.
  • Windows Registry: Used to find the "My Documents" folder.
You only have control over CvModName. Does its "modName" variable exactly match the name of the folder in the Mods folder?
 
Does the German installation of Civ Complete still use the word "Mods" for the Mods folder?



Do you mean where the EXE is installed, or is he using /altroot to change where to look for the INI file? Where exactly is the EXE installed. And if he's using /altroot, what is the directory?

You are indeed correct about BUG not finding init.xml. It uses a few pieces of information to locate the config XML files (yes, I really need to document this part):

  • Path to CIV4BeyondTheSword.exe: Used to find the install and "My Games" folders.
  • CvModName: Used to find Mods/<mod>/Assets folder.
  • Windows Registry: Used to find the "My Documents" folder.
You only have control over CvModName. Does its "modName" variable exactly match the name of the folder in the Mods folder?

His reply to me:

i used
D:\games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Mods\ (civ4 install)

and
D:\Dokumente\My Games\Beyond the Sword\MODS\
(user dokuments)

but same results no "menu"
and F1 and F5 are not working


AFAIK, the CvModName should exactly match the directory name (CivFusion)


Cheers,
ripple01
 
Back
Top Bottom