Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support .mod file dependencies in loader #10

Open
rquinio opened this issue Jul 29, 2017 · 0 comments
Open

Support .mod file dependencies in loader #10

rquinio opened this issue Jul 29, 2017 · 0 comments

Comments

@rquinio
Copy link
Owner

rquinio commented Jul 29, 2017

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 rquinio changed the title Support .mod file replace_path in loader Support .mod file dependencies in loader Jul 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant