mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-24 15:00:11 +01:00
Merge pull request #982 from grj1234/encrypted-mse-koe
Add encrypted .mse and .koe
This commit is contained in:
commit
a4852d9656
@ -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",
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user