Jump to content

Recommended Posts

Posted

I decided to pare down the existing KS Hairdo's hair pack, and removed all the unnecessary meshes from the meshes folder. Is there a quick way to update mesh references in Kit to see which ones are empty?

Posted

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
Posted
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.

Posted

Probably best to do an xEdit script that will go  through all headpart records, check uf referenced mesh file exists, and if not, removes the 'Playable' flag.

Posted

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.

  • Recently Browsing   0 members

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