Closed wcko87 closed 6 years ago
This PMS chart lacks BPM definition in the section 000-007. Maybe some BMS players also crash when parsing it.,so that I think beatoraja needs to reject such a illegal chart. What do you think?
Yes I think beatoraja should ignore invalid charts like this, or display an error message that the chart is invalid and cannot be played. Crashing suddenly is confusing to the user.
The same exception also occurs when the song pack is added in the config menu.
It seems like according to the (very old) bms spec, default bpm is 130 if not specified. http://bm98.yaneu.com/bm98/bmsformat.html
I think LR2 uses the first bpm change if no bpm is specified.
fixed on 0.6.1. (ingores start bpm = 0 chart)
If a bms has no
#BPM
field, scrolling over the song in music select will crash beatoraja.This crash happens with a PMS chart in GENOSIDE 2018 (DataErr0r, 9KEY Hyper) dataerr0r_9h_pms.zip
If you add
#BPM 180
to the file, beatoraja will not crash.Crash video: VIDEO