-
Notifications
You must be signed in to change notification settings - Fork 51
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
[Dev 9] Error saving some files with CMS collision #67
Comments
meshes\dungeons\nordic\levers\pullchain\genpullchain01.nif / meshes\dungeons\nordic\levers\pullchain\genpullchain02.nif are also impacted |
I can confirm this is a real issue for many files. "meshes\landscape\bridges\bridge01.nif" and others. This commit can be related |
Looking at that commit, is this a bug in the |
It's not a bug in the |
I think I found the problem. In this line: Line 640 in a08b0c1
== 3 needs to be changed to a == 6 . That seems to have fixed the problem on my end.
|
That's odd. When I build latest Though, while I don't get the compressed mesh shape save failure, I see on both open/save of genpullchain01.nif / other files.
|
That'll be because the develop branch doesn't yet have the nif.xml that's used in the release. Copy the one in the release from there into the build folder and compile it again, or copy it into the place where you've put the built NifSkope to get all that recent nif.xml information. |
Is that just changed outside of source control for the releases? Or are releases building off of some other fork? If outside of source control, are there any other edits needed to get parity with a release build? |
It's supposed to be edited with the source control, but it's easily forgotten. There's even been cases of edits in the xml that made it into a NifSkope release without ever being in the xml repository, though that's obviously not how it's supposed to happen. Safest bet for now is just to copy the one from the release. I believe gavrant's fork (the one with the open PR for this fork) actually has it updated already. |
…Data blocks Fixes hexabits#67 , niftools#242 Bonus: refactored the NifStream code so this kind of bugs would happen less likely in the future (added asserts in strategic places, moved boilerplate code to macros or functions, and so on). This refactor also fixes a few other potential bugs on reading and writing meshes.
Attempting to save some files, e.g.
meshes\clutter\weaponrack\wrplaqueshield01.nif
from vanilla Skyrim, results in this error:The error did not occur in dev 7.
The text was updated successfully, but these errors were encountered: