exch-bms2 / beatoraja

Cross-platform rhythm game based on Java and libGDX.
GNU General Public License v3.0
623 stars 146 forks source link

Adjusted difficulty assignment for bmson files #787

Open ARCHVILE-DRS opened 5 months ago

ARCHVILE-DRS commented 5 months ago

There is a bug in the existing code when it comes to assigning difficulties for bmson files. For instance, if a bmson's title contains the word "Hyper" while the "chart_name" tag (which is parsed as a subtitle) contains "Another", the bmson will be labelled as a Hyper (difficulty 3) chart in-game, and not an Another (difficulty 4). I have adjusted the code to fix that. It will check through only the subtitle/chart_name first, failing which it will go through the existing code loop. I have also added "Leggendaria" as a valid keyword for difficulty 5.

exch-bms2 commented 4 months ago

Please remove .DS_Store from PR files.

ARCHVILE-DRS commented 4 months ago

Hi, just cleaned up those files. Hopefully everything is sorted now.