Removed protection from "Addons": tidy
m (Removed protection from "Addons": tidy)
|(3 intermediate revisions by one other user not shown)|
[[File:Making_an_addon.jpg|thumb|An example of optimal settings for a Glest addon. The non-solid trait is the only one that cannot be changed.]]
The addons format is a method of formatting the folders in a distributed mod to ensure it is easiest to install ([[GAE]] users can simply copy the archive to their addons folder, while [[Glest]] and [[MegaGlest]] users need to only extract the archive into the installation directory and their personal MegaGlest folder, respectively). It is done by having all folders relative to the <tt>share/glestae</tt> folder (in GAE) or the installation directory (in Glest/MegaGlest). The name of the archive can be any unique name (preferably including version numbers and the name of the mod) while the folder structure must always be constant. Think of it as having the archive ''merged'' with the installation directory (or <tt>share/glestae</tt> directory in GAE).
In GAE, the archive (as a 7z or zip file) needs to merely be copied to the addons folder.
!Location of the addons folder
In MegaGlest, the archive should be directly extracted (uncompressed) to their personal MegaGlest folder.
!Location of the MegaGlest folder
In Glest, there is no user specific installation, so installing a mod installs it for all users. The archive should be directly extracted to the installation folder.
!Default installation folder