Project Zomboid

Project Zomboid

Mod Manager: Load Order Sorter
How does it work?
Quick question for understanding:

I load the mod manager mods in that order:
1. ModManager;
2. ModManagerServer;
3. ModManagerELO;
4. ModManagerLoadFromCollection;
5. ModManagerLoadOrderSorter

and accept to load. Then I go into Mod menu again.

Click sort. MM ELO then automatically sorts all the mods in the (hopefully) correct order, so that the least amounts of conflicts happen. That should be

1) Mods that are essential to other mods (dependencies)
2) Maps/locations
3) Framework/API/Tweak mods
4) Other mods

How does it decide which mods are which? For testing I loaded the following mods (already sorted by MM):

Mod Manager
Mod Options
Diederiks Tile Palooza (API)
Perts Party Tiles (API)
Throttlekittys tiles (API)
Authentic Z (Clothes)
Blackwood (Map)
Chesttown (Map)
Dirkerdam Alptha (Map)
Mod Manager: ELO
MM: Load Order Sorter
> 86 Oshkosh ... (Car)
> 87 Toyota ... (Car)
> 89 Land Rover ... (Car)
Alternative LMT (Mechanic)
Auto Sewing (Tweak)
> Chenowth Desert Patrol Vehicle (Car)
Expanded Bandana
Better Electronics
Project Elevator (Mechanic)
Standalone Wearable Towels
> XM93 Fox (Car)
fol_take_A_Bath

Things I noticed here:
o) These car mods are spread apart.
o) The Mod Manager mods are spread apart.

Generally it seems to be a little mixed up in Order. Is that correct?
< >
Showing 1-4 of 4 comments
Yes, I was wondering the same thing.
REfRigERatoR  [developer] 5 Sep, 2024 @ 12:44am 
Previously, sorting worked with priority to determine the order of mods so that all dependent mods were loaded earlier than the mod that required them. Sorting by additional categories was done "if possible".
It is worth noting that the category is determined through the "mod.info" file in each mod, and not, as you might think, by the categories that are displayed in the steam workshop. This is due to the fact that I did not find a way to get this information from the mod page using any request or in another way.
And according to your notes: 1) transport mods did not belong to a separate category, therefore they were simply mixed with others.
2) some mods, namely mod manager, mod manager server and modoptions, I manually moved to the front since these are some of the main mods.

However, I released a new update where I completely reworked the sorting logic, and I hope this will solve some of your questions. Again, I was unable to add the definition of mod categories from the page in the workshop, but to determine the category I now additionally check for the presence (or absence) of certain files or folders in the mod structure
Captain Tofu 5 Sep, 2024 @ 3:52am 
Thank you very much for the response!
Adam 16 Jul @ 9:19am 
Whats the problem with just doing a node first traversal of the dependency tree?
< >
Showing 1-4 of 4 comments
Per page: 1530 50