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

View File

@ -80,12 +80,13 @@ VGMSTREAM* init_vgmstream_encrypted(STREAMFILE* sf) {
return vgmstream; 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]; uint8_t keybuf[0x100];
size_t key_size; size_t key_size;
off_t start; off_t start;
/* Studio Ring games [Nanami to Konomi no Oshiete ABC (PC), Oyatsu no Jikan (PC)] */
if (id != get_id32be("RIFF")) if (id != get_id32be("RIFF"))
goto fail; goto fail;