Jump to content


Photo

An Assertion failed in ChVidImage.cpp at line number 1921


  • Please log in to reply
17 replies to this topic

#1 overhjorten

overhjorten
  • Member
  • 16 posts

Posted 23 April 2013 - 10:42 PM

Hi forum
 
I have made a new installation with the BWS and chosen the option "standard BWP" version with a few exceptions to armour rules and lowering of rep when i leave candlekeep. Nothing major (I hope)
 
I started a BG2 character and everything went fine untill I was "beeing waylaid by enemies"
 
The game crashed with this message
 

An Assertion failed in ChVidImage.cpp at line number 1921
Programmer says: .BAM is corrupted (GetFrame() failed)

 
I tried looking over these and others forums, but none seemed to isolate my problem. It was not the whispering staff and it does not seem to be anything my own npc's or I carry. It only happens when I get the random encounter. I have tried an earlier save and left athkatla to different places but it is only when I get attacked randomly that it happens. Since it seem to be related to thi encounter and from what I have gathred it seems this is an item error i susepct it to be something the NPC carries with them, or an animation with a thrown weapon.

I have no idea which item it could be or how to solve it
 
Here is my weidu.log

Spoiler
 
Thank you for your time!


#2 Ulb

Ulb
  • Modder
  • 373 posts

Posted 24 April 2013 - 03:32 AM

~SETUP-ACBRE.TP2~ #1 #2 // Breagar: Crossmods and PID: 6.09

 

 

Since Breagar is a German mod (unless the translation has already been released?), I assume you are speaking German as well.

If that's the case, I'd like to point you to this very recent discussion at http://baldurs-gate.eu (Kerzenburg). Someone had the very same problem you have and while the culprit isn't necessary the same in your install, there is a lengthy description of how to investigate such an issue. :)

 

If I'm mistaken and you don't speak German, let me know and I'll try to elaborate on how to solve the issue. :P



#3 overhjorten

overhjorten
  • Member
  • 16 posts

Posted 24 April 2013 - 03:36 AM

Hi Ulb
 
There has indeed been made a english version of the mod
 
My german consist of these word(s): einz and the name Vettel
 
Please elaborate, or I must resort to google translate :P, but thanks for the quick reply

Edited by overhjorten, 24 April 2013 - 03:37 AM.


#4 Ulb

Ulb
  • Modder
  • 373 posts

Posted 24 April 2013 - 04:05 AM

'einz' is wrong :P (it's eins).

 

Anyway, the crash is most likely a result of either a corrupted animation (since you have Infinity Animations installed, there is a chance that somehow a .cre file still uses a lower animation (e.g: L_Cleric_Human_Male instead of Cleric_Human_Male), which would cause a crash.) or -more likely- an illegally equipped item (or corrupted item) in one of the .cre files.

 

Since the crash only occurs when you're getting waylaid, you can pretty much narrow the problem down to the following game areas (I'm just stealing those from the German help post, in case you're wondering.. :)):

AR0041 Random Encounter City 

AR0042 Random Encounter Outdoor 

AR0043 Random Encounter Outdoor (With rocks) 

AR0044 Random Encounter Outdoor (sand) 

AR0045 Random Encounter City 

AR0046 Random Encounter City (bridge)

(Also, if you were traveling from city-area to city-are you can exclude the outdoor areas and vice versa.)

 

Now, what you have to do, is this:

 

Use NearInfinity to look at the area scripts (choose the bcs folder and then open the corresponding areas e.g: ar0046.bcs ...)

 

Within the area script, you look for any line that looks like this :

 

CreateCreature("RETHIE01",[585.542],10) // Slaver

 

(to make it easier, you can also search for createcreature [choose ONLY IN THIS FILE as a search option] and you'll get a list with all creatures which get spawned in those areas.)

 

Once you know the creatures, you can narrow down the culprit by replacing the creature files - one by one- and then retry the encounters, until your game won't crash anymore.

 

To do this, simply copy some other .cre file and rename it to the creature in question. E.g: for

 

CreateCreature("RETHIE01",[585.542],10) // Slaver

you copy any other .cre file and rename it to rethie01.cre and place it in your override folder. (Just make sure to backup any already existing files in your override folder, or those might be lost.=)


 

Once you've found the right .cre you can take a closer look at it (again with NI).

 

Oh, before I forget! For the German user with the same problem, it was 'SW1H27.ITM' that caused the problem.

 

So you might try to replace that one first, maybe you're 'lucky' and it is indeed the same problem.

(Copy SW1H26.ITEM and rename it..)

 

 

Hope that helps. :)


 



#5 overhjorten

overhjorten
  • Member
  • 16 posts

Posted 24 April 2013 - 04:15 AM

Thanks for the help Ulb.

 

Proof of how much german I know!

 

While waiting I tried to narrow the problem down a bit and suddenly the game did not like me anymore, so I had to reinstall it (currently in the process). I hope the problem does not reappear but if it does I will come back to the post and see if I can norrow it down and solve it.

 

Thanks for the help

 

P.S. I should learn some german considering I live just north of the bloody country



#6 Ulb

Ulb
  • Modder
  • 373 posts

Posted 24 April 2013 - 04:23 AM

It's always the bloody Danes, having me write whole debugging tutorials for nothing. :P



#7 overhjorten

overhjorten
  • Member
  • 16 posts

Posted 24 April 2013 - 04:24 AM

Yeah sorry about that!

 

Hope I did not take to much of your time?!



#8 Ulb

Ulb
  • Modder
  • 373 posts

Posted 24 April 2013 - 04:26 AM

No worries, its fine. :)



#9 Nightfarer

Nightfarer
  • Member
  • 480 posts

Posted 24 April 2013 - 04:39 AM

The author of Breagar told me, he's fixing some bugs left to release a new version supporting both german and english (the translation I provided for Breagar, and Questpack as well).

 

Ha... a Danish... jeg havde en kæreste i Danmark :)



#10 Ulb

Ulb
  • Modder
  • 373 posts

Posted 24 April 2013 - 04:42 AM

The author of Breagar told me, he's fixing some bugs left to release a new version supporting both german and english (the translation I provided for Breagar, and Questpack as well).

 

That's great news, do you have any insight, as to whether there will be a basic voice set for the english version? (I just can't play with mute npcs...)


Edited by Ulb, 24 April 2013 - 04:42 AM.


#11 Nightfarer

Nightfarer
  • Member
  • 480 posts

Posted 24 April 2013 - 04:54 AM

That's great news, do you have any insight, as to whether there will be a basic voice set for the english version? (I just can't play with mute npcs...)

 

As of now no, I'm sorry.

 

However, if you take a look at Textpack English, you may notice that german audio set provided is being used for english version as well.

 

I could provide english sound set myself but, at the moment, I'm moving into a new house (some last hour things to be done), job and providing translations for the last BWP mods (Severian, Trovador, Umbra of T.R.O.W., Macholy's Living Mod and Tweak Pack, Houyi, Rukrakia, YLitems and Tomoyo -- all the others, polish mods as well, are currently under proofreading) are taking all my time :)


Edited by Nightfarer, 24 April 2013 - 05:50 AM.


#12 Ulb

Ulb
  • Modder
  • 373 posts

Posted 24 April 2013 - 10:22 AM

Work faster then!

 

No, seriously I wasn't trying to push you into doing a voice set, just asking whether there was one. :P

 

I might end up using one from the vanilla game or one of the many custom sound sets there are. Can't be too hard to implement them as an npc sound set.

 

Anyway, thanks for the info and good luck with moving (and all the rest :D).



#13 -snarfies-

-snarfies-
  • Guest

Posted 24 April 2013 - 06:34 PM

Oh, before I forget! For the German user with the same problem, it was 'SW1H27.ITM' that caused the problem.

 

So you might try to replace that one first, maybe you're 'lucky' and it is indeed the same problem.

(Copy SW1H26.ITEM and rename it..)

 

 

Hope that helps. :)


 

 

I've been having the same issue with the past three BigWorld installs I've attempted, using three different versions of BWS.

 

I've messed with NearInfinity, but I don't really know what I'm doing or looking at.

 

When you say "Copy SW1H26.ITEM and rename it," you mean copy and rename it to SW1H27.ITEM?   Where can I find SW1H26.ITEM?



#14 Nightfarer

Nightfarer
  • Member
  • 480 posts

Posted 24 April 2013 - 07:26 PM

Work faster then!

 

No, seriously I wasn't trying to push you into doing a voice set, just asking whether there was one. :P

 

I might end up using one from the vanilla game or one of the many custom sound sets there are. Can't be too hard to implement them as an npc sound set.

 

Anyway, thanks for the info and good luck with moving (and all the rest :D).

 

;)

 

Well, what can I tell you... I'm a musician :P

 

There is the german audio set provided with the mod itself, we're currently using it for english version as well. Although you're right, it would be nice having localized sound sets available :)

 

You're welcome :)



#15 -snarfies-

-snarfies-
  • Guest

Posted 10 May 2013 - 07:57 PM

Oh, before I forget! For the German user with the same problem, it was 'SW1H27.ITM' that caused the problem.

 

So you might try to replace that one first, maybe you're 'lucky' and it is indeed the same problem.

(Copy SW1H26.ITEM and rename it..)

 

 

Hope that helps. :)


 

 

I've been having the same issue with the past three BigWorld installs I've attempted, using three different versions of BWS.

 

I've messed with NearInfinity, but I don't really know what I'm doing or looking at.

 

When you say "Copy SW1H26.ITEM and rename it," you mean copy and rename it to SW1H27.ITEM?   Where can I find SW1H26.ITEM?



#16 Ulb

Ulb
  • Modder
  • 373 posts

Posted 10 May 2013 - 08:27 PM

Uh, sorry for neglecting you! :P

 

First, you direct to your BG2 folder and from there you open the override folder and check if there is already a file named sw1h27.ITM. If there is, rename it to sw1h27_backup.itm for something (so you can restore the 'original', should it not be the cause for your troubles).

 

Next, you open NearInfinity. On the left side you will see a lot of 'folders' with labels like 2DA, ARE, ... ; find the folder labeled with ITM.

Click said folder once so it opens. Now you'll see all .itm files of your BG2 game. Simply scroll down to sw1h26.itm, right click it and select 'Add Copy' and enter some easy to find name like ###1. Once you've done that, go back to your override folder and rename it to sw1h27.itm.

 



#17 Kyoma

Kyoma
  • Member
  • 27 posts

Posted 12 May 2013 - 07:36 AM

Since it appears the item-in-question is SW1H27.itm I'll say that I too am having this problem. Or rather, I recently 'fixed' it. It seemed that in my setup, and most likely in yours too, the flaming effect is causing problems. Before I ran into the crash with the slaver random encounter I had a similar problem with Dark Side of the Sword Coast, which also had an enemy with a flame sword (SBLADE.itm). Back then (well, 5 days ago) I simply fixed it by removing the item from that specific actor and it wasn't until my recent slaver crash that I made the connection of them being flame swords. Strangely enough the crash didn't happen when I equip the sword myself (you may want to try that too after console-adding the sword).

 

Now I'm not saying that the Flame Swords mod is to blame as there are plenty of people that use it without problems. Just that, somewhere in my setup, and maybe yours, a conflict occurs. I have no idea what kind of conflict or what could be the cause, I fixed it by changing the paperdoll animation id from something like "FS - XX" to some other value (from a similar non-flame weapon). Again, I have no idea what sort of problems are associated with that field so I have no idea why it would cause a crash (for me/you). :huh:



#18 -Guest-

-Guest-
  • Guest

Posted 17 May 2013 - 03:53 AM

Uh, sorry for neglecting you! :P

 

First, you direct to your BG2 folder and from there you open the override folder and check if there is already a file named sw1h27.ITM. If there is, rename it to sw1h27_backup.itm for something (so you can restore the 'original', should it not be the cause for your troubles).

 

Next, you open NearInfinity. On the left side you will see a lot of 'folders' with labels like 2DA, ARE, ... ; find the folder labeled with ITM.

Click said folder once so it opens. Now you'll see all .itm files of your BG2 game. Simply scroll down to sw1h26.itm, right click it and select 'Add Copy' and enter some easy to find name like ###1. Once you've done that, go back to your override folder and rename it to sw1h27.itm.

Thanks for the instructions - I haven't had time to try messing with BWP again lately, but I'll give it a whirl... soon?

 

Kyoma:  I kinda suspected that it might have been the flaming sword, as I always remembered its distinctive look in that encounter...