Page 2 of 2

Re: Weird .NIF files, how to preview anims and export them with mesh?

Posted: Sat Dec 14, 2019 7:47 pm
by Pepsee
DMZT2 wrote: Sat Dec 14, 2019 6:18 pm Image
HOLY MOTHER OF ALL THINGS HOLY..
I was not expecting such a lovely surprise. Finally the slow import process can be put to rest.
Where can I find this?

Re: Weird .NIF files, how to preview anims and export them with mesh?

Posted: Sat Dec 14, 2019 8:12 pm
by DMZT2
code is here:

https://github.com/HENDRIX-ZT2/blender_nif_plugin

for blender 2.79
needs pyffi 2.2.4.dev3 to be installed in blender's bundled python (see pyffi installation instructions here: https://github.com/OpenNaja/cobra-blender )

zip up the io_scene_nif folder and install via blender plugin installer
mesh needs to be imported with "Apply Skin Deformation" checked
Anims have no names.

Re: Weird .NIF files, how to preview anims and export them with mesh?

Posted: Sat Dec 14, 2019 9:41 pm
by Pepsee
DMZT2 wrote: Sat Dec 14, 2019 8:12 pm code is here:

https://github.com/HENDRIX-ZT2/blender_nif_plugin

for blender 2.79
needs pyffi 2.2.4.dev3 to be installed in blender's bundled python (see pyffi installation instructions here: https://github.com/OpenNaja/cobra-blender )

zip up the io_scene_nif folder and install via blender plugin installer
mesh needs to be imported with "Apply Skin Deformation" checked
Anims have no names.
I'm getting stuck on the pyffi part, it just doesn't seem to install for me at all...

Re: Weird .NIF files, how to preview anims and export them with mesh?

Posted: Sat Dec 14, 2019 10:04 pm
by DMZT2
Copy of pyffi:
https://we.tl/t-CLuGOfMfIr

Put the pyffi folder from inside the zip into C:\Program Files\Blender Foundation\blender-2.79b-windows64\2.79\python\lib\site-packages
or whereever your blender's python lives.

Re: Weird .NIF files, how to preview anims and export them with mesh?

Posted: Sat Dec 14, 2019 10:28 pm
by Pepsee
DMZT2 wrote: Sat Dec 14, 2019 10:04 pm Copy of pyffi:
https://we.tl/t-CLuGOfMfIr

Put the pyffi folder from inside the zip into C:\Program Files\Blender Foundation\blender-2.79b-windows64\2.79\python\lib\site-packages
or whereever your blender's python lives.
It's importing properly now, but how do I swap between different animations within a .KF? I get no GUI pop-up, everything imports directly, I don't have any selection of what animation to import.

Re: Weird .NIF files, how to preview anims and export them with mesh?

Posted: Sat Dec 14, 2019 10:38 pm
by DMZT2
All anims are imported as blender actions, use the action editor when the armature is selected to switch between them.

Re: Weird .NIF files, how to preview anims and export them with mesh?

Posted: Sat Dec 14, 2019 11:14 pm
by Ivan04
Thank you so much for this :keke:

Re: Weird .NIF files, how to preview anims and export them with mesh?

Posted: Sun Dec 15, 2019 6:12 pm
by Pepsee
DMZT2 wrote: Sat Dec 14, 2019 10:38 pm All anims are imported as blender actions, use the action editor when the armature is selected to switch between them.
The plugin did wonders.. I just have to ask why is the Snoozer so buggy? It won't import at all, it even throws up errors when simply imported in NifSkope.. Any clue?

Re: Weird .NIF files, how to preview anims and export them with mesh?

Posted: Sun Dec 15, 2019 9:52 pm
by DMZT2
Can't find a snoozer nif in the samples I was sent? Might be corrupted? If nifskope doesn't read it probably has some custom data modification.

Re: Weird .NIF files, how to preview anims and export them with mesh?

Posted: Sun Dec 15, 2019 10:07 pm
by Pepsee
I managed to get it, PS3 files has a functional version of the OG model. Only problem is textures in .PS3 format:
https://mega.nz/#!VQQzFKSS!8FrAhV28-mU0 ... 2W_LkaSpJU
I have no idea how to convert them..

Re: Weird .NIF files, how to preview anims and export them with mesh?

Posted: Mon Dec 16, 2019 9:06 pm
by Pepsee
I tried converting the textures with everything I had: photoshop, dds to png converters, etc. I've never encountered this format before.