Open alphaniner opened 4 years ago
Does using the Notes column not work for this? The search text filter can filter the notes as well.
I don't think the Notes section is particularly suited to 1).
As for 2) and 3), the method I'm using is the first solution I came up with. My main issue with the Notes field was that it tends to get pushed aside.
If I limit the one-liner section of the Notes to just a few letters and symbols, and move the field away from the very end, it could function like a manual flags area. That's probably what I'll start doing. Thanks for the inspiration.
It would still be nice if this kind of thing were automatic, but if no one else has any interest in this I'm fine with that.
Any idea if this is the kind of thing that could be implemented with a plugin?
I didn't realize until just now that plugins could be written in Python.
I don't think this can be done with a plugin but maybe @Holt59 knows better.
To be honest, I would only see 1 happening, and only to see whether there is a path to a file. Mo2 will not check if the file exists unless you try to reinstall it. There is already a suggestions here: #1084 And then there is this one which would help #1080
It could be cool to allow users to define new filters from a plugin.
I doubt this can be done with a plugin, or at least not without tremendous efforts.
Flag for mods whose install file is still present in the downloads folder.
You'd need to watch the download folder to check when files are deleted. That's doable but you'd have to have your own watcher, etc.
Flag for mods that are the product of a scripted install.
MO2 has no idea that an install is the product of a scripted install, it's all handled by the installer plugins. You could register a onModInstalled
callback that would check the installation_file
in the meta.ini
, then re-open the archive to check if it was a FOMOD, BAIN, whatever.
Flag for mods that are the product of a merged install.
This is known to MO2 but is not reported to plugins. You could remember the old state of each mod and then check the difference using onModInstalled
but that would be pretty heavy.
There are two things related to what you want:
We'd need callbacks, or improved ones. That part is not difficult: we can add a "downloadDeleted" callback, or add details in the onModInstalled
callback. That would not work for installation files that are not in the MO2 download tabs thought.
We'd need a way to allow plugins to add extra flags to MO2. That's probably not difficult from a technical point-of-view, but there are decisions to take on how to do that.
You'd need to watch the download folder to check when files are deleted. That's doable but you'd have to have your own watcher, etc.
I wasn't actually thinking of something that would be updated in real time, just a check when MO2 is launched and maybe on Refresh.
As for the rest, I'll just stick to my system of using symbols in the Notes field. But thank you for the detailed response.
Requested flags
Rationale
This is based on my practice of mod annotation and file retention: