escape # in first keysound entry, fixed ADPCM reader and make PMS load more correctly.
- [NoteField] fix build warnings, and change the maximum number of displayed notes after the receptor to 64. - [Player] fix build warnings. - [NotesLoaderSSC, NotesWriterSSC] The MSD file reader seems to treat # that comes directly after : as new tag, and as many PMS and BMS files has keysounds which filename starts with #, so it looks like this: #KEYSOUNDS:#bgm.wav,01.wav,02.wav,.. The MSD parser will see it as 2 different tags. So I added a backslash in front of the # sign if it's at the start when saving and remove it when loading. - [RageSoundReader_WAV] ADPCM now works very well and doesn't return error when end of file is reached anymore. - [Steps] Use BMS loader when loading the note data.
This commit is contained in:
+1
-5
@@ -130,14 +130,10 @@ bool Steps::GetNoteDataFromSimfile()
|
||||
{
|
||||
return KSFLoader::LoadNoteDataFromSimfile(stepFile, *this);
|
||||
}
|
||||
else if (extension == "bms" || extension == "bml" || extension == "bme")
|
||||
else if (extension == "bms" || extension == "bml" || extension == "bme" || extension == "pms")
|
||||
{
|
||||
return BMSLoader::LoadNoteDataFromSimfile(stepFile, *this);
|
||||
}
|
||||
else if (extension == "pms")
|
||||
{
|
||||
return PMSLoader::LoadNoteDataFromSimfile(stepFile, *this);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user