no UI or text in game

taulph88

Warlord
Joined
Nov 27, 2007
Messages
129
Location
US
When I load BTS I see the main menu and the text, but once I load a game, I don't see the UI above or below the main screen. No tech bar on top, no minimap, no description of units, movement buttons, gold per turn.

There is no text in any screen, whether it be tech advisor or the civilization description.

Any ideas on how to fix this?
 
This is usually a symptom of the Python scripts failing to initialise the game.

Have you installed any mods?

We can try to work out what is happening if you enable logging and then copy/paste the Python error log here.

In the following instructions for this, "~/" means your Home folder - "/Users/<your_name>/"

You enable logging by editing the CivilizationIV.ini file, which is at ~/Documents/Civilization IV Beyond the Sword/CivilizationIV.ini if you have the DVD version of the game. Not sure where it is for Steam installations - possibly in ~/Library/Application Support/. On Lion, Alt-click the Finder's Go menu to get to ~/Library.

Open this file in TextEdit and change '0' to '1' in the following line:

; Enable the logging system
LoggingEnabled = 0

becomes

; Enable the logging system
LoggingEnabled = 1

Start a game and get to the problem screen display, then use TextEdit to open the log file at:
~/Documents/Civilization IV Beyond the Sword/Logs/PythonErr.log. Copy/Paste its contents here.
 
I have installed the BUG mod.

I will get to that shortly and paste the details here.
 
First thing to check, then is whether you have installed it correctly. My guess is that BUG's not working properly.
 
Which instructions, and for what OS and installed version? Do you have BtS fully patched to version 3.19?
 
The BUG Mod readme is probably for Windows - or does it cater for Mac installations as well?

Is your BtS installed from the DVD or from Steam?
 
Ok so the BUG Mod is not supported for Mac? I thought I read somewhere it worked with version 4.4.

I have BTS via DVD.

Looks there are two PythonErr.logs. I will show them both. In spoilers to preserve space:

PythonErr.log

Spoiler :
Traceback (most recent call last):
File "<string>", line 1, in ?
File "<string>", line 52, in load_module
File "CvEventInterface", line 17, in ?
File "<string>", line 52, in load_module
File "BugEventManager", line 572, in ?
File "BugEventManager", line 566, in hookupPreGameStartEvent
File "BugUtil", line 699, in extend
TypeError
:
readonly attribute

Failed to load python module CvEventInterface.
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
Traceback (most recent call last):

File "CvAppInterface", line 70, in preGameStart

File "CvScreensInterface", line 83, in showTechChooser

File "CvTechChooser", line 231, in interfaceScreen

File "CvTechChooser", line 243, in ConstructTabs

File "CvTechChooser", line 280, in DrawTechChooser

File "CvTechChooser", line 324, in placeTechs

AttributeError: type object 'CvPythonExtensions.WidgetTypes' has no attribute 'WIDGET_TECH_CHOOSER_ERA'
ERR: Python function preGameStart failed, module CvAppInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
Traceback (most recent call last):

File "CvAppInterface", line 47, in onSave

AttributeError: 'module' object has no attribute 'onEvent'
ERR: Python function onSave failed, module CvAppInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface


PythonErr2.log

Spoiler :
load_module CvEventInterface
load_module BugEventManager
load_module CvEventManager
load_module CvUtil
load_module traceback
load_module CvScreensInterface
load_module CvMainInterface
load_module ScreenInput
load_module CvScreenEnums
load_module time
load_module BugDll
load_module BugOptions
load_module BugConfig
load_module BugCore
load_module BugUtil
load_module ColorUtil
load_module BugInit
load_module BugPath
load_module BugConfigTracker
load_module BugTypes
load_module sets
load_module xmllib
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xmllib.py:9: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead.
16:23:37 DEBUG: BugConfig - registering xml handler BugConfig.RootHandler
16:23:37 DEBUG: BugConfig - registering bug handler BugConfig.BugHandler
16:23:37 DEBUG: BugConfig - registering load handler BugConfig.LoadHandler
16:23:37 DEBUG: BugConfig - registering config handler BugConfig.ConfigHandler
16:23:37 DEBUG: BugConfig - registering arg handler BugConfig.ArgHandler
load_module configobj
load_module validate
validate import failed
load_module BugOptionsScreen
load_module BugErrorOptionsTab
load_module BugOptionsTab
load_module BugHelp
load_module Popup
16:23:37 INFO : BugCore - creating uninitialized mod Core
16:23:37 INFO : BugCore - creating uninitialized mod MainInterface
load_module CityUtil
16:23:37 INFO : BugCore - creating uninitialized mod NJAGC
16:23:37 INFO : BugCore - creating uninitialized mod Scores
16:23:37 INFO : BugCore - creating uninitialized mod CityScreen
load_module ReligionUtil
load_module FontUtil
load_module MonkeyTools
load_module PyHelpers
load_module AStarTools
16:23:37 INFO : BugCore - creating uninitialized mod PLE
load_module UnitUtil
load_module PlayerUtil
load_module TradeUtil
load_module DiplomacyUtil
load_module AttitudeUtil
load_module GameUtil
load_module Scoreboard
load_module DealUtil
load_module BugUnitPlot
load_module ReminderEventManager
load_module SdToolKit
load_module BugData
load_module cPickle
load_module autolog
load_module CvModName
16:23:37 INFO : BugCore - creating uninitialized mod Autolog
16:23:37 INFO : BugCore - creating uninitialized mod Reminder
load_module CvAppInterface
load_module GGUtil
load_module GPUtil
load_module ProgressBarUtil
load_module PLE
load_module RawYields
load_module CvTechChooser
load_module TechPrefs
16:23:37 INFO : BugCore - creating uninitialized mod Advisors
load_module CvForeignAdvisor
load_module math
load_module CvExoticForeignAdvisor
load_module IconGrid_BUG
load_module DomPyHelpers
load_module TechTree
load_module FavoriteCivicDetector
load_module CvReligionScreen
load_module CvCorporationScreen
load_module CvCivicsScreen
load_module CvVictoryScreen
load_module TechUtil
load_module GameSetUpCheck
load_module AutoSave
load_module MapFinder
load_module MapFinderStatusScreen
16:23:37 INFO : BugCore - creating uninitialized mod MapFinder
16:23:37 INFO : BugCore - creating uninitialized mod AutoSave
load_module Buffy
16:23:37 INFO : BugCore - creating uninitialized mod BUFFY
load_module CvEspionageAdvisor
load_module SpyUtil
load_module BugScreen
16:23:37 INFO : BugCore - creating uninitialized mod BetterEspionage
load_module CvOptionsScreen
load_module CvReplayScreen
load_module CvHallOfFameScreen
load_module CvDanQuayle
load_module CvGameUtils
load_module CvUnVictoryScreen
load_module CvDawnOfMan
load_module CvTechSplashScreen
load_module CvTopCivs
load_module random
load_module CvInfoScreen
load_module CvIntroMovieScreen
load_module CvVictoryMovieScreen
load_module CvWonderMovieScreen
load_module CvEraMovieScreen
load_module CvSpaceShipScreen
load_module SevoScreenEnums
load_module CvWorldBuilderScreen
load_module CvWorldBuilderDiplomacyScreen
load_module CvDebugTools
load_module CvDebugInfoScreen
load_module CvMapGeneratorUtil
load_module CvGFCScreen
load_module CvPopupInterface
load_module CvScreenUtilsInterface
load_module CvOverlayScreenUtils
load_module CvDotMapOverlayScreen
load_module CvStrategyOverlay
16:23:38 INFO : BugCore - creating uninitialized mod StrategyOverlay
16:23:38 INFO : BugCore - creating uninitialized mod CustDomAdv
16:23:38 INFO : BugCore - creating uninitialized mod TechWindow
init-ing world builder screen
load_module CvWBPopups
load_module CvCameraControls
load_module CvAdvisorUtils
load_module InputUtil
Traceback (most recent call last):
File "<string>", line 1, in ?
File "<string>", line 52, in load_module
File "CvEventInterface", line 17, in ?
File "<string>", line 52, in load_module
File "BugEventManager", line 572, in ?
File "BugEventManager", line 566, in hookupPreGameStartEvent
File "BugUtil", line 699, in extend
TypeError: readonly attribute
 
I didn't say it's not supported on Mac. I only pointed out that you need to be wary of instructions issued with mods designed by Windows users - that's most of them!

You may not have found the thread on installing BUG on Macs. The last few posts in that thread describe the symptoms you are seeing

Here is the specific post in that thread that tells you how to fix this problem.

[Yes, there are two files whose names start with PythonErr. Only the first one is useful for debugging, which is why that's the one I asked for :p ]
 
/Applications/Civilization IV/Beyond the Sword/Mods/BUG Mod

I don't have that folder in that directory, but I do have it under /Documents/Civilization IV Beyond the Sword/BUG Mod
 
If you have installed BUG in ~/Documents/ then that's fine. All you should need to do is to find the relevant file in your copy of BUG, and delete the line.
 
Well ... no money-back guarantees :)

Let's see if there are any other problems before we make assumptions!
 
Okay I will let you know soon if it worked or opened up another can of worms. :p
 
Alright, good news is that it worked! Everything is showing up now.

But, the next bug is probably another familiar one to you: the minimap bug. It carries over to where the nation flag is, and shows up all the way to the bottom left corner.
 
I think I've seen a report of that, but I have no information about a fix. I suspect it *might* be a problem with a video driver in newer hardware. What video card do you have, and does the problem show up if you are not running BUG?
 
I'm running the NVIDIA GeForce 330M. Unfortunately, I made BUG Mod run when playing any game.
 
The 330M (a) is an integrated video chip - not a high performance card with dedicated graphics memory, and (b) uses a known-to-be-buggy Nvidia driver. You could try lower graphics settings to reduce the load on the GPU.
 
Okay, I have them on high right now. What would be a good setting, and should it be the same for across the board? Will reducing the load fix this issue?

What should I also do with Anti-Aliasing?

EDIT: I only put the graphics on low setting and it is fixed. Could I put the other settings at a higher level? I think it still works.
 
Top Bottom