Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

Useless JJ2 stats

Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,861

Violet CLM has disabled reputation

Sep 17, 2021, 04:47 PM
Violet CLM is offline
Reply With Quote
Useless JJ2 stats

From time to time I run a python loop through all the JJ2 levels or tilesets or something, to uncover some bit of useless information that people might still find interesting. Here's a repository of those. Let me know if you have any specific data-driven questions that could be answered this way.

The official JJ2 changelog for version 1.20a mentions "New level masks implemented. Reduces the risk of players getting stuck in the scenery." Here's a full list of every tile mask that was changed between 1.20 and 1.24x (left is original, right is patched):

__________________
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,861

Violet CLM has disabled reputation

Sep 17, 2021, 04:52 PM
Violet CLM is offline
Reply With Quote
Here's how many official levels each food pickup appears in:
Code:
Eggplant: 0
Cherry: 1
Thing: 1
Lettuce: 1
Cucumb: 1
Taco: 1
Cupcake: 2
Weenie: 2
Ham: 2
Banana: 3
Strawberry: 3
Soft Drink: 3
Icecream: 3
Fries: 3
Pretzel: 4
Grapes: 4
Milk: 4
Pie: 4
Pear: 5
Donut: 5
Lime: 6
Watermelon: 6
Soda Pop: 6
Chips: 6
Burger: 6
Pizza: 6
Chicken Leg: 6
Sandwich: 6
Cheese: 6
Candy: 7
Chocbar: 7
Apple: 8
Cake: 9
Orange: 10
Peach: 10
Lemon: 15
Eggplant does appear in CC99, though, in the user level XB-Kings-ea.j2l.

To compare, Here's how many levels uploaded to J2O prior to September 2017 each food pickup appears in:
Quote:
Pretzel: 185
Taco: 196
Weenie: 211
Thing: 212
Pie: 219
Sandwich: 223
Lettuce: 234
Strawberry: 252
Soft Drink: 259
Cucumb: 277
Pear: 288
Eggplant: 289
Fries: 292
Milk: 295
Cupcake: 298
Soda Pop: 300
Watermelon: 301
Ham: 313
Lime: 318
Icecream: 332
Grapes: 353
Pizza: 362
Peach: 364
Orange: 403
Chips: 418
Chocbar: 426
Donut: 430
Banana: 444
Cake: 449
Candy: 474
Lemon: 483
Burger: 515
Cherry: 564
Cheese: 625
Chicken Leg: 695
Apple: 759
__________________
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,861

Violet CLM has disabled reputation

Sep 17, 2021, 05:02 PM
Violet CLM is offline
Reply With Quote
Rough ratios of custom tilesets to official tilesets according to my 1.23 cache (2009 and earlier), J2O (2010 to 2017), and TSF cache (2018 and beyond):
Quote:
2001: 1.2545454545454546
2002: 2.1343283582089554
2003: 1.9014084507042253
2004: 1.320754716981132
2005: 2.4563758389261743
2006: 2.011904761904762
2007: 1.8
2008: 1.2894736842105263
2009: 2.6296296296296298
2010: 2.155844155844156
2011: 2.8461538461538463
2012: 1.901639344262295
2013: 1.8306451612903225
2014: 2.830188679245283
2015: 2.2108843537414966
2016: 1.48
2017: 1.513157894736842
2018: 2.122448979591837
2019: 2.8181818181818183
2020: 2.725806451612903
2021: 2.0
__________________
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,861

Violet CLM has disabled reputation

Sep 17, 2021, 05:04 PM
Violet CLM is offline
Reply With Quote
Number of channels in official music files:
Quote:
Beach.j2b: 16
Bonus2.j2b: 9
Bonus3.j2b: 15
Boss1.j2b: 11
Boss2.j2b: 13
Carrotus.j2b: 12
Castle.j2b: 16
Colony.j2b: 16
Dang.j2b: 16
Diamond.j2b: 9
Ending.j2b: 16
Fastrack.j2b: 16
Freeze.j2b: 16
Funkyg.j2b: 9
Hell.j2b: 10
Intro.j2b: 16
Jungle.j2b: 10
Labrat.j2b: 13
Medivo.j2b: 16
Medivo2.j2b: 16
Menu.j2b: 10
Order.j2b: 11
Tubelec.j2b: 12
Water.j2b: 16
Whare.j2b: 16
__________________
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,861

Violet CLM has disabled reputation

Nov 30, 2021, 06:50 PM
Violet CLM is offline
Reply With Quote
For every official tileset, images of all the tiles that are not used in any official levels.

I'm pretending that every palette of a tileset has the same tile layout, which is not quite true. (For example, the Castle1 foreground pillar tiles aren't shown here because Castle1n uses those tiles as a green curtain, which is used in the level.) Easter is counted as a Carrotus palette. Multiplayer levels are included. A tile appearing as a frame in an animated tile counts as it being used even if the animated tile itself is never used, so that's why you see the (unanimated) bottoms of bonus signposts but not the (animated) tops. If the same tile image appears multiple times in a tileset, all but (potentially) the first appearance are hidden.
__________________
Olsen Olsen's Avatar

JCF Member

Joined: May 2004

Posts: 1,370

Olsen is doing well so far

Dec 15, 2021, 01:12 PM
Olsen is offline
Reply With Quote
Poor eggplant
__________________
some kind of nature
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,861

Violet CLM has disabled reputation

Jan 1, 2022, 09:25 AM
Violet CLM is offline
Reply With Quote

How many tilesets there are with sizes in each range of hundred tiles. We can see the most common size for a tileset is between 900 and 999 tiles, and it's hugely uncommon to have more than 1099 tiles, which is understandable because the maximum size for a 1.23-compatible tileset is 1020 tiles. Alternate palettes are counted separately, because they are separate .j2t files: for example there are fully seventeen different Improved Medivo palettes, all of which are 960 tiles.

September 2017 is an arbitrary cutoff date in that it's when I got stijn's J2O dump, but it's also pretty convenient in that MLLE's "Save Tileset Images" tool was added just a few months later, and that would confuse the higher number data.
__________________
cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,808

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Jan 2, 2022, 03:20 PM
cooba is offline
Reply With Quote
Quote:
Originally Posted by Violet CLM View Post
Alternate palettes are counted separately, because they are separate .j2t files: for example there are fully seventeen different Improved Medivo palettes, all of which are 960 tiles.
Well, that dilutes the data set given its original purpose. Alternate palettes should probably be discarded wholesale.
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,861

Violet CLM has disabled reputation

Jan 3, 2022, 12:14 PM
Violet CLM is offline
Reply With Quote
The trouble is, I don't want to manually scour hundreds of tilesets looking for the ones that are probably alternate palettes
__________________
cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,808

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Jan 3, 2022, 02:57 PM
cooba is offline
Reply With Quote
Are you able to check for whether or not the mask images are identical?
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,861

Violet CLM has disabled reputation

Jan 4, 2022, 10:55 AM
Violet CLM is offline
Reply With Quote
Oh that's a good thought. I'll try this again later.
__________________
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 10:37 PM.