nifskope icon indicating copy to clipboard operation
nifskope copied to clipboard

Feature Request: Means of updating Starfield's .mesh paths in bulk

Open JasonJShuler opened this issue 4 months ago • 5 comments

Need a means of bulk updating mesh paths in a Starfield.nif.

Thanks to the recursive export feature mentioned in #75, I am able to use the blender plugin to import the entire nif. This dramatically simplified the process of punching holes (and as a bonus I got all the LODSs as well) but... the .nif file it creates is just all messed up (it seems targetted toward outfits and armor rather than ship modules). The meshes, however, seem fine.

I made a little batch script to move / rename all the exported meshes back to the vanilla paths so I could use it with the original .nif.

It works like a charm... except I can't leave them in the vanilla paths - it would override the source object. And I don't really have as way to tell which meshes were changed... so need them all probably.

At the most basic level, just having the ability to add a prefix or suffix without renaming would at least make it possible. Preferably something like regex replace, or even better - rename them all to be in a single folder with more meaningful names.

Another alternative would be if I could somehow copy the paths from the plugin output nif onto the original..

(yet another would be if the .nif could be exported to xml to do some regex replace and then imported?

This while file pointer to meshes business really is pain isn't it...

Thank you so much for all of this. Truly amazing work.

JasonJShuler avatar Apr 06 '24 05:04 JasonJShuler