Coder Social home page Coder Social logo

felesnoctis / xedit-scripts Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 1.0 22 KB

A general repository of scripts I've made myself, worked on with others, or were made for me.

License: Mozilla Public License 2.0

Pascal 100.00%
skyrim skyrim-ae skyrim-modding skyrim-se skyrim-special-edition skyrimmodding xedit xedit-script

xedit-scripts's Introduction

xedit-scripts

A general repository of scripts I've made myself, worked on with others, or were made for me.

00_Persistentify_Those_Plugins.pas

  • Applies persistence to prevent breakage of references when converting a plugin file (.esp) to a master (.esm/ESM flag).
  • Modders' Resource intended to emulate best practices Creation Kit behavior, but can also be run by any user to convert a plugin.

NEXUS: https://www.nexusmods.com/skyrimspecialedition/mods/76750

Designed to be a more intelligent implementation than its predecessor, the "ESMifyer", which took a blanket approach to how it handled actor references (and only actor references). While that approach did help keep affected actors functional, it also dramatically lessened the benefit of what converting a plugin to a master is intended to accomplish.

The "Persistentifyer" (name may change) not only targets all relevant reference types that may need to be updated (currently ACHR/REFR/PHZD), but also uses a number of filters to cut out every false positive it can conceivably target without live human intervention, using the same logic the Creation Kit does regarding persistence. This list of filters continues to grow as we discover more edge cases in the various mods we test.

Ideally this script is intended to be used as a Modders Resource, encouraging and teaching Mod Authors (alongside the future accompanying documentation) how to implement "best practice" persistence in master files the way Bethesda originally intended. It can however also be substituted for the ESMifyer in any similar use case, applying persistence flagging to a more refined list of references and lowering those persistent reference handle counts even further.

  • To enable plugin edits with this Beta version, find dryRun under USER SETTINGS and change it to false .
  • To also enable ESM flagging of the plugin, find ESMify under USER SETTINGS and change it to true .

Credits

  • FelesNoctis: https://www.nexusmods.com/users/336042
    Framework, basic implementation of ACHR handling, logging and cleanup
  • Eddoursul: https://eddoursul.win/
    Overhaul of functionality to include all important reference types, CK behavior research, and filter implementation
  • Robertgk2017, JonathanOstrus, Zilav
    Critique of filters and optimization suggestions, extensive testing and suggestions, general moral boosting

xedit-scripts's People

Contributors

felesnoctis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

beermotorwb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.