Page 1 of 1

[raiguard] Installed dependent mods are refetched on update

Posted: Fri Sep 01, 2023 6:54 am
by Pi-C
Yesterday, I updated Nullius using the in-game mod manager. The update pulled in "Angel's Smelting" (along with its dependency "Angel's Petrochemical Processing") and "Bob's Logistics mod". Now there was another update to "Nullius", and I noticed that these dependencies were downloaded again although they were already at the latest version:

Code: Select all

73934.950 Info ModPortal.cpp:665: Downloading /download/nullius/64f16644c1073e4ab421ac87?username=Pi-C&token=<private> to /home/pc/GOG_Games/Factorio/test_1.1/temp/nullius_1.6.2.zip
73934.951 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/download/nullius/64f16644c1073e4ab421ac87?username=Pi-C&token=<private>
73975.329 Info ModPortal.cpp:665: Downloading /download/angelspetrochem/63f7bdd0aabdeb98aa9351a3?username=Pi-C&token=<private> to /home/pc/GOG_Games/Factorio/test_1.1/temp/angelspetrochem_0.9.24.zip
73975.329 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/download/angelspetrochem/63f7bdd0aabdeb98aa9351a3?username=Pi-C&token=<private>
74007.649 Error ModDownloadJob.cpp:58: Mod (angelspetrochem) is already installed at: /home/pc/GOG_Games/Factorio/test_1.1/mods/angelspetrochem_0.9.24.zip
74007.654 Info ModPortal.cpp:665: Downloading /download/angelssmelting/63f7bde5112277a048fc82cd?username=Pi-C&token=<private> to /home/pc/GOG_Games/Factorio/test_1.1/temp/angelssmelting_0.6.21.zip
74007.654 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/download/angelssmelting/63f7bde5112277a048fc82cd?username=Pi-C&token=<private>
74090.073 Error ModDownloadJob.cpp:58: Mod (angelssmelting) is already installed at: /home/pc/GOG_Games/Factorio/test_1.1/mods/angelssmelting_0.6.21.zip
74090.085 Info ModPortal.cpp:665: Downloading /download/boblogistics/63b14cc760a93b6d58f78812?username=Pi-C&token=<private> to /home/pc/GOG_Games/Factorio/test_1.1/temp/boblogistics_1.1.6.zip
74090.085 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/download/boblogistics/63b14cc760a93b6d58f78812?username=Pi-C&token=<private>
74141.146 Error ModDownloadJob.cpp:58: Mod (boblogistics) is already installed at: /home/pc/GOG_Games/Factorio/test_1.1/mods/boblogistics_1.1.6.zip
This seems like a waste of bandwidth, and as the game already knows which mods are available on my computer, I guess it should be possible to compare the version numbers before downloading dependent mods. As a side note: "Nullius" also has a hard dependency on "Alien Biomes". However, the game did not try to update that mod (required version: >=0.6.5, available version: 0.6.8). While this is the behavior I'd expect, it seems inconsistent in regard to what's happening with the other dependent mods.

Re: [raiguard] Installed dependent mods are refetched on update

Posted: Mon Sep 04, 2023 6:02 pm
by raiguard
Could you please post a list of all of the mods in your mods folder? Including duplicate versions, etc.

Re: [raiguard] Installed dependent mods are refetched on update

Posted: Mon Sep 04, 2023 6:36 pm
by Pi-C
Sure, I've attached the list!

I'm sorry that it is quite long. The list includes some private mods, unpublished WIP versions of my own mods, private updates to mods published by others, and possibly even some mods that don't work with Factorio 1.1. As I'm working on several mods, I often download new mods to check for compability issues, that's why there are so many. :-)

Re: [raiguard] Installed dependent mods are refetched on update

Posted: Thu Sep 07, 2023 3:35 pm
by raiguard
Thanks for the report, this has been fixed for the next release.

Re: [raiguard] Installed dependent mods are refetched on update

Posted: Thu Sep 07, 2023 5:33 pm
by Pi-C
Splendid, thank you! :-)