Grimrukh / soulstruct-blender

Blender plugins for FromSoft games, via `soulstruct`.
98 stars 4 forks source link

An error during Install on 1.9.3 #49

Closed mifozski closed 1 month ago

mifozski commented 5 months ago

I have an error installing 1.9.3 on Blender 4.1.1:

image
Skullman-G commented 4 months ago

I got the same issue using Blender version 4.1.1, 4.1.0 and 4.0.2.

HmmmYesss commented 4 months ago

got the same error on blender 4.1 and 3.3

capt-slowpoke commented 4 months ago

I am getting this as well, the actual error is ModuleNotFoundError: no module named 'soulstruct.utilities'

Skullman-G commented 3 months ago

Is there maybe something we can do to fix this issue ourselves?

Grimrukh commented 3 months ago

This issue might be related to the presence/absence of the scripts/addons/io_soulstruct_lib_py31* folder that needs to be next to scripts/addons/io_soulstruct. The py310 version of the folder is needed for Blender 4.0 and earlier, and the py311 version is needed for Blender 4.1 and later, so maybe double check the version you need is there (both should have been extracted from the latest release zip).

Soulstruct for Blender 2.0 is coming very soon and will only support Blender 4.1 and later, due to large changes in how Blender handles certain parts of mesh data. This also means that only Python 3.11 versions of the libraries will be needed, and so any versioning issues should disappear. Will leave this open until then though.

Grimrukh commented 2 months ago

This should hopefully be less common now in Soulstruct for Blender 2.0.

mifozski commented 2 months ago

@Grimrukh double checked the folders again and they seem to be correct. However, this time I scrolled down the error stack trace and the issue is related to WinDLL:

image

I'm on Mac 14.4.1

Grimrukh commented 2 months ago

Ah, right, yeah Soulstruct does not support Mac/Linux at the moment. This would only affect usage of the Oodle DLL though, so I'll leave this open until I can fix it.

mifozski commented 2 months ago

Good to know, thanks for the heads up. Probably should've mentioned that I'm on mac in the first post lol.

Grimrukh commented 1 month ago

I've made Oodle import optional (Windows-only) so this bug should be gone. Oodle DCX support is currently unavailable for non-Windows platforms but I'm tracking that feature separately.