Skip to content

ranidspace/BlenderBfresImporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bfres Importer

This is a Blender(3.6+) addon imports the Nintendo .bfres file format.

Installation

Download the zip from the Releases section of the page, and in Blender, open preferences, Get Extensions, and on the dropdown menu at the top right, click "Install from disk" and select the zip file.

Notes

This extension is not complete, notably Wii U files and any sort of animation cannot be imported.

Blender handles skeletal animations very differently and it may not be possible to add it in without calculating everything on every frame. In the meantime, these work with animations exported from Switch Toolbox (which calculates each frame)

Tips

Material Data

This addon imports the material parameters, shader options and render info of the bfres material into the "Custom Properties" of the Blender material.

The name of the parameter is prefixed with "MP_", "SO_" and "RI_" respectively. These can be used in a shader node setup, using the Attribute node, set to Object, and the Name as materials[0]["name_of_param"]

Animation data

Animations are not fully supported, but importing the base animation data will import the first frame of the animations.

These animations are stored as Blender Actions, you can select an armature, and in the Armature Data panel, or animation editor, you can select the action. It may be useful for some quick poses.

Copy bone transforms

If you select an armature, such as a player model, you can import another model such as a hat or clothes with the "Copy bone transforms" option enabled, and it will make constraints to attach those to the model.

This works if the bones on the imported skeleton and the existing selected skeleton have the same names (with an added case if there's a "_root" suffix on the imported model)

Splatoon headgear will still have to be manually dealt with, though a couple work.

References

This addon was originally a fork of RenaKunisaki/bfres_importer

About

Blender Nintendo BFRES Importer

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages