Closed nik6ena closed 1 year ago
So I changed the byte codec to 'iso-8859-1' and got past that error
Reading Header
Reading Bones
Read 89 Bones
Reading Meshes
Read 0 Meshes
Importing Armature 89 bones
Traceback (most recent call last):
File "/home/nik/.config/blender/3.5/scripts/addons/XNALaraMesh/xps_tools.py", line 164, in execute
status = import_xnalara_model.getInputFilename(xpsSettings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/nik/.config/blender/3.5/scripts/addons/XNALaraMesh/import_xnalara_model.py", line 78, in getInputFilename
status = xpsImport()
^^^^^^^^^^^
File "/home/nik/.config/blender/3.5/scripts/addons/XNALaraMesh/import_xnalara_model.py", line 155, in xpsImport
importBones(armature_ob)
File "/home/nik/.config/blender/3.5/scripts/addons/XNALaraMesh/import_xnalara_model.py", line 350, in importBones
editBone.parent = armature_ob.data.edit_bones[bone.parentId]
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
IndexError: bpy_prop_collection[index]: index 2048 out of range, size 89
Probably it's file format and tool incompatibility.
Looks like I will have to reverse engineer my way out of this.
Python 3.11 Blender 3.5 The mesh file is from the Tomb Raider 2013 game.