[2.0.77] Trouble updating mods with new dependencies

Bugs that are actually features.
SWeini
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Mon Apr 04, 2022 6:43 am
Contact:

[2.0.77] Trouble updating mods with new dependencies

Post by SWeini »

If you have "Automatically enable new mods" disabled, the process of updating mods can lead to mods not loading correctly.

Scenario:
mod A 1.0 (installed and active)
mod A 2.0 (newer version available on mod portal)
mod B 1.0 (available on mod portal, was never installed before, required dependency added by mod A 2.0)

Actual behavior:
1. user goes to "Updates" tab, selects mod A and clicks "update"
2. mod A is updated to 2.0 and kept active
3. mod B is installed but not active
4. user clicks "confirm"
5. game restarts and can't load mods
6. user has to find the problem and solve it

This might technically be the correct behavior, because "Automatically enable new mods" is disabled, and mod B is a new mod. I'd still argue that in this case the user wanted to enable mod B. I always thought the setting is about the behavior when moving zip files into your mod folder manually, not about creating an invalid mod state after an user interaction.

Expected behavior (pick one, anything is better than failing game load on clicking "confirm"):
A. mod B is installed and silently activated
B. mod B is installed and activated and the user is informed about this fact
C. ask user to enable mod B
D. show warning when clicking "confirm"

This happened for real with mod A being sw-rates-calc-extreme 0.3.2 and mod B being sw-entity-tracker
https://mods.factorio.com/mod/sw-entity ... 02c528e2d0
Rseding91
Factorio Staff
Factorio Staff
Posts: 17242
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.77] Trouble updating mods with new dependencies

Post by Rseding91 »

Thanks for the report however I don't believe we will be changing this. This is simply a case where the player has to decide what combination of mods they want enabled. The game can only go so far in trying to be smart about things and the code complexity and potential for errors grows beyond what anyone currently wants to sign up to maintain.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”