Character cards created by Evaan have unsupported type of face types. #78
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kkbp-dev/KKBP_Importer#78
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The create_gag_tear_shapekeys function can't find the default face items, because the character card has a different face type that isn't supported yet, i guess.
The error when I tried to import the model:
Warning: Material wasn't found when separating materials: c_m_shadowcast
Warning: Material wasn't found when separating materials: Standard
Error: Nothing selected
Warning: Nothing was selected when separating materials from: Body RobinNico
Warning: Could not find smr object: Highlight_cf_O_face_rend
delete_shad_bone operation took 0.234 seconds
Error: Nothing selected
Warning: Nothing was selected when separating materials from: Body RobinNico
Error: Nothing selected
Warning: Nothing was selected when separating materials from: Outfit 04 RobinNico
separate_hitboxes operation took 0.141 seconds
delete_mask_quad operation took 0.026 seconds
Warning: Could not find smr object: cf_O_face
Error: Unknown python error occurred.
Make sure the default model imports correctly before troubleshooting on this model!
Traceback (most recent call last):
File "C:\Users\shahriyor\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\user_default\kkbp\importing\modifymesh.py", line 46, in execute
self.create_gag_and_tear_shapekeys()
File "C:\Users\shahriyor\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\user_default\kkbp\importing\modifymesh.py", line 665, in create_gag_and_tear_shapekeys
middle_of_head = loc / len(selected_verts)
~~~~^~~~~~~~~~~~~~~~~~~~~
ZeroDivisionError: division by zero
Error: Traceback (most recent call last):
File "C:\Users\shahriyor\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\user_default\kkbp\importing\modifymesh.py", line 46, in execute
self.create_gag_and_tear_shapekeys()
File "C:\Users\shahriyor\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\user_default\kkbp\importing\modifymesh.py", line 665, in create_gag_and_tear_shapekeys
middle_of_head = loc / len(selected_verts)
~~~~^~~~~~~~~~~~~~~~~~~~~
ZeroDivisionError: division by zero
Traceback (most recent call last):
File "C:\Users\shahriyor\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\user_default\kkbp\importing\importbuttons.py", line 95, in execute
function()
File "C:\Users\shahriyor\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\user_default\kkbp\importing\importbuttons.py", line 84, in
lambda:bpy.ops.kkbp.modifymesh('INVOKE_DEFAULT'),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Blender Foundation\Blender 5.0\5.0\scripts\modules\bpy\ops.py", line 107, in call
ret = _op_call(self.idname_py(), kw, C_exec, C_undo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Traceback (most recent call last):
File "C:\Users\shahriyor\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\user_default\kkbp\importing\modifymesh.py", line 46, in execute
self.create_gag_and_tear_shapekeys()
File "C:\Users\shahriyor\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\user_default\kkbp\importing\modifymesh.py", line 665, in create_gag_and_tear_shapekeys
middle_of_head = loc / len(selected_verts)
~~~~^~~~~~~~~~~~~~~~~~~~~
ZeroDivisionError: division by zero
00:18.453 bpy.rna | ERROR Python script error in KKBP_OT_kkbpimport.execute
So this is not exactly a bug report, but a request to add a support for the character cards created by Evaan.
These are two path trees of two exported models, the robin.txt is the model created by Evaan, the other kageyama.txt is the other random model that didn't have issues when importing to blender. The kageyama card had a default face type of "type 01", the very first face type in the game. I use Koikatsu BetterRepack RX22 btw.