Commit Graph

3016 Commits

Author SHA1 Message Date
bnnm
d7c2249358 Simplify XVAG looping code 2018-08-23 17:00:52 +02:00
bnnm
41281aa4e9 Tweak .snds priority again 2018-08-22 21:16:25 +02:00
bnnm
6b4f54df92 Add TXTH "loop_flag = auto" to autodetect PS-ADPCM loop points 2018-08-22 21:04:16 +02:00
bnnm
06c8ab1b3f Remove bik2a/bk2a fake extensions since they aren't used 2018-08-22 20:43:19 +02:00
bnnm
dcbc7e5b9b Lower parse priority of raw metas so TXTH has a chance to go first 2018-08-22 20:39:31 +02:00
bnnm
785741e7e1 Rename ps2_mib.c to ps_headerless,c 2018-08-22 20:29:29 +02:00
bnnm
69c791656e Move MIB+MIH to its own meta and fix rare files [Gladius (PS2)] 2018-08-22 20:10:31 +02:00
bnnm
925916690a Parse PS3 .bnk properly and remove ps3_klbs.c [L@ve Once (PS3)] 2018-08-22 19:26:19 +02:00
bnnm
75fb12eed4 Fix PS2 VGS/ASS/VPK/etc samples, glitches and cleanup 2018-08-22 19:19:31 +02:00
bnnm
27038c9ec8 Add .wavebatch PCM8 [Cars 2 (3DS)] 2018-08-21 22:39:47 +02:00
bnnm
58b8b0c8df Fix various .vag issues [Shikigami no Shiro (PS2), Red Star (PS2)]
Also cleanup and loop end was also off by 28 samples in several cases
2018-08-21 22:16:56 +02:00
bnnm
fe3538520b Add ps_find_loop_offsets util to find loop point in PS-ADPCM data 2018-08-21 22:14:55 +02:00
bnnm
cae82e9074 Clean builds and enable VGM_USE_VORBIS/MPEG manually for consistency 2018-08-20 20:08:24 +02:00
bnnm
2f0aaaf4fd Fix some compile ifdefs and warnings 2018-08-20 20:05:44 +02:00
bnnm
bb07299dae Make libvorbis/libmpg123 optional in autotools 2018-08-20 19:21:51 +02:00
Christopher Snowhill
1294f515f2
Merge pull request #276 from Thealexbarney/msvc-fread-fix
Workaround MSVC fseek/fread bug
2018-08-19 16:15:54 -07:00
Christopher Snowhill
0939328dc1
Merge pull request #288 from bnnm/h4m-rws-sscf-etc
h4m, rws, sscf, etc
2018-08-19 16:15:39 -07:00
bnnm
f6417c5430 Use standard buffer size for all metas
There is not no real about having small-ish buffers, simplifies buffer
tuning, and avoids having gigantic buffers on bad reads.
2018-08-19 22:51:14 +02:00
bnnm
a5656eaa2f Optimize buffer_streamfile EOF reads and fix get_offset behaviour 2018-08-19 22:31:12 +02:00
bnnm
2e6f6c8176 Remove unnecessary FFmpeg ifdef 2018-08-19 19:09:37 +02:00
bnnm
485e5b9cf7 Fix blocks hanging with broken files/incorrect offsets
Also removes unnecessary halpst case
2018-08-19 19:02:22 +02:00
bnnm
ca04dbca70 Add old .scd SSCF [Crisis Core FFVII (PSP), Dissidia 012 (PSP)] 2018-08-19 16:42:39 +02:00
bnnm
b083042704 Cleanup 2018-08-19 10:07:27 +02:00
bnnm
e208e0c0ec Fix plugins sometimes not showing proper time with looping disabled
Also make sure loops are disabled properly, and remove loop_target refs
in foobar, since it's not set automatically anymore.
2018-08-19 09:45:40 +02:00
bnnm
3b5be9d28a Fix disabling looping with layered layouts 2018-08-19 00:43:06 +02:00
bnnm
c204127332 Fix .rws subsong segments [Madagascar (PS2)] 2018-08-19 00:40:01 +02:00
bnnm
d93a4b2c7a Add proper H4M decoding [Resident Evil 0 (GC), Tales of Symphonia (GC)] 2018-08-19 00:38:08 +02:00
bnnm
93b66b2aa6 Clean .rws code 2018-08-17 22:47:33 +02:00
Christopher Snowhill
088a9d32fd
Merge pull request #287 from bnnm/wavebatch-bnk-bfstm-nus3bank-etc
Wavebatch, bnk, bfstm, nus3bank, etc
2018-08-16 16:41:02 -07:00
bnnm
b71d568acb Improve .sts+int/.x [Shadow of the Colossus (PS2), Ape Escape 3 (PS2)] 2018-08-16 20:06:57 +02:00
bnnm
7734e4d87f Improve BFSTM region handling 2018-08-16 20:06:38 +02:00
bnnm
2e90f4de57 Reject EXST in .int meta and cleanup 2018-08-16 20:06:14 +02:00
bnnm
611e556809 Reject files with incorrect num_streams 2018-08-16 20:05:53 +02:00
bnnm
8d7fb21c8f Check max filesize to avoid buggy reads
It was affecting some truncated Switch Opus that were reporting too many
samples
2018-08-15 22:47:22 +02:00
bnnm
6eaf516b23 Tweak FSB ifdefs 2018-08-15 21:19:25 +02:00
bnnm
a3534d7d11 Fix TXTH divide-by-zero with half_size and ch=0 2018-08-15 21:19:12 +02:00
bnnm
9c8323122c Improve read/seek performance for blocked layouts 2018-08-15 20:21:55 +02:00
bnnm
9e06652264 Redo .nus3bank to parse as a bank with subsongs
Also removes hacky code from idsp, since it's now on its own file
2018-08-15 19:59:10 +02:00
bnnm
1f6c384a48 Fix EA EAAC looping for RAM assets 2018-08-15 17:37:06 +02:00
bnnm
f4189f2482 Minor debug stuff 2018-08-15 17:36:20 +02:00
bnnm
e3b93755cc Add HCA key 2018-08-15 17:34:36 +02:00
bnnm
79cad960ae Add Sony .bnk [Puyo Puyo Tetris (PS4), NekoBuro: Cats Block (Vita)] 2018-08-15 17:34:17 +02:00
bnnm
cab8605959 Add atrac9_parse_config util 2018-08-15 16:42:34 +02:00
bnnm
f9f93e74e7 Fix segfault while reading some .xsb for .xwb 2018-08-15 00:49:17 +02:00
bnnm
9333a22c16 Remove some minor deprecated warnings
Tested with all major codecs we use for FFmpeg, all decode the same
2018-08-15 00:18:05 +02:00
bnnm
2c917c0792 Remove some minor unused warnings 2018-08-15 00:16:54 +02:00
bnnm
65a69982b6 Clean G719/G7221 a bit and remove innecessary use of stack_alloc 2018-08-14 22:20:36 +02:00
bnnm
985a3aead6 Clean .bfstm and add region debug code 2018-08-14 20:25:17 +02:00
bnnm
12167c7318 Fix EA SCHl ATRAC3 skip samples and remove .AST (playable with .ABK+AST) 2018-08-14 16:35:50 +02:00
bnnm
d22ee3051a Clean FFmpeg skip samples parsing 2018-08-14 16:35:17 +02:00