Thread Tools Display Modes
Prev Previous Post   Next Post Next
08/07/17, 08:17 AM   #1
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
AddOn Manifest File Changes

With API version 100021 we are considering a couple changes to the manifest file processing:

1) File paths in the manifest file extend from the directory that the manifest file is in. Currently these file paths extend from "EsoUI/AddOns/<Manifest File Name>/" which is unintuitive and doesn't allow putting addons into a deeper file structure.
2) We will scan all sub-directories in the AddOns folder for manifest files. Currently we only scan the top level directories which also prevents putting addons into a deeper file structure.
3) Manifest files must have the same name as the directory they are in to be processed. This prevents ReadMe.txt files from being picked up as addons (along with other stray .txts), which becomes more important as the scan goes deeper. This seems to be the standard based on a subset of addons that I looked at, so hopefully most addons will already comply with this.

The main benefit of these changes is that it allows an addon to embed its libraries as addons instead of loading the files as part of the main addon manifest. Combined with the "# AddOnVersion:" directive, only the highest version of each library will be loaded which saves time that would be spent on loading the same library lua files many times and throwing out most of the results.

Let me know if you have any feedback on these changes.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » AddOn Manifest File Changes


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off