Post #1 · Posted at 2020-02-01 10:20:57pm 4.2 years ago
PenTA_ | |
---|---|
Member | |
243 Posts | |
Reg. 2016-12-23 | |
I'm curious to see if you can add another sort in SM, specifically one that mimics the AC. For example, rather than sorting every 17, it instead sorts all 17s from every folder (On SP and DP). If possible, how would I go about doing this?
Post #2 · Posted at 2020-02-01 11:24:19pm 4.2 years ago
ZTS | |
---|---|
Member | |
139 Posts | |
Not Set | |
Reg. 2015-01-13 | |
"But enough talk! Have at you!" |
Last updated: 2020-02-02 12:37am
If you want to create your own lua music wheel or use someone else's, yes. A custom lua wheel wouldn't have any limitations, and Jousway has written a couple. (I also made a half broken A20 proof of concept wheel, but someone else should finish it.)
Otherwise read the long technical explanation about why it can't be done with the built in wheel:
Impossible without editing the source code because the music wheel works by creating an array of all the songs and then creating the folders after sorting them. So it's only possible to have one instance of the song in the pool.
And before someone suggests preferred sort, no, you can't do that either. I'm just going to quote myself for the explanation:
What if you make a preferred sort file for every single folder? Then yes you could do that... It's slow and you'd have to make as many files for as many folders you have + you'd have to be using a custom groupwheel at some point to open those folders or relying on metrics/lua abuse to display custom musicwheel objects in the built in wheel (don't think it's actually possible to adjust how many custom musicwheel objects show up without reloading the wheel)
My StepMania fork "SM-RIO" has an all levels all difficulties sort built into the source code if you want to use it. It automatically sets the correct difficulty when scrolling through songs. It works by creating a vector map of groups and shoving the songs in the correct group.
At 1:11:
Otherwise read the long technical explanation about why it can't be done with the built in wheel:
Impossible without editing the source code because the music wheel works by creating an array of all the songs and then creating the folders after sorting them. So it's only possible to have one instance of the song in the pool.
And before someone suggests preferred sort, no, you can't do that either. I'm just going to quote myself for the explanation:
Quote
It is not possible in preferred sort currently. The preferred sort works by creating an dictionary with songs then assembling the folders by looking up which song belongs in which folder.
Therefore songs will get duplicated in the folder where they first occur.
You can change this in the source code by creating the array of folders and songs for the music wheel on the fly using the already made dict. But then when you return from gameplay it will return you to the first folder where the song occurs, since the folder is not saved in memory, it looks up what folder the song belongs to
Therefore songs will get duplicated in the folder where they first occur.
You can change this in the source code by creating the array of folders and songs for the music wheel on the fly using the already made dict. But then when you return from gameplay it will return you to the first folder where the song occurs, since the folder is not saved in memory, it looks up what folder the song belongs to
What if you make a preferred sort file for every single folder? Then yes you could do that... It's slow and you'd have to make as many files for as many folders you have + you'd have to be using a custom groupwheel at some point to open those folders or relying on metrics/lua abuse to display custom musicwheel objects in the built in wheel (don't think it's actually possible to adjust how many custom musicwheel objects show up without reloading the wheel)
My StepMania fork "SM-RIO" has an all levels all difficulties sort built into the source code if you want to use it. It automatically sets the correct difficulty when scrolling through songs. It works by creating a vector map of groups and shoving the songs in the correct group.
At 1:11: