NifOR - Nif Object Renamer

Download
519 KB




Features

NifOR is a small application which let's you rename meshes inside nif files. It's especially useful for Better Bodies clothes and armors, since meshes are assigned to body parts by their names. This way you can: By using NifOR the meshes won't lose important settings like phisiqe or animations.

Installation

Extract the zip file anywhere you want and run NifOR.exe. That's all.


Tutorials

IMPORTANT: Always backup your original nif files before you use NifOR, and after the changes, see if the new mesh is actually working in the game as you wanted.

Getting familiar with the names of the meshes


Assigning meshes to another body part

In this tutorial we will change a coat, so it will use the Left Ankle instead of the Right Forearm body part.

After loading the file you will see this window:

As you can see the coat is built up from two meshes. Tri Right Forearm 0 is the coat itself and Tri Right Forearm 1 are the sleeves.

In the first Auto Rename field type: Right Forearm.
In the second Auto Rename field type: Left Ankle
Press the Auto Rename button.
You will see, that NifOR has automatically renamed the two meshes:

Press "Save Nif file as" and give your new nif file a name.
The new coat will be assigned to the Left Ankle.


Removing a mesh from a body part

In this tutorial we will remove the sleeves of a shirt.

After loading the file you will see this window:

This shirt is assigned to the Left Ankle. Tri Left Ankle 0 is the shirt and Tri Left Ankle 1 are the sleeves.

Select Tri Left Ankle 1 and change it's name to something else. I will simply add a D letter before the name of the mesh to indicate that this mesh was removed from the shirt.

Press "Save Nif file as" and give a name to the new file.
When you add this new shirt to an NPC the sleeves won't show up.


Adding a mesh to another body part

In this tutorial we will work with a nif file that contains meshes for several body parts. The point of this tutorial is to show how to handle the indexes.
The nif file itself is a full set of armor. This is what you can see after loading the file:

We will remove the "Tri Groin 0" mesh from the groin body part and attach it to the right upper leg.
Let's rename "Tri Groin 0" to "Tri Right Upper Leg 0":

The problem is there is already a "Tri Right Upper Leg 0" mesh in this nif file. So in order to preserve the index continuity we will have to change the index of the old mesh:

Now the meshes assigned to the right upper leg will show up correctly, but the groin meshes won't. That's because the first groin mesh's index in this nif file starts with 1. So in order to correct this we will have to change the indexes of the old groin meshes as well:

These were the steps of removing a mesh from a body part and adding it to another one.
Note: As you can see there are some meshes in this nif file that don't have index. If you want to add meshes to these body parts you will have to add an index after their names.


Technical notes


Credits

This application was made by me, Zennorious (zennorious@t-online.hu / http://web.t-online.hu/laga/zennorious/morrowind).