Skip to content

Autoimporting songs

Rodrigo Alfonso edited this page Aug 31, 2020 · 12 revisions

Usually, SSC charts don't include a fixed DIFFICULTY tag with a value of NORMAL, HARD, or CRAZY: they include a numeric level (METER).

=> To detect how they'll be arranged in the CAMPAIGN mode, the importer script tries to guess the most appropriate levels.

Level to Difficulty

  • CRAZY: Anything around 16~12 or >= 17
  • HARD: Anything around 11~7
  • NORMAL: Anything around 6~1

Affinity

Some charts are preferred than others.

Official charts tend to have a simple "s" + the level in its DESCRIPTION property, and others contain keywords like "New", "UCS", "Hidden", "SP", "Quest", "Another". Official charts are preferred because they do less crazy gimmicks and that's a good thing for a campaign mode so, for example, "s14" is better than "s16 Another".

Song order

Songs are sorted for each difficulty by level, in ascending order. When two songs have the same level, a custom complexity index (Ω) is used to determine which one should be first.

Complexity index (Ω)

Each note or hold note start event, adds:

(1 - subdivision) * (isJump ? 2 : 1) * (isHold ? 1.3 : 1)
         ^             ^ if it has two or more arrows
         ^ e.g. 1/4 for quarter notes

Then, the sum is divided by the length of the song in seconds.

Clone this wiki locally