Jump to content


Photo

BWS/BGT info: Minsc stutter step bug in BG2 / the presence of NeJ2 (v6

stutter step Minsc stutter step

  • Please log in to reply
7 replies to this topic

#1 James M

James M
  • Member
  • 24 posts

Donator

Posted 24 July 2017 - 11:10 AM

I used BWS/Big World Setup to install a fair number of mods including BGT/Baldur's Gate Trilogy.
Minsc developed a "stutter walk bug" when we got to Chateau Irenicus. (He was absolutely fine throughout BG1).
The bug is that he stopped actions, such as walking or attacking, every 1 second or less throughout level 1 of the dungeon.
We then went through the portal to NeJ2/Icewind Dale. (NeJ 2, v 6.91; NeJ = Never Ending Journey mod). The portal is near Minsc's and Jaheira's jail cells.
Minsc was still stutter stepping in NeJ2.

I placed a minsc.bcs file from A Gamer_1745/Chevalier into the override folder and the stutter walk bug was no more! He kindly posted the file here:
http://www.shsforums...second-or-less/

 

I loaded my save from the beginning of Chateau Irenicus and we adventured for 30 minutes in the dungeon and 30 more in NeJ2. Minsc was walking and attacking as expected!

I then loaded my latest save game from Nej with Minsc parked. He re-joined us and we've been adventuring for several hours (real-time)since - no stutter step!

 

The minsc.bcs file solved the problem, but to do a little investigating I then re-installed BG2 and the same mods using BWS, exception being NeJ2 and 1pp high quality music.
I re-loaded my latest save game from when we were still in the BG1 part of BGT.
We found ourselves back in Chateau Irenicus but this time Minsc was walking fine and attacking Lightning Mephits, etc - no stutter bug!


Perhaps there was a conflict between NeJ2 and something else installed via the BWS program?
Just putting this out there as information. Thank-you all for the wonderful BWS and all the fantastic mods!!!

 

Original weidu log with NeJ2 installed:

Spoiler

 

2nd weidu log with the same installation, exception being NeJ2 and 1pp high quality music:

Spoiler


Edited by James M, 24 July 2017 - 11:31 AM.


#2 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 24 July 2017 - 12:11 PM

Sorry if that sounds rude, but installing NEJ in any other constellation than the one explicitly stated by its author is always your own risk. This has been published again and again and BWS tells you:

~SETUP-BWS.TP2~ #0 #0 // Expert Mod In Selection: NeJ2v694
~SETUP-BWS.TP2~ #0 #1 // Expert Mod In Selection: NeJ2v691

 

Installing this, you take the risk and cannot complain to anyone else.


The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#3 Creepin

Creepin
  • Administrator
  • 1676 posts

Posted 24 July 2017 - 12:33 PM

Sorry if that sounds rude, but installing NEJ in any other constellation than the one explicitly stated by its author is always your own risk. This has been published again and again and BWS tells you:
~SETUP-BWS.TP2~ #0 #0 // Expert Mod In Selection: NeJ2v694
~SETUP-BWS.TP2~ #0 #1 // Expert Mod In Selection: NeJ2v691
 
Installing this, you take the risk and cannot complain to anyone else.
Firstly, OP wasn't complaining.
Secondly, Expert Mod is not some holy cow to pray upon, it's merely a marking that there MIGHT be some issues.
And lastly, sharing information and providing some workarounds to said issues is the best way to deal with expert mods on the way to eventually improving them up to Recommended.
With that said, thank James M, hope that will eventually prove useful.

Edited by Creepin, 24 July 2017 - 12:36 PM.

The Old Gold - v0.2 WIP (mod for BGT/BWP/BWS)


#4 The Imp

The Imp

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

  • Member
  • 5155 posts

Posted 24 July 2017 - 12:41 PM

... the best way to deal with expert mods on the way to eventually improving them up to Recommended.
That might be with the other mods, but not so much on Nej, as it's today part of the Vlad Co, aka when eventually that gets tested into the BWS, the other versions will be removed. And mingling info about the compatibility of the past versions... is kinda useless unless you want to check each issue with a fine comb just for kicks.

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.


#5 Ikki

Ikki
  • Validating
  • 123 posts

Posted 24 July 2017 - 01:03 PM

Sorry if that sounds rude, but installing NEJ in any other constellation than the one explicitly stated by its author is always your own risk. This has been published again and again and BWS tells you:

~SETUP-BWS.TP2~ #0 #0 // Expert Mod In Selection: NeJ2v694
~SETUP-BWS.TP2~ #0 #1 // Expert Mod In Selection: NeJ2v691

 

Installing this, you take the risk and cannot complain to anyone else.

If nobody try the new version of NeJ, we will get stuck with the old one.

Personnaly i have NeJ3v7.02 (not the very last one) in my setup (with some fix) and it work well enough



#6 K4thos

K4thos
  • Modder
  • 315 posts

Posted 24 July 2017 - 01:04 PM

The minsc.bcs file solved the problem, but to do a little investigating I then re-installed BG2 and the same mods using BWS, exception being NeJ2 and 1pp high quality music.

this sounds like a time consuming effort so in case something like this happens in future the correct investigation procedure is the one posted by The Imp in the previous topic

All that had to be done to find the issue was installing LStest mod and checking message that the mod would print on screen. Finding where the problem lays and which mod added such block is easy most of the time.



#7 James M

James M
  • Member
  • 24 posts

Donator

Posted 24 July 2017 - 07:30 PM

Thanks folks. I look very much forward to NeJ3 (hopefully) being fully integrated into BWS. My BWS config file is attached FWIW.

Attached Files



#8 Vlad

Vlad
  • Member
  • 577 posts

Posted 08 August 2017 - 03:12 AM

This is the .D file fixing the problem:

 

REPLACE_ACTION_TEXT MINSCJ
~SetGlobal("MinscReminder","LOCALS",1)~
~~

REPLACE_ACTION_TEXT MINSCJ
~SetGlobal("MinscReminder","LOCALS",2)~
~~

ADD_TRANS_ACTION MINSCJ
BEGIN 218 END
BEGIN 0 1 END
~SetGlobal("MinscReminder","LOCALS",1)~

ADD_TRANS_ACTION MINSCJ
BEGIN 219 END
BEGIN 0 END
~SetGlobal("MinscReminder","LOCALS",1)~

ADD_TRANS_ACTION MINSCJ
BEGIN 221 END
BEGIN 0 END
~SetGlobal("MinscReminder","LOCALS",1)~

REPLACE_STATE_TRIGGER MINSCJ 223
~Global("TalkedToLloyd","GLOBAL",0)
Global("VillageSaved","GLOBAL",0)
Global("MinscReminder","LOCALS",1)~

ADD_TRANS_ACTION MINSCJ
BEGIN 224 END
BEGIN 0 END
~SetGlobal("MinscReminder","LOCALS",2)~

REPLACE_STATE_TRIGGER MINSCJ 225
~Global("TalkedToLloyd","GLOBAL",0)
Global("VillageSaved","GLOBAL",0)
Global("MinscReminder","LOCALS",2)~

ADD_TRANS_ACTION MINSCJ
BEGIN 225 END
BEGIN 0 END
~SetGlobal("MinscReminder","LOCALS",3)~

 

In MINSC.BCS, the problematic block is:

 

IF
	GlobalTimerExpired("MinscRemindsImnesvale","GLOBAL")
	Global("TalkedToLloyd","GLOBAL",0)
	Global("VillageSaved","GLOBAL",0)
	!Global("Chapter","GLOBAL",4)
	!Global("Chapter","GLOBAL",5)
	!Global("Chapter","GLOBAL",7)
	AreaType(0)
	!AreaCheck("AR1100")
	!AreaCheck("AR1400")
	CombatCounter(0)
	InParty(Myself)
	See(Player1)
	!StateCheck(Player1,STATE_SLEEPING)
	GlobalLT("MinscReminder","LOCALS",2)
THEN
	RESPONSE #100
		StartDialogueNoSet(Player1)
END

 

In this block,

 

GlobalLT("MinscReminder","LOCALS",2)

 

should be amended to:

 

OR(2)
	Global("MinscReminder","LOCALS",1)
	Global("MinscReminder","LOCALS",2)

 

You may do that in the .TP2 file:

 

//Minsc Ever Stutter Fix - 04.08.2017
COPY_EXISTING ~Minsc.bcs~ ~override~
 DECOMPILE_BCS_TO_BAF
  REPLACE_TEXTUALLY
~GlobalLT("MinscReminder","LOCALS",2)~
~OR(2)
	Global("MinscReminder","LOCALS",1)
	Global("MinscReminder","LOCALS",2)~
COMPILE_BAF_TO_BCS

 

This problem comes from the original game, not from any mod. After meeting Delon and getting the Ranger quest, Minsc should give two reminders. But because of the bad scripting above, he enters the loop instead. So, above is the solution to the problem. It works in VC + NeJ3, should work in NeJ2 as well.


Edited by Vlad, 08 August 2017 - 05:08 AM.