This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
addon_bundle [2017-03-20 12:13] – ↷ Links adapted because of a move operation skyjake | modding:addon_bundle [2017-03-20 20:17] (current) – skyjake | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Add-on bundle ====== | ||
+ | |||
+ | |||
+ | An //addon// bundle is a [[modding: | ||
+ | |||
+ | |||
+ | ===== Anatomy ===== | ||
+ | |||
+ | The high-level structure of an //.addon// is as follows: | ||
+ | | ||
+ | name.addon / | ||
+ | | contents / | ||
+ | | data / | ||
+ | | defs / | ||
+ | | info | ||
+ | | readme.html | ||
+ | |||
+ | |||
+ | The folder name is suffixed with **.addon**. This " | ||
+ | |||
+ | |||
+ | ==== Metadata ==== | ||
+ | |||
+ | A couple of files inside the bundle have a special meaning: | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | {{note|[[snowberry]] presents both plain text and HTML formatted metadata in the Help Panel, when the addon is highlighted in the Addons tab.}} | ||
+ | |||
+ | < | ||
+ | TOC?? Now obsolete? --danij (talk) 01:30, 15 May 2015 (BST) | ||
+ | |||
+ | |||
+ | ==== Definitions ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | ==== Data ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | |||
+ | [[info]] metadata file for //" | ||
+ | | ||
+ | name: Amaze-DOOM Episode One | ||
+ | provides: doom-mod-levelset | ||
+ | | ||
+ | component: game-jdoom | ||
+ | | ||
+ | language english ( | ||
+ | version: 6.01 | ||
+ | summary: Amazing DOOM maps that blow the bloody doors off! | ||
+ | contact: http:// | ||
+ | author: Mod-O-tron-2000 | ||
+ | | ||
+ | copyright: 2015 | ||
+ | license: Do what you will, I don't care | ||
+ | | ||
+ | readme: Prepare for bewildering amazement and unparalleled levels of DOOMy goodness | ||
+ | ) | ||
+ | |||
+ | |||
+ | Place the above Info file and all the files belonging to episode one, in a [[pk3]] with a name of your choosing, for example **episodeone.pk3**: | ||
+ | | ||
+ | episodeone.pk3 / | ||
+ | | info | ||
+ | | lights.ded | ||
+ | | main.ded | ||
+ | | particles.ded | ||
+ | | weapons.ded | ||
+ | | weapons.wad | ||
+ | | ... | ||
+ | |||
+ | |||
+ | That is it. You now have a compatible add-on. | ||
+ | |||
+ | {{note|Mods comprised of multiple sub-components may be packaged into a [[addon_box|Box (Addon)]].}} | ||
+ | |||
+ | |||
+ | ===== See also ===== | ||
+ | |||
+ | * [[Addon format]] | ||
+ | * [[Addon box]] | ||
+ | * [[Info]] | ||
+ | * [[Metadata]] | ||
+ | |||
+ | |||
+ | |||
+ | |||