Logo

[SM5] Any way to check all songs in groups grades?

Register Log In Back To Forums

Post #1 · Posted at 2019-04-05 05:59:45am 10.7 months ago

Offline leadbman
leadbman Avatar Member
257 Posts
Australia
Reg. 2016-02-01
Log in to send this user a private message
"Working On: 5thMix BGA bgchanges"
Hi all,

Just wondering if it's possible to somehow check all songs within a group folders grades? I'm seeing if anyone would have any thoughts about ways we could check for this because then we could create Cleared Lamps. Would be an awesome feature to be able to implement if it's possible.

My thoughts on it so far:
Put all songs in the group within an array (or just use the functions within SM to get songs in the group) and test for the grade per song. If the grade is an applicable grade, then set a global variable to 1 and loop the test till the variable no longer equals 1, if the loop completes and the variable is still set to 1 then show the Clear Lamp for that grade.

Anyone able to put what I'm thinking into some SM code? I can do tables in SM5 but I'm not sure if that would work for what I'm looking at doing.

Sorry for all these pie in the sky ideas I have, but from what I've asked in the past, I've actually been able to implement/add most of the ideas I've had here with the help of people on this forum.
https://zenius-i-vanisher.com/ddrsig/18213.png?t=1510895050
Really need to add my scores to the tracker soon.
Always learning, always trying to push the boundaries of SM.

Post #2 · Posted at 2019-10-21 08:04:19pm 4.1 months ago

Offline piratepoog
piratepoog Avatar Member
4 Posts
Not Set
Reg. 2019-10-17
Log in to send this user a private message
hey sorry to revive an old post but did you get this figured out? if not i can try to help out. one thing though is that grades are per steps, not song. so when you're looping through your group would you want it where all steps need a certain grade? or just one difficulty?

Post #3 · Posted at 2019-10-24 01:41:46pm 4 months ago

Offline leadbman
leadbman Avatar Member
257 Posts
Australia
Reg. 2016-02-01
Log in to send this user a private message
"Working On: 5thMix BGA bgchanges"
I've got it working with one group using env variables grabbing the song title/difficulty/cleared type. But I want to make it more streamline and portable by just checking all songs within a given folder rather than having to setup envs etc as it's a pain having to manually setup arrays for song titles etc where I could probably just grab the list of songs from a given folder and loop it that way. But this isn't really a big deal for me as this feature is only something I'd probably care about lol so I haven't spent much more time on it other than getting it working in a limited fashion.

The real problem comes from trying to get the arrays for both the standard folder groupings (like title, level, bpm, etc sorts), group folder sorts (as in the folder structure of the Songs folder sort, as well as Preferred sort, where the user can make their own folders within those files).

So I've sort of given up on the idea or at least shelved it until I can work out a simple method to get automatic arrays for each folder in the current sort to get all songs in each folder so each folder has its own "cleared lamp". I'd also like to implement a simpler method to work out if each song has a full combo award. Currently, I've been basing my "cleared lamp" code from KenP's themes, which works, but it would be nice to be able to include that code in the loop, rather than creating env variables to grab the full combo award. That way it could be self contained within the MusicWheelItem SectionCollapsed/Expanded code. Oh that's the other tricky thing, SM5's code sometimes won't trigger events on certain items, for example, CurrentTrail doesn't work with the MusicWheelItem Section - at least not from what I've seen, so it only triggers on current song changed. So if you change difficulty, you have to move to a new song to see the folder lamp change.

It's not as simple as it seems, I have it working as I said, but it's still rough and very manual.

Any ideas would be great though.
https://zenius-i-vanisher.com/ddrsig/18213.png?t=1510895050
Really need to add my scores to the tracker soon.
Always learning, always trying to push the boundaries of SM.
Register Log In Back To Forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2020 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 21% · Database: 4% · Server Time: 2020-02-22 10:02:28
This page took 0.002 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language