Jump to content

How to quickly remove unnecessary links to meshes?


Recommended Posts

My guess is that they deleted the hair meshes that they would never use and now want to remove references to them in the plugin so that they do not attempt to show up in the racemenu.  If that is the case, I'd thought that KS hairdo had included the hair name in the NIF and TRI files as well as in the associated plugin records.  If that is indeed the case, then deleting those records from the plugin should work (do it in the CK as it will remove any references to the record being deleted from within other records as well.) But if the meshes are gone and now do not have access to those names to get the correct records....  Only way I know is to open each record, see what mesh is being referenced, and checking if it exists or not.

None of that is quick.

  • Like 1
Link to comment
Share on other sites

59 minutes ago, IsharaMeradin said:

My guess is that they deleted the hair meshes that they would never use and now want to remove references to them in the plugin so that they do not attempt to show up in the racemenu.  If that is the case, I'd thought that KS hairdo had included the hair name in the NIF and TRI files as well as in the associated plugin records.  If that is indeed the case, then deleting those records from the plugin should work (do it in the CK as it will remove any references to the record being deleted from within other records as well.) But if the meshes are gone and now do not have access to those names to get the correct records....  Only way I know is to open each record, see what mesh is being referenced, and checking if it exists or not.

None of that is quick.

Gotcha. If it was me I'd write a papyrus script to speed up the process. You can check with skse and papyrusUtil. Put all the armorAddons from ks hairdos in a formlist in the ck. In papyrus cycle through the list, check each with ArmorAddon.GetModelPath(bool firstPerson, bool female) and MiscUtil.FileExists(string fileName). If it doesn't exist, Log or print the armor addon to an external file.

Link to comment
Share on other sites

Vsem spasibo. V itoge ya sostavila spisok faylov, kotoryye khotela isklyuchit' i rukami udalila ne nuzhnyye pricheski iz moda. Thanks everyone. As a result, I made a list of files that I wanted to exclude and manually removed unnecessary hairstyles from the mod.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...