Skyrim

File information

Last updated

Original upload

Created by

Drache198

Uploaded by

Drache198

Virus scan

Some manually verified files

Tags for this mod

About this mod

This is a script (.exe) that automates all the repetitive steps for converting armors to one of the bodyslide bodies. Very useful for converting huge amounts of data.

Requirements
Permissions and credits
About:
This is the script that I've used to convert tiwa44's armor collection to UUNP. It emulates mouse and keyboard to use Caliente's Outfit Studio quicker than humanly possible. This makes it possible to convert a complete armor set from one body type to another within one hour. Since I've figured that we'll see a lot more conversions of awesome armor packs if converting huge packs wasn't as time consuming as it currently is, I've decided to release my script. This script creates by no means perfect conversions and you could even say that creating a conversion with the script is only the first step before manually adjusting any parts that are clipping. Feel free to share links to your projects in the comment section and tell me about any bugs or potential improvements.

Warning:
Some not-so-bright antivirus applications frequently detect AutoIT scripts as potential threats, viruses, trojans, cakes, etc. In case of this script that's a false positive. If you don't trust me you can take my source code, check it and compile it yourself. Or you can just walk away and not use the script. Your choice.

Installation:
Download with NMM or drop the contents of the zip file into your data folder.

Uninstallation:
Uninstall with NMM or look into the zip file and delete anything you've previously copied into your data folder.

How to use:
Step 1: Preparing your data
  • Make sure all armors in your armor pack use the same body. This is the base requirement to be able to use this script.
  • Copy the Meshes folder from the armor pack you want to convert to a convenient place. Might as well be the desktop.
Step 2: Creating a conversion slider
Sadly it's not possible to automate this step. Or rather it is possible, somehow, but way too tedious to attempt. And since you only need to do this once, who cares?
  • Start BodySlide ==> Located at Skyrim/Data/CalienteTools/BodySlide/BodySlide.exe
  • Start Outfit Studio ==> Lower right corner
  • Create a new Project ==> Ctrl + N
  • Select the body you want to convert to (either CBBE Body or Unified UNP)
  • Click Next
  • Load a torso Outfit/Mesh from your source folder. If possible this should end with _1.nif ==> Put a check at "From File", click "Browse" and navigate to the folder you created in Step 1
  • Click Finish
  • Move the sliders on the right side until the reference body looks exactly like the body that's already in the outfit. If you scroll down a bit you might even find the slider that's a 100% match for your body type.
  • Make your reference body a little bit smaller than the source armor's body. Especially in the breast and butt area this will reduce clipping. Creating armors for body slide is always a balance act between making the meshes skin tight and preventing clipping. You will need to repeat and adjust this step a few times until you have a satisfying result.
  • From the menu choose File -> Make Conversion Reference
  • Delete everything except your reference body ==> In the upper right corner you can see a list of meshes. Just right click, select delete and confirm
  • Save your project ==> Ctrl + Shift + S
  • Make sure to set all the folders and names to something that doesn't get in the way of other mods. The only thing we need for the next steps is the Slider Set File.
Step 3: Converting your meshes
This is the part where the script shines and you can get a coffee or watch a tv show. Just let the script do all the work you'd normally need months to do.
  • Know that you can cancel the script at any time by pressing the "End" key on your keyboard. It's usually located right above the arrow keys.
  • Know that the script will use your mouse and keyboard to perform actions on the Outfit Studio window. You will not be able to use your computer for anything else while the script is running. Moving the mouse or using the keyboard can break the script. If that happens, stop the script and start it again.
  • Start the script ==> Data/CalienteTools/BodySlide/AutoArmorConversionV2.exe
  • Select the meshes folder that contains your source data ==> You created this folder in Step 1, right?
  • Select the slider set that you created in Step 2.
  • Enter the name of the body reference you want to convert to. For example Unified UNP HDT. It's important to write the full name without errors or else the script won't find the right reference.
  • First of two choices: Do you want to replace the old body mesh or not? Not replacing the old mesh can cause wrist and ankle seams. Choose Yes if you're unsure.
  • Second of two choices: Do you want to use the reference bodie's weighting or the outfit's weighting? If the original mod author did a good job at weighting you should select No.
  • Enter the name of the old body. If you've chosen to replace the old body with the reference body, you will be faced with this pop up. Enter the name of the old body mesh, so it can be deleted from all outfits. Again, if you don't enter the full name the script won't be able to find the mesh.
  • Enter the name of the new body. If you've chosen to replace the old body, but keep the old weighting, then the script will ask for the name of the new body. Enter the full name or else the script won't find it.
  • Enter a name for your project. This name will be used for folders, files, etc. so make sure it's unique and easy to identify.
  • Wait for the script to finish. You are now free to do whatever you want while the script converts your meshes. The script will tell you when it's done.
Step 4: Grouping your files together
  • Close Outfit Studio and BodySlide and restart BodySlide. This step is necessary so BodySlide knows all your new files.
  • Open the Group Manager ==> upper right corner
  • Create a group that's called like your project.
  • Add all outfits that start their name with your project's name to this group.
  • Create a group that's called like your reference body. For example Unified UNP
  • Add all outfits that start their name with your project's name to this group.
  • Click "Save As" to save your groups in a file.
  • Now is a good time to test your mod. Build the outfits and check them ingame.
Step 5: Packing everything into a mod
  • Create a folder called "Data" on your desktop, in your project directory or whereever you like.
  • Inside this folder create a folder called "CalienteTools/BodySlide/ShapeData". Not working? Ok, create them as 3 nested folders. You know what I mean.
  • Open your skyrim directory and go to "Data/CalienteTools/BodySlide/ShapeData". You will find a folder with the same name as your project. Copy this to the folder you just created.
  • Create a folder called "CalienteTools/BodySlide/SliderSets".
  • Navigate to the equivalent folder in your skyrim directory. You will find a file that's called <YourProjectName>.osp. Copy it to the folder you just created.
  • Create a folder called "CalienteTools/BodySlide/SliderGroups".
  • Navigate to the equivalent folder in your skyrim directory and copy the group file you created in step 4 to your new folder.
  • Pack the whole thing in a zip or rar file. You can delete everything from your desktop now.

Example Mods that were created using this script:

Credits:
Caliente for the BodySlide and Outfit Studio and AutoIt for the automation tools.