Bethkit v0.5.1
Fixes
- Resolve MGEF associated-item unions relative to their own payload and use current sibling values when encoding forward selectors.
- Keep unchanged counter callbacks from re-encoding unrelated DATA bytes; retain validation and transactional rollback for invalid edits.
- Preserve original TES4 metadata, unknown and repeated subrecords, and extended framing during sparse patching. Correct HEDR counts to include nested groups and retain allocated object IDs.
Schema provenance
The Skyrim SE schema is unchanged and comes from xDump v0.1.0, based on xEdit 4.1.5f, commit f5c00f3fa3ee39511185515802647246c807f759. Schema SHA-256: 8066dd6c64fe61583bafe0f8e57c6d78bbaf4d84d41a427fe98d383e976ee092.
Native source: 4017c4ac030efd5b52e07764dd48a87ac2e565d4. The C ABI remains version 2.
Regression coverage includes all associated-item selector branches through the legacy, typed, and localization Python editors. A separate memory-only smoke test changed FULL string IDs in 30 real localized Skyrim.esm MGEF records without changing their other subrecord bytes; that smoke test does not validate translated text resolution.
Full Changelog: v0.5.0...v0.5.1