Add-ons are packed like this:
[this is a folder]
-this file is in the folder above
<Worldmap ID>.nfo (See below for how this file should look like)
[levels]
-[<worldmapid>]
--levels.stl
--worldmap.stwm
--info-file (See below, just copied it from your other packing question)
[images] (only if you have custom textures)
-[tiles] (for tiles, obviously)
-[creatures] (for sprite files)
-[worldmap] (for worldmap tiles)
-tiles.strf (if you use custom tiles)
Make sure to select youraddon.nfo, [levels] and [images] and zip those three together without creating a folder around them.<Worldmap ID>.nfo
- {l Code}: {l Select All Code}
(supertux-addoninfo
(id "Worldmap-ID")
(version 1)
(type "world")
(title "Your Worldmap Name")
(author "Your Name")
(license "CC-by-sa 4.0")
)
For "Worldmap ID" use only letters, numbers and _ or - , no spaces. You should name it YourName_Worldmap-Name to avoid two identical IDs.
Type should be "world", "worldmap" or "levelset" (if you have no worldmap).
Title: The name of your world, which should be displayed (spaces are allowed)
Author: Your name
License: Keep it as-is to allow sharing and modification of your Worldmap
- {l Code}: {l Select All Code}
(supertux-level-subset
(title (_ "Name that should be displayed"))
(description (_ "A short description"))
(levelset #f)
(hide-from-contribs #f)
)
So for title and description just enter a short text between the "".
If your levels don't have a worldmap, change levelset to #t.
If you don't want to see your world in-game, change hide-from-contribs to #t. So, just leave it as-is.