Commit Graph

71 Commits

Author SHA1 Message Date
e45d09cf8e [kgm] refactor: convert to enum for dispatch 2024-09-16 21:03:26 +01:00
e011f75d36 [kgm] chore: use Box::new instead of from. 2024-09-16 20:42:34 +01:00
92a52c1565 [kgm] feat: add decipher self-test on startup 2024-09-15 23:53:07 +01:00
da806d7ad4 [kgm/ncm/kwm] refactor: improve performance for large file 2024-09-15 23:25:19 +01:00
fd73e8b9a3 [kgm] refactor #2: slightly improve performance 2024-09-15 22:20:18 +01:00
7b4464bacd [kgm] feat #2: basic kgm support 2024-09-15 22:15:32 +01:00
2222e7bc50 [kwm] refactor: rename cipher to decipher 2024-09-15 20:43:57 +01:00
1e1d642149 [kwm] fix: Bodian build issue 2024-09-15 16:34:10 +01:00
a6e1c54902 [wasm] chore: bump version to alpha.11 2024-09-15 16:32:24 +01:00
5432002253 [wasm] chore: use new key method 2024-09-15 16:32:07 +01:00
440df8a06b [kwm] fix: KWMv1 key generation 2024-09-15 16:20:54 +01:00
785b2f6f0d [kwm] fix: init QMCv2 with ekey 2024-09-15 16:20:39 +01:00
dad2d9c841 [kwm] fix: magic header detection 2024-09-15 16:19:42 +01:00
42f29abff3 [kwm] refactor: improve error display 2024-09-15 16:19:28 +01:00
07fe0263d2 [qmc] feat: add helper method to create QMCv2 Decipher from EKey 2024-09-15 16:18:48 +01:00
7502b310d2 refactor: ekey decrypt now return Vec<u8> instead. 2024-09-15 16:18:18 +01:00
e1ed4ba6cf chore: ignore build folders 2024-09-15 16:17:43 +01:00
d989b15582 [wasm] fix: decode ekey before decryption 2024-09-15 15:42:15 +01:00
5de74ba6c3 [wasm] build: allow dev build 2024-09-15 15:42:03 +01:00
7ac92f9341 [wasm] fix: let vite ignore the dynamic import of node:fs 2024-09-15 15:41:43 +01:00
6a56cc8433 [qmc2/rc4] fix: match QMC2 decoder logic 2024-09-15 15:41:19 +01:00
f75a3ccb34 [qmc2/rc4] refactor: create box of slice instead of convert later 2024-09-15 15:40:22 +01:00
6791dec745 [qmc2/rc4] fix: segment key calculation. 2024-09-15 13:51:03 +01:00
15547f237b [wasm] chore: bump version to alpha.10 2024-09-15 00:41:12 +01:00
e7602cee4c [wasm] feat: return -1 when file is not NCM 2024-09-15 00:40:42 +01:00
e6e88913d9 [wasm] chore: bump version to alpha.9 2024-09-15 00:35:09 +01:00
2809f9e495 [wasm] chore: bump version to alpha.8 2024-09-15 00:27:53 +01:00
9c12d2384c [audio] fix: id3v2 parsing 2024-09-15 00:27:25 +01:00
f3b9075a82 [wasm] chore: bump version to alpha.7 2024-09-15 00:08:03 +01:00
175da7f287 feat: added audio type detector 2024-09-15 00:07:46 +01:00
b1fcdb5895 [ncm] fix: header size report 2024-09-14 22:25:17 +01:00
3cdb14fc96 [wasm] chore: bump version to alpha.6 2024-09-14 20:09:51 +01:00
59fafa9e2a [wasm] build: fix detection for environment 2024-09-14 20:09:38 +01:00
2cca297bcc [wasm] chore: bump version to alpha.5 2024-09-14 19:56:10 +01:00
d385630499 [wasm] build: fix build with node/browser 2024-09-14 19:55:53 +01:00
29c5be137a [wasm] chore: bump version to alpha.4 2024-09-14 19:30:02 +01:00
5590b86c04 [wasm] chore: bump version to alpha.3 2024-09-14 19:19:21 +01:00
f5e3a25197 [wasm] fix: NCMFile & loader issue 2024-09-14 19:18:37 +01:00
0aa46fd46e [wasm] chore: change npm package namespace 2024-09-14 18:45:51 +01:00
c5aef7dd13 [wasm] chore: bump version 2024-09-14 18:41:35 +01:00
239567a5b1 [wasm] feat: export ncm 2024-09-14 18:40:59 +01:00
bc4109d0c0 docs: update readme about cli solution 2024-09-14 16:18:07 +01:00
10a491fa4b test: fix ncm test 2024-09-14 16:17:53 +01:00
208461e089 feat: add cli support for ncm 2024-09-14 16:16:20 +01:00
abd4549da3 fix: ncm decryption 2024-09-14 15:22:43 +01:00
493ed8bdb5 feat: basic ncm support 2024-09-14 14:56:39 +01:00
7b283a5a14 refactor: rearrange code 2024-09-14 01:33:23 +01:00
af965ee0cc chore: bump tc_tea version 2024-09-12 00:51:50 +01:00
3292ad51ea feat: added glue exports for kwm/qmc 2024-09-07 13:13:39 +01:00
e7d8231474 impl: kuwo cipher and bodian info 2024-09-06 23:03:28 +01:00