niftools / nifxml

A repository for the nif.xml file, which contains the nif file format description.
http://www.niftools.org
GNU General Public License v3.0
37 stars 43 forks source link

not importing chr files #80

Open keesoudwater34 opened 4 years ago

keesoudwater34 commented 4 years ago

import issue nif

#b233.zip

either im doing something wrong or its not importing for me. some other files do work but these just shat themselves.

HENDRIX-ZT2 commented 4 years ago

Not supported and won't be for a while.

keesoudwater34 commented 4 years ago

Not supported and won't be for a while.

can i get a message in here when it will get supported?

HENDRIX-ZT2 commented 4 years ago

Don't hold your breath! 😅

keesoudwater34 commented 4 years ago

chokes out nah i got the time. its not on my main list at the moment so should be fine for a while

neomonkeus commented 4 years ago

Moving to nif.xml repo.

hexabits commented 4 years ago

Thought this was already a ticket somewhere, but the work for this version might have been done on the forums instead (which have been down for years?). 20.3.1.2 NIFs store a hash of the blocktype, not a string, and NifSkope and nif.xml already support this aspect:

https://github.com/niftools/nifxml/blob/fa83fc435a69b2a8982afa7230867450cd227a1c/nif.xml#L1891

The commit was here: https://github.com/niftools/nifxml/commit/eb53e9806ea29ea0e31e21845228c1fe620c6597

The hash support for NifSkope was here: https://github.com/niftools/nifskope/commit/3c10265390039f502d797ccf4ef52fd3c3ba023f

However I think like 20.3.1.1 (#31), it turns the booleans for Has Vertices, Has Normals, etc. into flags to control the precision of the floating point for the vertex data. This makes the XML for NiGeometryData really nasty, so it was never committed.

If I'm remembering correctly and 20.3.1.2 is just like 20.3.1.1, there is pretty much no chance of XML support for this without struct/niobject versioning, so that NiGeometryData can remain untarnished for all games except 20.3.1.1/20.3.1.2. The changes needed for these custom versions is simply too intrusive to include otherwise.

hexabits commented 4 years ago

image

Like 20.3.1.1, 20.3.1.2 has an unknown value in NiAlphaProperty.

This particular NIF does not have the NiGeometryData with flags instead of booleans for the vertex data, so it loads fine.