Errors on Blender .NIF Import and Export

Post » Mon Mar 14, 2011 1:11 pm

So, I'm running NIF Scripts 2.5.2 on Blender 249. Basically, I'm trying to perform a simple rotation on a mesh, to change the render position of a blade in the offhand so it is underhand-slash style rather than the standard form (blade up.) I already tried this in NIFScope but the game ignores any transformations I make there for some reason (even though I can confirm it saved my edited positioning by opening it again.)

Anyway, I can't seem to get past the import script in this Blender program, and the documentation is pretty sparse. When I attempt to do so, using the defaults in the script for Oblivion, it barfs out this mess and I get a big borg cube covering my entire (corrupt looking) mesh.

Spoiler

Blender NIF Scripts 2.5.4 (running on Blender 249, PyFFI 2.1.4)
pyffi.toaster:INFO:--- fix_mergeskeletonroots ---
pyffi.toaster:INFO:--- fix_sendgeometriestobindposition ---
pyffi.toaster:INFO:--- fix_senddetachedgeometriestonodeposition ---
pyffi.toaster:INFO:--- fix_sendbonestobindposition ---
pyffi.toaster:INFO:--- fix_scale ---
pyffi.toaster:INFO: scaling by factor 0.100000
pyffi.toaster:INFO: ~~~ NiNode [Tanto] ~~~
pyffi.toaster:INFO: ~~~ BSXFlags [BSX] ~~~
pyffi.toaster:INFO: ~~~ NiStringExtraData [Prn] ~~~
pyffi.toaster:INFO: ~~~ NiStringExtraData [UPB] ~~~
pyffi.toaster:INFO: ~~~ bhkCollisionObject [] ~~~
pyffi.toaster:INFO: ~~~ bhkRigidBody [] ~~~
pyffi.toaster:INFO: ~~~ bhkListShape [] ~~~
pyffi.toaster:INFO: ~~~ bhkCapsuleShape [] ~~~
pyffi.toaster:INFO: ~~~ bhkCapsuleShape [] ~~~
pyffi.toaster:INFO: ~~~ NiNode [Scb] ~~~
pyffi.toaster:INFO: ~~~ NiStringExtraData [UPB] ~~~
pyffi.toaster:INFO: ~~~ NiTriStrips [scb:0] ~~~
pyffi.toaster:INFO: ~~~ NiTexturingProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiSourceTexture [] ~~~
pyffi.toaster:INFO: ~~~ NiSourceTexture [] ~~~
pyffi.toaster:INFO: ~~~ NiMaterialProperty [09 - Default] ~~~
pyffi.toaster:INFO: ~~~ NiTriStripsData [] ~~~
pyffi.toaster:INFO: ~~~ NiTriStrips [Object05] ~~~
pyffi.toaster:INFO: ~~~ NiTexturingProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiSourceTexture [] ~~~
pyffi.toaster:INFO: ~~~ NiSourceTexture [] ~~~
pyffi.toaster:INFO: ~~~ NiMaterialProperty [09 - Default] ~~~
pyffi.toaster:INFO: ~~~ NiTriStripsData [] ~~~
niftools.blender.import:WARNING:Texture 'textures\weapons\SevArmory\blackhandtan
to.dds' not found or not supported and no alternate available
niftools.blender.import:WARNING:Texture 'textures\weapons\SevArmory\blackhandtan
to_n.dds' not found or not supported and no alternate available
pyffi.toaster:INFO:--- fix_mergeskeletonroots ---
pyffi.toaster:INFO:--- fix_sendgeometriestobindposition ---
pyffi.toaster:INFO:--- fix_senddetachedgeometriestonodeposition ---
pyffi.toaster:INFO:--- fix_sendbonestobindposition ---
pyffi.toaster:INFO:--- fix_scale ---
pyffi.toaster:INFO: scaling by factor 0.100000
pyffi.toaster:INFO: ~~~ NiTexturingProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiSourceTexture [] ~~~
niftools.blender.import:WARNING:Skipped unsupported root block type 'fi.formats.nif.NiTexturingProperty'>' (corrupted nif?).
pyffi.toaster:INFO:--- fix_mergeskeletonroots ---
pyffi.toaster:INFO:--- fix_sendgeometriestobindposition ---
pyffi.toaster:INFO:--- fix_senddetachedgeometriestonodeposition ---
pyffi.toaster:INFO:--- fix_sendbonestobindposition ---
pyffi.toaster:INFO:--- fix_scale ---
pyffi.toaster:INFO: scaling by factor 0.100000
pyffi.toaster:INFO: ~~~ NiMaterialProperty [09 - Default] ~~~
niftools.blender.import:WARNING:Skipped unsupported root block type 'fi.formats.nif.NiMaterialProperty'>' (corrupted nif?).
pyffi.toaster:INFO:--- fix_mergeskeletonroots ---
pyffi.toaster:INFO:--- fix_sendgeometriestobindposition ---
pyffi.toaster:INFO:--- fix_senddetachedgeometriestonodeposition ---
pyffi.toaster:INFO:--- fix_sendbonestobindposition ---
pyffi.toaster:INFO:--- fix_scale ---
pyffi.toaster:INFO: scaling by factor 0.100000
pyffi.toaster:INFO: ~~~ NiTriStripsData [] ~~~
niftools.blender.import:WARNING:Skipped unsupported root block type 'fi.formats.nif.NiTriStripsData'>' (corrupted nif?).
pyffi.toaster:INFO:--- fix_mergeskeletonroots ---
pyffi.toaster:INFO:--- fix_sendgeometriestobindposition ---
pyffi.toaster:INFO:--- fix_senddetachedgeometriestonodeposition ---
pyffi.toaster:INFO:--- fix_sendbonestobindposition ---
pyffi.toaster:INFO:--- fix_scale ---
pyffi.toaster:INFO: scaling by factor 0.100000
pyffi.toaster:INFO: ~~~ NiBinaryExtraData [Tangent space (binormal & tangent ve
ctors)] ~~~
niftools.blender.import:WARNING:Skipped unsupported root block type 'fi.formats.nif.NiBinaryExtraData'>' (corrupted nif?).
pyffi.toaster:INFO:--- fix_mergeskeletonroots ---
pyffi.toaster:INFO:--- fix_sendgeometriestobindposition ---
pyffi.toaster:INFO:--- fix_senddetachedgeometriestonodeposition ---
pyffi.toaster:INFO:--- fix_sendbonestobindposition ---
pyffi.toaster:INFO:--- fix_scale ---
pyffi.toaster:INFO: scaling by factor 0.100000
pyffi.toaster:INFO: ~~~ NiTexturingProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiSourceTexture [] ~~~
niftools.blender.import:WARNING:Skipped unsupported root block type 'fi.formats.nif.NiTexturingProperty'>' (corrupted nif?).
pyffi.toaster:INFO:--- fix_mergeskeletonroots ---
pyffi.toaster:INFO:--- fix_sendgeometriestobindposition ---
pyffi.toaster:INFO:--- fix_senddetachedgeometriestonodeposition ---
pyffi.toaster:INFO:--- fix_sendbonestobindposition ---
pyffi.toaster:INFO:--- fix_scale ---
pyffi.toaster:INFO: scaling by factor 0.100000
pyffi.toaster:INFO: ~~~ NiMaterialProperty [21 - Default] ~~~
niftools.blender.import:WARNING:Skipped unsupported root block type 'fi.formats.nif.NiMaterialProperty'>' (corrupted nif?).
pyffi.toaster:INFO:--- fix_mergeskeletonroots ---
pyffi.toaster:INFO:--- fix_sendgeometriestobindposition ---
pyffi.toaster:INFO:--- fix_senddetachedgeometriestonodeposition ---
pyffi.toaster:INFO:--- fix_sendbonestobindposition ---
pyffi.toaster:INFO:--- fix_scale ---
pyffi.toaster:INFO: scaling by factor 0.100000
pyffi.toaster:INFO: ~~~ NiTriStripsData [] ~~~
niftools.blender.import:WARNING:Skipped unsupported root block type 'fi.formats.nif.NiTriStripsData'>' (corrupted nif?).


Then if I try to export, again using the defaults for Oblivion, it tells me this:

NifExportError: Non-UV texture in mesh 'Cube', material 'Material'. Either delete all non-UV textures, or in the Shading Panel, under Material Buttons, set texture 'Map Input' to 'UV'.


So I went into that Shading Panel and set Map Input to UV as it says, and tried again. I then get this:

NifExportError: ERROR%t|Create a UV map for every texture, and run the script again.


At this point I haven't done anything at all to the NIF, so I'm guessing its that the import failed to make the relevant connections to preserve its material data. I have limited experience with 3DS/Blender so it is only a minimally educated guess.

Any ideas on the best way to effectively go about this relatively simple edit?
User avatar
Monika Fiolek
 
Posts: 3472
Joined: Tue Jun 20, 2006 6:57 pm

Post » Tue Mar 15, 2011 4:58 am

So, I'm running NIF Scripts 2.5.2 on Blender 249. Basically, I'm trying to perform a simple rotation on a mesh, to change the render position of a blade in the offhand so it is underhand-slash style rather than the standard form (blade up.) I already tried this in NIFScope but the game ignores any transformations I make there for some reason (even though I can confirm it saved my edited positioning by opening it again.)

Anyway, I can't seem to get past the import script in this Blender program, and the documentation is pretty sparse. When I attempt to do so, using the defaults in the script for Oblivion, it barfs out this mess and I get a big borg cube covering my entire (corrupt looking) mesh.

Have you tried messing with another .nifs? Do they act the same in Blender?
User avatar
Bonnie Clyde
 
Posts: 3409
Joined: Thu Jun 22, 2006 10:02 pm

Post » Mon Mar 14, 2011 10:51 pm

Well, I managed to get it to work in NifSkope so no worries. I guess there were a couple branches I had to transform, and then had forgotten to go back and apply the transform again to each after accepting. Live and learn. =P
User avatar
steve brewin
 
Posts: 3411
Joined: Thu Jun 21, 2007 7:17 am


Return to IV - Oblivion