-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add support for develop branch nif.xml #79
Open
TagnumElite
wants to merge
18
commits into
niftools:develop
Choose a base branch
from
TagnumElite:update_nifxml
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TODO: This should be done for all formats NOTE: Makes sphinx take a LONG time to complete tho
Thats it, thats everything (lies).
Remove some comments Add some comments Add test for niftoolsxml bitstructattribute
Add update_version to NifFormat.Data that updates all block versions Skip attributes that haven't changed
Also added relative tests
Currently Skyrim SE is failing due to reaching end of file
StructBase read replaces the attributes as it reads not replaces before and reads (breaks) later
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@niftools/pyffi-reviewer
Hi, I'm back from the dead. Recently got back into modding Bethesda games.
Overview
This pull request updates pyffi to be able to support the latest nif.xml. I am not done and I believe there are still more issues to fix. I also have more tests to write and disable/remove a lot of debug logging. All tests are working (at least on python 3.10).
I am currently not feeling well so I well fill out this pull request in detail later.
The way I got pyffi to work with the latest nif.xml is on reading stream, we update all attributes to be set the versions specified. I also duplicated xml object model into niftoolsxml because I didn't want to update all xmls right now to the new niftoolsxml specification.
TODO:
Implement conversions of attributes when updating attributesFixes Known Issues
[Ordered list of issues fixed by this PR]
Documentation
Added all object models to the documentation.
Testing
[Overview of testing required to ensure functionality is correctly implemented]
Manual
[Order steps to manually verify updates are working correctly]
Automated
Modified Expression tests to also test extra features
Added tests for importing files for specific games
Additional Information
I want to move away from nosetests, not because I dislike them but because I think we only need one test framefwork pytest.