Dependencies: IsIncompatible ?

Discuss modding questions and implementation details.
Post Reply
User avatar
Ralzar
Posts: 2211
Joined: Mon Oct 07, 2019 4:11 pm
Location: Norway

Dependencies: IsIncompatible ?

Post by Ralzar »

As more mods keep appearing and some mods take over for abandoned mods etc, this will probably start popping up more and more: Mods that are incompatible.

Is there a way at the moment to code this into the dfmod.json to have the mod list produce an error?

If not, might it be an idea to add a value for "IsIncompatible" that you can set to true? So users get informed if they are trying to use two mods that will create issues?

Or an alternative to "Dependencies" called "Incompatibilities" with its own set of values? So you can specify specific versions of mods that are incompatible with your mod?

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Dependencies: IsIncompatible ?

Post by Hazelnut »

Is there actually an instance of this?
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: Dependencies: IsIncompatible ?

Post by BadLuckBurt »

I can see this being abused if two mod makers end up hating each other.

The other guy is such a prick that I will make his mod incompatible with mine by flagging it, mwuhahaha that will show him!

And what if a modder actually makes their mod compatible after a while but the one with the Incompatible flag isnt updated?

Lastly, what about freedom? Let me break my game in peace :D
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

User avatar
Ralzar
Posts: 2211
Joined: Mon Oct 07, 2019 4:11 pm
Location: Norway

Re: Dependencies: IsIncompatible ?

Post by Ralzar »

Haha, true.

I actually handle this at the moment by having my mod set to be loaded after mods it is incompatible with, then when ingame it does a popup to tell you about the incompatability.

So you could do "I don't think you should use that mod, because the author is a dick!" ingame :P

User avatar
Kokey
Posts: 22
Joined: Thu Aug 06, 2020 12:59 am

Re: Dependencies: IsIncompatible ?

Post by Kokey »

It can't really be abused if DFUnity only warned that X was incompatible Y, not prevented the use.

User avatar
pango
Posts: 3359
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Dependencies: IsIncompatible ?

Post by pango »

They're many ways pieces of code can break one another in more subtle and hidden ways, I wouldn't spent too much time on how such feature could be abused.

Just make sure it works (for example, as explained before, that a module describes another module as incompatible, it has to be restricted to some versions so the other module's author has a way out if he/she fixes the incompatibility;...)
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

Post Reply