Jump to content


Photo

Crash in Irenicus dungeon after Yoshimo joining


  • Please log in to reply
11 replies to this topic

#1 amendara

amendara
  • Member
  • 5 posts

Posted 21 March 2014 - 10:52 PM

Hi everyone,

 

First of all, great admiration and thanks for all your modding community that has made over the past 10 years Baldur's Gate about the best gaming experience available.

 

About a year ago I tried my first BWP installation.  I used the BWS "tactics" installation and had a great game through BGT (with just a few minor bugs fixed with NI).  Unfortunately, after an epic quest I ran into a game stopped after exiting the underdark.  After the Elhan conversation my game would always crash.  I spent a few days trying to figure it out but finally gave up in frustration.

 

Now that the bitter taste of that crash is gone, Im back and want to try another game, hopefully to the end this time.  In the BWS I saw I could not install BG1, so to save time I put a "-" and was just going to start again from BG2.

 

During the tacticts installation (with latest BWS) I got 7 or 8 errors of "2 byte read short" on various spells like spwi705 (khel warding whip).  I continued copying backups of all these spells from the SCS folder into the ovveride, after which the installation would continue.  Everything else seemed fine and game started normally (except a lot of enemies have funny white swirling "clouds" around them animation, and Imoen too.

 

Going to level 2 irenicus dungeon after long RTT cutscene and Yoshimo joins me, the game crashes in a very similar way my old game crashes after Elhan.

 

Here is err file:

 

 

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



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

ASSERTION FAILED!
File: ChVideo.cpp
Line: 7166

Exp: !((dwFlags & CVIDCELL_FXPREP_COPYFROMBACK) && (dwFlags & CVIDCELL_FXPREP_CLEARFILL))

Msg: no msg.
Run Debugger?

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



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



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



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



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



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



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



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



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



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

ASSERTION FAILED!
File: CItem.cpp
Line: 1573

Exp: pRes->Demand()

Msg: no msg.
Run Debugger?

----

 

 

Any ideas what might be causing this, and should I do a full reinstall? I dont want to get half way to Mellisan only to have my game end again (

 

Thanks

Attached Files



#2 amendara

amendara
  • Member
  • 5 posts

Posted 22 March 2014 - 04:55 AM

An update for anyone interested..

 

After reloading on the lower level and CLUAing in every creature on the ar0603 list, nothing caused a crash.

 

So I then CLUAed every creature which the BCS file for ar0603 creates. Finally found a match, 2 Duegar duearc03 and duearc04.  CLUA either and the game immediately crashes with said error.  Odd thing is in NI I could find nothing at all different about them from Duearc01 or Duearc02 who do not cause a crash.

 

They seem to be linked to a variable called BP Slick in the area BCS script.  If BP Slick is 1, then they are summoned when you enter ar0603, which crashes the game.  Something then with the big picture I guess?

 

Anyway, by removing that summoning from the BCS file I am now moving forward normally.  Guess after some more play I can see if the whole game is borked and I need to reinstall it.

 

If anyone has any idea why those two CRE when spawned would crash the game, do tell me so I can fix any larger problem affecting the game as a whole.

 

Thanks



#3 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5150 posts

Posted 22 March 2014 - 05:06 AM

Attaching the weidu.log:

Spoiler

 

So I then CLUAed every creature which the BCS file for ar0603 creates. Finally found a match, 2 Duegar duearc03 and duearc04.  CLUA either and the game immediately crashes with said error.  Odd thing is in NI I could find nothing at all different about them from Duearc01 or Duearc02 who do not cause a crash.

Make a .txt file into the game folder, open it with Notepad and put the following code into it, then name it as "runme.bat" without the quotes, it will ask that you confirm that you do intent to change the files format, and answer yes, and then run it like it was a .exe .

 

mkdir change-log
WeiDU.exe --log nul --change-log duearc03.cre >change-log/change-log1.txt --out change-log
WeiDU.exe --log nul --change-log duearc04.cre >change-log/change-log2.txt --out change-log

And then go to the newly made "change-log" folder and pack everything into a archive file(.zip / .rar. / .7z) and upload it to the forum. You can then go and try using the backups in the folder as a trial based replacements of the original, to test what mod causes the crash... yes, this is change-log'ging.


Edited by The Imp, 22 March 2014 - 06:52 AM.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#4 amendara

amendara
  • Member
  • 5 posts

Posted 22 March 2014 - 06:17 AM

Thanks Imp, excellent walk through.

 

Ill see what else I can find out with some experimenting, but for now here is the rar.

Attached Files



#5 amendara

amendara
  • Member
  • 5 posts

Posted 22 March 2014 - 08:28 PM

Ok worked it out.

 

Testing all the various duearc from the changelog, all were causing crashes.  Then I noticed even CLUAing duearc2 was causing a crash too.  Only duearc01 caused no crash.  So after spending some more time poring over differences, I finally saw a rather obvious one: that duearc02 03 and 04 all had "male dwarf low" animation.  And duearc01 was just "male dwarf"  Changed 02 03 and 04 to male dwarf and no further problems.  Played through waukeen, slums and goverment with no further crashes, so it seems a rather isolated incident of broken animation.

 

Thanks for the help Imp, at least I know how to changelog now.



#6 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5150 posts

Posted 22 March 2014 - 11:12 PM

So after spending some more time poring over differences, I finally saw a rather obvious one: that duearc02 03 and 04 all had "male dwarf low" animation.

Ouh, sithe... yeah, all the _low animations cause crash, as you have the Infinity Animations installed... it's known and partially fixed problem, I have no idea why it's not fully fixed, might be the Ascension mod being there via itself and not the BP one...


Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#7 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 23 March 2014 - 06:29 AM

Can you do a changelog for animate.ids please? Something borked it :P


"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#8 amendara

amendara
  • Member
  • 5 posts

Posted 23 March 2014 - 11:09 PM

Sure,

 

Here you go!

 

Game playing fine so far, just some odd occurences of BP series ai scripts for my party members randomly going on and off.

Attached Files



#9 LaSprezz

LaSprezz
  • Member
  • 8 posts

Posted 11 January 2015 - 07:19 AM

Hi,

 

My game crash at the same moment, so I CLUA duearc03 and duearc04 to make sure it was the same issue; both make me crash so I guess it is.

 

However, I'm a little confused about how I'm supposed to fix it ?

 

If somebody could walk me through it, It would be much appreciated.

 

Thank you very much in advance.


Edited by LaSprezz, 11 January 2015 - 07:20 AM.


#10 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5150 posts

Posted 11 January 2015 - 08:16 AM

However, I'm a little confused about how I'm supposed to fix it ?

Well, if it's the same thing, then you have to open the game with Near Infinity, you can acquire it from here, now after you have made the configuration for it, you open the duearc03.cre and duearc04.cre files, they should be in the CRE folder, you then switch from the View to the Edit tab, and then you see the "Animation" at the 12th line of attributes, then you just click on the value next to the attributes, and select a non _LOW ending value "FIGHTER_MALE_DWARF - 24834" could be good for example(it might not be the exact same) and push the "Update value" -button and then the Save -button, and after you have done it to both of the files, and exited from the editor, and started the game again, it shouldn't crash anymore. In theory, at least.


Edited by The Imp, 11 January 2015 - 08:19 AM.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#11 LaSprezz

LaSprezz
  • Member
  • 8 posts

Posted 11 January 2015 - 09:43 AM

Thank you very much for your quick answer. I'll dig it up tomorrow and come back with the result.



#12 LaSprezz

LaSprezz
  • Member
  • 8 posts

Posted 11 January 2015 - 03:24 PM

However, I'm a little confused about how I'm supposed to fix it ?

Well, if it's the same thing, then you have to open the game with Near Infinity, you can acquire it from here, now after you have made the configuration for it, you open the duearc03.cre and duearc04.cre files, they should be in the CRE folder, you then switch from the View to the Edit tab, and then you see the "Animation" at the 12th line of attributes, then you just click on the value next to the attributes, and select a non _LOW ending value "FIGHTER_MALE_DWARF - 24834" could be good for example(it might not be the exact same) and push the "Update value" -button and then the Save -button, and after you have done it to both of the files, and exited from the editor, and started the game again, it shouldn't crash anymore. In theory, at least.

 

Alright, tried it.

 

Was excepting hour(s) of headache as I am a total stranger to modding or video game programming. Took me 5 minutes + d/l time.

 

THANKS for those straightforward explanations, it now works.