ModOrganizer2 / modorganizer

Mod manager for various PC games. Discord Server: https://discord.gg/ewUVAqyrQX if you would like to be more involved
http://www.nexusmods.com/skyrimspecialedition/mods/6194
GNU General Public License v3.0
2.15k stars 159 forks source link

Suggestion: More verbose file attribute checker #665

Open ThisIsPatrick opened 5 years ago

ThisIsPatrick commented 5 years ago

Given the nature of the file attribute checker of the basic diagnosis plugin, it would be informative for it to give more information on what it's doing.

Information like what files are found to be problematic, what that problem is, why it's a problem/negative effects, and the steps it takes to solve them. It would also be useful for a list of all that information to be output or displayed in an easily readable format. i.e. "<directory\file name> has and "

LostDragonist commented 5 years ago

Note: This is providing information, not downplaying the suggestion.

When attribute checker finds something, it will output the results in the MO2 text console at the bottom of the window. This follows the format of XXXXXXXX DARSHOIXVPUCZ Path\to\file. XXXXXXXX is the full bitfield of attributes, mostly useful for developers. The characters D-Z are specific attributes in a user-friendly format, displayed in a standard Windows manner. Path\to\file is the file with a problem.

D = Directory A = Archive R = Read-Only S = System H = Hidden O = Offline I = Not Content Indexed X = No Scrub Data V = No Integrity Stream P = Pinned U = Unpinned C = Compressed Z = Sparse (non-standard notation)

The attributes checker fixes the issue by attempting to remove all of these attributes except the directory and archive attributes. The directory attribute isn't touched as you can't turn directories into files. The archive attribute isn't touched as it doesn't affect the games but can result in unnecessary backups happening with some backup software.

At this time, I honestly don't know how to turn that amount of information into something user-friendly without an extraordinary amount of work.