Commit Graph

3532 Commits

Author SHA1 Message Date
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
bnnm
bc80041925 Add subsongs and !tags.m3u support for Audacious 2020-09-12 15:03:22 +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
627fbe2f4e Fix some loop install issues with layers 2020-09-06 19:24:56 +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
ff5ffac950 Fix infinite loop with bad data in Wwise Vorbis 2020-08-22 13:40:49 +02:00
bnnm
e42aebf945 Fix seeking with "ignore fade" set 2020-08-22 13:40:01 +02:00
bnnm
c0f5a48aff Allow .txtp matching base files in !tags.m3u 2020-08-22 13:39:48 +02:00
bnnm
69b99e1954 Fix disabling play forever undone by reset (affects foobar convert file) 2020-08-19 18:40:56 +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
Simon Aarons
ac38e353df
Use adpcm_history1_32 for consistency 2020-08-16 22:57:38 +10:00
Simon Aarons
57cd7c6029
Line not actually useless, future-proofing in case of reordering 2020-08-16 22:55:23 +10:00
Simon Aarons
18d461bc36
Remove useless lines 2020-08-16 15:53:13 +10:00
Simon Aarons
e04234e733
Fix offset bug 2020-08-16 15:52:23 +10:00
Simon Aarons
a9100be92f
Initialise sample history and step index to 0 2020-08-16 13:08:29 +10:00
Simon Aarons
221c50b85c
Ensure int32_t for clamps 2020-08-16 12:36:59 +10:00
Simon Aarons
8a5af7ccdb
Highly improved Game.com ADPCM decoding algorithm 2020-08-16 12:28:15 +10: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
fbab0c0905 Fix some decoding edge cases 2020-08-15 16:13:01 +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
fd99eeeb61 Fix memory leak with dual file stereo 2020-08-12 17:41:03 +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
ca16bb0653 Tweak description for mixed layouts 2020-08-08 20:35:53 +02:00
bnnm
e746c7d462 Add TXTP group auto-positions and layer-x macro auto-channels 2020-08-08 20:35:19 +02:00
bnnm
6345c3e6ea Fix foobar not disabling loop forever when needed 2020-08-05 21:17:34 +02:00
bnnm
e6eae7e341 Fix PTADPCM missing samples 2020-08-05 00:16:35 +02:00
bnnm
127bbcad6f Doc 2020-08-03 23:18:47 +02:00
bnnm
96d9502742 Fix EOF frame in early ADX [Baroque (SAT)] 2020-08-03 23:17:20 +02:00
bnnm
c6bd158700 Fix stack overflow when seeking with segments/layers 2020-08-03 23:15:59 +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
d263b9c080 Allow reading some Windows-1252 strings 2020-08-01 15:28: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
bnnm
9216971505 Make segmented/layered loop/behave a bit more standard for seeking 2020-08-01 00:48:15 +02:00
bnnm
ef64005418 Improve Level 5 0x555 codec performance 2020-07-31 17:13:22 +02:00
bnnm
7073d8997d Merge branch 'master' of https://github.com/kode54/vgmstream into cleanup 2020-07-31 17:08:56 +02:00
bnnm
9b4b40d3c8 Remove old bitreader code 2020-07-31 16:54:30 +02:00
bnnm
78ea507e0e Improve EALayer performance a bit by using static bitreader 2020-07-31 16:49:07 +02:00
bnnm
f7526e3735 Use newer bitreader 2020-07-31 16:44:45 +02:00
bnnm
3901393aa3 Minor cleanup 2020-07-31 16:44:31 +02:00
bnnm
d900718a5b Cleanup 2020-07-31 16:44:19 +02:00
bnnm
30eef7ed43 Minor renames 2020-07-30 23:50:56 +02:00
bnnm
5daf36fbc8 Clean Wwise Vorbis and improve IO performance slightly 2020-07-30 23:49:52 +02:00
bnnm
2e9d35b207 Improve Wwise Vorbis bitreader performance 2020-07-30 20:17:14 +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
3bce06ea61 Cleanup 2020-07-29 22:28:49 +02:00
bnnm
5a311f4746 Improve seeking speed 2020-07-29 19:34:55 +02: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
4ec6acb4a6 Add internal simple seeking 2020-07-26 20:15:13 +02:00
bnnm
079218dca8 Update VS files 2020-07-26 20:13:12 +02:00
bnnm
16a056437d Separate part of vgmstream.c to decode.c and render.c 2020-07-26 18:36:47 +02:00
bnnm
32fd4651df use play position in mixing for curves 2020-07-26 17:19:01 +02:00
bnnm
57053ee348 Add pad end + don't emmit garbage samples past file end 2020-07-26 17:16:46 +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
d0f1b85d59 Adjust some settings 2020-07-23 21:10:55 +02:00
bnnm
48a9836828 Add begin trim/padding to main render 2020-07-22 23:29:38 +02:00
NicknineTheEagle
2ecf8c44b2 Added .wlv extension [ToeJam & Earl III: Mission to Earth (DC)] 2020-07-22 00:52:20 +03:00
bnnm
845e6112e1 Add put_uXXbe alias 2020-07-21 19:46:27 +02:00
bnnm
1421bde34a Move plugin parts to internal vgmstream code to simplify plugin code 2020-07-21 19:22:17 +02:00
bnnm
20018c0db7 Cleanup 2020-07-21 19:19:30 +02:00
bnnm
479e6b8889 Move plugin parts to internal vgmstream code to simplify plugin code 2020-07-21 19:18:53 +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
NicknineTheEagle
a646178441 Moved .dat to common extensions list 2020-07-18 20:14:20 +03: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
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