Commit Graph

881 Commits

Author SHA1 Message Date
Arne Morten Kvarving
e3666934c1 fixed: move #endif into proper position 2016-07-31 14:51:47 +02:00
Christopher Snowhill
add0dba4eb Fix for compiling without FFmpeg. 2016-07-25 20:41:26 -07:00
Chris Moeller
cbe9bc3d6b Added FFmpeg support, and fixed a long standing issue with broken loops locking up the decoder. 2016-07-16 23:02:27 -07:00
Chris Moeller
b31ee39a95 Merge branch 'master' of gitlab.kode54.net:kode54/vgmstream 2016-06-30 15:48:12 -07:00
Christopher Snowhill
ecff4c7a28 Merge branch 'dbzdokkan_key' into 'master'
Add Dragon Ball Z: Dokkan Battle ADX key



See merge request !2
2016-06-30 18:47:48 -04:00
Chris Moeller
800a3da0da Undo an erroneous change to MP4 and HCA meta handlers that could crash. 2016-06-30 15:34:40 -07:00
Chris Moeller
5200ed4a91 Fixed file handle leak in HCA and MP4 decoders. Minor casting fixes. 2016-06-28 19:27:30 -07:00
Chris Moeller
33563f4e7c Add HCA support. 2016-06-28 00:20:37 -07:00
Adam Gashlin
d3b3b9623d Add Dragon Ball Z: Dokkan Battle ADX key 2016-05-03 02:25:43 -04:00
Adam Gashlin
fa6c98696b Accept 0x00010102 in header for CWAV
This is supposedly in files from Fire Emblem Fates and
Hyrule Warriors Legends.
2016-04-26 11:02:11 -04:00
Chris Moeller
961e57d8d0 Updated to reflect actual mp4v2 API 2015-08-01 05:45:19 +00:00
Chris Moeller
833a7a20a5 Fix inline array declaration for MSVC 2015-07-14 08:01:46 +00:00
Chris Moeller
6e4be8dafd Merge pull request #20 from soneek/master
Update to fix PCM16 decoding in BCSTM and BFSTM
2015-07-07 21:23:16 -07:00
Joseph Gibbs
9600e5f7d1 Fix typo 2015-07-07 15:54:23 -07:00
Joseph Gibbs
50bf81d269 Updated reading of sections for bcstm and bfstm. Fixed start offset for PCM16 b(c/f)stms 2015-07-07 15:46:08 -07:00
smt
e101fc8dc8 Add new ADX key. 2015-07-06 09:06:41 -07:00
Joseph Gibbs
51dfc3339a Added support for Xenoblade Chronicles 3D adx 2015-05-16 15:30:15 -07:00
Chris Moeller
f6367fb0a8 Fixed a .JOE file with 0 dataInterleave, assuming 16 byte interleave for such files. 2015-04-10 13:00:08 -07:00
Chris Moeller
64be1ead91 Crash fix for random files passing into this function and attempting to allocate negative channel count arrays 2015-01-24 21:09:00 -08:00
Chris Moeller
1ad884287b Added G.719 decoding support to BNSF input 2015-01-24 21:08:25 -08:00
Chris Moeller
a4f8a09541 Change the first use of variable length array declarations to use a xiph.org stack_alloc.h header, and define how to use it for MinGW, Unix (-DVAR_ARRAYS) and for MSVC (-DUSE_ALLOCA) 2015-01-21 17:50:27 -08:00
Chris Moeller
758615222f Removed C99-isms for old compilers 2015-01-21 17:31:44 -08:00
soneek
b015ae9982 Merge branch 'master' of github.com:soneek/vgmstream 2015-01-21 19:29:12 -05:00
soneek
46f21d977b Update to build with mingw, added at3plus support to Winamp plugin, Capcom mca, WiiU btsnd, MH3U dspw 2015-01-21 19:28:43 -05:00
MrCheeze
d98050547d Fixed bug making SSB4 music unopenable 2015-01-04 19:09:46 -05:00
Chris Moeller
6e4abd55e3 Sign extension bad! Fixed BFSTM format support. 2014-12-14 21:55:46 -08:00
Chris Moeller
922ab0e06f Update IDSP for Super Smash Bros. Wii U from patch by crediar 2014-12-13 17:04:33 -08:00
soneek
709c727401 Update bfstm for any header size 2014-12-11 20:31:01 -05:00
zeromus
52728a82d3 fix compiling in vs2008 (missing adds in vcproj, C90 variable declarations) 2014-10-20 02:58:33 -05:00
soneek
f1c571ca05 Fixed BFWAV interleave 2014-10-19 19:34:03 -04:00
soneek
76062dbbdc Add Hyrule Warriors G1L 2014-10-19 17:10:31 -04:00
soneek
115da3222f Fix byte order for 16-bit bfstm 2014-10-18 20:28:25 -04:00
soneek
52d3f06162 First BFSTM support (needs work for 9+ channels), experimental NSMBU bfwav support 2014-10-18 17:54:31 -04:00
Chris Moeller
9a03256df2 CSMP for Metroid Prime 3 and DKCR, from Antidote 2014-09-16 16:34:08 -07:00
Chris Moeller
0ebc29f236 IDSP as in SSB4 3DS 2014-09-16 16:31:59 -07:00
Chris Moeller
c83eb6c1fe fix FSB MPEG broken in r1034
thanks to CyberBotX for the catch and fix
2014-09-16 16:18:44 -07:00
Brandon
673107726a Fixed linking issue due to undefined references 2014-08-10 12:19:27 -07:00
Brandon
4c05726e28 Seems there is a missing file required to link test 2014-08-05 01:33:27 -07:00
Chris Moeller
4a573f48a4 Eliminate C99isms so it compiles in MSVC, and comment out some unused variables to silence warnings 2014-08-02 20:51:21 -07:00
Chris Moeller
7425dc2aad Fixed remaining path limit issues 2014-08-02 20:32:30 -07:00
Chris Moeller
b536b162f1 Merge pull request #4 from soneek/master
Added experimental support for bfwav
2014-08-02 20:30:48 -07:00
soneek
b1e5a3a9e3 Added experimental support for bfwav 2014-08-02 19:10:45 -04:00
halleyscometsw
44075c4e91 clean up some warning-causing ugliness 2014-06-26 21:12:48 -07:00
halleyscometsw
1854d42e97 Extend GENH to support little-endian "Gamecube" DSP ADPCM coefficients, for some 3DS titles.
This involves a reinterpretation of byte 0x30 (coef type). Formerly this byte took on only two values, to indicate how the ADPCM coefficients (aka codebook) were stored:
0 - normal coefs: all 16 coefs interleaved into one array, offset given at 0x24 for left, 0x28 for right
1 - split coefs: 8 coefs in the main array, additional offset to 2nd array given at 0x34 for left, 0x38 for right

Now I am considering this to be indicated only by bit 0 of the coef type. Bit 1 is taking on an additional interpretation, if it is set, we consider the coefficients to be little endian rather than the normal big endian.

This should maintain backwards compatibility with old GENH files, which should have only used the value 0 or 1.

Thus, in effect we have:
0: normal, big endian
1: split, big endian
2: normal, little endian
3: split, little endian

I don't know of any situation in which 3 would be used (yet), but I'm sure devs will continue to surprise me.
2014-06-26 20:53:49 -07:00
soneek
927077b348 Update RedSpark for M&L Dream Team 2014-05-26 01:43:00 -04:00
soneek
dbb99d6dc9 Add back path limit for BCSTM filename 2014-05-23 17:09:13 -04:00
soneek
0932405b54 Update for Paper Mario Sticker Star PCM BCSTM 2014-05-23 17:07:03 -04:00
Chris Moeller
d18fc960d1 Bumped path limit on new FSB5 meta handler 2014-04-23 22:12:33 -07:00
manakoat
842c064b3b FSB5, added ADPCM and PCM16 coding, 4 of 15 formats supported now 2014-04-23 21:36:06 -07:00
manakoat
b533969527 Fixed DSP stuff n FSB5 2014-04-23 21:35:08 -07:00
manakoat
3be505428a FSB5 DSP added, still WIP 2014-04-23 21:34:08 -07:00
manakoat
96301376cc FSB5 added, only MPEG support now 2014-04-23 21:31:04 -07:00
manakoat
8ef55da3b6 Test commit, sorry 2014-04-23 21:27:24 -07:00
Adam Gashlin
bb59d6a389 remove nonsense (thanks kode) 2014-04-23 21:25:30 -07:00
Chris Moeller
b2c8e5cbac Another Drag-On Dragoon 3weird samplerate (40999)
From a set of files called BGM_TEST00_*
2014-03-14 22:42:06 -07:00
Chris Moeller
9148d4e14a another update from soneek for IMA support in BCSTM 2014-03-14 22:40:30 -07:00
Chris Moeller
633eb7b545 replacing meta for bcstm with revision from soneek 2014-03-14 22:39:21 -07:00
Chris Moeller
dfe1be9d88 Fixed remaining path length limit issues 2014-03-14 22:36:23 -07:00
Chris Moeller
1ab759bd19 Added soneek's experimental CSTM meta for BCSTM support (3DS) 2014-02-25 22:31:28 -08:00
Chris Moeller
43866fd9ed .XXX from Drag-On Dragoon 3 (PS3) is scd, but has 48khz MPEG with srate 47999 2014-02-25 22:26:02 -08:00
Chris Moeller
9fc46bd877 Added OTM support for Otomedius (Arcade) 2014-02-25 22:25:02 -08:00
Chris Moeller
bd5cdb35de Epic Mickey 2 Wii ADPCM 2014-02-25 22:12:24 -08:00
Chris Moeller
dc4b7f553c Add PS2 VBK meta. 2013-09-03 11:27:36 -07:00
Chris Moeller
1b41d008e6 Fixed path limit for new Ubisoft CKD handler 2013-09-03 11:20:45 -07:00
Chris Moeller
a6b64189e0 fix interleaved msf (PS ADPCM in particular) 2013-09-03 11:17:16 -07:00
Chris Moeller
bf220dc112 more ADX keys 2013-09-03 11:16:00 -07:00
Chris Moeller
7917756fdd Added a couple of things to support LOGGs from Hatsune Miku: Project Diva F (PS3). 2013-09-03 11:15:05 -07:00
Chris Moeller
aa1d39a19e Initial Ubisoft CKD support for Rayman Origins (Wii only for now) Still testing but seems to work fine. Mono is kinda broken but w/e. 2013-09-03 11:14:14 -07:00
Chris Moeller
c6ba2a32ba new! Slotter Mania P - Mach Go Go Go III (PSP) key! 2013-09-03 10:59:45 -07:00
Chris Moeller
aa8e2a92a5 more keys! 2013-09-03 10:57:35 -07:00
Chris Moeller
684bd36ebc more adx keys 2013-09-03 10:55:14 -07:00
Chris Moeller
a1ce18bbce Added support for Orcs Must Die (PC)
Well...more support.
2013-09-03 10:49:45 -07:00
Chris Moeller
8ebecb4d47 - Calculate start offset from data length field
- Calculate loop offsets for first channel only
- Determine interleave block size from header field
2013-07-05 11:48:17 -07:00
Chris Moeller
bd85ad76e8 Fixed mono AT3 decoding, and simplified n-channel decoding 2013-06-26 11:13:44 -07:00
Chris Moeller
ae4863b0bf Clarified AT3plus as such 2013-06-26 04:36:57 -07:00
Chris Moeller
98e90f8a25 Implemented ATRAC3plus support 2013-06-26 02:54:15 -07:00
Chris Moeller
bd4f5c4d50 Fixed THP for SSBB movie files and possibly others 2013-06-17 17:57:11 -07:00
Chris Moeller
a1e90833f4 Fixed a serious bug in THP init function 2013-06-13 17:42:52 -07:00
Chris Moeller
634845b1ce Added preprocessor blocking around MP4/AAC parts 2013-06-13 17:42:24 -07:00
Chris Moeller
142cfc971d Raised path length limit to 32767 characters, controlled by a global enum definition 2013-05-26 20:55:50 -07:00
Chris Moeller
b54d0be218 Fixed two crash bugs 2012-12-30 12:38:35 -08:00
Chris Moeller
5ec0ec0d34 Fixed MP4 handler passing the end of the stream 2012-11-26 11:53:26 +00:00
Chris Moeller
c8266b2b8b Removed unnecessary reinitialization 2012-11-26 11:53:26 +00:00
Chris Moeller
84dfcb3d5a Implemented MP4 AAC support for iOS AKB format 2012-11-26 11:53:26 +00:00
Chris Moeller
d44b9be5c5 Removed unnecessary reinitialization 2012-11-26 11:53:26 +00:00
Chris Moeller
0e52bf94d2 Implemented MP4 AAC support for iOS AKB format 2012-11-26 11:53:26 +00:00
Chris Moeller
1550f90139 Fixed MP4 handler passing the end of the stream 2012-11-26 11:53:26 +00:00
Chris Moeller
4dfd36b5ab Removed unnecessary reinitialization 2012-11-26 11:53:26 +00:00
Chris Moeller
275e4e9c61 Implemented MP4 AAC support for iOS AKB format 2012-11-26 11:53:25 +00:00
snakemeat
76694bec58 Added ADX key for StormLover Kai!! (PSP).
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1004 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-11-14 04:57:21 +00:00
halleyscometsw
a73fad53f5 weird broken loop from Metal Gear Rising - Revengeance Demo
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1003 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-11-03 13:06:04 +00:00
halleyscometsw
30e33d70a2 fix .sns broken with r987
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1002 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-10-02 03:37:47 +00:00
halleyscometsw
bcb7d5dad9 another magic special case for de Blob 2 (6 channels)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1001 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-09-17 04:21:58 +00:00
bxaimc
f227e3fe47 Tossing nonsense out the window. Hello r1000! :D
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1000 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-09-05 03:47:35 +00:00
halleyscometsw
55b50601b4 Psychic software's obfucsated ogg as seen in Darkwind: War on Wheels (untested)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@998 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-09-05 03:12:58 +00:00
bxaimc
26f6e3208c Added RSD6OOGV support for Scarface: The World is Yours (PC)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@996 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-31 05:12:04 +00:00
halleyscometsw
504d3df98f CWAV uses straight up sample counts, not nibbles
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@994 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-28 05:40:46 +00:00
halleyscometsw
bed971faf8 CWAV for 3DS, added as a modification to Wii RWAV/RWAR/RWSD
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@993 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-28 05:08:46 +00:00
halleyscometsw
a4bb71f17d DSP SCD support for DQX.
Not completely happy with how this turned out (see TODOs), but it works.


git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@992 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-24 17:36:40 +00:00
halleyscometsw
c6d3e4d343 a little cleanup for xvag mp3
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@991 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-24 16:43:33 +00:00