Commit Graph

3186 Commits

Author SHA1 Message Date
bnnm
064990f6ff Add extra validation 2018-09-04 17:07:38 +02:00
bnnm
ee7767815b Add ADX key [Kashimashi! Girl Meets Girl (PS2)] 2018-09-04 17:07:24 +02:00
Christopher Snowhill
7b30d8bc9a
Merge pull request #292 from bnnm/hca-bcstm-metas-docs
hca, bcstm, metas, docs
2018-09-02 15:12:49 -07:00
Christopher Snowhill
9bef6a7416
Merge pull request #290 from BenNatNB/patch-1
Update rfrm.c
2018-09-02 14:35:07 -07:00
bnnm
3fb94479d0 Fix test.exe actually being renamed in vcxproj 2018-09-02 22:31:19 +02:00
bnnm
d6a682fe8c Add ADX key [Girls Bravo: Romance 15's (PS2)] 2018-09-02 21:37:19 +02:00
bnnm
07cdc5d62e Rename test.vcxproj to vgmstream_cli.vcxproj (test.exe wasn't renamed) 2018-09-02 21:36:41 +02:00
bnnm
bf0d46a476 Rename decode_SASSC to lowercase for consistency 2018-09-02 21:11:15 +02:00
bnnm
c707a29639 Rename SASSC_decoder to lowercase for consistency 2018-09-02 21:09:15 +02:00
bnnm
aa4ea4bc3b Document ADX CINF header 2018-09-02 21:06:38 +02:00
bnnm
3113342a71 Minor tweaks 2018-09-02 21:06:15 +02:00
bnnm
bd374a01a7 Improve ATRAC9 loop performance and cleanup 2018-09-02 21:02:11 +02:00
bnnm
488daca056 Divide BUILD.md into DEV.md and add GENH/TXTH/TXTP.md doc 2018-09-02 18:38:22 +02:00
bnnm
7a7bb3b12a Move BUILD.md to doc/BUILD.md, since root is getting cluttered 2018-09-02 17:43:05 +02:00
bnnm
91c3fd6afc Fix some Sony .bnk 2018-09-02 16:40:11 +02:00
bnnm
77e1b597a2 Fix clHCA lib v1.1 ATH scaling [El Shaddai (PS3)] 2018-09-02 16:07:59 +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
a38e3a4878 Clean clHCA lib 2 (cleanup)
- Removed some overdone optimizations for clarity (don't seem to save
any substantial time when decoding +150 files)
- Remove unnecessary structs
- Treat keycode as a single 64b value
- Lib info and other tweaks
2018-09-01 17:37:07 +02:00
bnnm
98636e5f2a Clean clHCA lib (comments, renames, api, code)
- Properly identify variables/functions/etc, all thanks to
Thealexbarney's excellent decoder analysis in VGAudio
- Simplify code to standard C, rather than asm-style decompilation
- Rename/tweak functions to be more C-like
- Minor fixes (pointer tests, incorrect values, etc)
- All was carefully tested, decoded files should be byte-identical to
previous versions
2018-09-01 16:09:59 +02:00
Nathan Benichou
9d94fdb033
Update rfrm.c
Support for LABL part in RFRM CSMP files
2018-09-01 15:21:46 +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
5afd33d62a Split idsp.c into idsp_ie.c and nub_idsp.c 2018-08-28 20:40:02 +02:00
bnnm
f7c26a493d Clean IDSPs 2018-08-28 20:35:07 +02:00
bnnm
c6a9396b67 Fix IDSP segfault 2018-08-28 20:34:55 +02:00
bnnm
9720384fbe Fix bcstm 3DS-IMA last interleave and cleanup 2018-08-28 19:43:12 +02:00
bnnm
d5a11d58e8 Add various metas
- DSP: itl, vag (PPP)
- PS2: int (A2M), ahv, msv, sdf, svg, vis
- PC: .aif (Asobo), ao, apc, wv2
- Xbox: xau (Konami)
2018-08-28 18:47:56 +02:00
Christopher Snowhill
72d0b7a3b0
Merge pull request #289 from bnnm/cleanup-eaxma-xvag-psh-vag-mib-etc
cleanup, eaxma, xvag, psh, vag, mib, etc
2018-08-26 20:40:30 -07:00
bnnm
f71e98a5ba Fix missing MSVC dependencies 2018-08-26 22:56:31 +02:00
bnnm
bee3adc95b Document SQEX SCD looping issues in MPEG 2018-08-26 22:37:04 +02:00
bnnm
0231d635ed Fix Next Level IDSP last interleave/jingles [Mario Strikers Charged] 2018-08-26 22:36:36 +02:00
bnnm
751d5c5f0f Clean DSP meta once again 2018-08-26 20:05:38 +02:00
bnnm
cc537270c1 Add RFRM .csmp and cleanup [Donkey Kong Country Tropical Freeze (Wii U)] 2018-08-26 19:16:24 +02:00
bnnm
ce6722181a Move csmp to its own file, since it's not very standard either 2018-08-26 18:55:57 +02:00
bnnm
f2a5b5954f Move wsi to its own file, since it's not very standard 2018-08-26 17:40:40 +02:00
bnnm
d94485e89e Minor decode_vgmstream cleanup 2018-08-26 17:07:33 +02:00
bnnm
4ee39206c3 Fix Lunar 2 SCD loops/sample rate/stereo and PCM8 cleanup 2018-08-26 16:36:08 +02:00
bnnm
5aad45ab87 Clean AST meta 2018-08-26 13:48:14 +02:00
bnnm
bc62a689c0 Don't call block_update_x manually when using vgmstream_open_stream 2018-08-26 13:47:48 +02:00
bnnm
c2a0311584 Random tweaks 2018-08-26 13:47:02 +02:00
bnnm
92f35029bb Make generic block_update and auto-call in vgmstream_open_stream 2018-08-26 13:46:07 +02:00
bnnm
b02eeeff04 Fix some .SFL looping and SLI cleanup [Hanachirasu (PC)] 2018-08-26 02:26:38 +02:00
bnnm
88f50985de Optimize segmented layout decode samples 2018-08-26 01:05:07 +02:00
bnnm
ee03726bbc Find loop_segment automatically in segmented_layout + remove from metas 2018-08-26 00:59:31 +02:00
bnnm
c9dc0917ff Fix interleave layout hanging when no interleave size set 2018-08-25 21:15:10 +02:00
bnnm
3130eebf0c Minor layout cleanup + doc 2018-08-25 20:46:54 +02:00
bnnm
3765831dbe Remove usage of atrac9_parse_config 2018-08-25 18:03:58 +02:00
bnnm
a734e9c5cb Remove custom ATRAC9 in favor of custom IO
Formats using custom layouts tend to be weird enough that it's a pain to
add support directly in the decoder.
Instead should use custom layouts and I/O streamfiles that, though a bit
wordy and unwieldy at the moment, are a lot more flexible.
2018-08-25 17:48:01 +02:00