Commit Graph

5855 Commits

Author SHA1 Message Date
bnnm
a79cc5546b Fix a rare case of silence/0-read at the edge of some files
This was only noticeable in some FFmpeg files, since it uses an IO
buffer size that didn't align with foobar's.
2017-01-02 15:41:18 +01:00
bnnm
9d33b42584 Improved SPW (PCM, sample rate) 2017-01-02 15:24:10 +01:00
Christopher Snowhill
4b508ef75b Added .xwm file name extension, which are XMA files. 2017-01-01 21:16:49 -08:00
bnnm
ee5a40224d Added PS ADPCM of configurable frame size (FF XI, Blur, Afrika)
This fuses the FF XI/BSF/Short VAG decoder variants into a single one
(FF XI alone has 4 possible frame sizes); also fixed FF XI sample rate
and some cleanup.
2016-12-29 23:34:21 +01:00
bnnm
6c82a508ef Redone FSB1-4: improved XMA/MPEG, bugs, looping
Now parses FMOD's flags correctly and should work for all versions.
There are still some problems with IMA ADPCM which also happened before.
2016-12-29 14:06:57 +01:00
bnnm
c042878a1b One more debug util 2016-12-29 13:27:10 +01:00
bnnm
ad660177c4 New utils for common/repetitive actions in stream headers
Meant to be more specialized than util.c (the main difference is that
header.c includes VGMSTREAM and may define other struts), used mainly in
metas
2016-12-29 13:24:24 +01:00
bnnm
9bd2003218 Fix minor warning 2016-12-29 01:46:49 +01:00
bnnm
fa31aa2cd7 Fixed wrong meta 2016-12-28 16:14:44 +01:00
bnnm
d4f45eaaee Moved debug FSB5 MPEG from fsb.c to fsb5.c 2016-12-28 11:39:56 +01:00
bnnm
790bb79cc9 Allow to disable mpg123 stderr output for recoverable MPEGs (FSBs) 2016-12-28 01:38:56 +01:00
bnnm
ad3b081681 Fix possible segfault 2016-12-27 23:18:41 +01:00
bnnm
2807d2fbab Fixed minor compiler warnings 2016-12-27 17:13:22 +01:00
bnnm
e06ddd0076 Fixed minor compiler warnings (unused/uninitialized vars) 2016-12-27 16:33:10 +01:00
bnnm
08a1a50ccb Fixed regression/segfault in multistream .mtaf [MGS3]; cleanup
Apparently some MTAF ripped with an old tool contain block data, and a
previous change attempted to support them. This broke multistream MTAF
(block header starts with 0x01, and frame header starts with 0x00, but
also 0x01 in multistreams).
Those MTAF should be re-ripped without blocks.
2016-12-27 14:35:23 +01:00
bnnm
e6b6a34a67 Removed unused layouts 2016-12-27 14:30:45 +01:00
bnnm
1be0f5f03d Added external EXTRA_CFLAGS/LDFLAGS 2016-12-27 14:28:52 +01:00
bnnm
0f2627f8da Added VGM_DEBUG_OUTPUT flag to define debug logging utils 2016-12-27 14:28:12 +01:00
Christopher Snowhill
1899a20934 Merge pull request #56 from bnnm/format-hevag-misc
Formats: HEVAG and others
2016-12-26 16:38:14 -08:00
bnnm
1fea06610c Updated some types 2016-12-26 19:48:45 +01:00
bnnm
8daafeea90 Adjusted loop detection for some dual stereo files (Ecco the Dolphin)
It was detecting one channel as looping and other as non-looping.
2016-12-26 16:09:16 +01:00
bnnm
aee2aa78f3 Removed .vgms (not .vgmstream), as I feel one hack-extension is enough 2016-12-26 14:04:44 +01:00
bnnm
709d6aae60 Enable FFmpeg by default and use internal FFmpeg DLLs 2016-12-26 13:57:15 +01:00
bnnm
3807ebebb8 Include ext_libs in zip file 2016-12-26 13:54:49 +01:00
bnnm
4f3e84fb19 Added a simple regression testing script
Meant to be launched in a dir with stream files; compares the output of
two test.exe versions and prints out if there are differences.
Can be configured with external parameters.
2016-12-26 13:46:13 +01:00
bnnm
767444f58c Removed old, unused STREAMFILE test 2016-12-26 13:33:03 +01:00
bnnm
46d7fcfe80 Added Killzone VAGp (.vag); code cleanup 2016-12-26 13:30:43 +01:00
bnnm
973c4bff1d Added namco XMA (.xma), Soul Calibur II HD XMA (.past) variations 2016-12-26 13:27:47 +01:00
Christopher Snowhill
37c16ab171 Signed the FFmpeg libraries. 2016-12-22 19:01:04 -08:00
Christopher Snowhill
52faca81c2 Updated FFmpeg with new build options. 2016-12-22 18:56:21 -08:00
bnnm
12760d2183 Sanify loops: ignore negative start 2016-12-22 23:25:18 +01:00
bnnm
ea7b8d2570 Added short VAG variation (SGXD type 5 found in PS3 Afrika) 2016-12-21 23:00:34 +01:00
bnnm
08d3e7c62f Don't forget extlibs 2016-12-21 20:46:24 +01:00
bnnm
0b3050cf0a Added PSVita HEVAG (original algorithm by daemon1) 2016-12-21 20:44:16 +01:00
bnnm
4c25807b3d Prepare loop finder for HEVAG and minor touches 2016-12-21 00:48:47 +01:00
bnnm
75485c388e Moved VAG loop finder to function; comments, code preps 2016-12-20 23:29:36 +01:00
Christopher Snowhill
6a4577f561 Fixed MSS sample count handling, hopefully. 2016-12-18 19:54:41 -08:00
Christopher Snowhill
ad85fc8bc3 Make XMA support dependent on FFmpeg inclusion, for now. 2016-12-18 11:41:26 -08:00
Christopher Snowhill
0ff86bd75a Insert filters reference for xma.c 2016-12-18 11:38:57 -08:00
Christopher Snowhill
794204f193 Merge pull request #54 from bnnm/format-xma-misc
Formats: XMA and others
2016-12-18 11:01:56 -08:00
bnnm
8140800587 Added proper/looped .XMA 2016-12-18 18:12:27 +01:00
bnnm
c1c1cd1ba6 init_ffmpeg accepts any generic header; init_seek edge cases (for XMA) 2016-12-18 13:10:08 +01:00
bnnm
ce040bbb36 Added put_8bit for consistency/clarity 2016-12-18 12:46:11 +01:00
bnnm
d1dc2b6082 Added .BCWAV dual stereo (3DS Lego games) 2016-12-18 10:24:14 +01:00
bnnm
27868be723 Fixed v5 header coef positions 2016-12-16 20:34:44 +01:00
bnnm
2a7b645d23 Fixed PS2 MSS sample count and description 2016-12-16 20:29:02 +01:00
Christopher Snowhill
64a14c9158 Merge pull request #53 from bnnm/misc-changes
Misc changes
2016-12-11 11:18:48 -08:00
bnnm
b7a6fd21b0 Remove outdated txt, see BUILD.md instead 2016-12-11 13:28:38 +01:00
bnnm
efa976a942 Added simple build doc 2016-12-11 13:26:30 +01:00
bnnm
df68ac1e01 Minor update to format list 2016-12-11 13:08:59 +01:00