Jump to content


Automated mod installation


  • Please log in to reply
3 replies to this topic

#1 -Oddegamra-

-Oddegamra-
  • Guest

Posted 23 May 2011 - 11:37 AM

Hello,

I've recently picked up BG2 again, and am still unsure as to which mods to install/keep. I often try out new mods, but at the same time, try to keep a certain installation order (i.e. fix mods/NPC mods/tweak mods). This leads to certain annoyances, for example, trying to add a new NPC mod when other big mods have already been installed (most notably with BG2 Tweaks and SCSII). I first have to uninstall all mods down the installation chain, and then reinstall the desired components one by one.

Now, is there some way to automate this process, preferably already built into Weidu? Looking at Weidu.log, it should be possible to determine exactly which mod components to install in which language, but from what I can tell, the only relevant switch in Weidu.exe seems to be --force-install-list (X Y Z).

In case Weidu doesn't directly support installing multiple mods at once, I could still write a parser for Weidu.log that invokes the correct weidu executable and simply forces all components that were listed. Only two questions:

1. Are sub-components handled correctly when I rely on the second number in Weidu.log? For example, BG2 Tweaks has Higher HP on level up -> NWN Style, which is component number 3001. If I force component #3001 to be installed, will it be the correct subcomponent?

2. What about components that require user input? Again, BG2 Tweaks has a component 'Minimum stat cheat'. Can I somehow find out with which value this component has been installed, and pass this to Weidu? (preferably not by piping the required inputs in the correct order to the Weidu process, though...)

Thanks in advance.

#2 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 23 May 2011 - 12:15 PM

:whistling:

Edited by Jarno Mikkola, 23 May 2011 - 12:29 PM.

Deactivated account. The user today is known as The Imp.


#3 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 23 May 2011 - 12:27 PM

Time to read this...
1) Yes.
2) You can make a .txt for example from which the inputs are read by WeiDU.exe, more on the above link.
Erhm or you can do the BGT's BG1 install folders setting with:

setup-bgt.exe --language 0 --force-install 0 --args-list sp "C:\Program Files\Black Isle\Baldur's Gate"


Deactivated account. The user today is known as The Imp.


#4 -Oddegamra-

-Oddegamra-
  • Guest

Posted 24 May 2011 - 08:42 AM

Time to read this...


Thanks. Would've been surprised if I was the first to come up with this problem. Guess I'll write up my own solution after all, seeing how the bigg's link is dead.