Commit Graph

2817 Commits

Author SHA1 Message Date
bnnm
f44c795b69 Fix some .ivaud sounds [GTA4 (X360/PS3)] 2020-08-18 15:31:38 +02:00
bnnm
232920eeb2 Cleanup 2020-08-18 14:38:22 +02:00
NicknineTheEagle
8707214040 EA MPF: Fixed empty tracks 2020-08-17 21:45:13 +03:00
bnnm
aed0125ed1 Add FSB4 key [Stacking (X360)] 2020-08-15 20:05:39 +02:00
bnnm
a33c63d8a0 Fix truncated .wem with PTADPCM 2020-08-15 20:04:59 +02:00
bnnm
f5a9e5d06a Add TXTP silence entry 2020-08-15 20:04:50 +02:00
bnnm
e4ed26e703 Use silence meta for dummy entries in BKHD 2020-08-15 20:03:32 +02:00
bnnm
dd0fbb0e65 Add silence codec/meta for special cases 2020-08-15 18:23:49 +02:00
bnnm
ed44d973f4 Fix some .bank [Fall Guys (PC)] 2020-08-12 18:23:48 +02:00
bnnm
f2aee439c4 Assume .bnk use newer Vorbis codebooks by default for faster inits 2020-08-12 17:50:00 +02:00
bnnm
9f7e4a4c6b txtp: Allow single groups and loop_mode auto for layers 2020-08-12 17:44:54 +02:00
bnnm
67c9854a82 Fix .AT9 with wrong padding [F1 2011 (Vita)] 2020-08-12 17:40:20 +02:00
bnnm
d77d8a48ea Add TXTP pseudo-random groups 2020-08-08 23:00:52 +02:00
bnnm
e746c7d462 Add TXTP group auto-positions and layer-x macro auto-channels 2020-08-08 20:35:19 +02:00
bnnm
127bbcad6f Doc 2020-08-03 23:18:47 +02:00
bnnm
175a03d54b Fix .awb with RIFF (ATRAC3/ATRAC9) 2020-08-01 20:22:26 +02:00
bnnm
6a5ea55718 Cleanup 2020-08-01 20:16:09 +02:00
bnnm
21a4afdadd Add .bsf [Reign of Fire ((PS2/GC/Xbox)] 2020-08-01 17:04:55 +02:00
bnnm
aa58da7ca1 Add .dsb [Taiko no Tatsujin DS: Dororon! Yokai Daikessen!! (DS)] 2020-08-01 16:04:41 +02:00
bnnm
230aa56a8c Add .zwv [THE iDOLM@STER Shiny TV (PS3)] 2020-08-01 15:28:12 +02:00
bnnm
9b0df8652e FFmpeg test 2020-08-01 10:31:00 +02:00
NicknineTheEagle
0ef5b4d40e
Merge branch 'master' into riff 2020-07-30 19:51:43 +03:00
NicknineTheEagle
cc530b3973 RIFF: Fixed mono .mvw [Dragon Quest VIII (PS2), Rogue Galaxy (PS2)] 2020-07-30 19:22:12 +03:00
bnnm
dfcb6145cd Merge branch 'master' of https://github.com/kode54/vgmstream into settings 2020-07-26 20:36:09 +02:00
bnnm
c017eed7a5 Ignore incorrectly ripped FSB5 2020-07-26 20:16:12 +02:00
bnnm
579b734083 Cleanup 2020-07-26 20:15:26 +02:00
bnnm
a017033ba8 Handle config in segments/layouts 2020-07-26 11:19:52 +02:00
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
74a4aaa8b4 Removed fake .khv extension 2020-07-23 23:02:13 +03:00
bnnm
e2e1a3b20c Read TXTP play settings for trims/pads/body 2020-07-23 21:11:24 +02:00
bnnm
20018c0db7 Cleanup 2020-07-21 19:19:30 +02:00
NicknineTheEagle
595d541f06 RIFF: Fixed .mvw again [Dragon Quest VIII (PS2), Rogue Galaxy (PS2)] 2020-07-19 18:06:27 +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
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
27bcba48a9 Codec internal cleanup and moved out of vgmstream.h 2020-07-16 21:43:01 +02:00
bnnm
477666a4f7 Add KTSC [Atelier Ryza (PC)] 2020-07-11 21:25:12 +02: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
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
581c44119f Fix .mul IMA glitches [Tomb Raider Underworld (PC), TR Anniversary (PC)] 2020-07-05 21:04:48 +02: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
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
bxaimc
41381b70cf Add looping for Duke Nukem 3D: 20th Anniversary World Tour 2020-06-25 21:47:49 -04:00
bnnm
1963eb2a9c Fix some .wav, again [Asphalt 6 (iOS)] 2020-06-21 13:15:09 +02:00
bnnm
053e570d97 Rename 2020-06-21 01:21:28 +02:00
bnnm
2a3f17cfa5 Fix SWAV .adpcm [Merlin: A Servant of Two Masters (DS)] 2020-06-21 01:17:19 +02:00
bnnm
e619ad7831 Doc 2020-06-21 00:35:34 +02:00
bnnm
2810fa4915 Fix some .wav [Asphalt 6 (iOS)] 2020-06-21 00:35:09 +02:00
bnnm
a906d3f065 Fix some FSB5 .bank [Transistor (iOS)] 2020-06-21 00:34:48 +02:00
bnnm
cb38467380 Add TXTP e/L options to alter loop config, tweak priority/consistency 2020-06-21 00:33:21 +02:00
bnnm
5aa09d45e0 Doc 2020-06-14 15:50:50 +02:00
bnnm
3164eaa2ae Add TXTH loop_behavior=inverted where 0 is loop [Bloody Roar 4] 2020-06-14 15:50:09 +02:00
bnnm
fe1b76922a Fix some .ikm [Legend of Galactic Heroes (PC)] 2020-06-14 15:49:15 +02:00
bnnm
4413d7b20f Cleanup 2020-06-14 15:27:55 +02:00
NicknineTheEagle
8313a91830 XMA: Added .wav extension [Super Meat Boy (X360)] 2020-06-13 22:09:10 +03:00
NicknineTheEagle
11bba7f22a Ubi SB: Fixed project file check 2020-06-13 22:08:51 +03:00
NicknineTheEagle
1d8216561f Ubi SB: Added sequence configs [Splinter Cell: Double Agent (PC/X360)] 2020-06-11 00:32:34 +03:00
NicknineTheEagle
01291013cc Ubi BAO: Fixed layers with varying sample rate 2020-06-10 21:52:15 +03:00
NicknineTheEagle
b456cb84c6 TXTH: Added EA-XA support 2020-06-09 21:32:18 +03:00
NicknineTheEagle
062ce3efed Ubi DAT: Fixed data size for raw PCM 2020-06-09 21:13:57 +03:00
NicknineTheEagle
382bd4ba4e Ubi SB: Unified checking for project files 2020-06-08 23:10:51 +03:00
NicknineTheEagle
0af464c10f Ubi SB: Fixed external RAM sounds 2020-06-06 18:00:31 +03:00
NicknineTheEagle
8c77710899 Ubi SB: Fixes 2020-06-06 17:59:43 +03:00
NicknineTheEagle
b451c6e667 KAT: Fixed PCM8 (should be signed) 2020-06-06 17:59:43 +03:00
NicknineTheEagle
9be522ab5b Cleanup 2020-06-06 17:59:43 +03:00
bnnm
3ea177e1d7 Add Success PCM [Metal Saga (PS2), Duel Masters: RoSD (PS2)] 2020-06-06 16:15:06 +02:00
bnnm
2e7c4dc458 Fix some RIFF AICA [Rayman 2 (DC)] 2020-06-06 16:11:24 +02:00
bnnm
aec87c1fc9 Add HCA key [22/7 Ongaku no Jikan (Android)] 2020-06-06 16:10:26 +02:00
bnnm
f835f54b34 Add BNSF key [The iDOLM@STER: One For All (PS3)] 2020-06-06 16:09:39 +02:00
bnnm
de1f117c6c Cleanup 2020-06-04 23:24:47 +02:00
bnnm
706621575e Fix some Ubi SB [Ghost Recon Advanced Warfighter 2 (X360/PS3)] 2020-06-04 23:19:59 +02:00
bnnm
3b08eca425 Add get metadata function to hide FFmpeg internals and parser cleanup 2020-06-04 23:18:28 +02:00
bnnm
856742c8f6 Cleanup 2020-06-04 20:20:19 +02:00
bnnm
896b8be202 Cleanup 2020-06-04 20:17:47 +02:00
bnnm
92b663ed52 Cleanup 2020-06-04 20:13:25 +02:00
bnnm
7935682c6c Fix FSB3 using XMA2 instead of XMA1 (no diffs) [Guitar Hero III (X360)] 2020-06-04 20:13:12 +02:00
NicknineTheEagle
1d369657d9 Ubi SB: Renamed groups to subblocks 2020-06-03 02:45:39 +03:00
NicknineTheEagle
7de18ae55a Ubi SB: Fixed Ubi ADPCM in Xbox banks 2020-06-02 23:13:40 +03:00
NicknineTheEagle
bfda03151d Ubi SB: More accurate handling of group flag 2020-06-02 23:13:40 +03:00
NicknineTheEagle
dd6328046b Formatting tweaks 2020-06-02 23:13:38 +03:00
NicknineTheEagle
dae177ce1e Ubi SB: Minor refactoring 2020-06-01 02:56:25 +03:00
NicknineTheEagle
8d2fcdbae3 Ubi DAT: Additional checks 2020-05-31 23:45:51 +03:00
NicknineTheEagle
e4eb650cfa Added Ubi PS2 BNM format 2020-05-31 21:58:11 +03:00
NicknineTheEagle
49e61c98bf Added Ubi DAT bank format 2020-05-31 21:58:10 +03:00
NicknineTheEagle
fbe7a4760a Removed unused local var 2020-05-31 21:58:10 +03:00
NicknineTheEagle
eccd67d156 Added Sega KAT format 2020-05-31 21:58:07 +03:00
Julian Xhokaxhiu
b5fec0dd64 Detect loop flag from current file metadata when using FFMpeg 2020-05-28 14:56:15 +02:00
NicknineTheEagle
151edfb421 Ubi SB: Additional debug logging 2020-05-28 02:12:31 +03:00
NicknineTheEagle
1a0913d90d Ubi SB: Minor fixes 2020-05-27 23:00:02 +03:00
NicknineTheEagle
eb2617f9ed EA MPF: Added more name pairs 2020-05-27 00:12:19 +03:00
NicknineTheEagle
72605a6d6b
Merge pull request #632 from NicknineTheEagle/ubi
Ubi
2020-05-26 23:56:04 +03:00
NicknineTheEagle
e0e0a121a9 Ubi SB: Layer fixes for old PS2 versions 2020-05-26 23:03:24 +03:00
NicknineTheEagle
b96a86b724 Ubi SB: Added some debug logging 2020-05-26 14:40:27 +03:00
NicknineTheEagle
600c1cf969 Ubi SB: Fixes for BNM 2020-05-26 13:47:05 +03:00
NicknineTheEagle
6cc5d63e5d Ubi SB: Proper stream_type and group_id parsing 2020-05-26 13:46:26 +03:00
bnnm
88956037c4 Fix .acb names segfault, improve performance [SK Burst Re:Newal (PC)] 2020-05-25 23:51:27 +02:00
bnnm
9a77c0ac06 Cleanup 2020-05-25 20:57:29 +02:00
bnnm
bc593e4a41 Add missing .ktsl2asbin extension 2020-05-24 16:59:41 +02:00
bnnm
142ec05269 Tweak sadf extensions and check 2020-05-24 16:59:11 +02:00
bnnm
c7b2fed324 Cleanup 2020-05-24 16:28:07 +02:00
bnnm
98c450c4b9 Move sadf from ngc_dsp_std.c to sadf.c since it's not very standard 2020-05-24 16:22:40 +02:00
bnnm
45cda9b0ca Rename nds_sad.c to sadl.c 2020-05-24 16:18:43 +02:00
bnnm
b45afd57f4 Doc 2020-05-24 16:14:51 +02:00
bnnm
bd0b240a3a Cleanup 2020-05-24 16:14:19 +02:00
bnnm
5452b3893e Fix some Ubi .bnm [Jungle Book Rhythm N'Groove (PC), F1 Racing Sim (PC)] 2020-05-24 15:55:21 +02:00
bnnm
2a6babc70a Add .mups [Pier Solar (PC), Ghost Blade HD (PC/Switch)] 2020-05-24 15:50:41 +02:00
bnnm
66d3e14fe5 Workaround for some FSB5 .bank [Guacamelee 2 (Switch)] 2020-05-24 00:16:10 +02:00
bnnm
907016fead Fix some memleaks 2020-05-23 23:27:52 +02:00
bnnm
3e52b1dd0b Cleanup 2020-05-23 23:23:17 +02:00
bnnm
71bee18a06 Add .ktsl2asbin KTSR [Atelier Ryza (PC/Sw), Attack on Titan (PC/Vita)] 2020-05-23 23:12:45 +02:00
bnnm
f65c2b5c00 Fix some AIX with many segments [Sega Ages 2500 Vol 28 (PS2)] 2020-05-23 23:01:26 +02:00
NicknineTheEagle
726e907379 Ubi SB: Fixed section3 parsing in SMx format 2020-05-23 05:38:41 +03:00
NicknineTheEagle
e93691046c Ubi SB: Fixed sequence parsing for BLK 2020-05-23 02:43:22 +03:00
NicknineTheEagle
ecc8a4b0b4 Ubi SB: Added PS2 v00000003 2020-05-23 02:43:22 +03:00
NicknineTheEagle
682da5ddf5 Added Ubi BLK format [Donald Duck: Goin' Quackers (PS2)] 2020-05-23 02:43:22 +03:00
NicknineTheEagle
b227c450d3 Minor doc 2020-05-22 19:20:32 +03:00
NicknineTheEagle
ac7de48a48 EA BNK: Removed a hack for MUS files belonging to MPF 2020-05-22 19:17:48 +03:00
NicknineTheEagle
4871498bd0 Ubi BAO: Fixed prefetched sounds with 0 streamed size 2020-05-17 17:54:13 +03:00
NicknineTheEagle
5f77ca2660 Ubi BAO: Added a new version [Splinter Cell: Conviction (X360)] 2020-05-17 17:23:13 +03:00
bnnm
fca817317e Add HCA key 2020-05-10 14:05:45 +02:00
bnnm
7a1cc9651f Fix some .vxn [Asphalt Injection (Vita)] 2020-05-10 14:04:15 +02:00
bnnm
3f424dc92e CRLF to LF, cleanup 2020-05-10 14:02:56 +02:00
NicknineTheEagle
a418b6eb32 EA SCHl: Fixed some EA MicroTalk samples 2020-05-05 20:10:33 +03:00
bnnm
de850d4259 Improve EA SCHl bnk performance 2020-05-01 16:32:33 +02:00
bnnm
a8f00f0a40 Clean some EA SCHl code 2020-05-01 16:11:20 +02:00
bnnm
475ef226f0 Add VADPCM for EA SCHl [FIFA 99 (N64)] 2020-05-01 16:06:08 +02:00
bnnm
60b2ecc21d Add VADPCM for AIFC + .n64 SDK/src samples 2020-05-01 16:04:23 +02:00
bnnm
12c0908667 Add LucasArts VIMA + .IMX/IMS [Curse of Monkey Island, Grim Fandango] 2020-05-01 09:15:01 +02:00
bnnm
1ff6bcebed Fix broken FSB5 ajurika loops 2020-05-01 09:12:39 +02:00
bnnm
f4d9ebfe47 Clean AIFF code 2020-05-01 09:12:20 +02:00
boringhexi
8b7cfe59bf Gitaroo Man IMC fix allowed sample rates, won't fail on ST10 unused subsongs now 2020-04-24 07:18:56 -04:00
boringhexi
950508967b Gitaroo Man IMC more specific sample rates, fixes #606 2020-04-24 07:17:19 -04:00
bnnm
894df45850 Fix interleave bug in mono 2020-04-23 17:42:57 +02:00
bnnm
b24116b0c7 Fix Wwise DSP memory interleave + renames [Punch Out!! (Wii)] 2020-04-22 00:34:49 +02:00
bnnm
4e55391be1 Fix full loops in EAAC ATRAC9 + renames [NFS Most Wanted (Vita)] 2020-04-22 00:26:19 +02:00
bnnm
943ab00766 Add ADX key [428 (PS3)] 2020-04-22 00:21:13 +02:00
bnnm
22bec282bb Fix some NUS3AUDIO [Gundam Versus (PS4)] 2020-04-19 00:39:00 +02:00
bnnm
ffba9892e4 Fix some ZSND [X-Men Legends 2 (PS2)] 2020-04-19 00:38:39 +02:00
M&M
969f19d937 Fix random init with .diva looping 2020-04-15 15:16:50 -07:00