Quantcast
import list of addons by minion - ESOUI
Thread Tools Display Modes
03/14/19, 03:42 AM   #1
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 243
import list of addons by minion

is this possible guys?

i.e. im giving to my friend a .xml file of settings of my minion and then he paste+replace it to his minion folder
and can see full list of addons im using in his minion and install them?
  Reply With Quote
03/14/19, 10:20 AM   #2
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 288
that won't work because he has not installed the addons.. and xml dosen't have a list of your installed addons.

If at all there is a txt file in \.minion\minion-backups\ESO-1 the IDs in it are maybe addons.


Why not just send him your addon folder?
I agree tho that it woud be nice to be able to share/import addon lists
__________________
My Addons @ WoWInterface
  Reply With Quote
03/14/19, 01:43 PM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,112
The Minion.xml file contains the addons installed as information (version, last updated etc.).
e.g.
Code:
<addon md5="e12b62b9c9a781078af64a19a1a7d51d" ui-version="2.1" uid="477">
<dirs>
<dir>AddonProfiles</dir>
</dirs>
</addon>

<addon md5="165aa56ee2ed332ab0ff56157c7f22b2" ui-version="0.5a" uid="1012">
<dirs>
<dir>AFK</dir>
</dirs>
</addon>
But it also contains other minion settings etc.
So if you share the whole file the recipient at least needs to change some folder etc. as the Game's folder is stored in teh xml as well.
So this will most probably kill Minion at the recipient.

But he can have a look into it and extract EACH entry with "<addon .. </addon>" and got a list of all your installed addons then.
  Reply With Quote
03/15/19, 02:38 AM   #4
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 243
thanks for answer
so for not its a nice feature to have - export function

copy and past all my addon folder to him more problematic because of its size xD
  Reply With Quote
03/15/19, 06:14 AM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,112
Use a zip or rar archiver program and build one big file.
Upload it to a cloud box.
Without the SavedVariables this should be not that small (30mb max).

Edit:
Oh it's Marazota. Ok then it will be 300mb ^^
  Reply With Quote
02/18/22, 01:10 AM   #6
Messajah
AddOn Author - Click to view addons
Join Date: Feb 2022
Posts: 11
You can use the backup/export feature in Minion which creates a .txt file with the IDs of all addons, and a zip file of your SavedVars. This is enough to recreate your installed addons and restore their settings, by sharing that backup folder with a friend. However, the downside is that the zip file contains your own saved settings, which you probably don't want to share with other people.

So I created a tool which cleanly exports the list of all your installed Minion addons and their names and URLs:

https://www.esoui.com/forums/showthread.php?t=10077

People can then read your addon list and copy-paste the names to install the same things via Minion.
  Reply With Quote
02/18/22, 03:50 AM   #7
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,112
Thanks, I guess your manual export and import by copying the addon names is the best to use at the moment then.

As:
The backup in Minion is currently not working properly as the restore reads the wrong folder.
You can find info about it here:
https://www.esoui.com/forums/showthread.php?t=9564

backup -> backups up to .minion\minion-backups\eso-1
restore -> tries to restore from .minion\eso-1
-> So copy the backuped files from the folder e.g. C:\Users\<your windows username>\.minion\minion-backups\eso-1 -> to
C:\Users\<your windows username>\.minion\eso-1

Alternative: just open the zip file manually, check the folder in there for the SavedVariables folder and copy it to your live/ folder to get your SV data back.
As you said already your backup will contain your SavedVariables then. So you would need to extarc the zip file, change each .lua SavedVariables file with a text editor and search + replace your @accountName with the accountName of the new player.
But this will only work for Account wide settings! Character dependent settings need you to find out the uniqueId of your character and replace the uniqueID in the SV files with yours...
Code:
/script d(GetCurrentCharacterId())
in the chat editbox will provide you the ID of your currently logged in character in the chat output window.

Older addons use the character name so you can replace it with your character name directly. But most newer or updated addons switched to the rename-save characterUniqueId (which is unique per server you play on).

Last edited by Baertram : 02/18/22 at 02:27 PM.
  Reply With Quote
02/18/22, 09:26 AM   #8
Messajah
AddOn Author - Click to view addons
Join Date: Feb 2022
Posts: 11
Yeah exactly, sharing the backed-up SavedVars causes a lot of hassle.

Would be great if Minion supported some "quick install" mode that takes a list of addon URLs or a comma-separated list of addon IDs (same as the addon txt file it produces when making a Backup).

For now, the easiest way to share an addon list with a friend will be via my little script. The titles my script generates are the exact same titles that Minion uses in its "find more" box, so people can just copy-paste the titles and find things easily.


Edit: I have an idea for Minion if someone is reading this: How about letting us search for addon IDs, so if you type "1703" the search result list would show Circular Votan's Mini Map (https://www.esoui.com/downloads/info...nsMiniMap.html). And if you search for "1703,7,12" for example, then it would show 3 search results: Votan's and two others. This would make it supremely easy to share addon lists: Just share a string of comma-separated IDs, and search for that in "Find More" and you'll get a list with Install-buttons. Should also be very very very easy to code this feature for Minion (although you may wanna add a prefix such as "id:1703" and "id:1703,7,12" to disambiguate the ID-search from regular searches). As for how people can make their own list of comma-separated IDs, the easiest current method would be to create a backup and take it from the text-file. A later method may be to have a "Export Addon List" button somewhere in the GUI menus.

Last edited by Messajah : 02/18/22 at 09:32 AM.
  Reply With Quote

ESOUI » Site Forums » Minion » import list of addons by minion

Thread Tools
Display Modes

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