skyrim-esp-vmad-renaming
Installation
SKILL.md
VMAD renaming
Preferred path
Use a typed plugin library that understands the target VMAD record family. Reload and compare the result.
Binary fallback
Raw byte replacement is allowed only when all conditions hold:
- the exact target string and owning record are identified;
- the encoding and length prefix are understood;
- every occurrence is classified;
- the transform updates lengths and enclosing record sizes correctly, or the replacement is exactly the same byte length;
- a parser can walk the complete file before and after;
- a byte diff shows no unrelated changes;
- the original remains untouched.
Do not use global bytes.replace on a plugin. Do not rename a script without also shipping the corresponding PSC/PEX and preserving property contracts.