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

Error: File not found #2

Open Fodjet opened 3 weeks ago

Fodjet commented 3 weeks ago

Terve!
I have this problem;

  File "C:\Users\fodjet\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\io_scene_binfbx\__init__.py", line 1024, in main
    with open(skel_path, "rb") as skel:  
         ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\fodjet\\Desktop\\3dRip\\AW2 Models\\objects\\generic\\body_objects\\deermask_base.binskeleton'

It happening: With any version of game files With every file I tried (I tested every deer mask, the lamp, Alan model) In any place where this folder is, even if I rename the folder or it place in different disc

Blender ver 4.1 This happening only with this addon

I don't understand why it want to open everything as a skeleton, not as an object

riverence commented 3 weeks ago

Hey hey! Unfortunately, the plugin is limited in that it can only currently import a set list of meshes, and I don't believe deermask_base is one of them. I mostly added support for named humans, and weapons. However, an update in the future should be coming soon to cover all meshes without needing to add manual support for them.

Fodjet commented 3 weeks ago

Hey hey! Unfortunately, the plugin is limited in that it can only currently import a set list of meshes, and I don't believe deermask_base is one of them. I mostly added support for named humans, and weapons. However, an update in the future should be coming soon to cover all meshes without needing to add manual support for them.

But I also can't import angel lamp with this version. I found a previous version of your addon on a forum and it worked with this item, so the problem isn't only about not added or added items Here is the error for the lamp without "Import Rig" (same for both checkboxes off):

  File "C:\Users\fodjet\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\io_scene_binfbx\__init__.py", line 1024, in main
    with open(skel_path, "rb") as skel:  
              ^^^^^^^^^
NameError: cannot access free variable 'skel_path' where it is not associated with a value in enclosing scope

Here is with both checkboxes (same for without Original Directory Structure):

  File "C:\Users\fodjet\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\io_scene_binfbx\__init__.py", line 1024, in main
    with open(skel_path, "rb") as skel:  
         ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\fodjet\\Desktop\\3dRip\\AW2 Models\\objects\\weapons\\lamp_default_publish.binskeleton'

(Edit) Just checked norman_deerfest_publish.binfbx which is in the list, but still the same problem