Wrye-bash: Import Enchantment Stats & Import Effect Stats

Created on 6 Aug 2020  路  5Comments  路  Source: wrye-bash/wrye-bash

Request: Extend Support for Patching ENCH and MGEF Records in Oblivion

Since a new patcher was added during the patcher refactoring, I figured I might as well ask for a few small patchers myself.

This request was previously discussed with @Infernio on Discord.

Enchantments / Object Effects:

  • [x] OBME: Ugly and niche, doubt anyone needs to patch this.
  • [x] FULL: Already handled in FO3/FNV/Skyrim, just need to add it to namesTypes in Oblivion too - done in b7b02fc4f556e0162fecf57507fd6f6d2ee26401
  • [x] ENIT: Probably needs a preserver - done in b7b02fc4f556e0162fecf57507fd6f6d2ee26401
  • Effects (EFID, EFIT and SCIT): Are probably better off with a merger - shelved until 308

    • Requires a rework of the _AMerger base class, to properly handle unsorted records

Magic Effects:

  • [x] Already partially handled by Graphics, Names, Sound, and Text tags
  • [x] DATA: Has several parts (including Flags, Base cost, Magic school, Constant effect enchantment factor, and Constant effect barter factor). Needs new tags and/or patchers - done in 1b0a064a4c3ab1fa4c8672b89ad0f13f895dea47
  • [x] ESCE: Skipping for now, will see if anyone actually wants to change these

ENCH Usage Example: "Oblivionized Enchants" mod by Seferoth (for Morroblivion).
MGEF Usage Example: "Restore Health Enchantment" mod by RyGuySolis.

C-enhancement A-patchers M-relnotes

All 5 comments

Moving back to 308 due to the effects in here, which can't be handled with our current _AMerger base class (since it heavily relies on the subrecord being sorted, and effects aren't sorted).

The other parts are easily doable, will push a branch in a bit.

it heavily relies on the subrecord being sorted, and effects _aren't_ sorted

I presume that by "effects", you are referring to the "effects" subrecords under the ENCH records?

Given that the requested MGEF subrecord (DATA) looks to have a more or less fixed structure.

P.S. Just in case it turns out to be useful, here are links to UESP's relevant "Mod File Format" articles: ENCH Format, MGEF Format.

'Effects' means EFID, EFIT and SCIT (or EFME, EFID, EFIT, SCIT, FULL, EFII and EFIX with OBME).
You can see in xEdit that those are 'aligned', not 'sorted'.

307.202008102031 includes two new patchers that handle ENCH\ENIT and MGEF\DATA.

Closing this in the next merge for now - we can always open a followup issue for importing effects (which is a more general thing anyways - they're used in more than just ENCH/MGEF).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jamesbiederbeck picture jamesbiederbeck  路  7Comments

Arthmoor picture Arthmoor  路  7Comments

Utumno picture Utumno  路  12Comments

Utumno picture Utumno  路  15Comments

Infernio picture Infernio  路  7Comments