riverence / io_scene_binfbx

Blender addon for importing *.binfbx files from Alan Wake 2.
GNU General Public License v3.0
2 stars 0 forks source link

Previously reliably importable models now not importing #1

Closed bigmikemw closed 4 months ago

bigmikemw commented 4 months ago

Previously reliably importable models now not importing after the latest commit

Here's the error message:

Python: Traceback (most recent call last):
  File "C:\Users\misak\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\io_scene_binfbx\__init__.py", line 1060, in main
    boneid = wgt[vrt][0]
IndexError: list index out of range

Script usually loads one (LOD3) mesh per model with this error, disabling the "Import rig" option results in full LOD3 models being imported, with Estevez it's LOD5 image

riverence commented 4 months ago

This is due to me being in the process of implementing an automatic method for finding the offsets; currently, the addon can only reliably find the highest LOD offset. However, there's some strange issues with the weights that I need to sort out, and I also need to actually get it to read all the LODs. For now, it's recommended you use the version of the addon from this commit, or use the newest stable version, 2.0.0, under the Releases tab. In the future, I'll add a testing branch to keep an up-to-date and confirmed working version and a heavy-development version distinct.