4340 Commits

Author SHA1 Message Date
Andrew Gunnerson
1f2132ac3f
meta/brstm.c: Parse ADPCM header offset for each channel instead of skipping a fixed distance
The parser previously computed the offset of the coefficients field of
channel 0's ADPCM header and then skipped 0x38 bytes to get to the
coefficients field of the next channel's ADPCM header. This breaks for
some files because they have larger 0x3a byte ACPCM headers.

This commit updates the logic to compute the offset of each channel's
ADPCM header. Immediately after the HEAD part 3 header, there's an
8-byte table for each channel, where the second field indicates the
offset of that channel's ADPCM header. With this information, it's just
a matter of adding 0x08 to get the coefficients field.

Fixes: #674

Signed-off-by: Andrew Gunnerson <chillermillerlong@hotmail.com>
2020-07-24 21:36:04 -04:00
NicknineTheEagle
3db9b74e4c
Merge pull request #672 from NicknineTheEagle/ext
Removed fake .khv extension
2020-07-23 23:09:03 +03:00
NicknineTheEagle
74a4aaa8b4 Removed fake .khv extension 2020-07-23 23:02:13 +03:00
NicknineTheEagle
383748a184
Merge pull request #671 from NicknineTheEagle/ext
Added .wlv extension [ToeJam & Earl III: Mission to Earth (DC)]
2020-07-22 01:02:55 +03:00
NicknineTheEagle
2ecf8c44b2 Added .wlv extension [ToeJam & Earl III: Mission to Earth (DC)] 2020-07-22 00:52:20 +03:00
NicknineTheEagle
48cfd96bcc
Merge pull request #669 from NicknineTheEagle/riff
RIFF: Fixed .mvw again [Dragon Quest VIII (PS2), Rogue Galaxy (PS2)]
2020-07-19 18:21:21 +03:00
NicknineTheEagle
595d541f06 RIFF: Fixed .mvw again [Dragon Quest VIII (PS2), Rogue Galaxy (PS2)] 2020-07-19 18:06:27 +03:00
NicknineTheEagle
7101fcc21e
Merge pull request #668 from NicknineTheEagle/riff
Riff
2020-07-18 20:45:47 +03:00
NicknineTheEagle
c35c093131 RIFF: Fixed size check for .mvw [Dragon Quest VIII (PS2), Rogue Galaxy (PS2)] 2020-07-18 20:24:32 +03:00
NicknineTheEagle
a646178441 Moved .dat to common extensions list 2020-07-18 20:14:20 +03:00
bnnm
41914bc09c
Merge pull request #667 from bnnm/svag-cleanup
svag cleanup
2020-07-18 10:43:48 +02:00
bnnm
c728301989 Cleanup 2020-07-18 00:27:53 +02:00
bnnm
5ecf1136a3 Cleanup 2020-07-18 00:12:44 +02:00
bnnm
036748f584 CRLF to LF 2020-07-17 22:35:59 +02:00
bnnm
4879c74ddd Cleanup 2020-07-17 22:35:32 +02:00
bnnm
183ddc8811 Doc 2020-07-17 19:45:36 +02:00
bnnm
45d64c07d1 CRLF to LF 2020-07-17 19:44:20 +02:00
bnnm
729e13ebb0 mpeg decoder cleanup 2020-07-17 19:42:05 +02:00
bnnm
73db56f327 NWA cleanup and improve performance 2020-07-17 19:15:35 +02:00
bnnm
7592e72bae Make get_xx functions const 2020-07-17 19:09:47 +02:00
bnnm
396bfd630a Minor cleanup 2020-07-16 23:16:52 +02:00
bnnm
09b254006a Add Konami Viper .adp [ParaParaParadise 2ndMIX] 2020-07-16 22:51:58 +02:00
bnnm
b7888bca33 Rename ps2_svag.c to svag_kcet.c / ps2_svag_snk.c to svag_snk.c 2020-07-16 22:08:46 +02:00
bnnm
7f0f1ef9b0 Clean SNK SVAG 2020-07-16 22:07:20 +02:00
bnnm
a4331eb04e Fix SVAG detection bug [Silent Scope 2 (PS2)] 2020-07-16 21:47:50 +02:00
bnnm
3091930a1d Fix TXTP edge case when trimming samples 2020-07-16 21:44:34 +02:00
bnnm
d8beb1e791 Fix inverted get_u64xx utils 2020-07-16 21:43:18 +02:00
bnnm
27bcba48a9 Codec internal cleanup and moved out of vgmstream.h 2020-07-16 21:43:01 +02:00
Christopher Snowhill
c36ff74e3a
Update README.md 2020-07-12 14:30:40 -07:00
Christopher Snowhill
255f5dbd5f
Merge pull request #665 from bnnm/ktsc-cdima
ktsc cdima
2020-07-12 14:05:14 -07:00
bnnm
a3f171ff0c layered: use highest sample count (allows mixing sfx like wwise) 2020-07-12 19:35:46 +02:00
bnnm
799f5939b4 Fix .mul IMA decoding oddness [Tomb Raider Underworld (PC)] 2020-07-11 21:26:12 +02:00
bnnm
477666a4f7 Add KTSC [Atelier Ryza (PC)] 2020-07-11 21:25:12 +02:00
bxaimc
c9dc860c4e
Merge pull request #663 from bxaimc/master
Add hca key and rsp
r1050-3086-gc9dc860c
2020-07-08 18:49:20 -04:00
bxaimc
b21c4c2193 Add HCA key for Digimon Story: Cyber Sleuth (PC); Add RSP ext. for The Simpsons: Road Rage (PS2) 2020-07-08 18:43:33 -04:00
bnnm
e114566be3
Merge pull request #660 from bnnm/cdima-wmid
cdima wmid
r1050-3084-ge114566b
2020-07-05 22:02:27 +02:00
bnnm
4efd09c454 Fix some Ubi SB [Surf's Up (GC)] 2020-07-05 21:22:31 +02:00
bnnm
cfc2558d9c Ignore .wmid subsongs in BKHD .bnk [Ninjala (Switch)] 2020-07-05 21:07:44 +02:00
bnnm
ca6ef7233a Fix PTADPCM segfault on bad data 2020-07-05 21:05:10 +02:00
bnnm
581c44119f Fix .mul IMA glitches [Tomb Raider Underworld (PC), TR Anniversary (PC)] 2020-07-05 21:04:48 +02:00
bxaimc
7a93db7049
Merge pull request #659 from bxaimc/master
Add hca key for Cardcaptor Sakura: Happiness Memories (Android)
2020-07-04 01:35:10 -04:00
bxaimc
a25c731b4c formatting, ugh 2020-07-04 01:23:59 -04:00
bxaimc
692ad47cf0 Add HCA key for Cardcaptor Sakura: Happiness Memories (Android) 2020-07-04 01:17:45 -04:00
bnnm
54d2b0d37c
Merge pull request #657 from bnnm/riff
riff
2020-06-30 23:42:36 +02:00
bnnm
8fdbaaa155 Make RIFF size more strict 2020-06-30 23:41:25 +02:00
bnnm
b9ec090488 Fix some .wav, once again [Asphalt 6 (iOS)] 2020-06-30 23:32:55 +02:00
bnnm
dc83e6dbcc Cleanup 2020-06-30 23:20:36 +02:00
Christopher Snowhill
39f38e0ac8
Update appveyor.yml
Fix bungle by whoever wrote the Linux integration
r1050-3072-g39f38e0a
2020-06-25 18:59:33 -07:00
bxaimc
7d6daa48b3
Merge pull request #655 from bxaimc/master
Add looping for Duke Nukem 3D: 20th Anniversary World Tour
2020-06-25 21:50:05 -04:00
bxaimc
41381b70cf Add looping for Duke Nukem 3D: 20th Anniversary World Tour 2020-06-25 21:47:49 -04:00