Commit Graph

1238 Commits

Author SHA1 Message Date
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
Chris Moeller
a5843ef470 Merge pull request #3 from soneek/master
hcs's update for IMA decoder
2014-06-01 20:12:32 -07:00
soneek
a2af756764 hcs's update for IMA decoder 2014-06-01 20:19:05 -04:00
Chris Moeller
793f236cd1 Merge pull request #2 from soneek/master
Update RedSpark for M&L Dream Team
2014-05-26 00:04:43 -07:00
soneek
927077b348 Update RedSpark for M&L Dream Team 2014-05-26 01:43:00 -04:00
Chris Moeller
d202c0a45a Merge pull request #1 from soneek/master
Update for BCSTM
2014-05-23 16:41:38 -07: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
8bd44a54e8 Merge branch 'master' of github.com:kode54/vgmstream 2014-04-23 22:12:45 -07:00
Chris Moeller
d18fc960d1 Bumped path limit on new FSB5 meta handler 2014-04-23 22:12:33 -07:00
Chris Moeller
45d3be3232 Updated foobar2000 foostream interface to support newer STREAMFILE interface 2014-04-23 21:47:05 -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
c3e35975aa Removed logging, as it has served its purpose 2014-03-16 20:25:40 -07:00
Chris Moeller
6ec8f1eb4f Added extra logging because obviously crash logs are useless for this thing 2014-03-16 19:53:27 -07:00
Chris Moeller
10c9f68345 Merge branch 'master' of github.com:kode54/vgmstream 2014-03-14 23:09:39 -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
eeab20de3a Added missing file 2014-02-26 00:58:00 -08: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
a095da3965 safer extension list construction
1016 didn't fix anything (just caused skipping over every other ext). Winamp's issue was fixed in 5.666.
2014-02-25 22:14:13 -08:00
Chris Moeller
8a618d7a3d concatn_doublenull was expecting two nulls after the string to be concatenated
Seems to fix loading in Winamp 5.66, it must be more aggressively reusing (or just not clearing) stuff that was cleared before.
2014-02-25 22:13:07 -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
a41128c6ad Fixed divide by zero error in weird loop cases 2013-07-05 11:46:49 -07:00
Chris Moeller
91867c0732 Fixed AT3 looping again 2013-06-26 11:23:46 -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
27f5a4c7fe Fixed AT3 looping 2013-06-26 03:46:31 -07:00
Chris Moeller
94ea08f731 Added AT3 to file types list for open file dialog and associations 2013-06-26 03:07:13 -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