Jump to content

Trouble importing .nif on Blender


zoeathena

Recommended Posts

I have absolutely no idea what I did wrong here and I've gone over everything twice and still I have no idea what I did wrong. Hopefully someone on here does. I'm trying to edit one of the doors from skyrim.

First off, I have these programs installed:

  • Blender version 2.49b
  • Python 2.6
  • PyFFI 2.1.11
  • NIF Scripts 2.5.9
  • NifSkope 1.1.3

All but Python are installed in J:\Apps directory.

 

I followed this installation tutorial written by LHammonds: http://oblivion.nexusmods.com/mods/12248

To import the mesh I've followed the import-export tutorial by XunAmarox: http://skyrim.nexusmods.com/mods/3790

I've gotten through the NifSkope tweaks and I've saved the nif file as AAAdoor.nif (basically the same name as the original with AAA in front of it)

 

When I open Blender and go to import the nif I get a message saying "ERROR: Python script error: check consol" which says:

Blender NIF Scripts 2.5.9 (running on Blender 249, PyFFI 2.1.11)

Traceback (most recent call last):

File "J:\Apps\Blender\.blender\scripts\bymodules\nif_common.py", line 1235, in gui_button_event

self.gui_exit()

File "J:\Apps\Blender\.blender\scripts\bymodules\nif_common.py", line 1598, in gui_exit

self.callback(**self.config)

File "J:\Apps\Blender\.blender\scripts\import\import_nif.py", line 3771, in config_callback

importer = NifImport(**config)

File "J:\Apps\Blender\.blender\scripts\import\import_nif.py", line 176, in ___init___

data.read(niffile)

File "J:\Python26\lib\sit-packages\pyffi\formats\nif\___init___.py", line 1382, in read

"Unknown block type '%s'." % block_type)

ValueError: Unknown block type 'bhkCompressedMeshShapeData'.

 

Any help given is greatly appriciated! Cheers

Link to comment
Share on other sites

  • 5 months later...

Setup-config is the same as in the first thread-entry, afaik all installers are doing their job as they should, all parts of the needed components are at the right place, no error-messages at all, the matched nif file for import was edited properly, i dont know the reason why the import even fails, could please someone be so nice to explain whats going wrong here, or give me please some hints? thanks in advance

Blender NIF Scripts 2.5.9 (running on Blender 249, PyFFI 2.1.11)

Traceback (most recent call last):

  File "C:\GameEditing\Blender\.blender\scripts\bpymodules\nif_common.py", line

1235, in gui_button_event

    self.gui_exit()

  File "C:\GameEditing\Blender\.blender\scripts\bpymodules\nif_common.py", line

1598, in gui_exit

    self.callback(**self.config)

  File "C:\GameEditing\Blender\.blender\scripts\import\import_nif.py", line 3771

, in config_callback

    importer = NifImport(**config)

  File "C:\GameEditing\Blender\.blender\scripts\import\import_nif.py", line 170,

 in __init__

    data.inspect(niffile)

  File "C:\GameEditing\Python26\lib\site-packages\pyffi\formats\nif\__init__.py"

, line 1286, in inspect

    self.header.read(stream, data=self)

  File "C:\GameEditing\Python26\lib\site-packages\pyffi\object_models\xml\struct

_.py", line 354, in read

    attr_value.read(stream, data)

  File "C:\GameEditing\Python26\lib\site-packages\pyffi\object_models\xml\array.

py", line 300, in read

    elem.read(stream, data)

  File "C:\GameEditing\Python26\lib\site-packages\pyffi\object_models\common.py"

, line 691, in read

    % (length, stream.tell()))

ValueError: string too long (0x640C0000 at 0x0000003A)
Link to comment
Share on other sites

You are trying to import a nif version which is not supported by pyffi, ie a skyrim nif.

 

You will need to follow the tutorials that are linked in order to a:) change the version to f03/NV and b:) need to remove any Skyrim specific blocks as they won't be recognised by that version of the pyffi, not would they be handled by the scripts.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...