Mutagen-Modding / Mutagen.Bethesda.Analyzers

A project to diagnose and analyze the health of a mod or a load order
GNU General Public License v3.0
14 stars 4 forks source link

Stat DATA has SSE records with FormVersion < 44 #70

Open SteveTownsend opened 3 years ago

SteveTownsend commented 3 years ago

As requested at https://discord.com/channels/759302581448474626/759344198792380416/821146762914955284 &ff.

My original report:

I am seeing a failure to patch STAT.Flags field in only one STAT record out of many that work. I have written a replacer
for the Skyrim SE Better Dynamic Snow Patcher SSEEdit Script and there is one STAT record where the ConsideredSnow
flag does not show up in the patched copy, although the Linked MATO is updated OK. Is there anything special I need
to do for STAT record patching? I did see that the drag and drop of the affected record does not work in SSEEdit either -
wondering if there's something about this one record that's breaking the patching. I have other STAT records with the
flag set that echo its value into Synthesis.esp just fine. I updated to latest Synthesis and Mutagen and it still fails on this
one record. The Edit Script does patch this record correctly. My patcher prints out the record flags from the source
record, and they show up 0, although other records with the flag show up correctly.