Add .mse and .koe extension

This commit is contained in:
grj1234 2021-10-16 23:01:10 +09:00
parent 6a35dcb342
commit fdf24cbaa4
2 changed files with 5 additions and 2 deletions

View File

@ -256,6 +256,7 @@ static const char* extension_list[] = {
"kovs", //fake extension/header id for .kvs
"kno",
"kns",
"koe",
"kraw",
"ktac",
"ktsl2asbin",
@ -335,6 +336,7 @@ static const char* extension_list[] = {
"msa",
"msb",
"msd",
"mse",
"msf",
"mss",
"msv",

View File

@ -80,12 +80,13 @@ VGMSTREAM* init_vgmstream_encrypted(STREAMFILE* sf) {
return vgmstream;
}
if (check_extensions(sf,"bgm")) {
if (check_extensions(sf,"bgm,mse,koe")) {
/* Studio Ring games [Nanami to Konomi no Oshiete ABC (PC), Oyatsu no Jikan (PC)]
* .bgm: BGM, .mse: SE, .koe: Voice */
uint8_t keybuf[0x100];
size_t key_size;
off_t start;
/* Studio Ring games [Nanami to Konomi no Oshiete ABC (PC), Oyatsu no Jikan (PC)] */
if (id != get_id32be("RIFF"))
goto fail;