Commit Graph

2730 Commits

Author SHA1 Message Date
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