mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
Add some HCA keys
This commit is contained in:
parent
2ad3d432f1
commit
66a3e7ed88
@ -155,7 +155,6 @@ static void find_hca_key(hca_codec_data * hca_data, clHCA * hca, uint8_t * buffe
|
||||
f++;
|
||||
}
|
||||
|
||||
//;VGM_LOG("HCA: key %08x%08x clip_count=%i\n", ciphKey2,ciphKey1, clip_count);
|
||||
if (min_clip_count < 0 || clip_count < min_clip_count) {
|
||||
min_clip_count = clip_count;
|
||||
best_key2 = key2;
|
||||
@ -176,7 +175,7 @@ static void find_hca_key(hca_codec_data * hca_data, clHCA * hca, uint8_t * buffe
|
||||
read_streamfile(buffer, hca_data->start, header_size, hca_data->streamfile);
|
||||
|
||||
end:
|
||||
VGM_LOG("HCA: best key=%08x%08x (clips=%i)\n", best_key2,best_key1, min_clip_count);
|
||||
VGM_ASSERT(min_clip_count > 0, "HCA: best key=%08x%08x (clips=%i)\n", best_key2,best_key1, min_clip_count);
|
||||
*out_key2 = best_key2;
|
||||
*out_key1 = best_key1;
|
||||
free(testbuf);//free(temp);
|
||||
|
@ -12,7 +12,7 @@ typedef struct {
|
||||
*/
|
||||
static const hcakey_info hcakey_list[] = {
|
||||
|
||||
// HCA Decoder default
|
||||
// CRI HCA decoder default
|
||||
{9621963164387704}, // CF222F1FE0748978
|
||||
|
||||
// Phantasy Star Online 2 (multi?)
|
||||
@ -28,7 +28,13 @@ static const hcakey_info hcakey_list[] = {
|
||||
// Ro-Kyu-Bu! Himitsu no Otoshimono (PSP)
|
||||
{2012082716}, // 0000000077EDF21C
|
||||
|
||||
// Ro-Kyu-Bu! Naisho no Shutter Chance (PSV)
|
||||
// VRIDGE Inc. games:
|
||||
// - HatsuKare * Renai Debut Sengen! (PSP)
|
||||
// - Seitokai no Ichizon Lv. 2 Portable (PSP)
|
||||
// - Koi wa Kousoku ni Shibararenai! (PSP)
|
||||
// - StormLover 2nd (PSP)
|
||||
// - Prince of Stride (PSVita)
|
||||
// - Ro-Kyu-Bu! Naisho no Shutter Chance (PSVita)
|
||||
{1234253142}, // 0000000049913556
|
||||
|
||||
// Idolm@ster Cinderella Stage (iOS/Android)
|
||||
@ -123,6 +129,21 @@ static const hcakey_info hcakey_list[] = {
|
||||
// Schoolgirl Strikers ~Twinkle Melodies~ (iOS/Android)
|
||||
{0xDB5B61B8343D0000}, // DB5B61B8343D0000
|
||||
|
||||
// Bad Apple Wars (PSVita)
|
||||
{241352432}, // 000000000E62BEF0
|
||||
|
||||
// Koi to Senkyo to Chocolate Portable (PSP)
|
||||
{243812156}, // 000000000E88473C
|
||||
|
||||
// Custom Drive (PSP)
|
||||
{2012062010}, // 0000000077EDA13A
|
||||
|
||||
// Root Letter (PSVita)
|
||||
{1547531215412131}, // 00057F78B05F9BA3
|
||||
|
||||
// Pro Evolution Soccer 2018 / Winning Eleven 2018 (Android)
|
||||
{14121473}, // 0000000000D77A01
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user