Jump to content


Hnyakwai

Member Since 23 Oct 2010
Offline Last Active Nov 04 2010 03:07 PM

Topics I've Started

aTweaks corrupting .cre files?

25 October 2010 - 03:07 PM

Hi,

I have been working on getting a BWP install to work for the last few days, and I have been having big problems with infinity animations and crefixer crashing with bugarch.cre and bugbear.cre. Finally I traced the files through each backup directory chronologically, opening them each with nearInfinity. I found that I could open the cre files in the aTweaks backup folder but not the ones in the xpmod folder (the next mod that touched those files).

When I found this problem I disabled aTweaks component 140 and tried to install again. This fixed the problem with bugbear.cre and bugarch.cre, but then crefixer crashed on the file ntkrotan.cre which was modified in component 130. I just tried to open up a bunch of the final biffed files that were modified by aTweaks and I can't open any of them. In the nearInfinity debug window it looks like it is failing some sort of range check:

Spoiler


Furthermore (and I just figured this out while I was constructing this post), these corrupted cre files are causing a CTD that I posted about here: BWP 9.5 failure

The crash happens when ogre.cre is loaded in forest.

Spoiler


Any ideas what the problem is here?

Weidu.log:

Spoiler

BWP 9.5 failure (TDD 1.14/IA related?)

24 October 2010 - 08:28 PM

Hi All,

I'm not really an expert with this stuff, but I have been trying to install BWP 9.5 all weekend, but I have run out of time and I haven't been able to get it to work.  The biggest problem that I have is that I get a CTD when I am in the first cutscene with Gorion leaving the city.  Here is the TobEx log from the crash:

Spoiler


I have been trying to track down the cause, and I can't find anything directly related to clerics that is causing this failure.  BTW, if I start a new BG2 game I get a CTD immediately with the same assertion failure.

Looking in the BiG World Debug.txt (it's 15 MB so I guess I won't post it) it looks like all the problems that I have are related to a corrupted .cre files.  The main culprits being bugbear.cre and bugarch.cre file.  I end up failing infinity animations and creature slot fixer because of this:

Spoiler


Spoiler


... I am not sure if this is related, but I had to make a small change to SETUP-TDD.tp2 to get it to complete it's installation.
Old Line 10974: COPY ~TDD/ITM/SCRX35.itm~           ~TDD-ITM/SCRX35.itm~
New Line 10974: COPY ~TDD/ITM/SCRX33.itm~           ~TDD-ITM~
I actually didn't know anything about WeiDU scripting before yesterday, so I am just trying to come up to speed here, but when I compared 1.14 tp2 to the 1.13 tp2 I noticed that all of the item copy lines were changed from: COPY ~TDD/ITM/xxx.itm~ ~override~ to: COPY ~TDD/ITM/xxx.itm~ ~TDD-ITM~, however it looks like the creation of TDD-ITM is commented out on line 133 of the file.

I don't know how that could be related to the assertion error that I was getting, but I did think it was a little bit odd.

I'm trying to think of anything else that could have been related, I tried a bunch of different things over the last ~36 hours to get this to work but I have more questions now than when I started.  I also had a problem at the beginning with the BG2 Fixpack when it tried to modify bazeye01.dlg from my override directory.  I found that if I deleted the file and allowed it to modify the biffed file it worked fine.  NearInfinity told me that the files were the same so I don't think that should have caused any problems.

Oh Yeah, I tried one other thing.  I tried to trace the bugarch.cre file through the install process to see which mod was corrupting it, here is the list of backups that were made (in chronological order:
C:\Games\BGII - SoA\TDD\CRE\BUGARCH.cre                                  2.00 KB 9/19/2009 2:53:31 PM
C:\Games\BGII - SoA\scs\backup\5021\BUGARCH.cre                          2.00 KB 10/24/2010 10:11:04 PM
C:\Games\BGII - SoA\BGTTweak\Backup\2400\BUGARCH.cre                     2.00 KB 10/24/2010 10:22:32 PM
C:\Games\BGII - SoA\scsII\backup\6000\BUGARCH.cre                        2.00 KB 10/24/2010 10:24:48 PM
C:\Games\BGII - SoA\aTweaks\BACKUP\140\BUGARCH.cre                       2.00 KB 10/24/2010 10:40:01 PM
C:\Games\BGII - SoA\xpmod\backup\1\BUGARCH.cre                           2.00 KB 10/24/2010 10:49:12 PM
C:\Games\BGII - SoA\generalized_biffing\prod\0\biffs\61\BUGARCH.CRE      2.00 KB 10/24/2010 11:08:16 PM


A few strange things when I look at these in NearInfinity:
1) When I open up the original file from TDD, it seems to give me a different random string every time I install it, right now it says "Name: So, if where Elturel is now was the capital of Stag Kingdom, Lyrar's Hold was built nor far..... etc."
2) That is fixed in the scs backup
3) NearInfinity will open the aTweaks backup but not the xpmod backup (does that mean that aTweaks is the culprit?)

... well, it looks like aTweaks 140 is what is fubaring bugbear.cre and bugarch.cre

Of course I don't have time to recompile without that setting before I go to bed, so I am going to post this anyways, because I'm not even sure if my CTD has anything to do with the corrupted cre's in the first place.  Any suggestions/thoughts people have on what would make all this work would be greatly appreciated.  I guess I'll set it up to install again while I sleep tonight.