Commit Graph

2124 Commits

Author SHA1 Message Date
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
Christopher Snowhill
8604198bb3 Merge pull request #128 from bnnm/opus-fixes
Opus, fixes
2017-09-30 14:13:17 -07:00
bnnm
07a6fba10f Free HCA testbuf and reduce allocs 2017-09-30 19:36:13 +02:00
bnnm
6c5a97c8ed Fix compiling in GCC (false not defined) 2017-09-30 19:20:09 +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
14957d6269 Fix XWB split bug with some codecs 2017-09-30 01:52:49 +02:00
Christopher Snowhill
a1a98c2691 Handle uninitialized variable in case of non-matching extensions. 2017-09-29 16:31:47 -07:00
bnnm
16786b78d4 Add .opus [Lego City Undercover] 2017-09-30 01:27:47 +02:00
bnnm
c3568ffd26 Fix MSVC compiling, remove UNICODE as there may be issues with MSVC 2017-09-30 01:26:44 +02:00
bnnm
abaefd17cd Rename wwise_opus to switch_opus as it's apparently so 2017-09-30 00:16:40 +02:00
bnnm
8a8ebe3e24 Minor renames for style (ps3_xvag > xvag, x360_nub > nub_xma) 2017-09-29 23:37:20 +02:00
bnnm
c63866aad6 Fix Wwise Opus abrupt end 2017-09-29 23:29:06 +02:00
bnnm
8aae6ed794 Fix multichannel EA-XMA [Dante's Inferno (X360)] 2017-09-29 23:28:27 +02:00
bnnm
8dfac7c465 Fix minor size bug in Wwise Vorbis 2017-09-29 23:27:21 +02:00
bnnm
0bb62ce57d Minor comments/documentation 2017-09-29 23:26:42 +02:00
bnnm
a7acf244ae Fix HCA crash bug when testing keys 2017-09-29 23:24:25 +02:00
Christopher Snowhill
edf8f7a913 Remove stale file, add missing header file references. 2017-09-24 16:04:32 -07:00
Christopher Snowhill
e7e753ae0d Updated FFmpeg. 2017-09-24 15:58:08 -07:00
Christopher Snowhill
8006905a97 Merge pull request #126 from bnnm/ffmpeg-custom-opus
FFmpeg custom, Opus
2017-09-24 15:38:53 -07:00
bnnm
81fd33612e Add some HCA keys 2017-09-25 00:00:36 +02:00
bnnm
93a122536c Get TXTH FFmpeg's num_samples if not specified, sometimes works 2017-09-24 22:28:35 +02:00
bnnm
9f90ca9181 Improve XNB [Dragon's Blade (Android)]; add .DA wav; extra exts 2017-09-24 22:27:33 +02:00
bnnm
e51bafec97 Add new DLL to readme 2017-09-24 19:15:58 +02:00
bnnm
02be212c54 Update VS project files for FFmpeg Opus (swresample.dll) 2017-09-24 19:15:24 +02:00
bnnm
c48a7236ca Update Makefiles for FFmpeg Opus (swresample.dll) 2017-09-24 19:14:19 +02:00
bnnm
f25d559f68 Add Wwise Opus 2017-09-24 18:55:25 +02:00
bnnm
a8370b4892 Add EA-XMA for EA SNU [Dante's Inferno (X360)]
only 1/2ch works correctly as multichannel layout need to be
investigated
2017-09-24 18:52:09 +02:00
bnnm
4bb1103e3d Update bik FFmpeg init 2017-09-24 18:46:33 +02:00
bnnm
be8357926d Fix compiling with codecs disabled 2017-09-24 18:45:39 +02:00
bnnm
6da7a86cc4 Add FFmpeg custom IO callbacks for data transmogrifiers
Those are custom read/seeks that can transform data on the fly, for
games that use variations of regular FFmpeg codecs. When FFmpeg tries to
read N bytes, the code may read less/more but still fill the buffer with
N transformed bytes. Must handle "real" (data) and "virtual"
(transformed) offset/sizes.

Works with fake headers too, but "virtual" offset/size now include the
fake header, as I found hard to keep in mind when the header_size was
being added/substracted (could be clearer).
2017-09-24 18:40:59 +02:00
Christopher Snowhill
165cda2287 Minor pedantic fixup. 2017-09-16 20:51:07 -07:00
Christopher Snowhill
f9fea77cbc Merge pull request #124 from bnnm/hca-awc-scd
HCA, AWC, SCD
2017-09-16 20:15:19 -07: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
ccc8c53146 Add FILE log util 2017-09-17 03:38:11 +02:00
bnnm
82a9198fc5 winamp: Fix old bug when seeking past file 2017-09-17 03:37:18 +02:00
bnnm
952962f91b Fix AWC MP3 channel desync in some songs [Red Read Redemption (PS3)] 2017-09-17 03:36:01 +02:00
bnnm
9ed189ffe8 Fix Ogg leak 2017-09-17 03:35:24 +02:00
bnnm
dd027f32eb Fix some SCD with MARK chunk [Lightning Returns X360] 2017-09-17 03:35:03 +02:00
Christopher Snowhill
00e1a5f62d Add missing awc.c to MSVC project files. 2017-08-28 15:16:56 -07:00
Christopher Snowhill
cdaa10ed87 Merge pull request #121 from bnnm/awc-rws-misc
AWC, RWS, misc
2017-08-28 15:09:26 -07:00
bnnm
ab4e1234d9 Remove unneeded MT info 2017-08-28 20:42:37 +02:00
bnnm
d46996a642 Improve Guitar Hero II multi-streams with block layout
Fixes partially by ignoring last stream, as it can be half sample rate
2017-08-28 20:05:03 +02:00
bnnm
b758e8f60d Fix VAG interleave in rare cases [The Simpsons Wrestling (PS)] 2017-08-28 18:26:55 +02:00
bnnm
3001b7acba Fix NGC STM regression [Fire Emblem Path of Radiance (GC)] 2017-08-28 17:47:19 +02:00
bnnm
41b22c2699 Add AWC PCM/IMA (non-encrypted only) [GTA5 (PC)] 2017-08-28 16:07:09 +02:00
bnnm
953022b983 Add AWC MP3 [Red Dead Redemption (PS3), GTA5 (PS3)] 2017-08-28 15:14:24 +02:00
bnnm
c4a6e6e194 Add read_64bitBE/LE for Rockstar AWC
They use it encode 3 values in 64b and save one byte in the process,
whee.
2017-08-28 15:11:52 +02:00