Mutagen-Modding / Mutagen.Bethesda.Analyzers

A project to diagnose and analyze the health of a mod or a load order
GNU General Public License v3.0
14 stars 4 forks source link

TIF Script File Collisions #46

Open ghost opened 3 years ago

ghost commented 3 years ago

when you create tif files in the CK, by default it just names them TIF_a formid.pex (well, its the same size as a formid but it might just be a random number, not sure) for example, TIF__000D8E1B.pex this means that its possible for these scripts to incorrectly overwrite other completely unrelated scripts if the name hasn't been changed from the default (you can rename scripts in the CK) I don't think theres any way this is fixable via mutagen however a warning for mod authors would be fine

Noggog commented 3 years ago

So you're saying the warning should just be detecting if there's any .pex files that look like "TIF_XXXXXXXX.pex" and assume it should be namechanged and show a suggestion to do so?

Can you walk me through some explicit steps that would cause an undesired overwrite? Create TIF file, keep standard name, rename script.. create another TIF file?