bnnm
1091e8d1e7
cleanup: move semi-external libs to subdir for clarity
2024-06-11 00:01:17 +02:00
bnnm
e666ce61d8
Allow text keycode in adxkey/hcakey
2024-02-11 22:36:26 +01:00
bnnm
4b0387fb7a
cleanup: separate functions
2023-05-14 23:20:20 +02:00
bnnm
e839f0635f
cleanup: move channel mappings to .h
2023-05-07 22:00:30 +02:00
bnnm
a466959827
Tweak HCA channel mappings
2022-07-07 23:13:53 +02:00
bnnm
fe539edcb4
cleanup
2022-04-09 14:58:23 +02:00
bnnm
05cdd0bbf5
Clean HCA subkey code
2021-12-11 12:43:06 +01:00
bnnm
af6a7a1e0d
hca: separate bruteforcer code
2021-10-19 00:40:14 +02:00
bnnm
99eb1c328f
Improve HCA key tester
2021-10-19 00:35:06 +02:00
bnnm
45e04fe988
hca: bruteforcer tweaks
2021-10-15 22:41:51 +02:00
bnnm
c87816ac59
misc tweaks
2021-10-08 22:24:51 +02:00
KatieFrogs
fa923e16d5
hca: Comment HCA_BRUTEFORCE
2021-10-06 06:43:17 +03:00
bnnm
f525c7d550
hca: tweaks
2021-10-03 13:49:23 +02:00
bnnm
82fc05c3dc
misc cleanup
2021-09-19 23:54:38 +02:00
bnnm
cf36348b77
add extra user logs
2021-08-26 19:39:58 +02:00
bnnm
36cf5c18f4
cleanup: move clHCA to coding to simplify
...
Also has changed a lot from the original so it's barely external now
2021-08-14 11:39:54 +02:00
bnnm
15bd54dfa8
hca: alt key bruteforcer for txt files
2021-08-07 12:37:41 +02:00
bnnm
5673a3c636
cleanup: misc
2021-07-29 18:38:07 +02:00
bnnm
079370b2a1
cleanup: hca subkeys
2021-07-29 17:35:02 +02:00
bnnm
d4209c2d43
Greatly improve HCA key detection
2021-03-14 16:28:35 +01:00
bnnm
061dd7f289
Tweak HCA bruteforcer
2020-11-15 22:44:04 +01:00
bnnm
807b6b6021
Add HCA keys [Kandagawa Jet Girls (PC), Re:Zero (Mobile)]
2020-09-18 23:46:00 +02:00
bnnm
040bad86ce
Add HCA keys
2020-08-29 01:05:08 +02:00
bnnm
27bcba48a9
Codec internal cleanup and moved out of vgmstream.h
2020-07-16 21:43:01 +02:00
bnnm
530a04eca4
Fix minor compiler warnings
2020-04-12 20:36:46 +02:00
bnnm
a18f06a7b1
Add ADX/HCA key [Detective Conan Runner (Android)]
2020-02-22 20:40:21 +01:00
bnnm
e8989f5300
Add default HCA mappings
2019-08-15 15:15:00 +02:00
bnnm
64853876eb
Fix .awb subkeys with external .hcakey
2019-08-02 21:13:00 +02:00
bnnm
ac1048d52f
Add .acb with internal .awb and names, fix some .awb
2019-07-14 21:24:28 +02:00
bnnm
5d1dd63182
Add support for HCA with subkey from .awb [Dragalia Lost (Mobile)]
2019-07-07 21:04:56 +02:00
bnnm
e503757bfc
Add HCA keys
2019-05-17 22:30:49 +02:00
bnnm
87972f55eb
Improve HCA key detection for small/silent HCA [Dragalia Lost (iOS)]
2018-12-22 19:44:30 +01:00
bnnm
cca676bb0f
Add new HCA key derivation
...
Thanks to FZFalzar, Thealexbarney and hozuki for the key and algorithm
2018-10-13 19:53:25 +02:00
bnnm
9c0db7cae3
Improve HCA/clHCA key detection
...
- Only test keys when file is encrypted
- Add clHCA_TestBlock to test a frame with the current key
- Move some key detection code to hca_decoder.c and simplify hca.c
detection
- Decrease number of test frames due to increased accuracy of
clHCA_TestBlock
2018-09-02 16:00:58 +02:00
bnnm
fd52fe0e95
Clean clHCA lib 3 (API)
...
- rename clHCA_DecodeSamples16 to clHCA_ReadSamples16 since it isn't
really decoding
- divide clHCA_Decode into clHCA_DecodeHeader and clHCA_DecodeBlock to
clarify usage
- unify clHCA_IsOurFile0/1 since one would need to call
clHCA_DecodeHeader right after it anyway
- add clHCA_SetKey for easier key handling
- adapt vgmstream wrapper
2018-09-01 20:28:00 +02:00
bnnm
43764d6c8d
Fix HCA num samples/looping [Binary Domain (PC), Octopath Traveller]
...
Decoder has been modified a bit so it's easier to feed an arbitrary
number of discard samples (or at least, easier for me to understand),
since encoder delay can be >1024 (frame size) and would make some calcs
go all wobbly
2018-08-29 23:42:47 +02:00
bnnm
9a2a2e4c2e
Export extra sample values in clHCA_getInfo
2018-08-29 20:48:35 +02:00
bnnm
411fa498bb
Clean HCA meta/decoder for future changes
2018-08-29 20:05:31 +02:00
bnnm
ae2ba1bc29
Update read_key_file for variable-sized keys
2018-01-20 20:06:15 +01:00
bnnm
66a3e7ed88
Add some HCA keys
2017-11-16 00:42:09 +01:00
Christopher Snowhill
1da9d0887a
Fix double-free.
2017-09-30 15:15:15 -07:00
Christopher Snowhill
bcfe417ab6
Merge branch 'master' of github.com:kode54/vgmstream
2017-09-30 15:04:50 -07:00
bnnm
07a6fba10f
Free HCA testbuf and reduce allocs
2017-09-30 19:36:13 +02:00
bnnm
25f7a64dc6
Merge branch 'master' of https://github.com/kode54/vgmstream into fixes
2017-09-30 11:48:17 +02:00
Christopher Snowhill
afdb135567
Oops, forgot to free it.
2017-09-29 17:03:21 -07:00
Christopher Snowhill
72f5f3e0b0
Dynamically allocate and resize the decode buffer when searching for HCA keys, preventing a serious crash due to decoding past the stack allocated buffer.
2017-09-29 16:56:43 -07:00
bnnm
a7acf244ae
Fix HCA crash bug when testing keys
2017-09-29 23:24:25 +02:00
bnnm
d644d2f9f7
Add HCA key detection and key list
...
Updated the meta a bit so it's closer to others and optimized some
mallocs, as it was a bit hard to understand for me so I hope it's for
the better
2017-09-17 03:41:36 +02:00
bnnm
663cb43b3f
Make init_vgmstream_hca_offset local (wasn't used anywhere else)
2017-03-10 17:32:42 +01:00
bnnm
79a5942cb9
Add HCA extension check to avoid some malloc/frees
2017-03-10 17:26:27 +01:00