Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 08/03/07, 9:43 AM   #1
bellator
King Hippo
 
Dwarf Paladin
 
Twilight's Hammer (EU)
Addon File organistion

This may be a stupid question, but within the Warcraft Addon directory there are always multiple folders for essentially the same addon. For example, one folder for BigWigs, then 6 folders for BigWigs SSC/Eye/BT etc etc.

Is there a way to organise these extra addon files so that they are contained within the main addon folder, or is this simply not possible?

Cheers

Offline
Reply With Quote
Old 08/03/07, 10:01 AM   #2
Malan
Mind the gap.
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
It can be done yes, but it requires the addon author to structure his code in a way to work in that manner.

United States Offline
Reply With Quote
Old 08/03/07, 10:06 AM   #3
• Chicken
Co-starring: The Egg
 
Chicken's Avatar
 
Ginakursia
Goblin Warlock
 
No WoW Account (EU)
For most addons that work this way this should be possible.

If you press F8 to open WowAceUpdater's preferences and then remove the tick before "Unpack Addons" WowAceUpdater should no longer turn these mods into such a collection of separate folders.

The only thing I'm not sure of is if this will remove the now superfluous extra folders.

There's a few addons this doesn't work for, but it should work for all of them that are listed under Packages in WowAceUpdater.

Netherlands Offline
Reply With Quote
Old 08/03/07, 11:41 AM   #4
 frmorrison
Protector
 
frmorrison's Avatar
 
Ashstorm
Human Paladin
 
No WoW Account
At least in the view of the WoW client, it makes little difference if folders are in one main folder or spreadout.


So your idea of making addons in one folder will not increase performance, but it may be nicer to look at.

United States Offline
Reply With Quote
Old 08/03/07, 11:54 AM   #5
 Shadowed
Soda Popinski
 
Tauren Druid
 
Mal'Ganis
Originally Posted by frmorrison View Post
At least in the view of the WoW client, it makes little difference if folders are in one main folder or spreadout.


So your idea of making addons in one folder will not increase performance, but it may be nicer to look at.
It does for LoD, in the case of BigWigs it looks like it was built so it can be used either way but you'll lose the benefit of the boss modules being LoD until needed.

United States Online
Reply With Quote
Old 08/03/07, 11:55 AM   #6
Malan
Mind the gap.
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
In the case of BigWigs though aren't each of those registering as individual modules? The WoW client actually checks for addons inside other addon paths?

United States Offline
Reply With Quote
Old 08/03/07, 11:58 AM   #7
 Shadowed
Soda Popinski
 
Tauren Druid
 
Mal'Ganis
Originally Posted by Malan View Post
In the case of BigWigs though aren't each of those registering as individual modules? The WoW client actually checks for addons inside other addon paths?
The WoW client checks for the toc file in the root directory of the addon and ignores all of the other ones in sub directories, what BigWigs does is loads all of the modules assuming they're still packed into BigWigs/ and then contains other code that'll load the addons if they were unpacked.

Specifically, the toc in BigWigs loads Plugins/Modules.xml which loads all of the packed modules if they don't exist because they were moved out then it'll just fail silently.

(About to run, had to make this quick)

United States Online
Reply With Quote
Old 08/03/07, 1:06 PM   #8
bellator
King Hippo
 
Dwarf Paladin
 
Twilight's Hammer (EU)
Cheers for the help. Has reduced the clutter of the folder. Half tempted to edit fubar's toc file and create a modules.xml myself to contain it all, but i imagine this would cause problems on updating.

Another quick question. I always update the mods with externals, which means certain libs are contained within countless addon folders. Is this effecting performance at all, and if so, whats the best way to store libs used in multiple mods?

Offline
Reply With Quote
Old 08/03/07, 1:19 PM   #9
 Shadowed
Soda Popinski
 
Tauren Druid
 
Mal'Ganis
Originally Posted by bellator View Post
Cheers for the help. Has reduced the clutter of the folder. Half tempted to edit fubar's toc file and create a modules.xml myself to contain it all, but i imagine this would cause problems on updating.

Another quick question. I always update the mods with externals, which means certain libs are contained within countless addon folders. Is this effecting performance at all, and if so, whats the best way to store libs used in multiple mods?
Not that familiar with WAU, but as long as it uncomments the file that loads the libraries or deletes it then it shouldn't matter the game wont load a file if it's not referanced in the toc all it should be doing is adding it to a list so the game knows if it was present at the game being started.

United States Online
Reply With Quote
Old 08/03/07, 1:53 PM   #10
funkydude
Piston Honda
 
funkydude's Avatar
 
none
Human Warrior
 
No WoW Account (EU)
I should just make clear that by having all the BigWigs instance folders load, you shouldn't actually loose any performance, since there no steady increasing memory growth since the modules are not active.

The only disadvantage is that you are wasting RAM, say you only raid Karazhan you are loading Black Temple and such you won't raid. Which isn't a problem if you have tons of memory really. I'm not really one to care about file neatness so I aim for saving any kind of system resource.

Author of BadBoy, BigWigs, and more...

Offline
Reply With Quote
Old 08/03/07, 2:09 PM   #11
aleyro
Piston Honda
 
Night Elf Rogue
 
Blackrock
Sorry for the /derail, but i have one quick (slightly related) question...

I've seen reference to mods/settings that let you determine the memory utilization of each mod you have running- I'm trying to find it. Can someone point me in the right direction?

Offline
Reply With Quote
Old 08/03/07, 2:11 PM   #12
Drakhon
Glass Joe
 
Night Elf Rogue
 
Vek'nilash
Originally Posted by bellator View Post
Another quick question. I always update the mods with externals, which means certain libs are contained within countless addon folders. Is this effecting performance at all, and if so, whats the best way to store libs used in multiple mods?
When you have multiple copies of a library in the folders for different addons, the game will load each copy and then Ace will decide which is the newest version and discard the rest. This means it will take longer and more memory during loading, but actual performance while playing will be the same.

The best way to do it is to update without externals but check the Automatic Dependency Download option. This will add any mandatory dependencies an addon has to a list and download them into their own folders. It used to be that you used the StandaloneLibraries, but that contained all of the libraries. Now you only get the ones you need.

Offline
Reply With Quote
Old 08/03/07, 2:20 PM   #13
 Shadowed
Soda Popinski
 
Tauren Druid
 
Mal'Ganis
Originally Posted by Drakhon View Post
When you have multiple copies of a library in the folders for different addons, the game will load each copy and then Ace will decide which is the newest version and discard the rest. This means it will take longer and more memory during loading, but actual performance while playing will be the same.

The best way to do it is to update without externals but check the Automatic Dependency Download option. This will add any mandatory dependencies an addon has to a list and download them into their own folders. It used to be that you used the StandaloneLibraries, but that contained all of the libraries. Now you only get the ones you need.
The game is only going to load it if the toc referances it, just because a LUA/XML exists in a folder doesn't mean it's loaded

United States Online
Reply With Quote
Old 08/03/07, 2:30 PM   #14
Drakhon
Glass Joe
 
Night Elf Rogue
 
Vek'nilash
When you update with externals in WAU, the libraries in the addon directory are referenced in the .toc through embeds.xml.

Edit: The majority of the addons are doing it that way now, at least.

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » User Interface and AddOns

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Addon for afk Astmathic User Interface and AddOns 6 06/27/07 5:10 AM
Which addon is this? Bias User Interface and AddOns 3 04/17/07 1:19 PM