03/30/19, 09:46 PM | #1 | |
Join Date: Apr 2016
Posts: 28
|
Updating Independent Libs (Libraries)
When libraries are updated should I also update those same libraries if they are included (embedded) with other addons?
For clarification, if a lib addon is installed as a directory at \Elder Scrolls Online\live\Addons should I also be updating the same lib addon if it exists elsewhere, e.g. in \Elder Scrolls Online\live\Addons\example_addon\libs\? Does it matter or is there a best practice with regard to this? I prefer to update addons myself and would rather not require Minion. Thank you, I'm just looking to understand a bit more about this area where libraries are included in some addons but required as separate addons in others. Any time in explaining this, I appreciate! |
|
03/30/19, 10:03 PM | #2 |
Nope! You just need to update the standalone version.
|
|
03/31/19, 02:40 AM | #3 | |
Join Date: Apr 2016
Posts: 28
|
OK. Thank you for the quick reply!
|
|
03/31/19, 08:10 AM | #4 |
To clear things a bit more or at least I'm trying to
Independent libs, also called standalone, got an own .txt file which the game loads. Like an addon. Where libs shipped embedded/in subfolders of other addons will just be loaded by help of the addon's .txt file itsself. They got no own .txt which the game recognizes. The loading will be handled by the game. LiBStub is a library which tries to assure that always the newest library version gets loaded. And the game got also a routine inside the .txt files called ##AddOnVersion which does the same. Loading the newest/highest number ONLY. So even if you got libs inside subfolders the game or LibStub will always load the newest version only. Placing and updating the standalone lib in the AddOns directory will help to always be updated. There might be constellations where older versions of the libs in subfolders of addons might break this, but I hope this will only happen if someone decides to strip LibStub from an existing library and switching to Zos routine of using ##AddOnVersion: |
|
04/01/19, 05:55 AM | #5 | ||
Join Date: Apr 2016
Posts: 28
|
Thanks again to both of you for filling in the blanks for me. Pretty interesting stuff since I'm curious (but clueless) |
||
04/01/19, 08:50 AM | #6 |
|
ZOS natively set it up to only load one instance (was not always the case). Let's say an addon uses 5 libs: before, this meant every time one of them was updated, the whole addon needed updated. Now, you just download the updated lib and all X addons you have that use it don't need to be updated.
|
04/01/19, 09:27 AM | #7 | |
There are some circumstances where locally added dll files in the programs folder, or even included into the exe file, make sense as well. But I can't think of any ESO addon where this might be needed. They were "bundled" with the addon (as subfolders) in order to make it easy for the user to update the whole addon (including needed files like libraries). But as described on several threads this will lead to outdated subfolder files, total size of folders unneccessarily big and on top too much time to for the author to update ALL addons depending on a library, if a library changes. The updates for authors contain version increasing in txt and lua files, download the library, out it in the subfolders, check that files are correct, rebundle it as zip file, upload at esoui etc. One addon takes about 3-5minutes. Now think of having 10 addons using this lib. A good example is libAddonMenu-2.0 or LibStub. It is used by about 90% of the addons. A simple update for the standalone lib: 1 Minion click for the user. Nothing to do for the authors (except the ones updating the library). An update for all addons where it is bundled: 1 Minion click for the user. But some hours work for the authors who have the lib included in their addons's subfolders... We could easily use this time to play the game we like or really improve the addons, instead of doing this non-sense (imo). |
||
04/01/19, 02:44 PM | #8 | |
|
||
04/02/19, 04:52 AM | #9 |
Yep, I know it is on the todo list. But Minion is a non-commercial software where ppl work on in their free times. Just like addons are created.
So it will need some time as RL and other factors come first. AND the devs need to write the addons using the ZOs intended way of "detecting dependencies" then! Like using ##DependsOn: and ##OptionalDependsOn: in the correct way + using ##AddOnVersion in the libraries (at least in there, using it in the AddOns themselves would be fair too). |
|
04/02/19, 12:28 PM | #10 | |||
Join Date: Apr 2016
Posts: 28
|
Yes, this and the occasional RU version update getting auto-installed accidentally was why I started updating them myself. Don't get me wrong, Minion was great when I was a newer player, and still a good place for new players now. I just wanted more control over the whole process. What's perfect for me now is adding an addon to my favorites here on the site, then when they get updated I get an email. I also do this for a couple addons that are outdated *and* unusuable so in case they ever get new life to them I will know to re-install them! |
|||
ESOUI » AddOns » AddOn Help/Support » Updating Independent Libs (Libraries) |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|