Commit Graph

3037 Commits

Author SHA1 Message Date
bnnm
312eb4ed76 Fix BAO sample rate in some cases [Assassin's Creed] 2019-02-25 19:45:10 +01:00
bnnm
a590ce650b Merge branch 'master' of https://github.com/kode54/vgmstream into tmp 2019-02-25 00:43:28 +01:00
bnnm
c99034cff8 Update mixing code 2019-02-25 00:38:35 +01:00
bnnm
05119fdceb Improve TXTP parsing, ignore spaces and add mask ranges 2019-02-25 00:37:28 +01:00
bnnm
40c23dc3f5 Add Vicious Cycle .mus [Dinotopia (Xbox/GC)] 2019-02-24 11:34:09 +01:00
bnnm
7372ffdc5c Fix possible pcm_bytes_to_samples overflow 2019-02-24 09:52:48 +01:00
bnnm
397c6e0e81 Improve average bitrate with layers+segments 2019-02-24 09:51:10 +01:00
bnnm
0725785824 Add some constants 2019-02-23 23:38:53 +01:00
bnnm
6351432d76 Move mp4.c FFDL code to ffdl.c 2019-02-23 23:19:54 +01:00
bnnm
fa4fc1f64c Add FFDL Ogg [Final Fantasy Dimensions (Android)] 2019-02-23 23:10:58 +01:00
bnnm
c720d6ce37 Fix extensionless files inside folders with dots in winamp/CLI 2019-02-23 17:47:19 +01:00
bnnm
cb93647cdd Fix some AIX [Danball Senki (PSP), Tetris Collection (PS2)] 2019-02-23 17:12:20 +01:00
bnnm
e5ddc9337a Remove unused AIX layout
This layout handled ADX segments+layers at the same time. While there is
some merit in that, it's more flexible and easier to maintain to mix
layer and segment layouts.

Performance and memory used is slightly worse though (impact should be
minimal)
2019-02-23 16:17:29 +01:00
bnnm
6bd23fe948 Change AIX to use custom io and layered+segmented layout
Resulting output is slightly different because AIX layout used to carry
ADX ADPCM hist between segments, but since ADX does have hist in header
(not parsed when AIX was implemented) this step is unneeded/incorrect
2019-02-23 15:26:08 +01:00
bnnm
f354a8fb88 Add allocate_segmented/layered_vgmstream helpers 2019-02-23 15:23:37 +01:00
bnnm
decf64cf01 Add read_sXXle/read_uXXbe/etc alias as a test 2019-02-23 15:23:00 +01:00
niemand-deu
0e645a4fd9
Update baf.c
Added a two liner in the vein of cca30df28d to fix compiling on Linux.
2019-02-23 07:16:35 +01:00
bnnm
e5480f4bb0 Fix minor shadowing issues 2019-02-23 03:15:49 +01:00
bnnm
111c4dd97c Change some sample to sample_t 2019-02-23 02:54:23 +01:00
bnnm
5bdc575f29 Add sample_t for typedef sample to improve shadowing and clarity 2019-02-23 02:47:03 +01:00
bnnm
e3a76d35aa Add TXTH interleave defaults for PSX/DSP/PCM16/PCM8 to simplify usage 2019-02-23 01:49:09 +01:00
bnnm
dd31d1af33 Add Blitz IMA .str+wav [Zapper (PC)] 2019-02-23 00:12:58 +01:00
bnnm
61b9e3743e Add doc 2019-02-22 23:53:15 +01:00
bnnm
9bf0369abd Fix rare .vag [Jak 3 (PS2)] 2019-02-22 23:53:05 +01:00
bnnm
dd5bbe531e Tweak dump_streamfile 2019-02-22 23:52:39 +01:00
bnnm
5109219d85 Fix minor Ubi SB layer bug 2019-02-22 23:52:09 +01:00
bnnm
dc22b3d955 Add some BAOs and v6 IMA [Ghost Recon Future Soldier (PC/PS3)] 2019-02-22 23:51:40 +01:00
bnnm
7e6e8900c2 Fix EA-XMA segfault 2019-02-22 23:35:16 +01:00
bnnm
a2a43c2502 Fix multitrack .baf [James Bond 007 - Blood Stone (X360)] 2019-02-22 23:32:22 +01:00
bnnm
ce07e6af9e Fix ds2 samples 2019-02-18 00:53:59 +01:00
bnnm
d938f60048 Clean loops for readable metadata 2019-02-17 23:53:37 +01:00
bnnm
4b3ec51667 Add .ds2 [Star Wars Bounty Hunter (GC)] 2019-02-17 23:17:14 +01:00
bnnm
a4d4e4a5b7 Fix minor Ubi SB issues 2019-02-17 20:53:30 +01:00
bnnm
8056ba37f4 Update doc 2019-02-17 20:53:02 +01:00
bnnm
fa214e6852 Add .dc2 TXTH extension [Star Wars Bounty Hunter (GC)] 2019-02-17 20:52:34 +01:00
bnnm
ab4805407a Fix some .bnk [Manhunt 2 (PSP)] 2019-02-17 20:48:18 +01:00
bnnm
18593837ad Add TXTP "#h(rate)" to force sample rate 2019-02-17 20:47:57 +01:00
bnnm
fa4e56a6b1 Prepare parts for mixing 2019-02-17 20:28:27 +01:00
bnnm
ed281e1c2e Fix mpeg state not properly resetting in some cases 2019-02-16 01:23:43 +01:00
bnnm
ba0345ceb6 Show loop info even when disabling loops in plugin's config 2019-02-15 23:46:21 +01:00
bnnm
98587ec8e7 Fix memory corruption when forcing loops and clean internals 2019-02-15 22:28:20 +01:00
bnnm
0e379a4e28 Fix some more BAOs 2019-02-15 18:36:45 +01:00
bnnm
9e9495168c Add TXTP "loop_mode=keep" for intro+main songs that also loop normally 2019-02-15 18:36:12 +01:00
bnnm
a49d9851a1 Fix some .baf [James Bond 007: Blood Stone (X360)] 2019-02-15 18:35:24 +01:00
bnnm
ff15eefe80 Fix minor Ubi SB stuff 2019-02-10 19:02:28 +01:00
bnnm
9a402fb797 Minor fixes 2019-02-10 18:43:24 +01:00
bnnm
7085b8ad1d Add TXTP global "commands = #(...)" and allow per-segment masking/mixing 2019-02-10 18:02:10 +01:00
bnnm
802997b255 Adjust Yamaha ADPCM description 2019-02-10 01:39:49 +01:00
bnnm
a7979c51c2 Add .vgm TXTH extension [Maximo (PS2)] 2019-02-10 01:37:28 +01:00
bnnm
4c038cb0ea Add Ocean .DSF, .208 and DSA decoder [Last Rites (PC)] 2019-02-10 01:36:05 +01:00
bnnm
0dbe00d4b0 Add HCA keys 2019-02-09 23:44:57 +01:00
bnnm
ccca7ad949 Fix BAO layer/sequences and add .cpk and more games 2019-02-09 23:43:50 +01:00
bnnm
f4aa758d39 Fix .sfl loops in some cases 2019-02-09 23:43:28 +01:00
bnnm
011fe56614 Fix EALayer3 11ch, V1b PCM, V2S loops [Army of Two 3 (PS3), NFS:W (PS3)] 2019-02-09 23:42:59 +01:00
bnnm
54cf775dca Fix truncated MULs 2019-02-09 23:39:03 +01:00
Christopher Snowhill
c9d997f355
Merge pull request #360 from bnnm/bao
bao
2019-02-02 17:10:00 -08:00
bnnm
493e207c40 Add atomic BAO [Assassin's Creed (PS3/PC)] 2019-02-03 01:47:59 +01:00
bnnm
6742a3e0ef Fix some Ubi SB [Rainbow Six Vegas 2 (X360)] 2019-02-03 01:47:44 +01:00
bnnm
b2f3c860d5 Improve slightly guess_endianness 2019-02-03 01:46:05 +01:00
Michael
d880fd3c1c Add Dragalia subkeys up to Skyborne Spectacle raid event 2019-02-01 19:28:19 -08:00
NicknineTheEagle
56dfa62a75 Should use vgmstream->num_samples here for loop segments 2019-01-28 17:11:31 +03:00
NicknineTheEagle
3249617238 Fixed doc 2019-01-28 09:47:24 +03:00
NicknineTheEagle
70ffbb1194 Use header values instead of vgmstream values in some places 2019-01-28 09:38:11 +03:00
NicknineTheEagle
ba30c79d59 Merge remote-tracking branch 'upstream/master' into ea-ubi
# Conflicts:
#	src/meta/ubi_sb.c
2019-01-28 09:27:45 +03:00
bnnm
fc8911b68a Prepare BAO layers/sequences 2019-01-27 23:42:42 +01:00
bnnm
b81f8a6eed Minor fixes 2019-01-27 23:40:50 +01:00
bnnm
4a6df9b3b9 Add .wxv RIFF [Godzilla - Destroy All Monsters Melee (Xbox)] 2019-01-27 23:40:40 +01:00
bnnm
097f7b0285 Fix some SDF [Mr. Bean's Wacky World (Wii)] 2019-01-26 17:04:43 +01:00
bnnm
aecd7da55e Add .sbv RIFF [Spongebob Squarepants - The Movie (PC)] 2019-01-26 16:34:25 +01:00
bnnm
f806f287f2 Fix most Ubi SB stuff and yet more games 2019-01-26 16:30:36 +01:00
bnnm
a37afdee66 Fix Ubi IMA v2 [Donald Duck: Goin' Quackers (GC)] 2019-01-26 16:16:40 +01:00
bnnm
1d491526ca Add extensionless RIFF [Myst III (Xbox)] 2019-01-26 16:14:50 +01:00
NicknineTheEagle
27a2960e31 Ubi SB: Added more games 2019-01-26 13:31:50 +03:00
NicknineTheEagle
519659fd3e EAAC: Properly calculate stream size for bitrate 2019-01-23 06:40:42 +03:00
NicknineTheEagle
8a00c7cd66 Minor fixes and tweaks 2019-01-22 00:42:34 +03:00
bnnm
b3867b0260 Handle Ubi SB sequence loops properly 2019-01-20 17:16:44 +01:00
bnnm
4c24b03951 Remove debug crap 2019-01-20 00:57:09 +01:00
bnnm
fb8d453c94 Add .lasf (.asf) for consistency 2019-01-20 00:50:39 +01:00
bnnm
3a9273538f Fix type 04 .xnb [Scare Me (XBLIG)] 2019-01-20 00:42:05 +01:00
bnnm
37df2cb18c Show layers/segments in description 2019-01-20 00:39:32 +01:00
bnnm
29bed4b1e0 Add TXTH/GENH interleave_last option 2019-01-20 00:17:06 +01:00
bnnm
8f1ec86bda Fix UE4 MSADPCM .adpcm [Heroes of Ark (iOS), Angels in the Sky (iOS)] 2019-01-19 23:08:26 +01:00
bnnm
da9f9a5572 Fix non-initialized var 2019-01-19 20:04:38 +01:00
bnnm
26e464ef2c Add Ubi .sb/smX layers and sequences, more games 2019-01-19 20:03:48 +01:00
bnnm
0c40610f7f Fix KOEI .mic loops [Dynasty Tactics 2 (PS2)] 2019-01-19 20:01:34 +01:00
NicknineTheEagle
6487d310cb Formatting fixes 2019-01-16 23:29:51 +03:00
NicknineTheEagle
9c9da8fa1b EAAC: Fixed looping for RAM sounds 2019-01-16 23:05:19 +03:00
NicknineTheEagle
3f0ba31a43 EA SCHl: Implemented looping for streamed sounds in ABK 2019-01-16 23:05:09 +03:00
Christopher Snowhill
c6280d85b3
Merge pull request #352 from NicknineTheEagle/ea-sbr
Ea sbr
2019-01-14 18:04:58 -08:00
NicknineTheEagle
ba02ab8f66 EA SCHl: Changed update_ea_stream_size_and_samples to use the first channel offset 2019-01-14 04:01:57 +03:00
bnnm
fd2984f798 Prepare Ubi SB for other types and add more games 2019-01-13 23:27:29 +01:00
bnnm
f5462aad63 Use loop flag in bnk 2019-01-13 23:26:57 +01:00
bnnm
697e5329c9 Minor doc 2019-01-13 23:26:39 +01:00
bnnm
62813ec4d2 Fix broken .pk subsongs [Scott Pilgrim (PS3)] 2019-01-13 23:26:04 +01:00
bnnm
368212bbf8 Fix some looping .sps [FIFA 18 (PC)] 2019-01-13 23:25:29 +01:00
NicknineTheEagle
4c118b28b4 EAAC: Added SBR/SBS format from EA Sports games 2019-01-13 21:53:57 +03:00
NicknineTheEagle
3fc7439ba6 Minor fixes 2019-01-13 21:50:58 +03:00
NicknineTheEagle
b472b6a01f Renamed some parsers for clarity 2019-01-13 05:15:18 +03:00
NicknineTheEagle
2a88b6bc11 EAAC: Added SBR/SBS format 2019-01-13 02:42:54 +03:00
bnnm
7b9d50e62b Add proper .baf [Project Gotham Racing 4 (X360), Geometry Wars (PC)] 2019-01-12 18:01:19 +01:00
bnnm
093fa28a2f Add OKI16 TXTH/GENH decoder [Sweet Legacy (PS2), Hooligan (PS2)] 2019-01-12 13:02:08 +01:00
bnnm
1f44c2d2de Rename pcfx_decoder.c to oki_decoder.c 2019-01-12 11:38:20 +01:00
bnnm
d56bca12f8 Remove ps2_khv.c as it's now parsed in vag.c 2019-01-12 02:55:24 +01:00
bnnm
2e68217af2 Add .vas VAGp [Kingdom Hearts II (PS2)] 2019-01-12 02:51:37 +01:00
bnnm
5d610be086 Add .gin and EA-XAS v0 decoder [Need for Speed Most Wanted] 2019-01-12 02:26:38 +01:00
bnnm
f90d9c1e5d Fix .fag sample rate 2019-01-12 01:02:10 +01:00
bnnm
13643e8c3d Fix some .bnk codec/rates [Fieldrunners (PSP), Wipeout HD (PS3)] 2019-01-12 01:02:01 +01:00
bnnm
c9500056a6 Fix some .ads looping [Gofun-go no Sekai (PS2)] 2019-01-12 01:00:24 +01:00
bnnm
07abb4692d Add TXTH sub-extension (.sub.ext.txth) to simplify extra config 2019-01-12 01:00:07 +01:00
Christopher Snowhill
699e1092a0
Merge pull request #351 from NicknineTheEagle/pcm4
Added 4-bit PCM decoder
2019-01-10 00:21:48 -08:00
NicknineTheEagle
c47ae9632a Changed decode_pcm4 functions to use int16_t instead of uint16_t 2019-01-10 02:54:52 +03:00
NicknineTheEagle
5190b362a9 Added 4-bit PCM decoder 2019-01-09 22:30:15 +03:00
bxaimc
27b26e2d49 formatting....thanks Visual Studio 2019-01-08 00:52:22 -05:00
bxaimc
38993f6b1e SD9 meta cleanup and modify loop flag for newer BMIIDX games 2019-01-08 00:44:10 -05:00
bnnm
6505854983 Fix some Ubi SB XMA 2019-01-07 23:31:18 +01:00
bnnm
75143d5f6b Remove Ubi SB hacks now that it's correctly parsed, fixes 2019-01-07 22:10:48 +01:00
bnnm
8f3544d901 Fix many Ubi SB bugs, add looping and more games 2019-01-07 18:03:47 +01:00
Christopher Snowhill
0638ba6142
Merge pull request #348 from NicknineTheEagle/ea-mpf
Ea mpf
2019-01-06 17:47:22 -08:00
bnnm
b19ed761a6 Rename ps2_psh.c to vsv.c 2019-01-05 20:23:12 +01:00
bnnm
78099c096b Fix .vsv/psh decoding and mono files [Dawn of Mana (PS2)] 2019-01-05 20:20:08 +01:00
bnnm
3480e49cd4 Remove sps frostbite parser (use a good extractor instead) 2019-01-05 04:41:36 +01:00
bnnm
be9399b370 Redo Infernal Engine .smp [Ghostbusters (multi)] 2019-01-05 04:36:20 +01:00
bnnm
113ff85f58 Remove debug crap 2019-01-05 04:32:32 +01:00
bnnm
94915b90ab Simplify Ubi SB platform parsing 2019-01-05 04:32:07 +01:00
bnnm
adea00edab Tweak Ubi sb/xmX for clarity and add more games 2019-01-05 04:02:14 +01:00
NicknineTheEagle
cca9789fd0 Merge remote-tracking branch 'upstream/master' into ea-mpf 2019-01-03 04:46:34 +03:00
NicknineTheEagle
19ff79fac3 EA SCHl: MPF fixes 2019-01-03 04:46:26 +03:00
bnnm
af32ec83db Improve Ubi SB/SM (.smN/sbN) parsing speed 2019-01-02 23:46:39 +01:00
bnnm
254582b21d Add Ubi SB debug stuff for subtypes/layers 2019-01-02 23:31:14 +01:00
bnnm
dd97d29f80 Add EA EACS banks [Need for Speed (PC)] 2019-01-02 17:17:14 +01:00
bnnm
49628d6198 Add SCHl .hab/gsf/abk and custom mpf+mus pairs, remove trj/trm map pair 2019-01-02 16:15:03 +01:00
bnnm
7211e0e0ec Merge branch 'master' of https://github.com/kode54/vgmstream into test 2019-01-02 11:10:14 +01:00
Christopher Snowhill
4e170af368
Merge pull request #344 from NicknineTheEagle/ea-mpf
Fixes
2019-01-01 17:28:43 -08:00
bnnm
9e1e4464b0 Improve Ubi BAO (.pk) parsing speed 2019-01-01 23:21:08 +01:00
bnnm
18fcb5fed7 Fix raw .xa validation [Toy Story 2 (PS1)] 2019-01-01 23:19:12 +01:00
bnnm
6ccceee033 Fix .sdt [Baldur's Gate - Dark Alliance (GC)] 2019-01-01 21:01:45 +01:00
bnnm
42ce03a004 Add .wd RIFF [Genma Onimusha (Xbox)] 2019-01-01 20:59:52 +01:00
bnnm
5066dee488 Add extensionless xwb 2019-01-01 19:04:39 +01:00
bnnm
2275ea2529 Prepare ATSL for KTAC 2019-01-01 19:04:22 +01:00
bnnm
6906a55685 Add unused EA-XA float decoder 2019-01-01 19:02:58 +01:00
Michael
7636c38980 Add Dragalia Lost subkeys for English voice clips 2018-12-31 19:43:40 -08:00
NicknineTheEagle
1d8c619278 EA SCHl: Small fix 2018-12-31 23:18:37 +03:00
NicknineTheEagle
20cf817403 Ubi SB: FMT_XMA1 header fixes 2018-12-31 23:05:58 +03:00
NicknineTheEagle
b0ac7ce4e3 EA SCHl: Added more MPF versions 2018-12-31 23:01:46 +03:00
Michael
b84ff9a86b Add Dragalia Lost subkeys from Chapter 7 and New Year's event 2018-12-31 03:35:41 -08:00
NicknineTheEagle
2087ef84bf Ubi SB: Implement rotating IDs for SMx 2018-12-31 02:57:58 +03:00
NicknineTheEagle
7ce512eee2 Fixed var types in align_size_to_bytes 2018-12-30 23:39:27 +03:00
NicknineTheEagle
52851e14a2 Ubi SB: Properly handle FMT_XMA1 header 2018-12-30 22:25:14 +03:00
NicknineTheEagle
4272fcb1ed
Merge branch 'master' into ubi-sb 2018-12-30 21:00:55 +03:00
NicknineTheEagle
c90aa7fd94 Ubi SB: Added LMx file extensions 2018-12-30 19:32:13 +03:00
NicknineTheEagle
4a9bf6c68d Ubi SB: Better naming for SMx subsongs 2018-12-30 19:04:19 +03:00
NicknineTheEagle
9cfbd1ff6c Ubi SB: Added TMNT (PSP), Surf's Up (PSP) 2018-12-30 17:38:03 +03:00
NicknineTheEagle
9d090e91c8 Project files fixes 2018-12-30 14:04:06 +03:00
Christopher Snowhill
515ba9a5eb
Merge pull request #339 from NicknineTheEagle/ea-map-mpf
Ea map mpf
2018-12-28 20:01:12 -08:00
bnnm
fa2f95739a Fix AWC MPEG not seeking back correctly 2018-12-28 11:04:18 +01:00
NicknineTheEagle
4d73443bae Removed unused local variable 2018-12-28 02:39:19 +03:00
NicknineTheEagle
9b29ba9599 EA SCHl: fixed stream size calc not working with merged sound files 2018-12-28 02:02:36 +03:00
NicknineTheEagle
7418e32482 EA SCHl: Restored sound merging hack
Too many sets rely on it, not worth it
2018-12-27 23:16:59 +03:00
NicknineTheEagle
6231905a79 EA SCHl: Added EOF check 2018-12-27 22:18:26 +03:00
NicknineTheEagle
6553786f8a EA SCHl: Fixed get_ea_stream_size 2018-12-27 21:58:41 +03:00
NicknineTheEagle
4024016d10 EA SCHl: Big endian fix 2018-12-27 21:52:37 +03:00
NicknineTheEagle
430ea27f85 EAAC: Added MPF/MUS format 2018-12-27 21:26:04 +03:00
NicknineTheEagle
54cf2e04fc EA SCHl: Calculate stream size for bitrate 2018-12-27 21:20:28 +03:00
NicknineTheEagle
268a6a4319 EA SCHl: Removed sound file merging hack 2018-12-27 20:41:02 +03:00
NicknineTheEagle
53b3991ae8 EA SCHl: Added MAP/MUS format 2018-12-27 20:27:03 +03:00
NicknineTheEagle
808188dbcd EA SCHl: Added MPF/MUS format 2018-12-27 20:01:36 +03:00
NicknineTheEagle
39b5480ca6 EA SCHl: Removed IDX/BIG parser 2018-12-27 19:51:01 +03:00
bnnm
1bd12e54c2 Add .csa extension [LEGO Racers 2 (PS2)] 2018-12-27 17:19:12 +01:00
bnnm
9ff2ce5944 Add name_offset/name_size option for TXTH 2018-12-27 16:51:27 +01:00
bnnm
e53740f27f Add PCFX for GENH/TXTH [Der Langrisser FX (PC-FX)] 2018-12-27 16:14:59 +01:00
bnnm
0bc8e084cf Clean debug crap 2018-12-27 16:14:11 +01:00
bnnm
5c45178892 Fix some SCHl multi-language videos [MOH Warfighter, NFS The Run] 2018-12-27 16:08:48 +01:00
NicknineTheEagle
9e068be24f Ubi SB: Added Donald Duck: Goin' Quackers (GC), Splinter Cell (PC), incomplete 2018-12-26 17:09:35 +03:00
NicknineTheEagle
b980528de6 Ubi SB: Fixed Brothers in Arms: D-Day (PSP) offsets 2018-12-24 15:48:15 +03:00
NicknineTheEagle
54f752851c Ubi SB: Added Splinter Cell Classic Trilogy HD (PS3) 2018-12-24 14:29:55 +03:00
Christopher Snowhill
462a033bc1
Merge pull request #336 from slashiee/subkeys_dgl
Add latest Dragalia Lost subkeys from file downloads
2018-12-23 14:15:39 -08:00
Christopher Snowhill
f4551cda37
Merge pull request #335 from bnnm/vs-mul-hca
vs mul hca
2018-12-23 14:14:52 -08:00
Christopher Snowhill
ab3b69fa64
Merge pull request #334 from NicknineTheEagle/ubi-sb
Ubi SB: SMx format support
2018-12-23 14:13:17 -08:00
NicknineTheEagle
960a13a6f2 Ubi SB: More SMx fixes 2018-12-23 18:55:20 +03:00
bnnm
aa970bbdef Adjust RedSpark case 2018-12-23 13:39:50 +01:00
bnnm
9245dc8a15 Add iNiS .IMC [Gitaroo Man (PS2)] 2018-12-23 13:38:18 +01:00
bnnm
28ce248992 Increase blank skips for rarer Dragalia Lost songs 2018-12-23 13:35:43 +01:00
Michael
6b8bcb14ad Add Dragalia Lost subkeys up to Dragonyule event 2018-12-23 03:14:01 -08:00
NicknineTheEagle
ab18f074bd Ubi SB: Added Splinter Cell: Double Agent (GC) 2018-12-23 12:49:54 +03:00
NicknineTheEagle
a9624f6f71 Ubi SB: Restored XMA header offset parameter 2018-12-23 11:03:50 +03:00
NicknineTheEagle
518e47ca5f Ubi SB: SMx fixes 2018-12-23 07:20:36 +03:00
NicknineTheEagle
3c8f17a977 Ubi SB: Added Splinter Cell: Essentials (PSP) 2018-12-23 04:15:50 +03:00
bnnm
aeaf2c0b8c Increase blank skips for rare Dragalia Lost songs 2018-12-23 01:54:50 +01:00
NicknineTheEagle
5626244108 Ubi SB: Full SMx format support 2018-12-23 00:47:24 +03:00
bnnm
7936f76b00 Merge branch 'master' of https://github.com/kode54/vgmstream into
vs-mul-hca

# Conflicts:
#	src/formats.c
2018-12-22 20:31:27 +01:00
bnnm
2e3add8354 Add doc 2018-12-22 20:13:41 +01:00
bnnm
212cdf7a32 Rename *vs_ffx.c to *vs_square.c and *ps2_strlr.c to *vs_str.c 2018-12-22 20:12:13 +01:00
bnnm
c74da3884d Clean .vs naming 2018-12-22 20:09:01 +01:00
bnnm
a1d559d529 Rename *emff.c to *mul.c 2018-12-22 19:52:01 +01:00
bnnm
47ab52f4f2 Fix various PS2/GC/Wii/PC/Xbox/PSP .mul/emff [TR Legend, TR Underworld] 2018-12-22 19:47:17 +01:00
bnnm
87972f55eb Improve HCA key detection for small/silent HCA [Dragalia Lost (iOS)] 2018-12-22 19:44:30 +01:00
bnnm
1d97f9ad78 Clean Melbourne House .vs 2018-12-21 23:53:02 +01:00
bnnm
bff7c58c8c Fix some ZSND [Marvel Ultimate Alliance 2 (PS2)] 2018-12-21 23:51:15 +01:00
bnnm
28f4896818 Fix stereo .vs [All Star Pro-Wrestling 2/3 (PS2)] 2018-12-21 22:38:48 +01:00
bnnm
3ead9f7f4a Fix MTA2 with empty frames 2018-12-21 22:37:56 +01:00
NicknineTheEagle
6f0db94553 Ubi SB: Added Splinter Cell: Chaos Theory (Xbox) 2018-12-21 19:00:59 +03:00
NicknineTheEagle
47e45d42da Ubi SB: Added support for some games using MAPS.SMx 2018-12-21 17:17:10 +03:00
RIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDGE RACERRRRRRRRRRRRRRRRRRRRRRRRRRRRR
1b314e4d57
add "eda" extension
from PS2 version of Project Eden
2018-12-19 11:34:37 -03:00
NicknineTheEagle
8ab6fc14cc Fixes 2018-12-17 14:01:00 +03:00
NicknineTheEagle
29238877cd Ubi SB: Added TMNT (X360/PC) 2018-12-17 13:20:53 +03:00
NicknineTheEagle
601eb6338c Ubi SB: Added Surf's Up (PS3/X360) + better platform handling 2018-12-17 10:05:45 +03:00
NicknineTheEagle
8b0b7bc0a6 Fixed duplicate file listing in libvgmstream project 2018-12-17 05:44:56 +03:00
Michael
83f6ab4722 Add Dragalia Lost 1.3.0 subkeys
Taken from iOS IPA, thanks @blueskythlikesclouds for the help with finding these!
2018-12-16 14:47:27 -08:00
bnnm
770343b255 Add .nus3audio [Super Smash Bros. Ultimate (Switch)] 2018-12-15 12:37:01 +01:00
bnnm
34d4500e54 Add .sps EAMP3 [Need for Speed (PS4)] 2018-12-15 11:17:47 +01:00
bnnm
12edc39bff Add looping Ogg Opus [Monster Boy and the Cursed Kingdom (Switch)] 2018-12-09 02:00:47 +01:00
bnnm
13a7a5382d Add .opusx/adpcmx [Touhou Genso Wanderer -Reloaded- (Switch)] 2018-12-09 01:23:40 +01:00
bnnm
b43bb3aefe Rename psx_cdxa.c to xa.c, psx_fag.c to fag.c for clarity 2018-12-08 02:52:55 +01:00
bnnm
30481a5dcc Clean XA names 2018-12-08 02:50:54 +01:00
bnnm
d31e11b6f9 Fix .fag num_samples/subsongs [Jackie Chan Stuntmaster (PS1)] 2018-12-08 02:45:19 +01:00
bnnm
9291e33312 Fix minor compiler warnings 2018-12-08 00:33:07 +01:00
bnnm
60945577c0 Add Vicarious Visions .zss/zsm/ens/enm [X-Men Legends II (multi)] 2018-12-08 00:10:44 +01:00
bnnm
4c36a5eb09 Fix audacious builds 2018-12-04 00:00:22 +01:00
bnnm
eaa176864c Simplify debug off_t casting for easier build
Also reorder some custom opus funcs that don't depend on ffmpeg
2018-12-01 18:52:30 +01:00
bnnm
a960a12e58 Fix some compiler warning/errors with libs disabled 2018-12-01 18:34:23 +01:00
bnnm
7a5cf59951 Remove custom Opus skip_samples for newer FFmpeg + libopus 2018-12-01 18:33:43 +01:00
bnnm
42bc5de623 Add From Software .xps/.xps+dat [Metal Wolf Chaos (Xbox), Otogi (Xbox)] 2018-12-01 14:01:52 +01:00
bnnm
c87aff04f9 Add opus+sli looping [Sabbat of the Witch (PC)] 2018-12-01 02:47:57 +01:00
bnnm
13e0b1b348 Fix some TXTH operator/body_file issues 2018-12-01 02:41:56 +01:00
bnnm
0706aeffbf Fix some GENH with small header_size and allow N channel DSPs
- "DSP coef right offset" becomes "DSP coef spacing" when channels is
more than 2
2018-12-01 02:40:28 +01:00
bnnm
b75b180557 Add minor opus bad data check 2018-12-01 02:39:25 +01:00
bnnm
befa17dc2e Add TXTH operations (value_*/+-) and field values, ignore -1 loop flag 2018-11-24 15:25:11 +01:00
bnnm
976e1f3efe Add TXTH dual file/bigfile/subsong/multiplier handling
- Can loading a separate header_file or body_file for dual files
- Can load from .txth directly while setting header_file/body_file for
bigfiles
- Can set value_multiplier for use with sector and similar values that
must be multiplied
- Can set subsong_count and subsong_offset for subsong headers suboffset
2018-11-24 01:45:04 +01:00
bnnm
e8ca19ba2c Add fix_dir_separators util 2018-11-24 00:44:17 +01:00
bnnm
cb8cf92cb0 Add PONA .sxd extension [Policenauts Pilot Disc (3DO)] 2018-11-18 17:24:07 +01:00
bnnm
467ca19450 Fix XMA gapless/looping/samples
fixes: standard, wem, xwc, xwb, xnb, xwx, rak, pk, txth, genh, seg, rsd, past, p3d, nub-xma, gtd, gsp, fsb, eaac, cxs, awc, aac
2018-11-18 17:01:31 +01:00
bnnm
ef64889a28 Add XMA utils to fix encoder delay stuff 2018-11-18 17:00:48 +01:00
bnnm
2d48913b75 Add !tags.m3u $AUTOTRACK command for auto %TRACK% tag 2018-11-17 17:54:42 +01:00
bnnm
56ced57ece Add TamaSoft .msf [Abandoner: The Severed Dreams (PC)] 2018-11-17 17:52:07 +01:00
bnnm
13adff02eb Doc Wwise stuff 2018-11-17 15:52:02 +01:00
bnnm
74faa28da8 Fix some AKB AAC issues, add doc (from lib) 2018-11-17 15:50:20 +01:00
bnnm
ac100dca86 Fix bad loops in pce2p_bgm_ajurika_*.fsb [Pac-Man CE2 Plus (Switch)] 2018-11-17 14:36:09 +01:00
bnnm
3471caebd7 Add HCA/ADX keys 2018-11-17 14:35:24 +01:00
bnnm
c76fe5a4b3 Fix SGXD loop end being off by 1 sample 2018-11-11 23:58:58 +01:00
bnnm
5d98795abf Improve external .sxd handling 2018-11-11 23:58:38 +01:00
bnnm
5b0e410f39 Fix HEVAG Sony .bnk [Yuusha Shisu (Vita)] 2018-11-10 00:44:06 +01:00
bnnm
ab90e08484 Add ADPCM .xpcm [Eternal Fantasy (PC)] 2018-11-10 00:09:03 +01:00
bnnm
9b7161a207 Add PCM16LE .xpcm [Eternal Fantasy (PC)] 2018-11-09 22:57:35 +01:00
bnnm
b56f9e9acd Add NWAV [Fuurai no Shiren Gaiden: Onnakenshi Asuka Kenzan! (PC)] 2018-11-09 21:23:31 +01:00
bnnm
c2ecafa3cf Play MP3 Surround .xvag as stereo [Twisted Metal (PS3)] 2018-11-09 21:03:44 +01:00
bnnm
7c89537295 Fix truncated XMA .wem [The Bureau - XCOM Declassified (X360)] 2018-11-09 21:03:16 +01:00
bnnm
b63fbcf04f Describe stream index always when file has subsongs 2018-11-04 00:37:33 +01:00
bnnm
2eba5abc26 Add plugin helper functions for tagfile handling 2018-11-03 19:26:50 +01:00
bnnm
0245832256 Update MSCV includes for fun 2018-11-03 18:09:13 +01:00
bnnm
8ae4ea3000 Round .vs/svs pitch values 2018-11-03 18:06:39 +01:00
bnnm
da0166f90d Add ADX key [Lucky Star - Ryouou Gakuen Outousai (PS2)] 2018-11-03 18:03:25 +01:00
bnnm
2e2eeb8723 Tweak .vs doc 2018-11-01 16:41:23 +01:00
bnnm
ec63b8ff38 Tweak .svs sample rate 2018-11-01 16:39:53 +01:00
bnnm
1380faf5bb Add PC/X360/Wii .seg and fixes [The Spiderwick Chronicles (multi)] 2018-11-01 16:34:53 +01:00
bnnm
7259bcc0f2 Remove unused value warning 2018-10-27 23:49:52 +02:00
bnnm
466f3af458 Subfile streamfile cleanup 2018-10-27 23:49:08 +02:00
bnnm
0e16a309e2 Add 2MSF and clean WMSF [Super Robot Taisen OG: The Moon Dwellers (PS4)] 2018-10-27 23:10:03 +02:00
bnnm
7cde6bdf8b Add .str SPSD extension [Shenmue (DC)] 2018-10-27 22:33:26 +02:00
bnnm
fb3091502c Fix some truncated .wem 2018-10-27 22:26:21 +02:00
bnnm
2d968064dc Fix some FFX .vs 2018-10-27 22:25:45 +02:00
bnnm
693842ea09 Fix short .mds coefs [T3: The Redemption (GC), MI: Operation Surma (GC)] 2018-10-27 22:25:15 +02:00
bnnm
d779f16c35 Minor hca doc 2018-10-20 22:28:54 +02:00
bnnm
33aa532c34 Add blocked VS [Final Fantasy X (PS2)] 2018-10-20 15:30:46 +02:00
bnnm
17d2a096b8 Add RIFF .adw extension [Dead Rising 2 (PC)] 2018-10-20 14:56:34 +02:00
bnnm
31084446b0 Add .lwma/lmpc/lmp3 as a way to force files into vgmstream 2018-10-20 14:54:49 +02:00
bnnm
929560b53c Adjust cavia ADS loops 2018-10-20 12:35:58 +02:00
bnnm
3123d1c273 Adjust XOPUS encoder delay 2018-10-20 12:35:50 +02:00
bnnm
60ee31b4ce Add RIFF .adpcm [Angry Birds Transformers (Android)] 2018-10-13 21:02:42 +02:00
bnnm
e49a688559 Add .xopus decoding [Angry Birds Transformers (Android)] 2018-10-13 21:01:58 +02:00
bnnm
cca676bb0f Add new HCA key derivation
Thanks to FZFalzar, Thealexbarney and hozuki for the key and algorithm
2018-10-13 19:53:25 +02:00
bnnm
ec0043bf6b Improve HCA key testing 2018-10-13 19:50:42 +02:00
Christopher Snowhill
1743cbdd35
Update ps2_va3.c
Clean up and reformat.
2018-10-09 15:51:25 -07:00
Christopher Snowhill
3d9ae0932c
Update vgmstream.h
Clean up formatting.
2018-10-09 15:49:04 -07:00
Christopher Snowhill
c99bc4cf4f
Update vgmstream.c
Clean up formatting.
2018-10-09 15:48:24 -07:00
Christopher Snowhill
f327e989a4
Update libvgmstream.vcxproj.filters
Clean up project filters file.
2018-10-09 15:47:23 -07:00
Christopher Snowhill
ec3ba70c48
Update libvgmstream.vcxproj
Clean up the project file.
2018-10-09 15:43:13 -07:00
Christopher Snowhill
85a1550fd8
Update formats.c
Fix formatting.
2018-10-09 15:42:17 -07:00
style_of_2001
50648c777f add the new file to the project BUT BEWARE I had to change toolset 2018-10-09 10:02:59 -05:00
style_of_2001
107f9a658e Add konami / sony VA3 support (fix crash in cli :P) 2018-10-09 09:53:10 -05:00
Christopher Snowhill
0e3b7c5539
Update formats.c
Add missing comma
2018-10-08 16:07:29 -07:00
RIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDGE RACERRRRRRRRRRRRRRRRRRRRRRRRRRRRR
34e6b0c7b6
one more extension added into formats.c 2018-10-08 16:29:02 -03:00
Christopher Snowhill
8d72756f45
Merge pull request #304 from bnnm/xwma-ffmpeg-lse-sps
xwma ffmpeg lse sps
2018-10-07 15:44:35 -07:00
bnnm
fc39012e17 Clean Nippon Ichi SPS/NLSD/PPP/DSP 2018-10-07 23:59:42 +02:00
bnnm
9e7cdfb9a1 Fix XWB buf/size differences 2018-10-07 23:28:01 +02:00
bnnm
80aad4f15a Add/fix XWMA start and num samples 2018-10-07 23:27:31 +02:00
RIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDGE RACERRRRRRRRRRRRRRRRRRRRRRRRRRRRR
0caea55067
update formats.c with two new extensions
these new extensions being "ADC" and "MVB"
2018-10-07 17:03:43 -03:00
bnnm
edd7226ee0 Fix EA XMA with actual looping [The Simpsons Game (X360)] 2018-10-07 21:18:46 +02:00
bnnm
4e45cbd571 Add FFmpeg encoder delay logs 2018-10-07 21:16:57 +02:00
bnnm
a63dd9eae0 Fix XWMA with buggy bit rates [Saints Row 2 (PC)] 2018-10-07 03:26:31 +02:00
bnnm
65aca53cb5 Fix some XWB + FFmpeg subsongs 2018-10-07 03:26:05 +02:00
bnnm
14ba35b70a Fix missing 1 sample in RIFF loops 2018-10-07 02:24:37 +02:00
bnnm
34676bbdc6 Prepare XMA adjusted loops 2018-10-07 02:23:05 +02:00
bnnm
9f6c1c4da2 Fix rare FFmpeg codecs decoding more samples after data EOF, cleanup 2018-10-06 22:39:34 +02:00
bnnm
f59faa0c07 Fix some .lse [Operation Abyss (PC), Operation Babel (PC)] 2018-10-04 20:43:23 +02:00
bnnm
a7e29c8be1 Fix some PDT [Mario Party 4 (GC)] 2018-10-04 19:48:13 +02:00
bnnm
1056092bf3 Fix Final Fantasy Tactics A2 IMA decoding 2018-10-04 19:43:37 +02:00
bnnm
af196a558c Add Sony .BNK v14 [Yakuza 6's Puyo Puyo (PS4)] 2018-09-28 19:17:05 +02:00
bnnm
2a5516fe7c Restore G719 max frame size as 2560 bits (0x140) is decoder max 2018-09-27 23:56:44 +02:00
bnnm
c0d484a715 Add .lse Ogg [Labyrinth of Refrain (PC)] 2018-09-27 23:41:26 +02:00
bnnm
5594f5068e Fix .wem Opus encoder delay/gapless [Mario Rabbids (Switch)] 2018-09-27 23:40:42 +02:00
bnnm
d2798c946a Simplify switch_opus_get_samples usage 2018-09-27 23:39:37 +02:00
bnnm
d7c5c3feaf Improve UE4Opus/EAOpus encoder delay calculations 2018-09-27 23:31:03 +02:00
bnnm
3269649eec Add EAOpus [FIFA 17 (PC), FIFA 19 (Switch)] 2018-09-27 23:10:01 +02:00
Christopher Snowhill
5b99d40cf3
Merge pull request #300 from bnnm/ue4opus-bnsf-csmp
ue4opus bnsf csmp
2018-09-25 15:15:23 -07:00
bnnm
c5b514b577 Improve UE4OPUS encoder delay and fix get_opus_samples_per_frame 2018-09-23 12:17:23 +02:00
bnnm
d717f21189 Add UE4OPUS decoder [Fortnite (PC), ARK: Survival Evolved (PC)] 2018-09-23 04:26:11 +02:00
bnnm
5f3ab0a5fc Rename *_utils_switch_opus.c to *_custom_opus.c for future changes 2018-09-23 04:22:16 +02:00
bnnm
70ba297606 Tweak comment 2018-09-23 03:09:46 +02:00
bnnm
7d91ef1432 Cast off_t to off64_t when printf'ing for future 4GB file support 2018-09-23 03:01:13 +02:00
Christopher Snowhill
f9c334cf91 Fix goto statement for compilation without libvorbis. 2018-09-22 17:35:48 -07:00
bnnm
f29012edb7 Add Capcom .adpcm [Resident Evil: Revelations (Switch)] 2018-09-22 17:45:02 +02:00
bnnm
0e4ee632b9 Remove standard G.722.1 (Siren7), since no game uses it
Siren14 wasn't affected by this
2018-09-22 16:32:21 +02:00
bnnm
1e9dbb851b Fix some FSB5 subsong offsets 2018-09-22 16:13:18 +02:00
bnnm
bcc1661491 Add fake RIFF IMA [MX vs. ATV Unleashed (PC)] 2018-09-22 16:12:36 +02:00
bnnm
eb4e871a05 Fix CSMP [DKC Tropical Freeze (Switch)] 2018-09-22 16:12:06 +02:00
bnnm
00370a813d Improve BNSF looping 2018-09-22 16:11:39 +02:00
bnnm
e411916a5e Add ADX key [Tensei Hakkenshi - Fuumaroku (PS2)] 2018-09-22 16:11:16 +02:00
Christopher Snowhill
25f82da164
Merge pull request #299 from NicknineTheEagle/cue-loop
RIFF: Looping info from CUE chunk
2018-09-21 17:38:02 -07:00
NicknineTheEagle
b4a71cd5aa RIFF: implemented looping info from CUE chunk 2018-09-21 14:31:56 +03:00
bxaimc
c7487d010e Add .POS looping for .Ogg (SNK Heroines, Sonic Mania) 2018-09-20 15:16:07 -04:00
bnnm
5a9fec3580 Add ADX key [Bakumatsu Renka - Karyuu Kenshiden (PS2)] 2018-09-12 20:01:19 +02:00
bnnm
c045d41670 Fix EA-MT looping for all cases [SSX3 (PS2)] 2018-09-10 13:18:53 +02:00
bnnm
37d7fe83c4 Move NXA Opus to its own file, since it's not very standard 2018-09-10 02:24:59 +02:00
bnnm
804fceb5e7 Remove custom FFmpeg, as custom IO streamfile can be used instead 2018-09-10 02:19:34 +02:00
bnnm
5ed95d07d4 Fix Opus interleave streamfile logical size and cleanup 2018-09-10 01:24:32 +02:00
bnnm
74536e0933 Swap custom FFmpeg OPUS for custom streamfile IO 2018-09-10 01:23:34 +02:00
bnnm
496d2ba534 Clean AIX meta a bit 2018-09-09 20:17:41 +02:00
bnnm
a273d9d9a2 Fix bitrate for layered/segemented layouts 2018-09-09 19:22:32 +02:00
bnnm
fd7d6f513d Simplify get_vgmstream_average_bitrate a bit
removed get_vgmstream_average_bitrate_channel_streamfile since it
doesn't really matter if codec_data streamfiles are retested multiple
times (just like vgmstream streamfiles are)
2018-09-09 16:28:39 +02:00
bnnm
6bee2a6209 Add .utk [The Sims Online (PC), SimCity 4 (PC)] 2018-09-09 15:29:34 +02:00
bnnm
5662dca358 Fix missing layout (was autoselected) 2018-09-09 15:29:23 +02:00
bnnm
06ea6af303 Minor doc 2018-09-09 15:13:58 +02:00
bnnm
e3c5430597 Fix some EA SCHl .bnk 2018-09-09 15:04:23 +02:00
bnnm
210d365df1 Add .sod Ogg extension [Zone 4 (PC)] 2018-09-09 12:24:28 +02:00
bnnm
2b7cd654b2 Allow arbitrary frame sizes for G719 and cleanup 2018-09-09 12:24:08 +02:00
bnnm
a3f2231ba1 Update EA-MT API a bit 2018-09-09 00:51:35 +02:00
bnnm
47b5a189cf Clean EA-MT code 2018-09-08 23:36:31 +02:00
bnnm
417cc59277 Fix EA-MT looping [SSX3 (PS2)] 2018-09-08 19:22:56 +02:00
bnnm
1810d3ced6 Add TXTP commands for looping/time (#i #E #lN #fN #dN #F)
- #i (ignore loop)
- #E (force end-to-end loop)
- #lN (force N loops)
- #fN (fade time)
- #dN (fade delay)
- #F (don't fade after N loops and play song end)
2018-09-07 19:34:31 +02:00
bnnm
19f69e14b7 Add ALP IMA decoder [Lego Racers (PC)] 2018-09-06 20:25:04 +02:00
bnnm
800ebfc007 Minor doc 2018-09-06 18:10:47 +02:00
bnnm
5e2283f51a Fix some .MSA [Konohana Pack: 3tsu no Jikenbo (PS2)] 2018-09-06 18:09:56 +02:00
bnnm
f519b1ad70 Add DERF DPCM decoder [Stupid Invaders (PC)] 2018-09-06 17:45:34 +02:00
bnnm
00bec4bd70 Extra check when disabling looping 2018-09-06 16:44:42 +02:00
bnnm
131340882b Add TXTP command #sN for subsong N (#N still works) 2018-09-04 23:53:25 +02:00
bnnm
59b303d753 Update libacm to 1.2 and add .WAVC sfx 2018-09-04 22:42:21 +02:00
bnnm
f70852095c Tweak minor ACM stuff for opaqueness 2018-09-04 18:37:51 +02:00
bnnm
fcc5f59ffe Add buffer size validations in custom Vorbis 2018-09-04 18:00:59 +02:00
bnnm
4652460aff Add extra validation in vgmstream_open_stream 2018-09-04 17:51:34 +02:00
bnnm
7ad7d3d47b Derive ADX keys automatically if only keystring/keycode is provided 2018-09-04 17:44:06 +02:00
bnnm
9d7d536da7 Add interleaved 2ch XBOX-IMA to TXTH/GENH 2018-09-04 17:11:08 +02:00
bnnm
fa472d4f70 Fix interleaved 2ch XBOX-IMA [Fairly OddParents: Breakin' da Rules] 2018-09-04 17:10:41 +02:00
bnnm
3a64f8b0d2 Fix some BNSF [Taiko No Tatsujin: Drum Session! (PS4)] 2018-09-04 17:08:01 +02:00
bnnm
064990f6ff Add extra validation 2018-09-04 17:07:38 +02:00
bnnm
ee7767815b Add ADX key [Kashimashi! Girl Meets Girl (PS2)] 2018-09-04 17:07:24 +02:00
Christopher Snowhill
7b30d8bc9a
Merge pull request #292 from bnnm/hca-bcstm-metas-docs
hca, bcstm, metas, docs
2018-09-02 15:12:49 -07:00
bnnm
d6a682fe8c Add ADX key [Girls Bravo: Romance 15's (PS2)] 2018-09-02 21:37:19 +02:00
bnnm
bf0d46a476 Rename decode_SASSC to lowercase for consistency 2018-09-02 21:11:15 +02:00
bnnm
c707a29639 Rename SASSC_decoder to lowercase for consistency 2018-09-02 21:09:15 +02:00
bnnm
aa4ea4bc3b Document ADX CINF header 2018-09-02 21:06:38 +02:00
bnnm
3113342a71 Minor tweaks 2018-09-02 21:06:15 +02:00
bnnm
bd374a01a7 Improve ATRAC9 loop performance and cleanup 2018-09-02 21:02:11 +02:00
bnnm
91c3fd6afc Fix some Sony .bnk 2018-09-02 16:40:11 +02:00
bnnm
9c0db7cae3 Improve HCA/clHCA key detection
- Only test keys when file is encrypted
- Add clHCA_TestBlock to test a frame with the current key
- Move some key detection code to hca_decoder.c and simplify hca.c
detection
- Decrease number of test frames due to increased accuracy of
clHCA_TestBlock
2018-09-02 16:00:58 +02:00
bnnm
fd52fe0e95 Clean clHCA lib 3 (API)
- rename clHCA_DecodeSamples16 to clHCA_ReadSamples16 since it isn't
really decoding
- divide clHCA_Decode into clHCA_DecodeHeader and clHCA_DecodeBlock to
clarify usage
- unify clHCA_IsOurFile0/1 since one would need to call
clHCA_DecodeHeader right after it anyway
- add clHCA_SetKey for easier key handling
- adapt vgmstream wrapper
2018-09-01 20:28:00 +02:00
Nathan Benichou
9d94fdb033
Update rfrm.c
Support for LABL part in RFRM CSMP files
2018-09-01 15:21:46 +02:00
bnnm
43764d6c8d Fix HCA num samples/looping [Binary Domain (PC), Octopath Traveller]
Decoder has been modified a bit so it's easier to feed an arbitrary
number of discard samples (or at least, easier for me to understand),
since encoder delay can be >1024 (frame size) and would make some calcs
go all wobbly
2018-08-29 23:42:47 +02:00
bnnm
9a2a2e4c2e Export extra sample values in clHCA_getInfo 2018-08-29 20:48:35 +02:00
bnnm
411fa498bb Clean HCA meta/decoder for future changes 2018-08-29 20:05:31 +02:00
bnnm
5afd33d62a Split idsp.c into idsp_ie.c and nub_idsp.c 2018-08-28 20:40:02 +02:00
bnnm
f7c26a493d Clean IDSPs 2018-08-28 20:35:07 +02:00
bnnm
c6a9396b67 Fix IDSP segfault 2018-08-28 20:34:55 +02:00
bnnm
9720384fbe Fix bcstm 3DS-IMA last interleave and cleanup 2018-08-28 19:43:12 +02:00
bnnm
d5a11d58e8 Add various metas
- DSP: itl, vag (PPP)
- PS2: int (A2M), ahv, msv, sdf, svg, vis
- PC: .aif (Asobo), ao, apc, wv2
- Xbox: xau (Konami)
2018-08-28 18:47:56 +02:00
bnnm
f71e98a5ba Fix missing MSVC dependencies 2018-08-26 22:56:31 +02:00
bnnm
bee3adc95b Document SQEX SCD looping issues in MPEG 2018-08-26 22:37:04 +02:00
bnnm
0231d635ed Fix Next Level IDSP last interleave/jingles [Mario Strikers Charged] 2018-08-26 22:36:36 +02:00
bnnm
751d5c5f0f Clean DSP meta once again 2018-08-26 20:05:38 +02:00
bnnm
cc537270c1 Add RFRM .csmp and cleanup [Donkey Kong Country Tropical Freeze (Wii U)] 2018-08-26 19:16:24 +02:00
bnnm
ce6722181a Move csmp to its own file, since it's not very standard either 2018-08-26 18:55:57 +02:00
bnnm
f2a5b5954f Move wsi to its own file, since it's not very standard 2018-08-26 17:40:40 +02:00
bnnm
d94485e89e Minor decode_vgmstream cleanup 2018-08-26 17:07:33 +02:00
bnnm
4ee39206c3 Fix Lunar 2 SCD loops/sample rate/stereo and PCM8 cleanup 2018-08-26 16:36:08 +02:00
bnnm
5aad45ab87 Clean AST meta 2018-08-26 13:48:14 +02:00
bnnm
bc62a689c0 Don't call block_update_x manually when using vgmstream_open_stream 2018-08-26 13:47:48 +02:00
bnnm
c2a0311584 Random tweaks 2018-08-26 13:47:02 +02:00
bnnm
92f35029bb Make generic block_update and auto-call in vgmstream_open_stream 2018-08-26 13:46:07 +02:00
bnnm
b02eeeff04 Fix some .SFL looping and SLI cleanup [Hanachirasu (PC)] 2018-08-26 02:26:38 +02:00
bnnm
88f50985de Optimize segmented layout decode samples 2018-08-26 01:05:07 +02:00
bnnm
ee03726bbc Find loop_segment automatically in segmented_layout + remove from metas 2018-08-26 00:59:31 +02:00
bnnm
c9dc0917ff Fix interleave layout hanging when no interleave size set 2018-08-25 21:15:10 +02:00
bnnm
3130eebf0c Minor layout cleanup + doc 2018-08-25 20:46:54 +02:00
bnnm
3765831dbe Remove usage of atrac9_parse_config 2018-08-25 18:03:58 +02:00
bnnm
a734e9c5cb Remove custom ATRAC9 in favor of custom IO
Formats using custom layouts tend to be weird enough that it's a pain to
add support directly in the decoder.
Instead should use custom layouts and I/O streamfiles that, though a bit
wordy and unwieldy at the moment, are a lot more flexible.
2018-08-25 17:48:01 +02:00
bnnm
f86c90c5f9 Use KMA9 custom IO instead of custom ATRAC9 2018-08-25 17:26:49 +02:00
bnnm
9c8dae38dc Fix multilayer XVAG ATRAC9 [flower (Vita), Farpoint (PS4)] 2018-08-25 17:25:02 +02:00
bnnm
1ba2637256 Clean XVAG meta for future changes 2018-08-25 16:23:15 +02:00
bnnm
9e54efe6d8 Remove FFMPEG_EA_XMA as it's now done with custom IO + layers 2018-08-25 13:22:57 +02:00
bnnm
e3255344cf Redo EA-XMA with custom IO for fixes [Skate (X360), NFS: MW (X360)] 2018-08-25 12:48:55 +02:00
bnnm
d8758f0cb5 Fix describe_vgmstream with layered_layout + FFmpeg 2018-08-25 12:22:40 +02:00
bnnm
8cf27cc15e Add .xna XWB [Touhou Makukasai ~ Fantastic Danmaku Festival (PC)] 2018-08-25 12:21:21 +02:00
bnnm
8a57cf4729 Add .dax RIFF [Love Game's - Wai Wai Tennis (PS1)] 2018-08-25 12:20:55 +02:00
bnnm
07ad3250f6 Clean EAAC streamfile and prepare for EA-XMA 2018-08-25 09:57:46 +02:00
bnnm
6654e44517 Improve/fix AWC XMA streamfile for certain cases
It was assuming reads were sequential, though they can skip to offset
(in practice rarely affected), and adjusted packet skip to improve a few
songs.
2018-08-25 09:57:20 +02:00
bnnm
b17719f69c Rename render_vgmstream_nolayout to _flat for clarity/consistency
But not layout_none to layout_flat, since it's used everywhere
2018-08-24 19:37:02 +02:00
bnnm
f576d9568c Rename nolayout.c to flat.c for consistency/clarity 2018-08-24 19:29:39 +02:00
bnnm
b4884522d8 Optimize STDIO/FOO streamfiles slightly
Tries to simplify code, and buffer is not emptied unless we really read
more data (useful for edge reads). get_offset is now reliable (though
never used).
2018-08-24 18:48:42 +02:00
bnnm
6c553882f3 Rename codec_version to codec_config to clarify 2018-08-23 18:07:45 +02:00
bnnm
ad4478ac2c Set dual stereo as a meta flag rather than a static list
Mainly for cleanup/style
2018-08-23 18:00:34 +02:00
bnnm
9ad2f578e6 Fix PSH/VSV loops and glitches [Romancing SaGa (PS2)] 2018-08-23 17:13:46 +02:00
bnnm
d7c2249358 Simplify XVAG looping code 2018-08-23 17:00:52 +02:00
bnnm
41281aa4e9 Tweak .snds priority again 2018-08-22 21:16:25 +02:00
bnnm
6b4f54df92 Add TXTH "loop_flag = auto" to autodetect PS-ADPCM loop points 2018-08-22 21:04:16 +02:00
bnnm
06c8ab1b3f Remove bik2a/bk2a fake extensions since they aren't used 2018-08-22 20:43:19 +02:00
bnnm
dcbc7e5b9b Lower parse priority of raw metas so TXTH has a chance to go first 2018-08-22 20:39:31 +02:00
bnnm
785741e7e1 Rename ps2_mib.c to ps_headerless,c 2018-08-22 20:29:29 +02:00
bnnm
69c791656e Move MIB+MIH to its own meta and fix rare files [Gladius (PS2)] 2018-08-22 20:10:31 +02:00
bnnm
925916690a Parse PS3 .bnk properly and remove ps3_klbs.c [L@ve Once (PS3)] 2018-08-22 19:26:19 +02:00
bnnm
75fb12eed4 Fix PS2 VGS/ASS/VPK/etc samples, glitches and cleanup 2018-08-22 19:19:31 +02:00
bnnm
27038c9ec8 Add .wavebatch PCM8 [Cars 2 (3DS)] 2018-08-21 22:39:47 +02:00
bnnm
58b8b0c8df Fix various .vag issues [Shikigami no Shiro (PS2), Red Star (PS2)]
Also cleanup and loop end was also off by 28 samples in several cases
2018-08-21 22:16:56 +02:00
bnnm
fe3538520b Add ps_find_loop_offsets util to find loop point in PS-ADPCM data 2018-08-21 22:14:55 +02:00
bnnm
cae82e9074 Clean builds and enable VGM_USE_VORBIS/MPEG manually for consistency 2018-08-20 20:08:24 +02:00
bnnm
2f0aaaf4fd Fix some compile ifdefs and warnings 2018-08-20 20:05:44 +02:00
bnnm
bb07299dae Make libvorbis/libmpg123 optional in autotools 2018-08-20 19:21:51 +02:00
Christopher Snowhill
1294f515f2
Merge pull request #276 from Thealexbarney/msvc-fread-fix
Workaround MSVC fseek/fread bug
2018-08-19 16:15:54 -07:00
bnnm
f6417c5430 Use standard buffer size for all metas
There is not no real about having small-ish buffers, simplifies buffer
tuning, and avoids having gigantic buffers on bad reads.
2018-08-19 22:51:14 +02:00
bnnm
a5656eaa2f Optimize buffer_streamfile EOF reads and fix get_offset behaviour 2018-08-19 22:31:12 +02:00
bnnm
2e6f6c8176 Remove unnecessary FFmpeg ifdef 2018-08-19 19:09:37 +02:00
bnnm
485e5b9cf7 Fix blocks hanging with broken files/incorrect offsets
Also removes unnecessary halpst case
2018-08-19 19:02:22 +02:00
bnnm
ca04dbca70 Add old .scd SSCF [Crisis Core FFVII (PSP), Dissidia 012 (PSP)] 2018-08-19 16:42:39 +02:00
bnnm
b083042704 Cleanup 2018-08-19 10:07:27 +02:00
bnnm
3b5be9d28a Fix disabling looping with layered layouts 2018-08-19 00:43:06 +02:00
bnnm
c204127332 Fix .rws subsong segments [Madagascar (PS2)] 2018-08-19 00:40:01 +02:00
bnnm
d93a4b2c7a Add proper H4M decoding [Resident Evil 0 (GC), Tales of Symphonia (GC)] 2018-08-19 00:38:08 +02:00
bnnm
93b66b2aa6 Clean .rws code 2018-08-17 22:47:33 +02:00
bnnm
b71d568acb Improve .sts+int/.x [Shadow of the Colossus (PS2), Ape Escape 3 (PS2)] 2018-08-16 20:06:57 +02:00
bnnm
7734e4d87f Improve BFSTM region handling 2018-08-16 20:06:38 +02:00
bnnm
2e90f4de57 Reject EXST in .int meta and cleanup 2018-08-16 20:06:14 +02:00
bnnm
611e556809 Reject files with incorrect num_streams 2018-08-16 20:05:53 +02:00
bnnm
8d7fb21c8f Check max filesize to avoid buggy reads
It was affecting some truncated Switch Opus that were reporting too many
samples
2018-08-15 22:47:22 +02:00
bnnm
6eaf516b23 Tweak FSB ifdefs 2018-08-15 21:19:25 +02:00
bnnm
a3534d7d11 Fix TXTH divide-by-zero with half_size and ch=0 2018-08-15 21:19:12 +02:00
bnnm
9c8323122c Improve read/seek performance for blocked layouts 2018-08-15 20:21:55 +02:00
bnnm
9e06652264 Redo .nus3bank to parse as a bank with subsongs
Also removes hacky code from idsp, since it's now on its own file
2018-08-15 19:59:10 +02:00
bnnm
1f6c384a48 Fix EA EAAC looping for RAM assets 2018-08-15 17:37:06 +02:00
bnnm
f4189f2482 Minor debug stuff 2018-08-15 17:36:20 +02:00
bnnm
e3b93755cc Add HCA key 2018-08-15 17:34:36 +02:00
bnnm
79cad960ae Add Sony .bnk [Puyo Puyo Tetris (PS4), NekoBuro: Cats Block (Vita)] 2018-08-15 17:34:17 +02:00
bnnm
cab8605959 Add atrac9_parse_config util 2018-08-15 16:42:34 +02:00