BadDogSkyrim / PyNifly

Export/Import tools between Blender and the Nif format, using Bodyslide/Outfit Studio's Nifly layer. Supports Skyrim LE, Skyrim SE, Fallout 4, Fallout New Vegas, Fallout 76, and Fallout 3.
GNU General Public License v3.0
169 stars 15 forks source link

Missing DLL while using PyNifly in Windows 7 #115

Closed TerryOppsi closed 2 years ago

TerryOppsi commented 2 years ago

I downloaded a version of blender 3 for windows 7 from here https://github.com/nalexandru/BlenderCompat/releases/tag/3.0.0

I also downloaded the latest version of PyNifly

After installing the add on it doesn't appear in the add on list. So i manually move the files from the zip into the blender addons folder it shows up in blender then i click to enable it but i get an error message in the system console when starting up blender saying "Error pynifly DLL not found" and a different message when I try to import a NIF saying "could not find module NiflyDLL.Dll".

Is there anyway to fix this, I've been trying all day, I've tried different versions of blender even the earlier ones that work with windows 7, I have also tried moving the files around to help blender detect them. Maybe there is a version of PyNifly that works with windows 7, it seems to be looking for DLL files that come with windows 8, but I would have thought the Blender 3 for windows 7 would generate them, but i don't knwo much about this sort of thing so i could be completely wrong? Please help.

image

BadDogSkyrim commented 2 years ago

Probably your manual install is screwed up somehow.

Did you get the zip from the Releases page? Did you enable the plugin after installing it? Did you restart blender?

TerryOppsi commented 2 years ago

Thank you for your response.

I got PyNifly from here "https://github.com/BadDogSkyrim/PyNifly" I clicked "code" then download zip

I wasn't able to enable the plugin in the traditional way, in blender going from preferences-addons-installs and locating the zip then installing, it didn't show up in blenders add on list for me to enable.

I restarted blender at least 20 times while trying to get it to work.

Is PyNifly meant to work on windows 7? If it uses Python 3.9+ it is not supported on Windows 7, that might be the problem?

TerryOppsi commented 2 years ago

I just tried it again.

I downloaded blender 2.91.2 which is windows 7 64bit software into C:\Program Files\Blender Foundation\Blender 2.91. I then installed the zip from C:\Modding\PyNifly\PyNifly-main.zip

image

I then checked the addon list manually and by searching, and it wasn’t there.

image

I also checked to see if it was somehow already enabled, but it isn’t because there is no .NIF import option.

image

BadDogSkyrim commented 2 years ago

What is this "Pynifly-main.zip" of which you speak? You should be downloading "io_scene_nifly.zip" from the release page.

TerryOppsi commented 2 years ago

Well what is this then?

image

BadDogSkyrim commented 2 years ago

Not a clue.

I think GitHub lets you download a whole project as a zip file, so you're getting source code and test files and everything. Go to "Releases", that's what you want.

TerryOppsi commented 2 years ago

Okay. Thank you BadDog, you saved me.