hexabits/nifskope

Parsing Warnings on Save with Dev 9

AndalayBay opened this issue · 6 comments

Using Jon's Dev 9 recently released. Editing original Oblivion game mesh and got these errors when I saved it:
iSourceTexture [5]: Could not find "Pixel Layout" subitem.
NiSourceTexture [5]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [5]: Could not find "Alpha Format" subitem.
NiSourceTexture [5]: Could not find "Unknown Byte" subitem.
NiSourceTexture [5]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [17]: Could not find "Pixel Layout" subitem.
NiSourceTexture [17]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [17]: Could not find "Alpha Format" subitem.
NiSourceTexture [17]: Could not find "Unknown Byte" subitem.
NiSourceTexture [17]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [23]: Could not find "Pixel Layout" subitem.
NiSourceTexture [23]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [23]: Could not find "Alpha Format" subitem.
NiSourceTexture [23]: Could not find "Unknown Byte" subitem.
NiSourceTexture [23]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [29]: Could not find "Pixel Layout" subitem.
NiSourceTexture [29]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [29]: Could not find "Alpha Format" subitem.
NiSourceTexture [29]: Could not find "Unknown Byte" subitem.
NiSourceTexture [29]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [34]: Could not find "Pixel Layout" subitem.
NiSourceTexture [34]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [34]: Could not find "Alpha Format" subitem.
NiSourceTexture [34]: Could not find "Unknown Byte" subitem.
NiSourceTexture [34]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [39]: Could not find "Pixel Layout" subitem.
NiSourceTexture [39]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [39]: Could not find "Alpha Format" subitem.
NiSourceTexture [39]: Could not find "Unknown Byte" subitem.
NiSourceTexture [39]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [44]: Could not find "Pixel Layout" subitem.
NiSourceTexture [44]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [44]: Could not find "Alpha Format" subitem.
NiSourceTexture [44]: Could not find "Unknown Byte" subitem.
NiSourceTexture [44]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [49]: Could not find "Pixel Layout" subitem.
NiSourceTexture [49]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [49]: Could not find "Alpha Format" subitem.
NiSourceTexture [49]: Could not find "Unknown Byte" subitem.
NiSourceTexture [49]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [55]: Could not find "Pixel Layout" subitem.
NiSourceTexture [55]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [55]: Could not find "Alpha Format" subitem.
NiSourceTexture [55]: Could not find "Unknown Byte" subitem.
NiSourceTexture [55]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [60]: Could not find "Pixel Layout" subitem.
NiSourceTexture [60]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [60]: Could not find "Alpha Format" subitem.
NiSourceTexture [60]: Could not find "Unknown Byte" subitem.
NiSourceTexture [60]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [65]: Could not find "Pixel Layout" subitem.
NiSourceTexture [65]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [65]: Could not find "Alpha Format" subitem.
NiSourceTexture [65]: Could not find "Unknown Byte" subitem.
NiSourceTexture [65]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [70]: Could not find "Pixel Layout" subitem.
NiSourceTexture [70]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [70]: Could not find "Alpha Format" subitem.
NiSourceTexture [70]: Could not find "Unknown Byte" subitem.
NiSourceTexture [70]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [75]: Could not find "Pixel Layout" subitem.
NiSourceTexture [75]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [75]: Could not find "Alpha Format" subitem.
NiSourceTexture [75]: Could not find "Unknown Byte" subitem.
NiSourceTexture [75]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [80]: Could not find "Pixel Layout" subitem.
NiSourceTexture [80]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [80]: Could not find "Alpha Format" subitem.
NiSourceTexture [80]: Could not find "Unknown Byte" subitem.
NiSourceTexture [80]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [86]: Could not find "Pixel Layout" subitem.
NiSourceTexture [86]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [86]: Could not find "Alpha Format" subitem.
NiSourceTexture [86]: Could not find "Unknown Byte" subitem.
NiSourceTexture [86]: Could not find "Unknown Byte 2" subitem.
NiSourceTexture [92]: Could not find "Pixel Layout" subitem.
NiSourceTexture [92]: Could not find "Use Mipmaps" subitem.
NiSourceTexture [92]: Could not find "Alpha Format" subitem.
NiSourceTexture [92]: Could not find "Unknown Byte" subitem.
NiSourceTexture [92]: Could not find "Unknown Byte 2" subitem.

NIF version 20.0.0.5

@AndalayBay, I will fix the errors and PR the fix to this repo. But for now, while it's not done, I guess you can still safely save 20.0.0.5 files, ignoring the messages. In this respect, Dev 9 behaves more or less the same as Dev 7 or older builds did, it's just more vocal about any "unclear" moments it encounters (it's my doing, the goal was to catch and eliminate as many as possible of those moments because some of them are clearly bugs).

Also, since I don't have Oblivion, could you attach any mesh that produces those errors so I could properly test the fix?

Yes, I was able to save it despite all the warnings. It looks fine in the CS and in game. Here's the mesh:
CheydinhalHouseMiddle03Interior.zip

Just change the textures to something else and hopefully that will produce the warnings. I believe I did a Save As... so I didn't overwrite the original texture.