Jump to content


Photo

Question about the BGT Graphical User Interface


  • Please log in to reply
11 replies to this topic

#1 Hobomaniac

Hobomaniac
  • Member
  • 41 posts

Posted 16 July 2016 - 11:59 AM

Hello,

 

I installed my own megamod with over 300 mods (according to Leonardo's guide) and everything went fine.

Everything is installed. No error. The game just works fine.

 

But there is a small detail that eludes me.

 

I can't understand why setup-GUI.exe installs the graphic user interface for Shadows over Soubar!!!

 

If I don't install Shadows over Soubar, setup-GUI installs the good interface (Elminster wielding Staff - choice 5)

On the other hand , If I install Shadows over Soubar, setup-GUI leaves me with the Shadow over Soubar interface (choice 1).

 

Why is it that way?

I'm playing BGT, so I expect to see the Elminster interface for BGT.

 

I know it's a small detail, but it bothers me.

Is it safe to force setup-GUI to install the elminster image (choice 5) ?



#2 agb1

agb1
  • Member
  • 1623 posts

Posted 16 July 2016 - 02:05 PM

Should be safe, yes.

BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip


#3 -Hobomaniac-

-Hobomaniac-
  • Guest

Posted 16 July 2016 - 04:49 PM

Thank you agb.

I was pretty sure no-one would understand what I'm talking about. hehe

I was wrong.

 

Anyway, I've modified the individual.bat file, and replaced the lines :

 

findstr /I /M "BGT.TP2~.*#.*#0./" %ELOG%>nul
if not errorlevel 1 (
    Call ".\%BWIP%\define_GUI.bat
) else (
    GOTO :SKIPGUI
)

FOR /F %%a IN ('type GUI_input.txt') DO Call %EINST% GUI "%%a"

:SKIPGUI

 

by a simple and innocent :

 

Call %EINST% GUI "5"

 

I made a small test. No problem.

 

But now I understand why it was scripted like this. Because the choice given by setup-GUI.exe is dynamic! depending on the number of mods installed before.

The author had to write an extra script called define_GUI.bat to circumve...ne..heu...circum......(bah!), well, to solve the problem.

Amazing.



#4 The Imp

The Imp

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

  • Member
  • 5155 posts

Posted 16 July 2016 - 11:02 PM

The author had to write an extra script called define_GUI.bat to circumvent the problem.
Yep.

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

-Hobomaniac-
  • Guest

Posted 17 July 2016 - 02:43 PM

The strangest thing happened.

 

I modified the individual.bat with the line Call %EINST% GUI "5"

 

I ran another install from scratch (it's 7 hours long by the way)

 

And the program executed  Call %EINST% GUI "1"  instead.

so nothing has changed and I'm stuck with the Shadow over Soubar interface. Anyway. I'll live with it.

But strange that my modification did nothing.



#6 The Imp

The Imp

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

  • Member
  • 5155 posts

Posted 17 July 2016 - 03:04 PM

..

But strange that my modification did nothing.

Open the file called setup-GUI.debug with notepad and copy paste the text to a post... it should tell you what went on..


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.


#7 Hobomaniac

Hobomaniac
  • Member
  • 41 posts

Posted 17 July 2016 - 03:46 PM

Here it is.

 

 

Attached Files



#8 Hobomaniac

Hobomaniac
  • Member
  • 41 posts

Posted 17 July 2016 - 03:51 PM

Everything seems ok.

But maybe the setup-GUI.exe isn't executed by the individual.bat.

 

Mystery.


Edited by Hobomaniac, 17 July 2016 - 03:51 PM.


#9 The Imp

The Imp

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

  • Member
  • 5155 posts

Posted 17 July 2016 - 04:22 PM

Read the quote under the codes to understand... the post editor made cheese out of this post. And this is the only way to fix it... :(

 

So this was executed:

 Setup-GUI.exe --language 0 --skip-at-view --noautoupdate --no-exit-pause --force-install-list 5 --logapp

The thing is, you need to uninstall the already installed component...
With something to this vain/vane(whatever):

 Setup-GUI.exe --uninstall
 Setup-GUI.exe --language 0 --skip-at-view --noautoupdate --no-exit-pause --force-install-list 5 --logapp

Or you could just make it skip the first install of the mod... by removing what ever ends up being this ...

 Setup-GUI.exe --language 0 --skip-at-view --noautoupdate --no-exit-pause --force-install-list 1--logapp

Heh...
 
Mystery... erhm, there's a line that says:

SETUP-GUI.TP2 0 1 Installed
Skipping ["Baldur's Gate Trilogy" (Elminster wielding staff)] because another subcomponent of [Game Graphical User Interface (GUI)] is already installed.
Saving This Log

Edited by The Imp, 17 July 2016 - 04:48 PM.

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.


#10 Hobomaniac

Hobomaniac
  • Member
  • 41 posts

Posted 17 July 2016 - 05:15 PM

Ok I understand.

 

But why is it already installed?

Setup-GUI looks for installed components and sees that the component it's trying to install is already installed!

Who did this? Who dares to install the Shadow over Soubar interface!?

 

But....

Searching in my Big World Debug file, i discovered that setup-GUI was executed twice!

Here is the extract :

 

SUCCESSFULLY INSTALLED      Sword Coast Map Labels

 

SUCCESSFULLY INSTALLED      Update Map Markers

[Setup-GUI.exe] WeiDU version 23900

Using Language [English]

 

Installing [Game Graphical User Interface (GUI) -> "Shadows Over Soubar"]

Copying and patching 1 file ...

Copying 1 file ...

 

 

 

SUCCESSFULLY INSTALLED      Game Graphical User Interface (GUI) -> "Shadows Over Soubar"

[Setup-GUI.exe] WeiDU version 23900

Using Language [English]

[Setup-crefixer.exe] WeiDU version 23900

 

Installing [Creature Slot Fixer] [v2]

Copying and patching 12472 files ...

Copying and patching 1 file ...

Copying and patching 1 file ...

Copying and patching 1 file ...

 

Why is it executed twice. I don't know.


Edited by Hobomaniac, 17 July 2016 - 05:23 PM.


#11 -Hobomaniac-

-Hobomaniac-
  • Guest

Posted 18 July 2016 - 05:54 AM

I did another test, deleting completely the lines from individual.bat, and the result is the same. SoS interface is installed anyway.

It's hard coded somewhere, I don't know where.

 

I prefer not to mess any further by uninstalling the GUI, so I'll live with it. I'll never see Elminster wielding his staff never again.....it makes me sad.



#12 -Hobomaniac-

-Hobomaniac-
  • Guest

Posted 18 July 2016 - 08:28 AM

It seems the setup-GUI is executed by individual.bat, process.bat, compilation.bat and maybe others.

How these files interact with each other during the installation process is beyond my knowledge....