XML Inter-dependencies

Shqype said:
I just checked the logs and I found some interesting things in there. The xml.log gave me a whole lot of "[8615.625] info type NONE not found, Current XML file is: Units/CIV4UnitInfos.xml" kind of errors, and similar ones for buildings. Do you know what causes these?

The resmgr.log gave me this:

I don't have the graphics for the first two, so that makes sense, but where are the last two?

And, the PythonDbg.log ends with me founding the city:
Spoiler :
Initializing Python
1. Using Python sys path: ASSETS\PYTHON\SYSTEM\email
2. Using Python sys path: ASSETS\PYTHON\SYSTEM\encodings
3. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx
4. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\build
5. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\lib
6. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\py
7. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\tools
8. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\lib\colourchooser
9. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\lib\editor
10. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\lib\floatcanvas
11. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\lib\masked
12. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\lib\mixins
13. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\lib\ogl
14. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\py\tests
15. Using Python sys path: ASSETS\PYTHON\SYSTEM\wx\tools\XRCed
16. Using Python sys path: ASSETS\PYTHON\SYSTEM
sys.path =

['ASSETS\\PYTHON\\SYSTEM\\email', 'ASSETS\\PYTHON\\SYSTEM\\encodings', 'ASSETS\\PYTHON\\SYSTEM\\wx', 'ASSETS\\PYTHON\\SYSTEM\\wx\\build', 'ASSETS\\PYTHON\\SYSTEM\\wx\\lib', 'ASSETS\\PYTHON\\SYSTEM\\wx\\py', 'ASSETS\\PYTHON\\SYSTEM\\wx\\tools', 'ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\colourchooser', 'ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\editor', 'ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\floatcanvas', 'ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\masked', 'ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\mixins', 'ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\ogl', 'ASSETS\\PYTHON\\SYSTEM\\wx\\py\\tests', 'ASSETS\\PYTHON\\SYSTEM\\wx\\tools\\XRCed', 'ASSETS\\PYTHON\\SYSTEM']


sys.modules =

{'copy_reg': <module 'copy_reg' from 'C:\Python24\Lib\copy_reg.pyc'>, 'locale': <module 'locale' from 'C:\Python24\Lib\locale.pyc'>, '__main__': <module '__main__' (built-in)>, 'site': <module 'site' from 'C:\Python24\Lib\site.pyc'>, '__builtin__': <module '__builtin__' (built-in)>, 'encodings': <module 'encodings' from 'C:\Python24\Lib\encodings\__init__.pyc'>, 'os.path': <module 'ntpath' from 'C:\Python24\Lib\ntpath.pyc'>, 'encodings.codecs': None, 'ntpath': <module 'ntpath' from 'C:\Python24\Lib\ntpath.pyc'>, 'UserDict': <module 'UserDict' from 'C:\Python24\Lib\UserDict.pyc'>, 'encodings.exceptions': None, 'nt': <module 'nt' (built-in)>, 'stat': <module 'stat' from 'C:\Python24\Lib\stat.pyc'>, 'zipimport': <module 'zipimport' (built-in)>, 'warnings': <module 'warnings' from 'C:\Python24\Lib\warnings.pyc'>, 'encodings.types': None, '_codecs': <module '_codecs' (built-in)>, 'encodings.cp1252': <module 'encodings.cp1252' from 'C:\Python24\Lib\encodings\cp1252.pyc'>, 'sys': <module 'sys' (built-in)>, 'codecs': <module 'codecs' from 'C:\Python24\Lib\codecs.pyc'>, 'types': <module 'types' from 'C:\Python24\Lib\types.pyc'>, '_locale': <module '_locale' (built-in)>, 'signal': <module 'signal' (built-in)>, 'linecache': <module 'linecache' from 'C:\Python24\Lib\linecache.pyc'>, 'encodings.aliases': <module 'encodings.aliases' from 'C:\Python24\Lib\encodings\aliases.pyc'>, 'exceptions': <module 'exceptions' (built-in)>, 'CvPythonExtensions': <module 'CvPythonExtensions' (built-in)>, 'os': <module 'os' from 'C:\Python24\Lib\os.pyc'>}


sys.builtin_module_names =

('CvPythonExtensions', '__builtin__', '__main__', '_bisect', '_codecs', '_codecs_cn', '_codecs_hk', '_codecs_iso2022', '_codecs_jp', '_codecs_kr', '_codecs_tw', '_csv', '_heapq', '_hotshot', '_locale', '_multibytecodec', '_random', '_sre', '_subprocess', '_symtable', '_weakref', '_winreg', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'md5', 'mmap', 'msvcrt', 'nt', 'operator', 'parser', 'regex', 'rgbimg', 'sha', 'signal', 'strop', 'struct', 'sys', 'thread', 'time', 'xxsubtype', 'zipimport')

1. Using moduleSearchDirs: python\screens\
2. Using moduleSearchDirs: python\
3. Using moduleSearchDirs: python\entrypoints\
4. Using moduleSearchDirs: python\pywb\
5. Using moduleSearchDirs: python\pyhelper\
6. Using moduleSearchDirs: python\pitboss\
7. Using moduleSearchDirs: python\pyunit\
8. Using moduleSearchDirs: python\_debugtools\
9. Using moduleSearchDirs:
EntryPoint module:cvgameinterface
EntryPoint module:cvmapscriptinterface
EntryPoint module:cvunitcontrolinterface
EntryPoint module:cvdiplomacyinterface
EntryPoint module:cvoptionsscreencallbackinterface
EntryPoint module:cvscreensinterface
EntryPoint module:cvwbinterface
EntryPoint module:cvdebuginterface
EntryPoint module:cvpopupinterface
EntryPoint module:cvscreenutilsinterface
EntryPoint module:pbmain
EntryPoint module:cvappinterface
EntryPoint module:cveventinterface
EntryPoint module:cvtranslator
EntryPoint module:great_plains
EntryPoint module:continents
EntryPoint module:fantasy_realm
EntryPoint module:archipelago
EntryPoint module:inland_sea
EntryPoint module:mirror
EntryPoint module:fractal
EntryPoint module:oasis
EntryPoint module:pangaea
EntryPoint module:ice_age
EntryPoint module:custom_continents
EntryPoint module:shuffle
EntryPoint module:ring
EntryPoint module:team_battleground
EntryPoint module:highlands
EntryPoint module:terra
EntryPoint module:lakes
EntryPoint module:tilted_axis
EntryPoint module:hub
EntryPoint module:balanced
EntryPoint module:maze
EntryPoint module:islands
EntryPoint module:wheel
load_module CvEventInterface

load_module CvUtil

load_module traceback

load_module CvEventManager

load_module CvScreensInterface

load_module CvMainInterface

load_module ScreenInput

load_module CvScreenEnums

load_module time

load_module CvDomesticAdvisor

load_module PyHelpers

load_module CvTechChooser

load_module CvForeignAdvisor

load_module math

load_module CvMilitaryAdvisor

load_module re

load_module CvFinanceAdvisor

load_module CvReligionScreen

load_module CvCivicsScreen

load_module string

load_module CvVictoryScreen

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 CvPediaMain

load_module CvPediaScreen

load_module CvScreen

load_module CvPediaTech

load_module CvPediaUnit

load_module CvPediaBuilding

load_module CvPediaPromotion

load_module CvPediaUnitChart

load_module CvPediaBonus

load_module CvPediaTerrain

load_module CvPediaFeature

load_module CvPediaImprovement

load_module CvPediaCivic

load_module CvPediaCivilization

load_module CvPediaLeader

load_module CvPediaSpecialist

load_module CvPediaHistory

load_module CvPediaProject

load_module CvPediaReligion

load_module CvWorldBuilderScreen

load_module Popup

load_module CvWorldBuilderDiplomacyScreen

load_module CvDebugTools

load_module CvDebugInfoScreen

load_module CvMapGeneratorUtil

load_module CvGFCScreen

load_module CvPopupInterface

load_module CvScreenUtilsInterface

load_module CvScreenUtils

load_module CvWBPopups

load_module CvCameraControls

load_module CvAdvisorUtils

PY:OnInit
load_module CvAppInterface

load_module CvTranslator

load_module Archipelago

load_module Balanced

load_module Continents

load_module Custom_Continents

load_module Fantasy_Realm

load_module Fractal

load_module Great_Plains

load_module Highlands

load_module Hub

load_module Ice_Age

load_module Inland_Sea

load_module Islands

load_module Lakes

load_module Maze

load_module Mirror

load_module Oasis

load_module Pangaea

load_module Ring

load_module Shuffle

load_module Team_Battleground

load_module Terra

load_module Tilted_Axis

load_module Wheel

PY:Player 0's alive status set to: 1
PY:Player 1's alive status set to: 1
PY:Player 2's alive status set to: 1
PY:Player 3's alive status set to: 1
PY:Player 4's alive status set to: 1
PY:Player 5's alive status set to: 1
PY:Player 6's alive status set to: 1
PY:Player 18's alive status set to: 1
99 SCREEN TURNED ON

SCREEN OFF

load_module encodings.latin_1

8500 - gold

8501 - research

8502 - culture

8483 - food

8484 - production

8485 - commerce

8525 - txt_key_religion_the_force

8526 - txt_key_religion_the_force

8527 - txt_key_religion_nuetral

8528 - txt_key_religion_nuetral

8529 - txt_key_religion_light

8530 - txt_key_religion_light

8531 - txt_key_religion_lightn

8532 - txt_key_religion_lightn

8533 - txt_key_religion_dark

8534 - txt_key_religion_dark

3 SCREEN TURNED ON

load_module CvGameInterface

99 SCREEN TURNED ON

load_module CvWBInterface

load_module CvWBDesc

load_module array

PY:saveDesc:C:\Documents and Settings\Shqype\My Documents\My Games\Sid Meier's Civilization 4\Saves\WorldBuilder\WBQuickSave, curDir:C:\Program Files\Firaxis Games\Sid Meier's Civilization 4
WBSave done

PY:OnPreSave
load_module pickle

2 SCREEN TURNED ON

SCREEN OFF

onMouseEvent

1

onMouseEvent

1

onMouseEvent

1

onMouseEvent

1

onMouseEvent

1

onMouseEvent

1

onMouseEvent

1

onMouseEvent

1

onMouseEvent

1

PY:City Built Event: VONG GALAXY


Do you have any other thoughts as to what might be causing the CTD whenever I build a city (and OK its name)?

I get the NONE errors too, as far as I can tell they arent a problem.

playercolor01.tga and playercolor02.tga are in the .pak. Though they are lowercase as I typed them, not uppercase as you did. My log files dont give me any errors about playercolor.

I would guess that your CTD is being caused by a problem trying to plot the city (ie: an issue in CIV4CityLSystem.xml). That is just a guess but you may want to try switching back to the origional version of that file (if you have changed it) to see if your crash goes away.
 
That's what I was thinking too, but the problem is that file make references to all the eras. And, I changed the names of the eras to things more StarWars-ish.
playercolor01.tga and playercolor02.tga are in the .pak. Though they are lowercase as I typed them, not uppercase as you did. My log files dont give me any errors about playercolor.
Strange since I didn't touch them, and I can't find them anywhere in the SW Art folder.

Thanks for your reply.
 
Screenshot right before the automatic exit to desktop:



I press OK and I see my desktop, without any errors.

I copied the vanilla CIV4CityLSystem.xml and used the replace ability to replace the vanilla eras with the new SW eras, but still got the error.

This is really tricky.
 
Shqype said:
Screenshot right before the automatic exit to desktop:

I press OK and I see my desktop, without any errors.

I copied the vanilla CIV4CityLSystem.xml and used the replace ability to replace the vanilla eras with the new SW eras, but still got the error.

This is really tricky.

You could try keeping the same era XML coding. Example: ERA_ANCIENT but instead of this: <Description>TXT_KEY_ERA_ANCIENT</Description> in the CIV4EraInfos.xml file, just change it to the name you want or find and change it in one of the text files. ;)
 
I realize that, but I didn't want to do it that way. And, it doesn't make a difference either way (unless the eras are hardcoded in the graphics engine, which I seriously doubt, since they've been successfully changed before).
 
Alright then...

When did this error start happening? Was it after changing the era file? Or was it after editing units or something else?

I was thinking that if it isn't the eras that are causing this crash then it might be related to the units.

Perhaps the units a civ starts with right away is not available yet. Like the warrior in the original game is available and you start with one. Perhaps your start unit has a prereq tech. This might cause a problem, although I really am guessing. :p

If it isn't a unit maybe it is something else that is similar, or it also could just be a simple typo in the era file. In fact it also could be python related. It's hard to figure what really is causing this problem of yours by just a screenshot.

I hope you can fix it though. Good Luck. ;)
 
The era occurred after I recieved the new UnitInfos file and the ArtDefines with the Art folder, but it could be possible that it was something else that I changed before I incorporated those new files.

If you look at the screenshot, you will see a city placed on the map, and a popup box allowing me to change the name of the city. By that picture alone you could tell that the game started fine, and I had already been given my first starting unit, so that obviously is not the problem. The CTD occurs when I press OK to accept the name of the city. The game automatically exits to my desktop.
 
Shqype said:
The era occurred after I recieved the new UnitInfos file and the ArtDefines with the Art folder, but it could be possible that it was something else that I changed before I incorporated those new files.

If you look at the screenshot, you will see a city placed on the map, and a popup box allowing me to change the name of the city. By that picture alone you could tell that the game started fine, and I had already been given my first starting unit, so that obviously is not the problem. The CTD occurs when I press OK to accept the name of the city. The game automatically exits to my desktop.

ahh I see... maybe it has something to do with the city name then... check the file associated with the city name. There are two of them. CIV4CivilizationInfos.xml and CIV4GameTextInfos_Cities.xml

I saw in another topic that the Tech file doesn't like comments. It could be that you have comments in one of those files, or it is another thing altogether...
 
Thanks for offering suggestions, but unfortunately that's not the problem. There's nothing wrong with the city names, and I don't use the vanilla files for them ('cept the first which is necessary). That's not the issue.

Also, I've never had problems with the tech file not liking comments, but I don't even have any comments in the tech file, so that's not it either.

So it's another thing altogether, :lol:
 
Back
Top Bottom