Add option to click on a conflict to swap load order
Currently, here are the steps to resolve a conflict:
- Find a conflict in the conflicts list
- Find the name of the archive in the load order list on the left (there is no filter, so this is tedious with a long list)
- Drag it above the archive it conflicts with (which also has to manually be found in the list)
It'd be easier to instead click on a conflict to automatically place it above the other archive.
There is a problem with this naive approach. Let's say we have three archives:
- a
- b
- c
I first fix a conflict between b and c, which places c before b. The order is now:
- a
- c
- b
Then, I fix a conflict between b and a, which places b before a. The order is now:
- b
- a
- c
This is wrong because I want c to be before b.
To avoid this, I think we'd need a system more akin to the LOOT tool for Bethesda games. It allows a user to establish a dependency graph between plugins, and then it sorts plugins according to that graph.
Hej, I actually have a small app that can topologically sort archives according to rules (like LOOT) here: https://github.com/rfuzzo/plox
I originally made it for Morrowind, but I added CP77 support as well.
I would need to polish it a bit, and we don't have any rules yet, but it would work.