So far, an endless cycle of exceptions continue. They all basically say this but the 0x# changes each time:
Code:
First-chance exception at 0x76cfc41f in Civ4BeyondSword.exe: Microsoft C++ exception: xercesc_3_1::NumberFormatException at memory location 0x0018b248..
At this point the debug dll won't complete loading even if the debugger isn't attached.
If I ignore a few times I get to this point:
Code:
First-chance exception at 0x76cfc41f in Civ4BeyondSword.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000..
If I continue from there it says 'Something Happened' after a red x and the whole thing crashes.
Taking out all those <KFM/> lines and reloading then leads to another string of first chance exception errors that leads to an Error:
"XML parsing SAX error:
Assets\xml\Art\CIV4ArtDefines_Building.xml:
element'Button' is not allowed for content model
'(Type,LSystem,bAnimated,fScale,fInterfaceScale,NIF,KFM,Button)'
at line 389"
Referring to that line, it's:
<Button>,Art/Interface/Buttons/Buildings/Factory.dds,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,7,8</Button>
Which doesn't seem off so far as I can tell. Maybe something IS wrong with this somehow.
This, btw, refers to this type:
<Type>ART_DEF_BUILDING_INDUSTRIAL_PARK</Type>
I then get another error:
LoadXML call failed for xml\Art\CIV4ArtDefines_Building.xml
At that point it's pretty much the domino is tipped. Due to this xml file failing to load, it's all downhill from there.
So then I checked the exceptions and my C++ exceptions block is checked. Removing that I still hit the problem with the Industrial Park and that art define file fails to load but then it goes on if I ignore it.
It reaches the same eventual point, the following assert:
Code:
Assert Failed
File: CvArtFileMgr.cpp
Line: 101
SVN-Rev: 9313
Expression: false
Message: ArtInfo: 'ART_DEF_BUILDING_CULTURE_AFRICAN' was not found
Ignoring that, I get:
Code:
Assert Failed
File: CvArtFileMgr.cpp
Line: 101
SVN-Rev: 9313
Expression: false
Message: ArtInfo: 'ERROR' was not found
----------------------------------------------------------
THEN, finally:
Code:
Unhandled exception at 0x05233141 (CvGameCoreDLL.dll) in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x00000194.
The oddest thing I can tell from this is that it's confusing why the game is loading fine with the final release version, which it is. Obviously, there is a very real problem with the building art file. Particularly the Industrial Park button if I'm guessing.
EDIT: I noticed after updating that someone had edited the art defines file but that now just means it goes directly to the Button error and then collapses as explained from there.
EDIT: NVM, I figured out I just have to revert to the building art define xml as DH had left it last.