Mutagen-Modding / Mutagen

A .NET library for analyzing, creating, and manipulating Bethesda mods
GNU General Public License v3.0
121 stars 32 forks source link

Modifying Static's LODs causes corruption #450

Closed Noggog closed 1 year ago

Noggog commented 1 year ago

Lods are saved in a weird format where the path is saved, but then "spacing" bytes are put after to make the overall set of bytes a consistent length.

If an existing static is read in, and the path changed to one of a different length, the system keeps the same amount of fluff bytes, which essentially corrupts the record

Noggog commented 1 year ago

Fixed in 8dc1692a2182db583d776ef0cffe306cf86bb1cb