Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » JCS & Scripting

Is there a method to sorting level files by tile set or music?

KRSplat KRSplat's Avatar

JCF Member

Joined: Mar 2001

Posts: 4,942

KRSplat is a forum legendKRSplat is a forum legend

Jan 10, 2012, 04:40 AM
KRSplat is offline
Reply With Quote
Question 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?
__________________
Stijn Stijn's Avatar

Administrator

Joined: Mar 2001

Posts: 6,964

Stijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to behold

Jan 10, 2012, 04:49 AM
Stijn is offline
Reply With Quote
In-game? On J2O? In JCS' "Open" dialog window?
Jgke Jgke's Avatar

JCF Member

Joined: Sep 2006

Posts: 974

Jgke is an asset to this forumJgke is an asset to this forum

Jan 10, 2012, 05:13 AM
Jgke is offline
Reply With Quote
Currently, I don't know one. Study the .j2l file format. More specifically, the data1.
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,983

Violet CLM has disabled reputation

Jan 10, 2012, 09:18 AM
Violet CLM is offline
Reply With Quote
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

JCF Member

Joined: Sep 2002

Posts: 409

Neobeo is an asset to this forumNeobeo is an asset to this forum

Jan 10, 2012, 10:37 AM
Neobeo is offline
Reply With Quote
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.
__________________
<TABLE border=1><TR><TD>Facts:
Jazz Sprite Dynamite (JSD)
Tileset Extractor
Neobeo's Firetruck

</TD><TD>Myths:
Jazz Creation Station Plus (JCS+) - 10%
Coming soon - a dedicated server! - 25%
Jazz Sprite Dynamite v2 (JSDv2) - 2%
Another generic single-player level - 0%
</TD></TR></TABLE>
KRSplat KRSplat's Avatar

JCF Member

Joined: Mar 2001

Posts: 4,942

KRSplat is a forum legendKRSplat is a forum legend

Jan 10, 2012, 08:59 PM
KRSplat is offline
Reply With Quote
Quote:
Originally Posted by Stijn View Post
In-game? On J2O? In JCS' "Open" dialog window?
*at all

Quote:
Originally Posted by Neobeo View Post
HCL
- ?
__________________
Jgke Jgke's Avatar

JCF Member

Joined: Sep 2006

Posts: 974

Jgke is an asset to this forumJgke is an asset to this forum

Jan 10, 2012, 09:24 PM
Jgke is offline
Reply With Quote
HCL = Home Cooked Levels
KRSplat KRSplat's Avatar

JCF Member

Joined: Mar 2001

Posts: 4,942

KRSplat is a forum legendKRSplat is a forum legend

Jan 11, 2012, 08:58 AM
KRSplat is offline
Reply With Quote
Thanks
__________________
Grytolle Grytolle's Avatar

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 11, 2012, 02:24 PM
Grytolle is offline
Reply With Quote
Quote:
Originally Posted by Violet CLM View Post
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
__________________
<center></center>
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 05:33 PM.