Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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

Post questions about game models here, or help out others!
User avatar
Pepsee
mega-veteran
mega-veteran
Posts: 188
Joined: Fri Mar 04, 2016 9:26 pm
Has thanked: 53 times
Been thanked: 8 times

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

Post 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?
DMZT2
beginner
Posts: 32
Joined: Thu Nov 21, 2019 3:48 pm
Has thanked: 1 time
Been thanked: 12 times

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

Post 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.
User avatar
Pepsee
mega-veteran
mega-veteran
Posts: 188
Joined: Fri Mar 04, 2016 9:26 pm
Has thanked: 53 times
Been thanked: 8 times

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

Post 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...
DMZT2
beginner
Posts: 32
Joined: Thu Nov 21, 2019 3:48 pm
Has thanked: 1 time
Been thanked: 12 times

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

Post 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.
User avatar
Pepsee
mega-veteran
mega-veteran
Posts: 188
Joined: Fri Mar 04, 2016 9:26 pm
Has thanked: 53 times
Been thanked: 8 times

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

Post 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.
DMZT2
beginner
Posts: 32
Joined: Thu Nov 21, 2019 3:48 pm
Has thanked: 1 time
Been thanked: 12 times

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

Post by DMZT2 »

All anims are imported as blender actions, use the action editor when the armature is selected to switch between them.
Ivan04
ultra-n00b
Posts: 6
Joined: Wed Oct 30, 2019 9:05 pm
Been thanked: 1 time

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

Post by Ivan04 »

Thank you so much for this :keke:
User avatar
Pepsee
mega-veteran
mega-veteran
Posts: 188
Joined: Fri Mar 04, 2016 9:26 pm
Has thanked: 53 times
Been thanked: 8 times

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

Post 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?
DMZT2
beginner
Posts: 32
Joined: Thu Nov 21, 2019 3:48 pm
Has thanked: 1 time
Been thanked: 12 times

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

Post 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.
User avatar
Pepsee
mega-veteran
mega-veteran
Posts: 188
Joined: Fri Mar 04, 2016 9:26 pm
Has thanked: 53 times
Been thanked: 8 times

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

Post 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..
User avatar
Pepsee
mega-veteran
mega-veteran
Posts: 188
Joined: Fri Mar 04, 2016 9:26 pm
Has thanked: 53 times
Been thanked: 8 times

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

Post by Pepsee »

I tried converting the textures with everything I had: photoshop, dds to png converters, etc. I've never encountered this format before.
Post Reply