Blender

Blender

SeeEmilyPlay Nov 18, 2016 @ 9:28pm
Problems installing nif addon
I have done extensive searches but everything I have tried (from installing old versions of Blender, nif addons, pyffi, python etc) are proving futile.

When I try to install the nif addon (blender_nif_plugin-develop.zip from https://github.com/niftools/blender_nif_plugin) through the zip file I get multiple errors, the last error being "ImportError: No module named 'pyffi.formats'". I have also tried unzipping it manually but get the same errors.

Can anyone give me pointers on how to get the/a nif addon working on Blender 2.78?
< >
Showing 1-9 of 9 comments
Pte Jack Nov 18, 2016 @ 9:40pm 
I gave up on the nif addon a long time ago. I thought it only worked in the linux versions of Blender. Has that changed?
SeeEmilyPlay Nov 18, 2016 @ 9:52pm 
Originally posted by Pte Jack:
I gave up on the nif addon a long time ago. I thought it only worked in the linux versions of Blender. Has that changed?
I have no idea. I'm wondering if it even works on 2.78 at all. If that's the case, I'm good to try re-installing the older version of Blender (again), but I couldn't get that to work either.
tripmix Nov 19, 2016 @ 5:14am 
https://github.com/niftools/blender_nif_plugin/blob/develop/install/install_deps.bat

In this file if you have python 3 installed you can try adding parentheses here

python -m pip install Sphinx --target=("%APPDATABLENDERADDONS%\modules")
python -m pip install nose --target=("%APPDATABLENDERADDONS%\modules")

I havent tested it but python 3 is rather particular about parentheses in the code, do you have python installed on your machine at all? If not that may explain why the .bat cannot initialise python commands through.

It might also help to try contact the developer as they know more about their code than anyone

https://github.com/neomonkeus

Last edited by tripmix; Nov 19, 2016 @ 5:17am
SeeEmilyPlay Nov 19, 2016 @ 5:22am 
I will give this a try. And yes I have python 3.5.2 installed. Thank you!!
SeeEmilyPlay Nov 19, 2016 @ 5:49am 
I tried adding the parethesis, but no change to the errors I am receiving.
I am also getting this message when installing pyffi - I wonder if this if the problem then, but I don't know how to resolve it.
"A version of Python which can run qskope/niftoaster was not found: shortcuts will not be created and batch files will not run."
Zenogias Nov 19, 2016 @ 5:55am 
Why don't you just use nifskope instead trying to install .nif in Blender ?

It works fine just need to export Blender to .obj then open the file again in Nifskope and save as a new nif.
SeeEmilyPlay Nov 19, 2016 @ 6:12am 
The latest version of nifskope does not have an Import option for .obj files (greyed out) and I tried using an older version (1.2.0a2.dev11) but it gives me a stack of errors when I try to load the nif file in, and I don't see any objects, only its nodes.

Errors:
""warning: block 18 (BSTriShape) not inserted!""
""device position incorrect after block number 18 (BSTriShape) at 0x920 ended at 0x920 (expected 0x998)""
""device position incorrect after block number 19 (BSDismemberSkinInstance) at 0x998 ended at 0x9ec (expected 0x9dc)""
""array Roots much too large. 1065353216 bytes requested""
""device position incorrect after block number 20 (NiSkinData) at 0x9dc ended at 0x9e0 (expected 0x5b47)""
""device position incorrect after block number 21 (NiSkinPartition) at 0x5b47 ended at 0x5b4f (expected 0x1f059)""
""device position incorrect after block number 22 (BSLightingShaderProperty) at 0x1f059 ended at 0x1f05d (expected 0x1f0bd)""
""device position incorrect after block number 23 (BSShaderTextureSet) at 0x1f0bd ended at 0x1f0e5 (expected 0x1f127)""
""array Roots invalid""
""device position incorrect after block number 24 (NiAlphaProperty) at 0x1f127 ended at 0x1f12b (expected 0x1f136)""
""warning: block 25 (BSTriShape) not inserted!""
""device position incorrect after block number 25 (BSTriShape) at 0x1f136 ended at 0x1f136 (expected 0x1f1ae)""
""device position incorrect after block number 26 (BSDismemberSkinInstance) at 0x1f1ae ended at 0x1f1ae (expected 0x1f1e2)""
""device position incorrect after block number 27 (NiSkinData) at 0x1f1e2 ended at 0x1f1e2 (expected 0x217ed)""
""device position incorrect after block number 28 (NiSkinPartition) at 0x217ed ended at 0x217ed (expected 0x32f6f)""
""device position incorrect after block number 29 (BSLightingShaderProperty) at 0x32f6f ended at 0x32f6f (expected 0x32fd3)""
""device position incorrect after block number 30 (NiAlphaProperty) at 0x32fd3 ended at 0x32fd3 (expected 0x32fe2)""

I'm basically trying to merge 2 nif files, one which has collision, one which does not. I can get this to work to a certain degree - the combined nif file works when placed in the world, collision and all - but it does not load fully on my destination item (the item with the collision will not display).

I was hoping Blender would work that's why I am trying to get nifs to work in Blender. I may still get the same end result however, though I wanted to get Blender working to test my theory out.
Last edited by SeeEmilyPlay; Nov 19, 2016 @ 6:18am
jsnider193 Mar 6, 2017 @ 2:16am 
If do the work as obj file in blender can get a program called 'Body Slide and Outfit Studio' on Nexus in the FO4 d/l section. It allows in OS the import of obj files and then save them as a nif. Trick to convert to an item but videos on this are available via Nexus .. been doing this for months now and works nicely most of the time.
SeeEmilyPlay Mar 6, 2017 @ 2:50am 
Originally posted by jsnider193:
If do the work as obj file in blender can get a program called 'Body Slide and Outfit Studio' on Nexus in the FO4 d/l section. It allows in OS the import of obj files and then save them as a nif. Trick to convert to an item but videos on this are available via Nexus .. been doing this for months now and works nicely most of the time.
Thanks for the info. I'll give it a shot. I kind of abandoned the cause after not being able to achieve what I wanted, so I'll take another look at it with your info. Cheers! :bird:
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Nov 18, 2016 @ 9:28pm
Posts: 9