Home
This repository contains Python scripts for Blender that will fix rigs ripped from Risk of Rain 2. The main usage for this is creating skins with custom models for vanilla characters.
You can get scripts here
Blender version
Scripts were written for Blender 2.8 (2.9 should also work).
What is fixed by script
-
Removing excessive bones and meshes
-
Reordering bones as they are in a game
-
Scaling bones and meshes as they are in a game
-
Moving all to (0, 0, 0) position
-
Disabling deform for bones that are not used in vertex groups
-
Hiding IK bones
Getting characters to Blender
Rip assets
For ripping assets use AssetStudio.
Once you have launched AssetStudio you should load RoR2 folder in it and you will be present with something like this:

AssetStudio settings
I have used these export options in AssetStudio:

All nodes cast to bones option is necessary!!!
They can be found here:

Find and select assets of characters that you want:

Here's the table of asset names for characters:
| Character name | Asset name |
|---|---|
| Acrid | CrocoBody |
| Artificer | MageBody |
| Commando | CommandoBody |
| Engineer | EngiBody |
| Huntress | HuntressBody |
| Loader | LoaderBody |
| Mercenary | MercBody |
| MUL-T | ToolbotBody |
| Rex | TreebotBody |
Export assets as FBX files:

AssetStudio will open folder once it's done exporting:

Blender
Open blender, create a new file (it's important as a script can corrupt other things it there are any), and clear the scene from default stuff. Now import FBX file of a character:

Then you go to the Scripting tab:

Get Fix Character.py (you can get scripts here) file for a character you selected.
Now you can press open and select script file from disk or press new and paste a script text into the text editor window.
Press run script button:

Now you can switch back to the Layout tab, you should see the end result:
