Thread Tools Display Modes
09-04-15, 11:29 PM   #1
EvilMaddness
An Aku'mai Servant
 
EvilMaddness's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2015
Posts: 33
When uploading a addon what about the files under the folders?

Hi I wanted to share a UI Addon on here except I'm not to sure about one thing. I went ahead and made a new zip folder and folders for the Interface and WTF took out all the other addons not needed...But what about the files under the folders themselfs? Exsample under account is a config.wtf file

bindings-cache.wtf WTF File
cache.md5 MD5 File
config-cache.old OLD File
config-cache.wtf WTF File
macros-cache.old OLD File
macros-cache Text Document

these files are right below where I renamed Your Server. DO I want to delete these also?

Then the renamed Character file then SavedVariables
file under that I have

Addons Text Document
cache.md5 MD5 File
Chat-Cache Text Document
config-cache.old OLD File
config-cache.wft WTF File
layout-local Text Document
(for tga pics)

marcos-cache Text Document
(I deleted the contents inside cause they are my old macros they do not need to use)

Anyways I just wanted to make sure if I need to keep these files or if I can go ahead and delete them before I upload the addon.

If I could get a step by step way to do this that would be helpful or even a video at best how to upload a addon to wowinterface.
__________________
The Maddness Within lua
  Reply With Quote
09-05-15, 05:00 AM   #2
Vis
A Pyroguard Emberseer
 
Vis's Avatar
Join Date: Mar 2009
Posts: 1,827
Take a look at this link, should answer everything you may think of asking.

Guide: Packaging up your UI to share with others
  Reply With Quote
09-05-15, 11:21 AM   #3
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
Usually, you only need the ...\Interface\Addons\<your addon folder> in the .zip file. If properly packaged, opening the .zip file should contain just <your addon folder> as the top level entry.

...\WTF\... files (i.e. saved variables, referenced in your .toc) will be created by World of Warcraft and should be populated by your addon. It is a good practice to delete these files and verify that your addon will properly populate them before releasing your addon.
  Reply With Quote
09-07-15, 12:58 AM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
If you're uploading an addon, your ZIP file should only contain the individual addon's folder. For example, if you're uploading an addon named NyanCat, that's normally located here:

C:\Games\World of Warcraft\Interface\AddOns\NyanCat

... then your ZIP file should only contain the "NyanCat" folder, not the whole Interface\AddOns tree. Just right-click on the NyanCat addon folder and select "Add to ZIP" (or the equivalent depending on your OS and ZIP program).

If your addon's ZIP file contains extra layers of folders, it will be rejected on upload, since it won't work with automatic addon updaters like Minion or the Curse Client, and can be confusing to users who download it by hand.

The only time you would include the Interface and WTF folders is if you were packaging your whole UI to share as a compilation. In that case, refer to the guide Vis linked.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » When uploading a addon what about the files under the folders?

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