Nexus-Mods / Vortex

Vortex Development
GNU General Public License v3.0
911 stars 135 forks source link

Enhancement- 7 Days to Die Load Ordering #3259

Closed Pickysaurus closed 5 years ago

Pickysaurus commented 5 years ago

Reference Forum Post: https://forums.nexusmods.com/index.php?/topic/7362871-vortex-7-days-to-die-load-orders/#entry67373321

Request to Enhanced 7DTD support with Load ordering.

_"Not really any specific link as such, but I'll detail as best I can.

In Alpha 17 the game will now look for a folder called "Mods" in the root game directory.

Inside the mods folder you place your "modlets". These are loaded Alphabetically. Currently the only way to change the load order is to rename the folder. We have been leaving this up to users to do manually.

image

Inside the main folder is mod/ModInfo.xml containing the mods Name/description/version. Config folder contains the config files ItemIcons is self explantory. Resources contains Unity Bundles.

image

The config directory consists of files of the same name as vanilla, but contain XPath directives which are now processed at run time. So hard modding the xml files is no longer necessary. image

because of the xpath processing on the fly is where load orders are necessary when combining mods, just like in skyrim as there may be a dependency on another "modlet".

Its where conflicts will happen. eg: If modlet A removes a node and then Modlet B tries to access the now removed node (it will just fail silently with a warning in the console).

I dont know if its anything within the scope of what you are looking at but I didnt think it could hurt to ask :)"_

IDCs commented 5 years ago

Hi @nelson3219, none of us have modded 7DTD before so our knowledge of its modding patterns is limited. Can you please confirm that this enhancement is indeed required and whether you would be able to pick this up ?

nelson3219 commented 5 years ago

Hi, i am not modding 7D2D myself, so i don´t realy know. But the way the problem is described it makes sense to me. But how to automatically load Mods in the proper order without something like a dependency structure... Sorry for the late answer, I am very busy with my exams at the moment.

TanninOne commented 5 years ago

implemented in https://github.com/Nexus-Mods/vortex-games/commit/df71539b419c636a8b46b8bb82a5af0f20cc8783