Model Exporting¶
Note
Exporting requires basic knowledge of how to use Blender.
Blender Add-on¶
Make sure you have the GBFR Blender Tools Add-on installed.
Exporting¶
Warning
Exporting still has some issues and you are likely to encounter many issues.
- Make sure you create a folder to export to, and place a copy of the model's original
.minfo
in that folder.- Do not place any of the other
.skeleton
or.mmesh
files in this folder, they will be overridden!
- Do not place any of the other
- Ensure your model is set up according to the Exporting Checklist.
- Go to
File
Export
Granblue Fantasy Relink (.mmesh)
- Name the model to the same name as the
.minfo
(i.e. Should bepl1400.mmesh
forpl1400.minfo
) - Press the
Export
button and wait. - Done! Your exported model's generated
.minfo
,.mmesh
, and.skeleton
files can be found in the_Exported_Minfo
folder created where you exported to.
Info
To check for errors in the export you can re-import the exported file.
Exporting Checklist¶
This list is subject to change as model exporting changes and is more fully understood.
- The model must have an armature and a mesh.
- The model can only have 1 Mesh object, you must join all meshes together.
- Each material must be assigned a material index using the addon's Tool Shelf Panel. These indices correspond with the materials list found in the model's
.mmat
files. - The mesh cannot have any vertices with zero vertex group weights assigned to it. Use the
Select Zero Weights
button in the GBFR tool shelf panel to select them. It is up to you to deal with them via weight painting, deleting, etc. - The armature's bone names must match to the GBFR Bone Index names if they are to be animated. Use an original game model to see the naming scheme of humanoid bones (TODO: Create viewable bone name list).
- The armature must be pointed upwards on the Z-Axis. Remember to
CTRL+A > All Transforms
to apply all transforms on the Armature. - Models can only have 1 UV Map.
- The GBFR Model format has a limit of 65535 total vertex group weights. Your model should have a reasonable amount of bones to accomodate this, if not merge the bones down.
- Bone collection/group names can only contain alphanumeric characters, no special characters (i.e. Japanese characters)
Other¶
Known Export Issues, Requirements, and Fixes
Issues & Fixes¶
- Parts of the model are invisible in game:
- Each material must be assigned a material index using the addon's Tool Shelf Panel. These indices correspond with the materials list found in the model's
.mmat
files.
- Each material must be assigned a material index using the addon's Tool Shelf Panel. These indices correspond with the materials list found in the model's
- Parts of the model are transparent in game:
- Your mesh's normals are there are inverted, flip / recalculate your normals for affected areas.
Old issues that should now be fixed automatically¶
- Model's Geometry Explodes:
- This is caused due to having any loose vertices/edges. To fix this, select the mesh and press the
Delete Loose Verts & Edges
button in the GBFR panel.
- This is caused due to having any loose vertices/edges. To fix this, select the mesh and press the
- UVs look weird/distorted:
- You must split the geometry along all outer Edges of the UV islands. Press the
Split Vertices
:Along UV Islands
.
- You must split the geometry along all outer Edges of the UV islands. Press the
- Model is rotated 90 degrees forward:
- Exported All Transforms for the model and Armature must be applied before export. Select all objects and press
CTRL+A > All Transforms
to do this.
- Exported All Transforms for the model and Armature must be applied before export. Select all objects and press
- Parts of the mesh are stretching and not really following the bones:
- You need to limit your total Vertex Group weights to
3
, thenNormalize All
your weights your weights.- This is automatically applied by the exporter on export. If it didn't work, parts of your mesh are missing weights, you can't have any geometry with 0 weight.
- You need to limit your total Vertex Group weights to
Other¶
- You can add bones to the armatures, but there is no guaruntee they will animate properly.