Michael-wigontherun / ESLifyEverything

https://www.nexusmods.com/skyrimspecialedition/mods/75248
27 stars 4 forks source link

OAR form IDs are not updated, but DAR versions are #28

Closed lingsamuel closed 6 months ago

lingsamuel commented 7 months ago

I just compact and ESLify SkyrimSpearMechanic.esp, and run ESLifyEverything. It successfully processed DAR _conditions.txt, even though they are not in correct directory. This is the output result: image

Note that there is a dot prefix before DynamicAnimationReplacer, because these DAR files are converted to OAR format by DAR to OAR Batch Converter.

The _conditions.txt content is correct: image

But the valid config.json files under OpenAnimationReplacer are not updated (this config file comes from mod Smooth Moveset): image

lingsamuel commented 6 months ago

The fix: change ESLifyEverything\ESLifySteps.cs#L1584

IEnumerable<string> configFiles = Directory.GetDirectories(openAnimationReplacerFolder,
                    "config.json",
                    SearchOption.AllDirectories);

to

IEnumerable<string> configFiles = Directory.GetFiles(openAnimationReplacerFolder,
                    "config.json",
                    SearchOption.AllDirectories);