Jump to content


Photo

Some solutions on the new FixpackBeta2 Incompatibility


  • Please log in to reply
10 replies to this topic

#1 gamer99

gamer99
  • Member
  • 10 posts

Posted 28 August 2006 - 05:27 PM

I think I found some sulotions about installing the G3 FixpackBeta2, Like "Trapped in cage" when you start a new BG2 game when both FixpackBeta2 and BGT1.01 installed. If you check the Setup-BGT.tp2 file(you can open it with your default text editor like Notepad or Wordpad), there is a line like

"REPLACE_BCS_BLOCK ~BGT/Compat/BGT/Replace/rAR0602.BAF~ ~BGT/Compat/BGT/Replace/xAR0602.BAF~".

This line just replace the contents in file rAR0602.BAF with the contents xAR0602.BAF. The contents of rAR0602.BAF comes directly from ~override\AR0602.bcs. Problem is the FixpackBeta2 changed the ~override\AR0602.bcs file, so now the installer can not find a match from rAR0602.BAF and AR0602.bcs. Now suppose you have extracted the BGT101-Install.rar to you BGII directory, before run Setup-BGT.exe, use NI to open the ~override\Ar0602.bcs, go to ~BGT\Compat\BGT\Replace, edit the rAR0602.BAf file to match the corresponding contents in the AR0602.bcs. In this case, the block you should edit before FixpackBeta2 in AR0602.bcs is

IF
OnCreation()
Global("NewGame","AR0602",0)
THEN
RESPONSE #100
HideGUI()
FadeToColor([1.0],0)
SetGlobal("NewGame","AR0602",1)
Continue()
END

So is the contents of rAR0602.BAF. Now the FixpackBeta2 changed it to

IF
OnCreation()
Global("NewGame","AR0602",0)
THEN
RESPONSE #100
ActionOverride(Player1,MakeUnselectable(2147483647))
HideGUI()
FadeToColor([1.0],0)
SetGlobal("NewGame","AR0602",1)
Continue()
END

So you should change the contents of the rAR0602.BAF too, which means to add the new line "ActionOverride(Player1,MakeUnselectable(2147483647))" to it.

If you do not want a new install, maybe you can just replace the block in AR0602.bcs with the whole thing in xAR0602.BAF(though I did not test this because my new install works. Anyone tried please reply here). In this way you can solve the problem whatever mods you install and in whatever order you install them. And also other "block unmatch problem". Edit your *.DEBUG file to find any "warning", most of them are about block unmatch. (Though they are only "warning" in the install process, but they do affect you game greatly, mostly hangs your game).

This is just the temporarily solution of the problem, and it should work. The Mod itself should be changed to make it "compatible" with each other but there are a lot of issues like what mods you installed and in what order you installed them, so sometime you might want to debug your bugs by yourself. Hope this will be helpful.

Edited by gamer99, 28 August 2006 - 05:28 PM.


#2 gamer99

gamer99
  • Member
  • 10 posts

Posted 28 August 2006 - 05:51 PM

By the way, forgot to mention that xAR0602.BAF should be updated correspondingly. So the line

ActionOverride(Player1,MakeUnselectable(2147483647))

should be added in the xAR0602.BAF too.

Also, this is the solution when I am testing with FixpackBeta2 and BGT1.01 installed only. Maybe more lines needed when you are doing the mega install. More details when I am done installing.

Edited by gamer99, 28 August 2006 - 05:59 PM.


#3 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Modder
  • 1505 posts

Posted 28 August 2006 - 07:36 PM

REPLACE_BCS_BLOCK is, frankly, completely unreliable. :)

In the tp2, replace this:

COPY_EXISTING ~AR0602.BCS~ ~override~
  DECOMPILE_BCS_TO_BAF
  REPLACE_TEXTUALLY ~IF
  Global("TakeImportItems","AR0602",0)~
~IF
  Global("TakeImportItems","AR0602",0)
  Global("MinscImport","GLOBAL",2)
  Global("JaheiraImport","GLOBAL",2)
  Global("ImoenImport","GLOBAL",2)~ //works if CtB installed previously as well
  REPLACE_TEXTUALLY ~InParty("Imoen")~ ~InParty("Imoen2")~
  COMPILE_BAF_TO_BCS
  REPLACE_BCS_BLOCK ~BGT/Compat/BGT/Replace/rAR0602.BAF~ ~BGT/Compat/BGT/Replace/xAR0602.BAF~

with this:

COPY_EXISTING ~AR0602.BCS~ ~override~
  DECOMPILE_BCS_TO_BAF
  REPLACE_TEXTUALLY ~Global("NewGame","AR0602",0)~ ~False()~
  REPLACE_TEXTUALLY ~IF
  Global("TakeImportItems","AR0602",0)~
~IF
  Global("TakeImportItems","AR0602",0)
  Global("MinscImport","GLOBAL",2)
  Global("JaheiraImport","GLOBAL",2)
  Global("ImoenImport","GLOBAL",2)~ //works if CtB installed previously as well
  REPLACE_TEXTUALLY ~InParty("Imoen")~ ~InParty("Imoen2")~
  COMPILE_BAF_TO_BCS

EXTEND_TOP ~ar0602.bcs~ ~BGT/Compat/BGT/Replace/xAR0602.BAF~

ACTION_IF FILE_EXISTS_IN_GAME ~cdbehbla.pro~ THEN BEGIN // if Fixpack installed
  COPY_EXISTING ~AR0602.BCS~ ~override~
	DECOMPILE_BCS_TO_BAF
	  REPLACE_TEXTUALLY ~HideGUI()~ ~ActionOverride(Player1,MakeUnselectable(2147483647)) HideGUI()~
	COMPILE_BAF_TO_BCS
END

Will work with or without Fixpack.

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.


#4 gamer99

gamer99
  • Member
  • 10 posts

Posted 28 August 2006 - 08:31 PM

Cool. Absolutely a smarter way to do it and exactly what I need. But it does need some experience on coding, and it requires that you know what to add, or change. Thank you very much. Give me a new idea about how to debug my game. Still got a lot to learn, though.

#5 pro5

pro5
  • Modder
  • 722 posts

Posted 29 August 2006 - 01:27 AM

Am I the only one who had absolutely no problems at the start of SoA, BGT 1.01 and fixpack installed?

The only thing I did before actually starting playing was adding Continue to the starting block in AR0602.BCS, which was FR_ROV item mod block.

#6 erebusant

erebusant

    It takes a village...

  • Modder
  • 2109 posts

Posted 29 August 2006 - 02:40 AM

Am I the only one who had absolutely no problems at the start of SoA, BGT 1.01 and fixpack installed?

The only thing I did before actually starting playing was adding Continue to the starting block in AR0602.BCS, which was FR_ROV item mod block.



I haven't gotten the chance to start my new game yet until I finish running through all my .bcs's to check for continue()'s at the right places, and removing ones that don't need to be there.. I'll let you know when I get there.

On another note, couldn't someone just add the appropriate IF/THEN block to their AR0602.bcs in NI and recompile it?

It takes a village...


#7 seanas

seanas
  • Modder
  • 1906 posts

Posted 29 August 2006 - 03:24 AM

On another note, couldn't someone just add the appropriate IF/THEN block to their AR0602.bcs in NI and recompile it?

yes.

the solution offered by gamer99/camdawg is for ppl who haven't actually installed BGT yet

"A simple test of the relative merits of science and religion is to compare lighting your house at night by prayer or electricity" - A. C. Grayling
"EFF files have saves, too." - CamDawg
|| this is radio seanas || BP Series v3 || seanas at work ||


#8 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Modder
  • 1505 posts

Posted 29 August 2006 - 03:55 AM

Yeah, I'm looking towards a long-term solution. NI is definitely the solution for folks who have already installed BGT and Fixpack.

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.


#9 erebusant

erebusant

    It takes a village...

  • Modder
  • 2109 posts

Posted 29 August 2006 - 07:40 PM


On another note, couldn't someone just add the appropriate IF/THEN block to their AR0602.bcs in NI and recompile it?

yes.

the solution offered by gamer99/camdawg is for ppl who haven't actually installed BGT yet



Here's another interesting note. In my installation of 08/24/06 my AR0602.bcs has the exact same IF InParty("Imoen2") IF/THEN block twice. Once with a Continue() because an OnCreation IF/THEN block follows it, and once without.

I assume I can delete one of these blocks without repercussions?

It takes a village...


#10 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 29 August 2006 - 11:07 PM

Stickied till a full resolution is made. :)

--------------
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)


#11 gwyned

gwyned
  • Member
  • 13 posts

Posted 30 August 2006 - 11:13 AM

I encountered this same problem, tried the various fixes posted here, without any real success. On a lark, I ended up doing a complete reinstall, testing the opening of BG2 at every step of the way. Oddly enough, when I completed the full reinstall of the game + my various mods (which include BG1NPC, the FixPack Beta 2, BGT, and several others but no BP components), the opening of BG2 ran error free. Granted, I haven't actually made the transition yet from BG1 to BG2, but at least starting BG2 from the menu works just as before. Since my installs were as close to identical as possible (including the same order of installation), I can only conclude that whatever the problem is, it doesn't always occur.

Edit: Actually, in retrospect, my second install I installed the Fixpack *after* BGT, while the first time I installed it before BGT. This may be part of the problem...

Edited by gwyned, 31 August 2006 - 04:04 PM.