Jump to content


Photo

Dependency help


  • Please log in to reply
3 replies to this topic

#1 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 01 June 2011 - 08:06 AM

I am currently on the Manage conflicts and dependencies part of BiG World Setup\Docs\faq.htm.
Spent two days trying to understand the logic. The dot notation is very confusing to me, I think that sometime it means WHOLE COMPONENTS (of mod), and sometime it means ANY COMPONENTS (of mod)

Let?s see an example ("All mods/components depend another, so the mods will not be allowed to be installed alone. Only in a bunch of all mods.")
NTotSC Patch=D:NTOTSC(-)&NTOTSCv171(-)
a. WHOLE NTOTSCv171 must be install with WHOLE NTOTSC ?
b. ANY NTOTSCv171 must be install with ANY NTOTSC ?
Ok, must be b.


Let's see another example ("one mod needs another -- not vise versa")
GRoA needs Kelsey=D:GROA(-):Kelsey(-)
a. WHOLE GROA need WHOLE Kelsey
b. WHOLE GROA need ANY Kelsey
c. ANY GROA need WHOLE Kelsey
d. ANY GROA need ANY Kelsey

=> if a. then I can therorically install GROA.0 GROA.1 etc. without GROA.x and any Kelsey. Including GROA.x will turn WHOLE Kelsey mandatory? Strange but possible...
=> if b. c. or d. then maybe it would be better to introduce new notation for better comprehension for WHOLE (comp of mod) and ANY (comp of mod)

#2 dabus

dabus
  • Member
  • 1982 posts

Posted 01 June 2011 - 09:45 AM

- ==> One or more components of a mod are selected
& ==> Both A and B have to be installed to install either A or B
NTOTSC will only be installed if the patch is installed, too. The patch cannot be installed solo, either.
: ==> A needs B, but B can be installed without A
Groa needs Kelsey but Kelsey can be installed alone.

Example A: B
Example B: D
THINK! - It's not illegal.

#3 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 01 June 2011 - 01:33 PM

Ok, it's clearer now. I was tricked by the sentence "A dash stands for the hole mod.", I should have read "One or more components of a mod are selected" as in your post.

I must admit that I was also blocked two days with the "Remove fixed content"; I understood "fixed" = "repaired", but finally I found it: here, "fixed" means "pinned" :)


As you know I try to make BWS in C# to make it less error prone (with unit test) and more maintenable (user friendly coding); otherwise I fear that BWS will "decay" quickly.
So may I ask you more technical questions about BWS? Maybe by pm, or keep asking here?

#4 dabus

dabus
  • Member
  • 1982 posts

Posted 01 June 2011 - 02:03 PM

If you select to solve a dependency that contains a dash, the hole mod would be selected.
If you de-select parts of the mod prior to the dependency-screen, the dependency still would be treated as fulfilled.

I don't mind if the BWS goes down in a month or so. I started it just for fun and basically since I did not notice that the batch-files for the BWP existed, added some stuff and tried to prove to myself that I can create something that can install the BWP. Well, I think it did so the script fulfilled its main purpose.

If you want to, go ahead and ask your questions.
THINK! - It's not illegal.