Jump to content


Photo

CTD on entry of the Government District


  • Please log in to reply
11 replies to this topic

#1 martix

martix
  • Member
  • 35 posts

Posted 18 January 2010 - 05:08 PM

BG2 crashes every time I try to enter the Government District and I have no idea why...

However here's some help in determining the cause:

Attached Files



#2 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 18 January 2010 - 10:24 PM

Put Logging On=1 in your baldur.ini under Program Options and reproduce the crash, then post the contents of baldur.err.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#3 martix

martix
  • Member
  • 35 posts

Posted 20 January 2010 - 09:28 AM

---------------------Start Logging Session---------------------

ASSERTION FAILED!
File: ChDimm.cpp
Line: 7641

Exp: pBiffHeader->dwFileType != mmioFOURCC('B', 'I', 'F', 'C')

Msg: d:\black isle\bgii - soa\cd2\DATA\AREA1000.BIF: attempted to use compressed BIF from CD, check free hard drive space
Run Debugger?
This is the message I get on that bug.
Which if I had to guess means its trying to read from the bif, instead of the override...

Edited by martix, 20 January 2010 - 09:51 AM.


#4 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 20 January 2010 - 09:47 AM

I have got this error before for no good reason. Check out the advice here, namely:
Assertion failed in ChDimm.cpp at line #7641
Exp: pBiffHeader->dwFileType != mmioFOURCC('B', 'I', 'F', 'C')
Msg: c:\{path}\bg2\cd#\DATA\BIFNAME.BIF: attempted to use compressed BIF from CD, check free hard drive space

Sometimes, the referenced BIF will exist, but the game expects it to be in your main \data folder or in \cache\data. Copying it from the cd# folder (or the CD itself) will sometimes work. Other times, you may need to use DLTCEP to decompress the BIF. To do this, go to Extraction > Uncompress BIF. The decompressed BIF should end up in your main \data folder. Relaunch the game and see if this resolves the issue.

Also make sure you empty out your /cache, /temp and /tempsave subfolders first.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#5 martix

martix
  • Member
  • 35 posts

Posted 20 January 2010 - 10:15 AM

Done all that... still the same error.

However, the first and third times I tried to uncompress(decompress really, its a typo) the biff, I got an error from DLTCEP. Maybe its broken and the second, successful decompression was just a fluke.

P.S. If this be the case, can you supply me with the proper bif? Mine's CRC32 is "E9AED2AC"

Edited by martix, 20 January 2010 - 10:19 AM.


#6 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 22 January 2010 - 04:36 AM

Done all that... still the same error.

However, the first and third times I tried to uncompress(decompress really, its a typo) the biff, I got an error from DLTCEP. Maybe its broken and the second, successful decompression was just a fluke.

P.S. If this be the case, can you supply me with the proper bif? Mine's CRC32 is "E9AED2AC"

Maybe it copied from the CD as corrupt, but the CRC32 is the same on mine. I was able to decompress it with DLTCEP on the first go - ended up in my BG2/data folder as a 51.5MB file (is a 36MB file compressed in CD2/data). I can't really upload it because it's too huge - I would suggest try copying it from your CD again first (clean/descratch it if necessary).

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#7 martix

martix
  • Member
  • 35 posts

Posted 22 January 2010 - 07:51 AM

Well the CRC32 verifies the integrity between all of them reliably enough for all intents and purposes.
It might be that my chittin.key is corrupt then... any ideas on how to check and/or fix that?

#8 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 24 January 2010 - 11:47 AM

I think NI might have a chitin checker but I don't know how it is. But I don't think that's the problem either. Seriously, I've had this problem with the exact same error message and I've fixed it as described by either copying the biff to the right folder and/or decompressing it. If you can't even decompress it with DLTCEP it sounds like there might be bigger problems. Maybe bad sectors on your hard drive? Who knows.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#9 martix

martix
  • Member
  • 35 posts

Posted 24 January 2010 - 01:59 PM

Actually the DLTCEP error might have been because the file was already present there and it didn't want to overwrite it and so it gave an error.
I think it might have been corrupted the first time I tried to enter and from then on a whole slew of problems arised. Once I actually deleted all files I didn't know about how they got where they were, DLTCEP uncompressed successfully and I copied that uncompressed file in all relevant locations and lo and behold! it worked :)
I wanna thank you for your help as well.

#10 Sam

Sam
  • Member
  • 5 posts

Posted 22 February 2011 - 10:24 PM

I have the same error as Martix, but a different entry in the baldur.err:



---------------------Start Logging Session---------------------

ASSERTION FAILED!
File: ObjCreature.cpp
Line: 12381

Exp: creatureSize == 0

Msg: no msg.
Run Debugger?

I've tried replacing the AR1000.bif file with the original from the disc, but the error still occurred.

Is there a way to pinpoint which creature is causing the crash? I can't even find ObjCreature.cpp.

Attached Files



#11 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 22 February 2011 - 11:17 PM

That means a creature is missing or defective. Try installing this (areatest) and inputting ar1000 as the area. If it doesn't indicate any missing CREs, at least it will give you a list you can use to CLUAConsole:CreateCreature() each one to find the buggy one.

(I suppose I should upload that somewhere more convenient like Modding Tools or something.)

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#12 Sam

Sam
  • Member
  • 5 posts

Posted 23 February 2011 - 03:11 PM

That means a creature is missing or defective. Try installing this (areatest) and inputting ar1000 as the area. If it doesn't indicate any missing CREs, at least it will give you a list you can use to CLUAConsole:CreateCreature() each one to find the buggy one.

(I suppose I should upload that somewhere more convenient like Modding Tools or something.)


I traced the bug to Kelsey and uninstalled his mod; the Gov District works perfectly now. Thanks for the help.