FlailingFog / KK-Blender-Porter-Pack

Plugin pack for exporting Koikatsu characters to Blender.
305 stars 28 forks source link

Unable to import animations to create animation library #519

Open videoman614 opened 3 months ago

videoman614 commented 3 months ago

Followed the video to import animations in to blender's animation library but it doesn't seem to work and just give me this error.

This was tested with the latest master build.

Tested with the default model from KKS with the Rigify armature.

Python: Traceback (most recent call last):
  File "/home/framework-chan/.config/blender/3.6/scripts/addons/KK-Blender-Porter-Pack-master/extras/animationlibrary/createanimationlibrary.py", line 438, in execute
    main(self.directory)
  File "/home/framework-chan/.config/blender/3.6/scripts/addons/KK-Blender-Porter-Pack-master/extras/animationlibrary/createanimationlibrary.py", line 108, in main
    bpy.ops.wm.save_as_mainfile(filepath = original_file_name.replace('.blend', ' ' + category + ' ' + str(original_file_number) + '.blend'))
  File "/home/framework-chan/Documents/blender/3.6/scripts/modules/bpy/ops.py", line 113, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Cannot open file /home/framework-chan/Documents/blender/Export/kks-test 0/base .blend@ for writing: No such file or directory

With the default model for KK with the Rigify armature.

Python: Traceback (most recent call last):
  File "/home/framework-chan/.config/blender/3.6/scripts/addons/KK-Blender-Porter-Pack-master/extras/animationlibrary/createanimationlibrary.py", line 438, in execute
    main(self.directory)
  File "/home/framework-chan/.config/blender/3.6/scripts/addons/KK-Blender-Porter-Pack-master/extras/animationlibrary/createanimationlibrary.py", line 108, in main
    bpy.ops.wm.save_as_mainfile(filepath = original_file_name.replace('.blend', ' ' + category + ' ' + str(original_file_number) + '.blend'))
  File "/home/framework-chan/Documents/blender/3.6/scripts/modules/bpy/ops.py", line 113, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Cannot open file /home/framework-chan/Documents/blender/Export/kk-test 0/base .blend@ for writing: No such file or directory

These are the animations I used after following the instructions to extract them with SB3Utility.