Style counter

Started by namida, June 22, 2016, 10:43:18 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

namida

Here's a small app I quickly slapped together to count how many levels in the same folder use each graphic set.

Put it in the "levels" folder of your project, run it, then check the "styles_report.txt" file.

Please be aware it's only compatible with NeoLemmix LVL files. It should work with levels in the older 10KB format, as long as the files are new enough to have proper style names rather than just numbers; but I've only tested it with the normal modern LVL format (the one that's been used since... V1.31n, I think it was?).

Note that as mentioned, it's something I quickly slapped together, so don't expect it to become constantly supported. It'll probably never be touched again by me, except for occasionally using it. I'll probably add the feature to Flexi in the future, but couldn't be bothered right now. :P
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

Wafflem

Thanks for this! My upcoming pack uses a wide variety of graphic sets, so packs using many graphic sets will benefit from this! :thumbsup:

In a future NeoLemmix update, since graphic sets are no longer a thing and mixing terrain is now possible, I still want to use a tool similar to this. Will you make a tool that counts what graphics are used for each level?

For example, if I made three mixed-terrain levels, one level uses a mix of Sky and LPIV Space, another level uses a mix of Sky and Outdoor, the third uses a mix of Sky, Cyber and Outdoor. Using this tool, the total will equal that the Sky graphics are used thrice, Outdoor is used twice, LPIV Space is used once, and Cyber is used once.
YouTube: www.tinyurl.com/YTWafflem
Twitch: www.twitch.tv/Wafflem467

Have level designer's block right now? Have some of my incomplete levels for LOTS of ideas!

namida

We can talk about that closer to the time. :P
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

Just uploaded a small update; it now counts music usage too.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)