JazzJackrabbit Community Forums

JazzJackrabbit Community Forums (http://www.jazz2online.com/jcf/index.php)
-   JCS & Scripting (http://www.jazz2online.com/jcf/forumdisplay.php?f=5)
-   -   Is there a method to sorting level files by tile set or music? (http://www.jazz2online.com/jcf/showthread.php?t=19315)

KRSplat Jan 10, 2012 05:40 AM

Is there a method to sorting level files by tile set or music?
 
And if there's not, how should I try to make one?:confused:

Stijn Jan 10, 2012 05:49 AM

In-game? On J2O? In JCS' "Open" dialog window?

Jgke Jan 10, 2012 06:13 AM

Currently, I don't know one. Study the .j2l file format. More specifically, the data1.

Violet CLM Jan 10, 2012 10:18 AM

It might be kind of slow... there's a reason .j2l files store the level name in the header, and that's so Home Cooked Levels doesn't have to decompress the first data stream of every level in order to list its name. Tileset filenames are not however stored in the header.

Neobeo Jan 10, 2012 11:37 AM

Sounds like a fun hack to try and get the HCL to sort the levels by tileset, but it really depends what kind of implementation you want. It shouldn't be too difficult to create a program (in just about any language) to simply sort all levels as you want.

KRSplat Jan 10, 2012 09:59 PM

Quote:

Originally Posted by Stijn (Post 473644)
In-game? On J2O? In JCS' "Open" dialog window?

*at all

Quote:

Originally Posted by Neobeo (Post 473650)
HCL

- ?

Jgke Jan 10, 2012 10:24 PM

HCL = Home Cooked Levels

KRSplat Jan 11, 2012 09:58 AM

Thanks

Grytolle Jan 11, 2012 03:24 PM

Quote:

Originally Posted by Violet CLM (Post 473647)
It might be kind of slow... there's a reason .j2l files store the level name in the header, and that's so Home Cooked Levels doesn't have to decompress the first data stream of every level in order to list its name. Tileset filenames are not however stored in the header.

Not that horribly. I did it with a php script for some stuff on Steel Duels, definitely ran in under a second


All times are GMT -8. The time now is 10:51 AM.

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online