Page 1 of 1

So how do I pack my island for sharing?

PostPosted: 13 Feb 2018, 04:25
by darkhog
Let's say I've made an island/worldmap/whatever with multiple levels. How do I pack it up for sharing here?

Re: So how do I pack my island for sharing?

PostPosted: 13 Feb 2018, 10:51
by manuel
You can just pack all files without any sub-folders up as a .zip-file.
Make sure that it has a "info"-file inside and that your worldmap is called "worldmap.stwm" (if you have one).

Re: So how do I pack my island for sharing?

PostPosted: 14 Feb 2018, 19:01
by darkhog
OK, thanks! If I make a worldmap through the built-in map editor, it'll have right name from the start, right? And what put inside info file?

Re: So how do I pack my island for sharing?

PostPosted: 15 Feb 2018, 09:53
by manuel
When you used the in-game level editor, everything should be named correctly. For the info file, just create a plain file in a text editor and call it "info" without any ending (e.g. .txt, .docx or something).

Just copy the following text in your info file:

(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. (Don't know why this option is in there, but okay...)

Re: So how do I pack my island for sharing?

PostPosted: 15 Feb 2018, 12:03
by mteufel
Note that this way, what gets created isn't usable as an add-on, but rather as a zip that needs to be manually dumped in a levels directory. Add-ons use a different directory structure.

The built-in level editor takes care of creating the info file as soon as you create a levelset/world there.

manuel {l Wrote}:If you don't want to see your world in-game, change hide-from-contribs to #t. (Don't know why this option is in there, but okay...)


Well, world1 (Icy Island) is hidden from contribs.