Mutagen-Modding / Spriggit

A tool to facilitate converting Bethesda plugin files to a text based format that can be stored in Git
GNU General Public License v3.0
88 stars 10 forks source link

FormID List ANAM subrecord switched with LNAM[0] subrecord #76

Closed rux616 closed 1 month ago

rux616 commented 1 month ago

Spriggit v0.25 mixes up the LNAM and ANAM subrecords if both are defined. (both "ShipVendorFramework.esm" and "Warhawk.esm" are light masters)

FormKey: 000002:ShipVendorFramework.esm
EditorID: warhawk_ShipVendorDistribution_Location_NewAtlantis_Unique
FormVersion: 559
Items:
- 000001:ShipVendorFramework.esm
ANAM: 000822:Warhawk.esm

This is the output, but the contents of the ANAM entry and the content of the Items[0] entry should be reversed. (I'm trying to add 000822:Warhawk.esm to 000001:ShipVendorFramework.esm.)

Also, it seems like all the records have a FormKey of "XXXXXX:ShipVendorFramework.esm", when the plugin name is "Warhawk.esm". Might this be related to #75?

Noggog commented 1 month ago

Also, it seems like all the records have a FormKey of "XXXXXX:ShipVendorFramework.esm", when the plugin name is "Warhawk.esm"

Yeah, if you're referencing light masters, I think it'll be borked at the moment. I'll see if i can get #75 out soon

This is the output, but the ANAM entry and Items[0] should be reversed.

Are you saying it should look like

A)

FormKey: 000002:ShipVendorFramework.esm
EditorID: warhawk_ShipVendorDistribution_Location_NewAtlantis_Unique
FormVersion: 559
ANAM: 000822:Warhawk.esm
Items:
- 000001:ShipVendorFramework.esm

or B)

FormKey: 000002:ShipVendorFramework.esm
EditorID: warhawk_ShipVendorDistribution_Location_NewAtlantis_Unique
FormVersion: 559
Items:
- 000822:Warhawk.esm
ANAM: 000001:ShipVendorFramework.esm

can you upload your esm as well, for reference?

rux616 commented 1 month ago

It should look like B.

As requested, here is the file for reference: Warhawk.zip

Noggog commented 1 month ago

According to the binary, i think the original yaml is being true to the esm (aside from the mod index issues) image

LNAM (the items) has the XX000001 ID ANAM has the XX0000822

Can you double check in the other tooling that made the mod file that you think the IDs are swapped?

rux616 commented 1 month ago

That's ... weird. I'm loading the thing up in the CK right now to verify.

rux616 commented 1 month ago

Okay, xxxxx822 is from ShipVendorFramework.esm, and xxxxxx001 is from Warhawk.esm. So it looks like the ID in the original yaml is correct, but the source is messed up, possibly again having to do with #75.

image

image

Noggog commented 1 month ago

Cool, gonna close this and will see you over in #75 ! Thanks for all the extra info!

rux616 commented 1 month ago

Sure thing. Thanks for the quick responses!