[2.0.10] All mods get enabled after loading mod with wrong version

We are aware of them, but they have low priority. We have more important things to do. They go here in order not to take space in the main bug thread list.
LightningMaster
Burner Inserter
Burner Inserter
Posts: 10
Joined: Wed Oct 02, 2024 7:16 pm
Contact:

[2.0.10] All mods get enabled after loading mod with wrong version

Post by LightningMaster »

when testing my own mod, I found this problem. there is a time when my zip version doesn't match my version in info.json.
then I will get this error:
pic
after closing factorio. and lunch it again.
factorio will enable all the mods in the mod folder.
this is little bit annoying when I have to load the game and check the mods and load it again, given that space-age mod takes some time to load.

and also, don't know if its only me or its a bug, every time i click mods in game menu, the game will stuck for 5 ~ 8 seconds and the mod manage page shows up. that did not happen in 1.1

below are attachments.

factorio-previous.log -- log when version mismatch error happens.
factorio-current.log -- log when i open factorio again.

mod-list.json -- mod list after the error happens.
mod-list2.json -- mod list when i click disable all mods.
Attachments
mod-list2.json
mod list when i click disable all mods.
(3.05 KiB) Downloaded 7 times
factorio-previous.log
log when version mismatch error happens.
(1.21 KiB) Downloaded 12 times
factorio-current.log
log when i open factorio again.
(7.79 KiB) Downloaded 8 times
mod-list.json
mod list after the error happens.
(575 Bytes) Downloaded 10 times
Pi-C
Smart Inserter
Smart Inserter
Posts: 1737
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: [2.0.10] All mods get enabled after loading mod with wrong version

Post by Pi-C »

LightningMaster wrote: Fri Oct 25, 2024 2:23 pm when testing my own mod, I found this problem. there is a time when my zip version doesn't match my version in info.json.
[…]
after closing factorio. and lunch it again.
factorio will enable all the mods in the mod folder.
That's still an issue in 2.0.15. My mods folder contains a number of mods that haven't been updated to Factorio 2.0 yet because my own mods depend on these and I want to get them updated whenever a new release is published.

While modding, I have a couple of mods that are always on (e.g. "gvv" or "Creative Mod"), plus the mod I'm working on, and possibly some other mods that my mod is supposed to interact with. When something goes wrong, all mods in the folder are silently enabled; then Factorio restarts and crashes because it also has enabled the old, incompatible mods. I can then
  • disable the listed mods (resulting in a restart after which I have to manually disable all the mods I don't need, plus another restart)
  • disable all mods (resulting in a restart after which I have to enable the mods I need, plus another restart)
  • enter the mod manager and manually disable the incompatible/unnecessary mods (resulting in a restart)
Enabling/disabling a lot of mods manually is a PITA on my laptop because it's not enough to doubleclick on a line in the mod manager. Instead, I have to click directly into the tiny checkbox, and that can be difficult because I'm using the touchpad to move the cursor.

So even if this has been classified as minor issue, for me this is a major cause of frustration. I would really appreciate if the game would just error the first time, telling me that the version derived from the mod's folder name doesn't match the expected name derived from info.json – without enabling every single mod in my mods folder.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
LightningMaster
Burner Inserter
Burner Inserter
Posts: 10
Joined: Wed Oct 02, 2024 7:16 pm
Contact:

Re: [2.0.10] All mods get enabled after loading mod with wrong version

Post by LightningMaster »

Pi-C wrote: Fri Nov 08, 2024 11:29 am Enabling/disabling a lot of mods manually is a PITA on my laptop because it's not enough to doubleclick on a line in the mod manager. Instead, I have to click directly into the tiny checkbox, and that can be difficult because I'm using the touchpad to move the cursor.

So even if this has been classified as minor issue, for me this is a major cause of frustration. I would really appreciate if the game would just error the first time, telling me that the version derived from the mod's folder name doesn't match the expected name derived from info.json – without enabling every single mod in my mods folder.
Strongly agree.

I am also using laptop. and it has a weak CPU. so every time the game will take 5-10mins loading, before I can start the map. before there is no mod management on the error page, I have to 1. disable all the mods. 2. load the game, wait 5 mins until it enter the menu, then going into mod setting. reenable mod i need, close the game. 3. wait for 5-10 mins since I have space-age enabled and it take time. that is very annoying. Although now I can manage the mods directly on the error screen save time. but some times I can't remember what mod I enabled. then I can only first load the game and then click sync and load on the loading page. and wait for the game to load again (5-10mins)

speaking of mod manage page. after updating to 2.0 every time I click mod management whatever I am in the menu or in the error page. the game will just freeze for a moment before I can do anything. (10~20second on my laptop, and 5~ 10 second on my desktop.) this shouldn't happening. I mean, come on, a game that will freeze on default menu? that is not professional at all.
Post Reply

Return to “Minor issues”