Jump to content


Photo

BiG World Setup (an attempt to update the program)


  • This topic is locked This topic is locked
5286 replies to this topic

#3101 AweDeus

AweDeus
  • Member
  • 4 posts

Posted 22 August 2016 - 01:03 AM

Hmf... Can't pick "expert" in pre-selection mod menu. When its loading i get this error
ugT68b4.png

 

what's wrong with that?

Func _Depend_GetActiveConflictAdv($p_String, $p_RuleID, $p_Show)
    Local $p_Debug=0
    If $p_Debug Then FileWrite($g_LogFile, '_Depend_GACA_'&$p_RuleID&': $p_String = '&$p_String&' for '&$g_Connections[$p_RuleID][0]&'=C:'&$g_Connections[$p_RuleID][1]&@CRLF)
    If StringInStr($p_String, '>') Then
        _PrintDebug("! Error ! Invalid conflict rule (contains both '>' and ':') in Connections section of "&$g_ConnectionsConfDir&'\Game.ini: '&$Return[$r][0]&'='&$Return[$r][1], 1)
        Exit
    EndIf
    $p_String=StringSplit($p_String, ':')
    Local $Active, $Test[$p_String[0]+1][50]
    For $s=1 to $p_String[0]
        $Active=_Depend_ItemGetSelected($p_String[$s])
        For $r=1 to $Active[0][0]
            If StringInStr($p_String[$s], '&') And $Active[0][1] <> $Active[0][0] Then $r=$Active[0][0]; skip if all are required and not all are active
            If $Active[$r][1] = 1 Then
                $Test[$s][0]+=1
                $Test[$s][$Test[$s][0]]=$Active[$r][0]
            EndIf
        Next
        If $Test[$s][0] <> 0 Then $Test[0][0] += 1
    Next
    If $Test[0][0] <= 1 Then Return; no multiple conflicts were selected
    Local $IsConflict = 0
    Local $Warning = ''
    If $g_Connections[$p_RuleID][4]=1 Then $Warning=' **'
    For $s=1 to $p_String[0]
        If $Test[$s][0] <> 0 Then
            Local $Prefix = ''
            For $r=1 to $Test[$s][0]
                If $p_Show=1 Then GUICtrlCreateListViewItem($Prefix&$g_CentralArray[$Test[$s][$r]][4]&$Warning & '|' & $g_CentralArray[$Test[$s][$r]][3], $g_UI_Interact[10][1])
                _Depend_ActiveAddItem('C', $p_RuleID, $Test[$s][$r], $s)
                $Prefix='+ '
                If $p_Show=1 And $IsConflict = 1 Then GUICtrlSetBkColor(-1, 0xFF0000)
            Next
            $IsConflict = 1
            $Warning = ''
        EndIf
    Next
EndFunc    ;==>_Depend_GetActiveConflictAdv

 

 



#3102 -bla-

-bla-
  • Guest

Posted 22 August 2016 - 09:59 AM

Chances are good that there's nothing wrong. Tell us what you chose. Game / translations / preselection...



#3103 AweDeus

AweDeus
  • Member
  • 4 posts

Posted 22 August 2016 - 10:13 AM

BG:EE trilogy / RU EN / expert



#3104 -bla-

-bla-
  • Guest

Posted 22 August 2016 - 11:14 AM

Wow. that Faiths_and_Powers mod breached 50 conflicts. 
So increase 50 in line 970 to something bigger like 75 or 100 if you want a fixed amount to increase speed.
Or calculate the number to be save by something like this (valid if there can only be : | and & in the conflict-line...)
I guess the later one is better...

Local $Active, $Test[$p_String[0]+1][50]
Local $Active, $Test[$p_String[0]+1][100]

Local $Active, $Test[$p_String[0]+1][UBound(StringRegExp($Test, ':|\x7c|&', 3))]



#3105 -bla-

-bla-
  • Guest

Posted 22 August 2016 - 11:20 AM

Sorry  you need... to define $test to make the third one work by adding a line before splitting $p_String...

 

 

$Test = $p_String
$p_String=StringSplit($p_String, ':')
Local $Active, $Test[$p_String[0]+1][UBound(StringRegExp($Test, ':|\x7c|&', 3))]

 

For a quick fix, just make the array bigger.



#3106 -bla-

-bla-
  • Guest

Posted 22 August 2016 - 11:33 AM

Ups, got to increase by one since stringregexp counts from element 0,,, :doh:

 

    $Test = $p_String
    $p_String=StringSplit($p_String, ':')
    Local $Active, $Test[$p_String[0]+1][UBound(StringRegExp($Test, ':|\x7c|&', 3))+1]

 

Captchas are fun though. :P



#3107 AweDeus

AweDeus
  • Member
  • 4 posts

Posted 22 August 2016 - 11:59 AM

Hmf... Ok i try.



#3108 AweDeus

AweDeus
  • Member
  • 4 posts

Posted 22 August 2016 - 12:44 PM

Yup, that works.


Edited by AweDeus, 22 August 2016 - 12:44 PM.


#3109 The Imp

The Imp

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

  • Member
  • 5155 posts

Posted 23 August 2016 - 03:18 AM

Could someone go and ask ScottBrooks to make his modmerger tool to be a weidu mod, aka have it log itself installed in the weidu.log even if it's just for a psuedo effect ? That is, unless it already is. :P


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.


#3110 subtledoctor

subtledoctor
  • Modder
  • 656 posts

Posted 23 August 2016 - 08:04 AM

I think they're working on integrating ModMerge into Weidu itself, so there will never be a need to use ModMerge anymore. I saw some discussion indicating it is already working in a proof-of-concept.

It's probably gonna take a bit of time to work out all the kinks, though.

#3111 Argent77

Argent77
  • Administrator
  • 1434 posts

Posted 23 August 2016 - 08:27 AM

Scott hasn't been working on it (publicly) for some time now. Latest activity is from April. Unless there is work being done behind the scenes I wouldn't count on DLC support for WeiDU anytime soon.

If all BWS needs is a proper WeiDU.log entry or some kind of fake backup data then a simple dummy mod should be enough to accomplish the task.



#3112 -bla-

-bla-
  • Guest

Posted 23 August 2016 - 09:36 AM

Possible solution (not tested) from existing BWS-code:

 

Local $Array=_FileSearch($g_BG1EEDir&'\dlc', '*.disabled')
For $a=1 to $Array[0]
    $Array[$a]=StringReplace($Array[$a], '.disabled', '')
    If Not StringInStr(FileRead($g_BG1EEDir&'\WeiDU.log'), $Array[$a]&'.TP2') Then _Install_CreateTP2Entry($Array[$a], 'Modmerged Dlc')
Next



#3113 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 24 August 2016 - 09:54 PM

Hello! I have only a small request: could anyone make Big World Setup allow to skip obligatory Lolfixer mod (because I have problem with it)?



#3114 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 26 August 2016 - 09:31 PM

Hello! I have only a small request: could anyone make Big World Setup allow to skip obligatory Lolfixer mod (because I have problem with it)?

Edit BiG World Setup\Config\Global\lolfixer.ini and remove "F," from "Type=F,R,S,T,E"

Thank you! Thank you very much!  :Bow:  Now I successfully installed BG! Hooray! :new_thumbs:



#3115 -larry-

-larry-
  • Guest

Posted 28 August 2016 - 04:54 PM

Hey guys I have a problem with my installation, last one went fine, but this time with the updated BWS ( I used one almost 6 months ago ) it tells me to restart my computer after the pre installation (it shows up in the cmd box). When I restart and use the BWS again it says according to my weidu log I have everything installed already and nothing happens. Any ideas?



#3116 -Celeras-

-Celeras-
  • Guest

Posted 28 August 2016 - 05:38 PM

Can anyone help me solve this problem I'm having with Sword Coast Strategems? It seems to be conflicting with another mod or something.

 

Here is an archive with my Weidu.log, Big World Install.txt and Setup-Strategems.debug. I hope its enough and thanks.



#3117 Wintershade

Wintershade
  • Member
  • 42 posts

Posted 29 August 2016 - 04:46 AM

Hey guys, I'm having trouble with the latest BWS (pulled from GIT).

After I make my mod selection, the BWS does not complain about conflicting mods (and I deliberately selected some that I know are in conflict - e.g. all the Big Picture and SCS components). Needless to say, the installation now fails, and I have no idea which mods/components I need to deselect anymore.

 

I've tried a fresh reinstall of BG1 and BG2 (not the EEs), as well as downloading and running the latest BWS (with update) from GIT, and the problem still persists - it shows no conflicts whatsoever, and the installation fails miserably.

 

Can anyone help me with this? Is this a bug? If so, how can I get around it? If not, what am I doing wrong?

 

Thanks in advance!

 

 

EDIT: I have checked out the commit 6a1c850 from GIT (the last one from 2016-08-15), rather than the latest and ran the BWS without updating. This time conflicts showed correctly, and I was able to install a few basic mods. Will test further, and will try to bisect the code if anyone is interested. In any case, if this is a bug, it is introduced in one of the commits from >=2016-08-23.


Edited by Wintershade, 29 August 2016 - 08:12 AM.

Only the best is good enough.

#3118 Wintershade

Wintershade
  • Member
  • 42 posts

Posted 29 August 2016 - 09:01 AM

Thanks, it seems to work now! :)

Now I can continue setting up my installation :D


Only the best is good enough.

#3119 -Celeras-

-Celeras-
  • Guest

Posted 29 August 2016 - 05:42 PM

Can anyone help me solve this problem I'm having with Sword Coast Strategems? It seems to be conflicting with another mod or something.

 

Here is an archive with my Weidu.log, Big World Install.txt and Setup-Strategems.debug. I hope its enough and thanks.

Appending to files ...
ERROR: illegal 2-byte read from offset 61610 of 554-byte file
ERROR: illegal 2-byte read from offset 61610 of 554-byte file
ERROR: [C!PP27.ITM] -> [override/C!PP27.ITM] Patching Failed (COPY) (Failure("Read out of bounds"))
Stopping installation because of error.


ERROR Installing [Initialise mod (all other components require this)], rolling back to previous state
Will uninstall  31 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 1000.
Uninstalled     31 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 1000.
ERROR: Failure("Read out of bounds")
Detailed error information can be found in the file SETUP-STRATAGEMS.DEBUG . For help troubleshooting installation problems, go to the Sword Coast Stratagems forum at forums.gibberlings3.net.
Automatically Skipping [Initialise mod (all other components require this)] because of error.
Using Language [English]

You have old version of Wheels of Prophecy, please redownload it from here: http://lynxlynx.info...heelsOfProphecy

 

Ok I've downloaded that version but I wasn't sure how I should go about installing it so I renamed the archive to what BWS was expecting and started the installation over. I'm still getting the same error messages though. Did I do something wrong?



#3120 -Celeras-

-Celeras-
  • Guest

Posted 29 August 2016 - 05:43 PM

Can anyone help me solve this problem I'm having with Sword Coast Strategems? It seems to be conflicting with another mod or something.

 

Here is an archive with my Weidu.log, Big World Install.txt and Setup-Strategems.debug. I hope its enough and thanks.

Appending to files ...
ERROR: illegal 2-byte read from offset 61610 of 554-byte file
ERROR: illegal 2-byte read from offset 61610 of 554-byte file
ERROR: [C!PP27.ITM] -> [override/C!PP27.ITM] Patching Failed (COPY) (Failure("Read out of bounds"))
Stopping installation because of error.


ERROR Installing [Initialise mod (all other components require this)], rolling back to previous state
Will uninstall  31 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 1000.
Uninstalled     31 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 1000.
ERROR: Failure("Read out of bounds")
Detailed error information can be found in the file SETUP-STRATAGEMS.DEBUG . For help troubleshooting installation problems, go to the Sword Coast Stratagems forum at forums.gibberlings3.net.
Automatically Skipping [Initialise mod (all other components require this)] because of error.
Using Language [English]

You have old version of Wheels of Prophecy, please redownload it from here: http://lynxlynx.info...heelsOfProphecy

 

Ok I've downloaded that version but I wasn't sure how I should go about installing it so I renamed the archive to what BWS was expecting and started the installation over. I'm still getting the same error messages though. Did I do something wrong?