PortraitBuilder icon indicating copy to clipboard operation
PortraitBuilder copied to clipboard

Support .mod file dependencies in loader

Open rquinio opened this issue 6 years ago • 0 comments

Based on these mods:

  • BaseMod.mod, dependencies = {}
  • SubMod1.mod, dependencies = { BaseMod }
  • SubMod2.mod, dependencies = { BaseMod SubMod1 }

If there is a file with identical name (.gfx, .dds, etc.), the priority should likely be: SubMod2 > SubMod1 > BaseMod > Vanilla+DLCs To be confirmed with some testing.

Without dependencies, the priority would be first mod loaded wins (BaseMod > SubMod1 > SubMod2 > > Vanilla+DLCs)

Not sure how games behaves when there's a dependency cycle.

rquinio avatar Jul 29 '17 10:07 rquinio