What kind of things does CvGameInterfaceFile.py break? It seems to work better without it. My latest version of my mod seems more stable than before the merge, although now when I do get stuck waiting for other civilization the menu also freezes and I have to use ctrl+alt+del to leave the game.
Technically I just changed the extension of CvGameInterfaceFile.py to disable rather than delete it, so I can get it back easily. When it is enabled, it is obvious that the extensively used def cannotConstruct(self,argsList): is not working, and I'm not sure how much else isn't. It makes no difference in the error log.
I guess I can go through and try to figure it out the proper way though, and recommend that Tholal do the same. He is the one who recommend that I disable the file, as that is what he did to get
More Naval AI to work.
His mod includes Better BtS AI v1.02a, Unofficial 3.19 Patch 1.60, FfH2 obviously, and game options to enable Advanced Diplomacy, Puppet States, and Revolutions. I assume that he used the latest version of BUG. When I first installed it I was getting a lot of BUG related errors. He included a zip of BUG files that I extracted into the Mods folder, but that did not seem to help. When I downloaded BUG myself and the exe installed it in CustomAssets (and disabled CvGameInterfaceFile.py) then all the errors in his mod disappeared.
I made a bunch of xml and python changes, but did not touch the dll or use any callbacks that did not work in FfH2 or More Naval AI.
I am using 64-bit Windows 7
My PythonErr.log:
Code:
Can't find type enum for type tag CIVILIZATION_MINOR
Traceback (most recent call last):
File "BugInit", line 93, in callInits
File "UnitUtil", line 72, in init
AttributeError: 'NoneType' object has no attribute 'getDescription'
PythonDbg.log is too long to post and .log is not a valid format to post, so I'll include them both in a zip.
Edit:
When you link says to use the <gameutils> element, where does it want me to put it?