This Python script allows you to batch rename the bone names from The Sims 4 armature to match the bone names used in the Yakuza 0 armature. By aligning the bone names, you can easily transfer weight painting between the Sims 4 rig and the Yakuza 0 rig using Blender's "Transfer Weights (by Names)" feature.
- Open Blender and import your Sims 4 rig.
- Switch to Object Mode and select the Sims 4 armature.
- Go to the Scripting tab in Blender's interface.
- Copy (everything, including blank lines) and paste the contents of this Python script into the Blender Python console. If successful, you should be in Pose Mode.
You can now use Transfer Weights (by Names) to transfer weights between the two armatures. You may need to fine-tune the weights after the transfer for optimal results, especially with facial animations.
