-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The MAST subrecords and description part of the HEDR subrecord have their values treated as null-terminated strings, so anything after the first null byte is ignored. This has been seen in Skyrim SE's plugin loading behaviour and in the descriptions displayed for plugins in Starfield's Creation Kit: the behaviour for other games is untested but assumed to be the same. There is also at least one plugin seen "in the wild" that has a MAST subrecord with extra trailing null bytes: cheery_AetherArtifactsCraftingAddon_NoDuplicateCrowns.esp from <https://www.nexusmods.com/skyrimspecialedition/mods/10643>. As such, ignore the first null byte and everything after it when getting the description string and vector of master strings for a plugin.
- Loading branch information
Showing
5 changed files
with
71 additions
and
64 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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