Commit Graph

2927 Commits

Author SHA1 Message Date
bnnm
388007c355 Fix some .sad [Luminous Arc (DS)] 2020-11-21 15:55:46 +01:00
bnnm
30a495335c Enable Wwise OPUS [Assassin's Creed Valhalla (PC)] 2020-11-21 15:55:06 +01:00
bnnm
42e4a11564 Fix some .xwb+xsb name issues [LocoCycle (X360)] 2020-11-21 15:54:07 +01:00
bnnm
8c49c773a4 Fix some .awb CPK [Ace Combat Infinity (PS3)] 2020-11-15 22:44:45 +01:00
bnnm
061dd7f289 Tweak HCA bruteforcer 2020-11-15 22:44:04 +01:00
bnnm
ac357845b1 Add HCA key 2020-11-15 22:43:01 +01:00
bnnm
0984e4438e Fix some .acb names [Street Fighter vs Tekken (X360)] 2020-11-15 01:28:42 +01:00
bnnm
43ef8e8507 Fix some Wwise .bnk SFX 2020-11-15 00:44:25 +01:00
bnnm
d4f6228809 Add .nsopus [Sakuna: Of Rice and Ruin (Switch)] 2020-11-15 00:20:44 +01:00
bnnm
af5176721c Fix some .nus3bank [Tekken Tag Tournament 2 (X360)] 2020-11-15 00:15:21 +01:00
bnnm
f6bd042f12 Fix .txtm in .awb 2020-11-15 00:11:57 +01:00
bnnm
8da533e815 Add .awb+acb using CPK [MGS3 (3DS), SF vs TK (X360)] 2020-11-15 00:11:48 +01:00
Julian Xhokaxhiu
d55397242c sps_n1: init_vgmstream_ogg_vorbis is available when VGM_USE_VORBIS=ON 2020-11-12 20:11:55 +01:00
bnnm
0dac6af7e4 Fix compiler warnings 2020-11-09 22:26:26 +01:00
bnnm
2762dfa9d9 Fix compiler warnings 2020-11-09 22:26:07 +01:00
bnnm
81303b449c Add partial support for Koie Tecmo .xws with MSF 2020-11-09 22:22:00 +01:00
bnnm
847d93b7a1 Add WiiVoice dsp [Fatal Frame 5 (WiiU)] 2020-11-09 20:40:24 +01:00
bnnm
807d479851 Fix some .sed [Fatal Frame 5 (WiiU)] 2020-11-09 20:18:53 +01:00
bnnm
af7cc73685 Add TXTH name_offset_absolute for some subsong cases 2020-11-09 18:49:54 +01:00
bnnm
abb8d3fa1d Rename TXTH subsong_offset to subsong_spacing for clarity
Also add loop_start/end aliases for easier typing
2020-11-09 17:35:38 +01:00
bnnm
6e82819aa9 Clean Wwise meta 2020-11-09 17:04:42 +01:00
bnnm
1770ca53b6 Fix buggy .at3 [E.X. Troopers (PS3)] 2020-11-09 14:51:59 +01:00
bnnm
a092b40271 Add Wwise Opus (disabled) 2020-11-09 14:51:46 +01:00
bnnm
ba88be7a47 Improve XOpus handling + prepare Wwise Opus 2020-11-09 14:50:33 +01:00
NicknineTheEagle
b0b2fb7c5b EA MPF: Fixed RAM tracks with multiple BNKs 2020-11-09 03:54:56 +03:00
NicknineTheEagle
6d80fd3caa EA MPF: Set MUS name as stream name in v0 parser 2020-11-08 23:15:00 +03:00
NicknineTheEagle
ac389b1af3 Added TXTM format for specifying companion files 2020-11-08 22:42:57 +03:00
NicknineTheEagle
6ad66fdeb8 Fixed uninitialized local variable 2020-11-08 20:50:42 +03:00
NicknineTheEagle
cde0eb5520 EA MPF: Implemented RAM tracks (stored as BNKs) 2020-11-08 20:50:17 +03:00
NicknineTheEagle
adb7fa712e EA MPF: Fixed version 3.1 [SSX Tricky] 2020-11-08 17:47:39 +03:00
NicknineTheEagle
5c76592bfd Minor doc 2020-11-07 21:20:59 +03:00
NicknineTheEagle
f1912656cd EA TMX: Fixed big endian version 2020-11-07 18:26:57 +03:00
NicknineTheEagle
21b5f9d0e1 EAAC: SPS always has type set to streamed 2020-11-07 17:02:58 +03:00
NicknineTheEagle
4f03a5112d EA SCHl: Fixed PS2 bank offsets 2020-11-07 16:24:04 +03:00
NicknineTheEagle
8b463f9d53 EA SCHl: Added Wii platform 2020-11-07 16:24:03 +03:00
NicknineTheEagle
3d95d56559 EAAC: Implemented looped gigasamples 2020-11-07 06:36:19 +03:00
NicknineTheEagle
7eb3b1cc5b Added .chk extension 2020-11-07 06:34:59 +03:00
bnnm
4be85e27a3 Add FSB key 2020-11-06 17:44:34 +01:00
bnnm
395c2d38dc Add #v alias and fix dB decimals 2020-11-06 17:44:07 +01:00
bnnm
8a1430e0b1 Fix .MSF sample counts with VBR MP3 [Asura's Wrath (PS3)] 2020-11-06 17:43:29 +01:00
bnnm
b55dbb2350 Add FSB OPUS (disabled) 2020-11-02 12:33:03 +01:00
bnnm
71bf056039 Fix encrypted FSB5 .bank 2020-11-02 12:30:20 +01:00
bnnm
86a18e7ca6 Fix Wwise old stereo IMA [Shadowrun 2007 (PC)] 2020-11-02 12:29:18 +01:00
bnnm
a26816d8ff
Merge branch 'master' into txtp-misc-title 2020-11-02 01:14:15 +01:00
bnnm
01eaab1f01 Unity plugin titles and improve TXTP handling 2020-11-02 01:07:39 +01:00
NicknineTheEagle
da4050c144 Documented EA ABK and HDR formats 2020-11-02 01:55:38 +03:00
bnnm
5949e5f83f Merge branch 'master' into txtp-misc 2020-11-01 22:34:30 +01:00
bnnm
0df5bccd2e Add TXTP loop anchors to simplify segment loops and multi-loop groups 2020-11-01 22:26:52 +01:00
NicknineTheEagle
28a22f3684 EA SCHl: Fixed channel offsets for PS2 PCM 2020-11-01 19:30:07 +03:00
NicknineTheEagle
7a4864060d EA SCHl: Fixed channel offsets for PC GCADPCM streams 2020-11-01 18:59:00 +03:00
NicknineTheEagle
42bfc1fa6f EA SCHl: Adjusted when to use EA-XA v2 2020-11-01 18:57:16 +03:00
bnnm
48a32e6631 Add TXTP special value "all" in random groups 2020-11-01 16:49:43 +01:00
bnnm
a41110404b Add TXTP support for volume macro in decibels 2020-11-01 16:12:39 +01:00
bnnm
7497b6370e Fix FSB5 .bank segfault when failing to open encrypted files 2020-11-01 15:27:48 +01:00
bnnm
d57fe63681 Fix Wwise old IMA/PCM and new LE XMA [Shadowrun (PC)] 2020-11-01 15:26:57 +01:00
NicknineTheEagle
0df7f8ccca EA SCHl: Unified EA-XA decoder 2020-11-01 07:56:10 +03:00
NicknineTheEagle
0475750c2f EA SCHl: PCM is interleaved on PC only in v0 2020-11-01 07:07:28 +03:00
NicknineTheEagle
3985f20e7b EA SCHl: Minor doc + reordered codecs 2020-11-01 07:07:27 +03:00
NicknineTheEagle
69bec350fc EA SCHl: PS2 PCM always has mini-header 2020-11-01 07:07:27 +03:00
NicknineTheEagle
b965a8ae98 EA SCHl: Fixed channel offsets for Saturn PCM 2020-11-01 07:07:26 +03:00
NicknineTheEagle
a8a35cecb8 EA SCHl: Fixed channel offsets for some cases 2020-10-31 20:59:35 +03:00
NicknineTheEagle
48a618e532 Renamed some structs to avoid clashes 2020-10-31 20:57:12 +03:00
NicknineTheEagle
e14bb508e2 Ubi DAT: Append "(missing)" to missing files 2020-10-29 23:30:35 +03:00
NicknineTheEagle
a731fa248f Ubi DAT: Play silence if external file is not found 2020-10-29 23:06:21 +03:00
NicknineTheEagle
19ccbc4782 EA SCHl: Assume interleaved PCM for v0 2020-10-29 20:20:43 +03:00
NicknineTheEagle
57209111cf EA SCHl: Filled missing codec indexes 2020-10-29 20:20:13 +03:00
bnnm
aa1f0cdcf6 Extra check for ASKA ADPCM in .aac 2020-10-25 10:26:55 +01:00
bnnm
0694abbf37 Fix .rsd XMA cutting early [Crash of the Titans (X360)] 2020-10-25 10:26:23 +01:00
bnnm
c470ed5218 Fix .wem OPUSNX with original rate [MK Home Circuit (Switch) voices] 2020-10-17 19:41:49 +02:00
bnnm
f4155c7f50 Remove tri-Ace .ace fake extension (use .aac/laac) 2020-10-17 19:13:11 +02:00
bnnm
06b82f7c80 Remove Enthusia .enth fake extension (use .lbin/ap/lep/lp) 2020-10-17 19:11:15 +02:00
bnnm
e8343035ab Redo tri-Ace .aac w/ MSADPCM + subsongs [Star Ocean 4 (PC)] 2020-10-17 19:05:50 +02:00
bnnm
6fc5e604e7 Fix Enthusia PCM files and add .lp/ap/lep 2020-10-17 19:00:02 +02:00
bnnm
25dfb01307 Cleanup 2020-10-12 23:31:15 +02:00
bnnm
b55675d49d Fix some iMuse .wav [Grim Fandango (Vita)] 2020-10-12 23:29:30 +02:00
bnnm
347507a775 Add .wav DSP/OPUS [Dragon Quest (Switch)] 2020-10-11 01:10:02 +02:00
bnnm
27fd84ca8c Add .way bgm decoder/meta [Eien no Owari ni (PC)] 2020-10-11 00:01:11 +02:00
bnnm
3097ca83dc Rename vawx to xwav 2020-10-01 22:02:54 +02:00
bnnm
96727a5192 Fix some .nlsd [Disgaea 4 (PC)] 2020-10-01 21:22:34 +02:00
bnnm
d2dd3abf45 Fix .bank with multiple FSB5 [Hades (Switch)] 2020-10-01 21:16:01 +02:00
bnnm
ffaf08760b Fix some .bnk [Warhammer 40000 (PC)] 2020-10-01 21:15:11 +02:00
NicknineTheEagle
7f27515d57 Ubi DAT: Fixed random resource type 2020-09-29 15:36:34 +03:00
bnnm
37d9f50f74 Fix some encrypted .ogg [Tobi Tsukihime (PC)] 2020-09-27 22:01:14 +02:00
bnnm
5b5d671f3b Fix some .xwb with DSP [Blossom Tales (Switch)] 2020-09-26 19:20:40 +02:00
bnnm
d6b6d6fd72 Add old/new .xse [Lost Odyssey (X360), Mindjack (X360/PS3)] 2020-09-25 16:58:59 +02:00
bnnm
c9bc1713de Add old .xwv [Lost Odyssey (X360), Bullet Witch (X360)] 2020-09-25 16:52:12 +02:00
bnnm
6bc2606c10 Fix FFmpeg subsongs always playing first 2020-09-25 16:50:50 +02:00
Simon Aarons
3e4adbb294
Update swav.c 2020-09-24 14:49:33 +10:00
bnnm
f22947dcfd Fix some .xwb and cleanup [Crackdown (X360)] 2020-09-19 00:04:57 +02:00
bnnm
cb1b9f9083 Fix .txth subfiles with subsongs 2020-09-18 23:48:03 +02:00
bnnm
63c545b4e7 Fix some .awb/acb names 2020-09-18 23:47:28 +02:00
bnnm
807b6b6021 Add HCA keys [Kandagawa Jet Girls (PC), Re:Zero (Mobile)] 2020-09-18 23:46:00 +02:00
bnnm
3c4b96de36 Add ADX key [Mirai Nikki (PSP)] 2020-09-18 23:40:08 +02:00
bxaimc
4920603fcd Add reverse endianness for Super Mario Galaxy AST from Super Mario 3D All-Stars (Switch) 2020-09-15 06:56:27 -04:00
bnnm
0b244c50bd Fix .bank with encrypted FSB5 2020-09-14 16:56:20 +02:00
bnnm
807e42989e Add fsbkey [SCP: Unity (PC), GH Metallica (X360)] 2020-09-14 16:56:06 +02:00
bnnm
6fb356500e Tweak .mul check 2020-09-14 16:55:26 +02:00
bnnm
898b016805 Fix some .ktsl2asbin [Atelier Ryza (PC)] 2020-09-12 15:03:43 +02:00
Francis Gagné
07f9b7ea66 meta/ogg_vorbis: Support LOOPMS tags
Teach the Ogg Vorbis parser to interpret the value from LOOPMS tags as a
loop start position, measured in milliseconds (instead of the typical
samples). Converting this value to samples requires the sample rate, so
we must now read the sample rate before interpreting the tags.

These tags are used in Sonic Robo Blast 2 (as of v2.2.6).
2020-09-09 23:28:21 -04:00
Francis Gagné
414aa219c8 meta/ogg_vorbis: Support LOOPPOINT tags
Teach the Ogg Vorbis parser to interpret the value from LOOPPOINT tags
as a loop start position.

These tags are used in Sonic Robo Blast 2 (as of v2.2.6).
2020-09-09 22:38:35 -04:00
bnnm
f61b746861 Fix some .mul [Tomb Raider 8 (PS3), Avengers (PC)] 2020-09-06 19:26:37 +02:00
bnnm
86b6aefc33 Add HCA key 2020-09-05 18:50:29 +02:00
bnnm
216e1e019d Fix some Ubi SB [Petz Sports (Wii), NCIS (Wii)] 2020-09-04 22:58:42 +02:00
bnnm
a51008ad5a Fix some Ubi BAO [Avatar (Wii), Drawsome (Wii)] 2020-09-04 22:54:03 +02:00
bnnm
55b0854b3e Fix some .sab [Men of Valor (PC), Just Cause (PS2)] 2020-09-04 22:52:43 +02:00
bnnm
fdcaabc932 Cleanup 2020-09-04 17:11:22 +02:00
bnnm
040bad86ce Add HCA keys 2020-08-29 01:05:08 +02:00
bnnm
3eaa43ea63 Fix some .joe [Counter Terrorism Special Forces (PS2)] 2020-08-29 01:04:46 +02:00
bnnm
2da75c95fd Remove repeated fsb key 2020-08-19 18:39:00 +02:00
bnnm
baf36daf32 Fix compiler warn 2020-08-19 18:37:46 +02:00
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