Jump to content


Photo

(Harmless) warning with Drizz't Saga v2 for BGT and BGTv1.8


  • Please log in to reply
9 replies to this topic

#1 kthxbye

kthxbye
  • Member
  • 233 posts

Posted 17 October 2009 - 01:14 AM

Hi @ all. :)

While installing Drizz't Saga I noticed it gave a warning about a script block not being upgraded, namely the ARAM00.bcs script. Drizz't Saga tries to change Imoen's block in order to make Drizz't Saga characters leave the party and disappear upon transition between BG1 and BG2.
In the tp2 the relevant piece of code is:
COPY_EXISTING ~ARAM00.BCS~ ~override~
	  REPLACE_BCS_BLOCK ~oARAM00.BCS~ ~nARAM00.bcs~
BUT_ONLY_IF_IT_CHANGES
but the block as written in oARAM00.BCS won't be found in ARAM00.BCS

It's an harmless warning since its only consequence will be (I guess) that Drizz't Saga characters will still be in the party at the start of BG2, or will be handled by the standard ARAM00.bcs.

I'm sorry if I've chosen the wrong board, but since I tried the mod specifically modified for BGT I think that's the right place. If not, please point me towards the right place and I'll notify the warning there too. :)
All of the above must be considered totally IMHO.

Rose NPC and ktweaks for BG:T

#2 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 17 October 2009 - 04:40 AM

I can confirm this. There were major changes made to ARAM00.BCS to facilitate the fix for the wrong version of Jaheira and Viconia returning in BG2.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#3 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 17 October 2009 - 04:43 AM

Well the original modder (flysoup) is still around but doesn't actively maintain this mod and I believe has given his permission for folks to change the mod as they will. So if you or anyone else has a fix (as seems to be the case if you investigated the script blocks) feel free to post it.

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


#4 kthxbye

kthxbye
  • Member
  • 233 posts

Posted 17 October 2009 - 05:12 AM

The attached .rar file is an hotfix I've just done - I simply modified the files oARAM00.BAF and nARAM00.BAF inside the DrizztSaga/SNIP/ folder. Just decompress the mod as usual, then decompress the hotfix in the same directory where the mod is and when prompted to merge folders/overwrite files, hit yes. No need to change the tp2.
Not tested, but should work as I only replaced the old Imoen block Drizz't Saga was looking for with the new one, taken from BGT v1.8 BGT/Base/BAF/ARAM00.BAF file.

Attached Files


All of the above must be considered totally IMHO.

Rose NPC and ktweaks for BG:T

#5 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 17 October 2009 - 05:39 AM

I haven't looked at the code, but REPLACE_BCS_BLOCK is a rather obsolete way of doing things, though it may have worked ok at the time when it was in use (and it is a reason it no longer works here, though it may have at one time). It is better nowadays to use DECOMPILE_BCS_TO_BAF and REPLACE_TEXTUALLY instead, if you can manage that (I think the WeiDU doc has some examples of this, or if not, several mods do, like Aurora's quest gold component).

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


#6 kthxbye

kthxbye
  • Member
  • 233 posts

Posted 17 October 2009 - 05:47 AM

Yup I use the DECOMPILE_BCS_TO_BAF and REPLACE_TEXTUALLY for my Rose mod, but on this particular case I thought it could've been cleaner to just replace the two BAF files the tp2 referred to. Didn't know it's an obsolete method. Will upload a new hotfix as soon as I switch to my laptop. :)
All of the above must be considered totally IMHO.

Rose NPC and ktweaks for BG:T

#7 kthxbye

kthxbye
  • Member
  • 233 posts

Posted 17 October 2009 - 07:09 AM

Here's the hotfix which fixes the tp2 to use the DECOMPILE_BCS_TO_BAF, REPLACE_TEXTUALLY and COMPILE_BAF_TO_BCS commands for all instances of script changes.
Since it overwrites the tp2 file, use it only for Drizz't Saga v2 reworked for BGT, or it could not be compatible, lead to errors or bring back bugs fixed in future versions of the mods.

Attached Files


All of the above must be considered totally IMHO.

Rose NPC and ktweaks for BG:T

#8 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 17 October 2009 - 09:25 AM

... and it is a reason it no longer works here, though it may have at one time

Do you mean WeiDU isn't backward-compatible with code??

OMG :o ... What about all the other older mods that may use this?? Wouldn't it be possible to create a .tp2 patcher or something to update codeblocks instead of rewriting each .tp2 one-by-one?? :P (i dunno ... just throwing it out :D)

@kthxbye: Is the second attachment used in conjunction with the first?? Or are they for entirely different thing?? :P

Cheers,
Lol

Edited by Lollorian, 17 October 2009 - 09:29 AM.

"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


#9 kthxbye

kthxbye
  • Member
  • 233 posts

Posted 17 October 2009 - 09:33 AM

Actually my first install of Drizz't Saga went flawless with the instances of REPLACE_BCS_BLOCKS that didn't refer to the new ARAM00.bcs from BGTv1.8 (there are some that patches some demon scripts, changed those too in my last hotfix) so I think that it's alright to use them but when possible it's safer to use the DECOMPILE_BCS_TO_BAF and REPLACE_TEXTUALLY commands.
Anyway, doing a "tp2" patcher should be pretty easy using linux - don't know on windows, but I think it would be quite easy there too. I'm pretty too much out of practice to make it right now tho, I'd need to spend some time to get used to unix scripts again.
All of the above must be considered totally IMHO.

Rose NPC and ktweaks for BG:T

#10 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 17 October 2009 - 11:46 AM

What about all the other older mods that may use this?? Wouldn't it be possible to create a .tp2 patcher or something to update codeblocks instead of rewriting each .tp2 one-by-one??

The problem is that REPLACE_BCS_BLOCK looks for a specific *block* in a script and tries to replace that whole thing with another block. Now if some mod's come along and interjected something within a block, or replaced a variable or something like that, it won't work, because it has to match exactly the first block to replace it. REPLACE_TEXTUALLY on the other hand is usually more precise... it's like using a scalpel versus a sledgehammer to perform surgery. As for mass-replacing the code, you'd have to figure out some way of parsing each BCS block (both the search and replace blocks) and somehow rewriting it... possible to automate somehow I guess, but not an easy task.

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