r/skyrimmods•
mator

esp.json - JSON record definitions for TES5, SSE, TES4, FO4, FNV, and FO3

Development

As part of an ongoing project to build a backend replacement for the xEdit codebase I've been working on converting the xEdit record definitions from hardcoded Delphi to JSON. As of today I have pretty much completed this process.

This doesn't do anything on its own, but it should generally enable people to interface with plugin files easier without having to write their own parsers. The xEdit codebase encoded these definitions in about sixty-thousand lines of Delphi code. It was incredibly daunting to take on converting this massive amount of work to be usable in another language/ecosystem. Much respect to the various devs who have decoded and developed these definitions over the years.

This project is one leg of my other project, esper, which uses these definitions to parse plugin files, Bethesda archives, and string tables. I'm hoping by building this I can pursue some large scale features such as:

  • Removing all plugin limitations from zEdit. (load an effectively unlimited number of full plugins or light plugins)
  • Removing master limitations from zEdit/zMerge (edit plugins or build merges without masters loaded).
  • Using "virtual" masters on plugin files until they are saved.
  • Much faster merges, patch building, conflict calculation, etc.
  • Easier and faster updates when bugs are found.
  • More?

If you're a dev and want more information feel free to join my discord and ask me questions there.

Posted Jan 29, 2022, 4:17 AM UTC

43120
Loading comments…