Jump to content

How do I Convert Nif Nodes to a Text File?


AlaricMod

Recommended Posts

I want to do some analysis on the bhkMoppBvTreeShape, namely the hidden (in NifSkope) binary data of the Mopp code itself. I am trying to figure out why with a correctly configured bhkPackedNiTriStripsShape and hkPackedNiTriStripsData the nif will still not perform correctly in game (This is only for multi-material meshes w/subshapes).

 

I have figured out how to show the actual binary data of the Mopp in NifSkope, but I lack the skills to get that data exported to a spread sheet or database where I can analyze it against vanilla Nifs.

 

I figure its a command line deal, does anyone here know how its done?

 

-Alaric

Link to comment
Share on other sites

UPDATE: I have been searching all over NifTools Forums for an answer to this question and it seems that what I want can be done with NifToaster. Unfortunatly I do not know the syntax for this operation and am not sure where to run a command even if I did know the syntax (though I would guess the PyFFI directory).

 

I have found examples of syntax of how to optimize nif files but nothing more. Is there anywhere I can look for a list of syntax and commands? I have looked through the documentation that came with PyFFI and it looks like NifToaster might be part of the PyFFI install, but mostly the documentation is just Greek to me.

 

Please point me in the right direction if you can (or even towards another place to look for that direction)

 

-Alaric

Link to comment
Share on other sites

UPDATE:

 

I have figured out how to get the text dump of the data I want, almost. Its a command line execution of some of the PyFFI scripts, and this is what I have tried:

 

C:\Apps\Python25\Scripts>niftoaster.py -v 2 -i bhkMoppBvTreeShape dump "C:\python25\test.nif" > C:\python25\test.txt

 

When I run this command I get all the status messages on the console window but nothing into the text file. Also, the verbose flag is ignored it seems (but I cant tell for sure since I dont have a text file). So I tried the following command:

 

C:\Apps\Python25\Scripts>niftoaster.py -v 2 -i bhkMoppBvTreeShape dump_htmlreport "C:\python25\test.nif"

 

This time I recieved my output, pretty as you please, in a html window (which was a really cool idea) but it seems to ignore the verbose command - no matter what I set it to (0,1,or 2) I get the same output. The problem with that output is that it only gives me the first 17 entries in the Mopp Binary data and I am trying to get to all of it.

 

Does anyone else here use niftoaster and if so, do you know where I am going wrong?

 

-Alaric

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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