Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing Warnings on Save with Dev 9 #68

Open
AndalayBay opened this issue Nov 5, 2023 · 6 comments
Open

Parsing Warnings on Save with Dev 9 #68

AndalayBay opened this issue Nov 5, 2023 · 6 comments

Comments

@AndalayBay
Copy link

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

@gavrant
Copy link

gavrant commented Nov 7, 2023

@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?

@AndalayBay
Copy link
Author

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.

@gavrant
Copy link

gavrant commented Jul 28, 2024

@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?

@AndalayBay
Copy link
Author

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.

gavrant added a commit to gavrant/nifskope that referenced this issue Jul 30, 2024
…g Sanitize (including "Auto Sanitize" on save) and Texture -> Add spells and on importing .OBJ files

Fixes hexabits#68
Note: this does fix ALL of the "Could not find subitem" spam on importing .OBJ files, just texture-related.
@gavrant
Copy link

gavrant commented Jul 30, 2024

@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.

@AndalayBay
Copy link
Author

I actually use the sanitize and optimize spells, so I have that enabled.

fo76utils added a commit to fo76utils/nifskope that referenced this issue Jul 30, 2024
fo76utils added a commit to fo76utils/nifskope that referenced this issue Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants