So how do I pack my island for sharing?

So how do I pack my island for sharing?

Postby darkhog » 13 Feb 2018, 04:25

Let's say I've made an island/worldmap/whatever with multiple levels. How do I pack it up for sharing here?
User avatar
darkhog
 
Posts: 35
Joined: 10 Feb 2018, 06:44

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

Postby manuel » 13 Feb 2018, 10:51

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).
manuel
 
Posts: 190
Joined: 19 Sep 2017, 09:03

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

Postby darkhog » 14 Feb 2018, 19:01

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?
User avatar
darkhog
 
Posts: 35
Joined: 10 Feb 2018, 06:44

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

Postby manuel » 15 Feb 2018, 09:53

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...)
manuel
 
Posts: 190
Joined: 19 Sep 2017, 09:03

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

Postby mteufel » 15 Feb 2018, 12:03

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.
SuperTux developer
mteufel
 
Posts: 139
Joined: 03 Jan 2016, 09:27

Who is online

Users browsing this forum: No registered users and 1 guest