Jump to content

Blender 2.49b import error


AeroModss

Recommended Posts

Just installed 2.49b for import/export,and whenever I import file I get this error : Python script error : Check console. And when I checked console,I got this error : Blender NIF Scripts 2.5.8 (running on Blender 249, PyFFI 2.1.11)

Traceback (most recent call last):
File "C:\Program Files\Blender 2.49b\Blender\.blender\scripts\bpymodules\nif_c
ommon.py", line 1229, in gui_button_event
self.gui_exit()
File "C:\Program Files\Blender 2.49b\Blender\.blender\scripts\bpymodules\nif_c
ommon.py", line 1589, in gui_exit
self.callback(**self.config)
File "C:\Program Files\Blender 2.49b\Blender\.blender\scripts\import\import_ni
f.py", line 3769, in config_callback
importer = NifImport(**config)
File "C:\Program Files\Blender 2.49b\Blender\.blender\scripts\import\import_ni
f.py", line 170, in __init__
data.inspect(niffile)
File "C:\Python26\lib\site-packages\pyffi\formats\nif\__init__.py", line 1286,
in inspect
self.header.read(stream, data=self)
File "C:\Python26\lib\site-packages\pyffi\object_models\xml\struct_.py", line
354, in read
attr_value.read(stream, data)
File "C:\Python26\lib\site-packages\pyffi\object_models\xml\array.py", line 30
0, in read
elem.read(stream, data)
File "C:\Python26\lib\site-packages\pyffi\object_models\common.py", line 691,
in read
% (length, stream.tell()))
ValueError: string too long (0x79050000 at 0x0000003A)
WT* is with that string ??
Link to comment
Share on other sites

What are you trying to import?

 

(Edit)

 

Oh what the heck, I’m going to make a wild guess here and assume we are talking about Skyrim, and you are trying to import unaltered vanilla meshes, am I right?

If so, then what you are getting is an incompatible user version error message.

What you need to do is open the mesh in nifskope and change the user version numbers in the header to Fallout 3 versions.

With the mesh open in nifskope look at the user versions in the header, there are 2 of them. Change the first user version from 12 to 11, and then change user version 2 from 83 to 34.

Save the nif some where it wont overwrite the original, I myself use a folder I named Blender Ready. Open the saved file and you will see that some things like BSLightingShader have now been separated from the root block of the nif, this is because these are no longer compatible with the changed version and they need to be deleted. You can delete them separately or you can select the root block and right-click and select crop to block. Save again and it should now be ready for import to blender.

Edited by RGMage2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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