Open AndalayBay opened 10 months ago
@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.
@AndalayBay I just tested your CheydinhalHouseMiddle03Interior.nif on this build: https://github.com/gavrant/nifskope/releases/tag/v2.0.dev9a , and could not reproduce the warning spam. Tried typing random stuff into texture paths, then saving the file, with no parsing warnings, So I hope the bug is gone there. Could you test it out too, just to make sure?
No dice. I tried to change our custom copy of that mesh and got these errors when using Save As...
NiSourceTexture [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.
I changed one of the stone parts to a different stone texture by selecting the texture from a folder.
@AndalayBay I think I really fixed the warnings spam this time. Could you test it again with the latest release from https://github.com/gavrant/nifskope/releases ?
And if you have "Auto Sanitize before Save" option in "File" menu checked, I recommend you to turn it off. I did fix the Oblivion texture-related part of it now, but it had corrupted a few meshes for me over the years, so I have it off. That's why I could not reproduce this spam issue, I guess.
I actually use the sanitize and optimize spells, so I have that enabled.
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