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

SSE Support #56

Closed hexabits closed 7 years ago

hexabits commented 7 years ago

Support for SSE. The BSVertexData had to be moved up for the SkinPartition. The changes have been tested on all SSE files and used for the past several months with no issue. There are no known FO4 regressions.

A new token for division in expressions was introduced, #DIV#, as "/" is used in some XML attributes already and also causes parsing issues with NifSkope which already uses that token for things at runtime.

The BSSegment PR (#42) from ttl269 has also been included in this as it is a valid change and required for SSE.

Closes #42

hexabits commented 7 years ago

The only thing to really discuss is #DIV#. No matter what syntax is decided upon, all the projects will need to be updated to use it as division has never been used in an expression in the XML.

Regarding #42 it is without doubt correct, though I improved the names and descriptions. Basically the previous version worked but the person who decoded it didn't understand why and the byte layout ended up being off.