Nifflas' Support Forum

Level Editing Support => Knytt Stories Level Editing Support => Topic started by: AClockworkLemon on August 24, 2009, 05:01:05

Title: Level packs...
Post by: AClockworkLemon on August 24, 2009, 05:01:05
I cant help but notice that both the KS official expansion and the 3rd party expansion are in level packs. Can someone tell me how to make these?... please?....  C)p
Title: Re: Level packs...
Post by: Purple Pineapple on August 24, 2009, 06:57:53
As far as I can tell, you'd need some programming experience. Enough to create a level pack installer. There's no special program to the extent of my knowledge that creates them.
Title: Re: Level packs...
Post by: Razzorman on August 24, 2009, 08:13:59
Ah, yes. The level pack stuff.
You can't make your own level packs, because, well, I don't know really. We had a forum about this a while ago, but it had some crazy rules about approval and relevance, so nobody actually bothered to make one.
Then I submitted my list of levels (for the pack in my sig) and LPChip killed the forum because it only had my own levels. :^^:

I guess I kind of understand that people want good packs with high quality levels, but the rules we had were just ridiculous.
If I remember correctly, your pack could not contain levels by one author only, needed to have 4 or more levels, all the levels needed to have the same or similar themes, needed to be popular (!?), and needed to be approved by a level pack approval comity.
Title: Re: Level packs...
Post by: AClockworkLemon on August 24, 2009, 12:29:02
hmm...
I reckon you should be able to make like a trilogy or something, and turn it nto a levelpack so peope don't have to download three separate levels etc...
Title: Re: Level packs...
Post by: LPChip on August 24, 2009, 17:06:10
The thing was, that everyone wanted to make a level pack for their levels only. Some were like: okay, I'll make a level pack, put all my levels in, pick a few random levels from others and its valid.

With requests like these, we were forced to make strict rules.

The idea was to present direct downloads on the main site of pre-selected high quality levels.

I don't have a problem in offering somekind of zip-file that have your levels if you release them on the forum only though...
Title: Re: Level packs...
Post by: minmay on August 24, 2009, 20:06:58
Everything posted in the Level Editing subforum gets horribly misinterpreted.  I hate that.

Anyway, what he wants to do is make a level installer, like that for the A Strange Dream official level pack.

All you really need to do is make a program that will extract the level folders (not the .bins, the folders) from itself to the Knytt Stories/Worlds directory.  It isn't really difficult.  It's also not that useful, though.  It would probably take up more space than the .bins would, and it would probably take more time to extract the folders than KS would to decompress the .bins.
It is, on the whole, largely impractical to do.
Title: Re: Level packs...
Post by: Purple Pineapple on August 24, 2009, 20:31:18
But it looks way cooler.

Yeah, not really.
Title: Re: Level packs...
Post by: AClockworkLemon on August 25, 2009, 08:51:51
I just ment something like a way of downloading a "level pack" of the forums (not the main site) which was a .bin, which you could drag directly into KS and it would automatically uncompress all of them.

I don't think it would be that hard, as KS jusd de-compresses any .bin file and chucks it in it's world folder, so you'd just have to find out how to compress multiple levels into one .bin
Title: Re: Level packs...
Post by: AA on August 25, 2009, 09:36:37
^ It's indeed quite trivial if you modify an existing program (like the third party decompressor or my editor), you just need to agree on a common format, which could simply be a new separator string for different levels (or actually none at all, since the 'NF' file separator string would be enough, you'd just need to concatenate multiple .knytt.bins).
Title: Re: Level packs...
Post by: LPChip on August 25, 2009, 09:49:51
Its impossible to use .knytt.bin files to store more than one level. The architecture of the fileformat is just not set to do that. So both the level editor AND the game needs to be edited to make support for this.

Making a custom installer really is the best way to make one.
Title: Re: Level packs...
Post by: AClockworkLemon on August 25, 2009, 09:57:09
oh.. dammit!
I hought KS would extract any .bin, no matter the content...
I guess the best way to do it is just use a .zip with all the levels in it (I would make an extractor program that extracts all files to a certain directory [the worlds folder], but I can't program to save my life!)
Title: Re: Level packs...
Post by: Purple Pineapple on August 25, 2009, 17:31:01
So both the level editor AND the game needs to be edited to make support for this.
:shifty:
Title: Re: Level packs...
Post by: Razzorman on August 25, 2009, 19:23:10
I guess the best way to do it is just use a .zip with all the levels in it (I would make an extractor program that extracts all files to a certain directory [the worlds folder], but I can't program to save my life!)
Why can't you just set the directory for the zip file to KS manually? It would be a LOT easier than to create a program to do it for you, and it wouldn't be much slower.
Title: Re: Level packs...
Post by: LimeLemon on August 25, 2009, 22:12:33
What's so hard with dragging a bunch of .bin files?
Title: Re: Level packs...
Post by: Pick Yer Poison on August 25, 2009, 23:18:54
Actually, putting them in a .zip archive and extracting them to the "Worlds" folder is quicker than letting KS just extract the .bin...at least, I think.
Title: Re: Level packs...
Post by: Purple Pineapple on August 26, 2009, 04:06:58
But how are the download times in comparison?
Title: Re: Level packs...
Post by: Pick Yer Poison on August 26, 2009, 04:38:38
In my experience, a 20+ MB file with KS will take 6+ minutes, but with WinRAR it takes maybe 1-2 minutes tops to extract it to your Worlds folder.
Title: Re: Level packs...
Post by: AClockworkLemon on August 26, 2009, 04:59:50
When I was talking about "a program" I meant a program that compressed into a different format eg .levelpack.bin, which can be quickly extracted by the same program into the worlds directory.

Or maybe someone could modify KSLE and KS so they incorperate the prgram (as in KSLE has a "compress level pack" option and KS can extract the Level packs made)...BloxMaster... :shifty: ... purple pinapple...  :shifty:
Title: Re: Level packs...
Post by: Purple Pineapple on August 26, 2009, 05:22:20
... purple pinapple...  :shifty:
Yeah.. I've been trying. :/ Still got a bit to learn about the binary array object, though.
Title: Re: Level packs...
Post by: AA on August 26, 2009, 11:14:07
I'd help, but I don't have MMF.

I still don't think it's that useful though; and what about Knyttlevels? You won't be able to put level packs on it without some modifications.
Title: Re: Level packs...
Post by: AClockworkLemon on August 27, 2009, 08:46:55
well, knyttlevels IS being remade........
and anyway, haven't you EVER heard of MediaFire???
Title: Re: Level packs...
Post by: Razzorman on August 27, 2009, 09:02:13
well, knyttlevels IS being remade........
and anyway, haven't you EVER heard of MediaFire???
The problem is that we will have nowhere to put our level packs when knyttlevels is updated. It doesn't matter that there are other file hosts if we can't release what we upload to them.
Title: Re: Level packs...
Post by: AA on August 27, 2009, 09:31:15
well, knyttlevels IS being remade........
and anyway, haven't you EVER heard of MediaFire???

But no file hosting service can display your awesome KS level icon.  C)

By the way, it's taking quite long to remake Knyttlevels already: how dare you ask for a new feature?!  :crazy: It might be simple to add support for level packs, but then, maybe it isn't.
Title: Re: Level packs...
Post by: AClockworkLemon on August 27, 2009, 13:01:50
*falcepalm* LOL i forgot that the forum is only temporary...  :crazy:

hmmm.... well if we get it working, we COULD at least ask if they could incorperate it... either that or ask them if they would allow things to be linked to a file hosting site... dunno...