Skip to content

Sorting Order feature

ALIENQuake edited this page Apr 13, 2019 · 10 revisions

First of all, it's not 'install order' in the sense of 'weidu.log'. This feature will only sort all mods and components which was already selected by user. It doesn't add any mods/components to installation sequence. I suggest to use Excel-like application in order to create sorting order file. You can quickly get familiar with the concept by using mods which have more than one component.

Example user case:
Suppose that you selected two mods: Sir Ajantis NPC for BGII and Ascension, "Project Infinity" will generate installation sequence like this:

ajantisbg2:0:Sir Ajantis NPC for BGII
ajantisbg2:1:Install the unique BG(II):EE BAM for Ajantis Family Shield
Ascension:0:Ascension
Ascension:1:Tougher Abazigal
Ascension:2:Tougher Demogorgon ( Original Bioware Design )
Ascension:3:Tougher Gromnir
Ascension:4:Tougher Illasera
Ascension:5:Tougher Yaga-Shura
Ascension:101:Ascension Portraits - Bodhi
Ascension:102:Ascension Portraits - Balthazar by Cuv ( Alternate Design 

from the documentation of those two mods, you will be aware that "Ascension" needs to be installed before "Sir Ajantis NPC for BGII" mod. Previously, you would have to manually copy/paste/move all "Ascension" lines before "Sir Ajantis NPC for BGII" lines. In order to avoid such manual work, you can create an "SortingOrder.ini" file which contain tp2 names of the mods:

Ascension * // all components of Ascension
ajantisbg2 * // all components of Sir Ajantis NPC for BGII

and if you apply such "sorting order" file using "Apply-SortingOrder" button after you selected all mods, then the lines will be sorted and outcome will be:

Ascension:0:Ascension
Ascension:1:Tougher Abazigal
Ascension:2:Tougher Demogorgon ( Original Bioware Design )
Ascension:3:Tougher Gromnir
Ascension:4:Tougher Illasera
Ascension:5:Tougher Yaga-Shura
Ascension:101:Ascension Portraits - Bodhi
Ascension:102:Ascension Portraits - Balthazar by Cuv ( Alternate Design )
ajantisbg2:0:Sir Ajantis NPC for BGII
ajantisbg2:1:Install the unique BG(II):EE BAM for Ajantis Family Shield

The * character means "all selected component of the mod" but remember that this feature will never add or remove mods which you didn't selected previously. Additionally, all component from mods which aren't defined inside "sorting order" file will be placed at the end of the "install sequence" for manual adjust.

You can even exclude single component, example:

Ascension * // all components of Ascension, except explicitly defined components
ajantisbg2 * // all components of Sir Ajantis NPC for BGII
Ascension 101 102 // Ascension components 101 and 102

This is how such sorting definition will work:

Step 1: only components 0,1,2,3,4,5 of "Ascension" mod will be sorted. Even if the there is an '*' character, components 101 and 102 will be skipped because those are explicitly defined at the end of the "sorting order" file
Step 2: all components of "ajantisbg2" mod will will be sorted
Step 3: component 101 and 102 of "Ascension" will be sorted because those are explicitly defined components

After sorting the outcome will be:

Ascension:0:Ascension
Ascension:1:Tougher Abazigal
Ascension:2:Tougher Demogorgon ( Original Bioware Design )
Ascension:3:Tougher Gromnir
Ascension:4:Tougher Illasera
Ascension:5:Tougher Yaga-Shura
ajantisbg2:0:Sir Ajantis NPC for BGII
ajantisbg2:1:Install the unique BG(II):EE BAM for Ajantis Family Shield
Ascension:101:Ascension Portraits - Bodhi
Ascension:102:Ascension Portraits - Balthazar by Cuv ( Alternate Design )

so you can quickly uninstall components with portraits, without need to reinstall every other mod.