Commit Graph

830 Commits

Author SHA1 Message Date
bnnm
e4e367daf0 Add .fda Relic Codec AIFC [Homeworld 2 (PC)] 2019-12-27 01:29:56 +01:00
bnnm
9303aaddb7 Add XMA from UE3 [The Last Remnant (X360), Shadows of the Damned (X360)] 2019-12-15 18:21:31 +01:00
bnnm
f98372ab2f Fix some .vsf issues 2019-12-15 01:37:56 +01:00
bnnm
0f84ce5e77 Reject high num_samples to prevent giant wavs in CLI with bad files 2019-12-05 23:20:16 +01:00
bnnm
81758532e8 Clean ivag meta 2019-11-24 20:38:16 +01:00
bnnm
d4615aaeed Fix some .nub sample/loop/LE/IDSP bugs [Wangan Midnight 5 (AC)] 2019-11-24 10:47:54 +01:00
bnnm
d803349f6b Add XSSB .bin/lbin [Blinx 2 (Xbox)] 2019-11-10 22:17:21 +01:00
NicknineTheEagle
c47a37daba Fixes and tweaks 2019-11-10 16:19:44 +03:00
bnnm
e0eaffbf3f Add ISACT .isb [Psychonauts (PC)] 2019-11-03 22:56:37 +01:00
bnnm
42dad8d605 Remove stx parser since it's a repeat of afc 2019-11-02 16:15:18 +01:00
NicknineTheEagle
320f1434ee Added Acclaim Austin AAAp VAG header [The Red Star (PS2)] 2019-11-01 10:29:37 +03:00
bnnm
7593da7422 Add frame_size for MSADPCM 2019-10-20 01:24:59 +02:00
bnnm
15d794bbe2 Allow Ogg decoder to be used like other codecs 2019-10-18 19:34:15 +02:00
bnnm
7214dfbef7 Fix ATRAC3 clips caused by incorrectly inverted PCM16 2019-10-13 18:55:52 +02:00
bnnm
e5e86d3324 Simplify FFmpeg decoder to remove temp buffer for performance
Also changes fuzzy behavior on frame error to mimic ffmpeg.exe
2019-10-13 18:43:13 +02:00
bnnm
ec0231ca49 Clean .sap 2019-10-05 14:51:49 +02:00
bnnm
acbc483109 Add options in foobar/winamp to allow any extension 2019-09-30 00:56:29 +02:00
bnnm
97c090886f Tweak Yamaha/AICA codec naming 2019-09-21 19:15:01 +02:00
bnnm
7858cec330 Allow virtual .txtp in playlists (foobar/winamp/cli) for config/tagging
Makes plugins' STREAMFILEs not throw an error on non-existing .txtp
(normally written inside .m3u) treating it like a command/url-ish name.

This lets the TXTP parser to try to opening the virtual file with
commands, as 0-size TXTP with a formatted name is valid, like
"file.adx#l 1.0.txtp" ("play file.adx with 1 loop"), to allow quick
per-file config.
2019-09-15 15:47:41 +02:00
bnnm
1bc7e0e410 Add Konami BMP .bin (as .lbin) + decoder [Jubeat Clan (AC)] 2019-09-08 21:12:13 +02:00
bnnm
81c805ed90 Add Ubi .HXx [Rayman Arena, Rayman 3, XIII] 2019-09-08 20:24:47 +02:00
NicknineTheEagle
2a0efbc281 Added Valve XMV format [The Orange Box (X360)] 2019-09-08 16:28:32 +03:00
NicknineTheEagle
e86091d853 Fixed FFmpeg codec not being displayed in case of recursive segments/layers 2019-09-06 16:48:17 +03:00
bnnm
0a4921e2ef Meta cleanup and renames 2019-09-02 22:32:02 +02:00
bnnm
a7d220cf97 Add Ubi ADPCM in .SMx/SBx [Spliner Cell (PC), Batman Vengeance (PC/Xb)] 2019-09-02 20:46:42 +02:00
bnnm
057d66cf99 Add Platinum ADPCM for .wem [Bayonetta 2 (Switch)] 2019-08-29 00:54:49 +02:00
bnnm
60b4cb8310 Add Namco .nub archives
Also move related metas together
2019-08-28 23:11:46 +02:00
bnnm
22c3266727 Improve RIFF ATRAC3/plus decoding accuracy 2019-08-25 20:46:29 +02:00
bnnm
3e4f64fda8 Clean psx_gms 2019-08-15 22:07:12 +02:00
bnnm
badf3477e3 Add Blitz Games .ima and improve decoder [Lilo & Stitch (PC)] 2019-08-15 16:25:52 +02:00
bnnm
9a4c80cdd5 Add Incinerator .itl [Cars Race-o-rama (Wii), MX vs ATV Untamed (Wii)] 2019-08-12 20:05:58 +02:00
bnnm
b3a8f2b280 Add interleave_first to fix some .vag/seg clicks 2019-08-12 19:23:49 +02:00
bnnm
3bac417a8c Add Pivotal .psf and decoder [The Great Escape, Conflict: Desert Storm] 2019-08-11 19:38:40 +02:00
bnnm
bd8dad46df Clean .rsd and fix some bugs 2019-08-10 17:24:06 +02:00
bnnm
b2969e7093 Add Reflections .xav [Stuntman (PS2)] 2019-08-04 11:57:48 +02:00
bnnm
e08a0d8431 Redo MUSX (.sfx) stream/stream banks/sfx banks and fix various bugs 2019-08-03 23:35:10 +02:00
bnnm
f9c850003e Fix some .adpcmx [Fushigi no Gensokyo: Lotus Labyrinth (Switch)] 2019-08-03 12:22:09 +02:00
bnnm
4f5d622edc Add .idwav/idmsf/idxma [Doom 3 BFG Edition (PC/PS3/X360)] 2019-08-02 21:11:55 +02:00
bnnm
b3c507b3ed Cleanup and renames 2019-07-28 15:11:17 +02:00
bnnm
22703957f5 Add .smk Smacker video [Starcraft (PC)] 2019-07-21 15:08:39 +02:00
bnnm
e9cfb8d617 Fix FFmpeg formats that can't seek 2019-07-21 14:41:17 +02:00
Simon Aarons
5734a84a23 Implement Traveller's Tales' RAD 2019-07-12 20:14:39 +10:00
bnnm
1d28e0f58e
Merge pull request #434 from bnnm/txth-xvag-scd
txth xvag scd
2019-06-29 20:42:41 +02:00
bnnm
c7aaabf573 Fix XVAG MPEG encoder delay/gapless looping 2019-06-29 13:24:53 +02:00
bxaimc
1d2e9793e5 Add preliminary BWAV support [Super Mario Maker 2 (Switch)] 2019-06-26 02:26:44 -04:00
bnnm
8ba1cf4575 Up the max sample rate to 192K [Dex (PS4)] 2019-04-07 01:43:59 +02:00
Naram Qashat
91ab2e75b6 Up the max sample rate to 128K.
While 96K already seems like a ridiculously high sample rate and that 128K should be discarded, I found that the in-game music for much of AI War: Fleet Command has a sample rate of 128K and will not play in vgmstream without this value being increaased.
2019-03-30 15:13:28 -04:00
bnnm
57d724c2b2 Fix 5.1/7.1 .at3 LFE channel order [Devil May Cry 4 (PS3)] 2019-03-30 02:15:22 +01:00
bnnm
9ac36892f6 Fix .sngw 5.1 channel order 2019-03-24 02:45:03 +01:00
bnnm
8739631792 Enable TXTP mixing 2019-03-24 01:21:09 +01:00
bnnm
50f8f53385 Add .ikm PC/PSP and fix PS2 samples [Chaos Legion (PC), TLOH IV (PSP)] 2019-03-22 21:12:33 +01:00
bnnm
4defb55589 Add layer/segment mixing and main code (disabled) 2019-03-16 00:49:52 +01:00
bnnm
80ae4f2ed3 Add 9TAV [Metal Gear Solid 2/3 HD (Vita)] 2019-03-16 00:10:28 +01:00
bnnm
ae66dd42a6 Add Konami MSF/XWMA [Metal Gear Solid 3 HD (PS3/X360)] 2019-03-12 00:41:20 +01:00
bnnm
bdd695b9f9 Minor cleanup 2019-03-11 14:49:29 +01:00
bnnm
e5d4e2e382 Remove MTAF deblocking code and cleanup 2019-03-11 12:34:23 +01:00
bnnm
b4fff010dd Add AAC .strm [Cursed Castilla (3DS)] 2019-03-09 23:27:28 +01:00
bnnm
a6e777d120 Update mixing code 2019-03-09 20:50:58 +01:00
bnnm
f0d3cadf3d Clean .dcs+wav [Evil Twin (DC)] 2019-03-04 20:08:33 +01:00
bnnm
8850ddacff Rename internal coding AICA to YAMAHA
AICA is simply Dreamcast's sound chip that uses standard Yamaha ADPCM,
codec used by Yamaha in many other places well before the Dreamcast
2019-03-03 02:30:52 +01:00
bnnm
0c39f4cf09 Fix tri-Ace Aska ADPCM .aac [Star Ocean Anamnesis (Mobile)] 2019-03-02 21:12:00 +01:00
bnnm
051cad9462 Minor shadowing fixes and cleanup 2019-03-02 19:23:37 +01:00
bnnm
d9296c6693 Add multichannel layout for OGG/MP4/WEM/FFmpeg and use in foobar 2019-03-02 15:57:41 +01:00
bnnm
c99034cff8 Update mixing code 2019-02-25 00:38:35 +01:00
bnnm
40c23dc3f5 Add Vicious Cycle .mus [Dinotopia (Xbox/GC)] 2019-02-24 11:34:09 +01:00
bnnm
0725785824 Add some constants 2019-02-23 23:38:53 +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
111c4dd97c Change some sample to sample_t 2019-02-23 02:54:23 +01:00
bnnm
dd31d1af33 Add Blitz IMA .str+wav [Zapper (PC)] 2019-02-23 00:12:58 +01:00
bnnm
4b3ec51667 Add .ds2 [Star Wars Bounty Hunter (GC)] 2019-02-17 23:17:14 +01:00
bnnm
fa4e56a6b1 Prepare parts for mixing 2019-02-17 20:28:27 +01:00
bnnm
98587ec8e7 Fix memory corruption when forcing loops and clean internals 2019-02-15 22:28:20 +01:00
bnnm
4c038cb0ea Add Ocean .DSF, .208 and DSA decoder [Last Rites (PC)] 2019-02-10 01:36:05 +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
097f7b0285 Fix some SDF [Mr. Bean's Wacky World (Wii)] 2019-01-26 17:04:43 +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
093fa28a2f Add OKI16 TXTH/GENH decoder [Sweet Legacy (PS2), Hooligan (PS2)] 2019-01-12 13:02:08 +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
5d610be086 Add .gin and EA-XAS v0 decoder [Need for Speed Most Wanted] 2019-01-12 02:26:38 +01:00
NicknineTheEagle
5190b362a9 Added 4-bit PCM decoder 2019-01-09 22:30:15 +03:00
bnnm
78099c096b Fix .vsv/psh decoding and mono files [Dawn of Mana (PS2)] 2019-01-05 20:20:08 +01:00
bnnm
be9399b370 Redo Infernal Engine .smp [Ghostbusters (multi)] 2019-01-05 04:36:20 +01:00
bnnm
dd97d29f80 Add EA EACS banks [Need for Speed (PC)] 2019-01-02 17:17:14 +01:00
bnnm
e53740f27f Add PCFX for GENH/TXTH [Der Langrisser FX (PC-FX)] 2018-12-27 16:14:59 +01: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
c74da3884d Clean .vs naming 2018-12-22 20:09: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
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
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
60945577c0 Add Vicarious Visions .zss/zsm/ens/enm [X-Men Legends II (multi)] 2018-12-08 00:10:44 +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
56ced57ece Add TamaSoft .msf [Abandoner: The Severed Dreams (PC)] 2018-11-17 17:52:07 +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
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
33aa532c34 Add blocked VS [Final Fantasy X (PS2)] 2018-10-20 15:30:46 +02:00
bnnm
e49a688559 Add .xopus decoding [Angry Birds Transformers (Android)] 2018-10-13 21:01:58 +02:00
Christopher Snowhill
3d9ae0932c
Update vgmstream.h
Clean up formatting.
2018-10-09 15:49:04 -07:00
style_of_2001
107f9a658e Add konami / sony VA3 support (fix crash in cli :P) 2018-10-09 09:53:10 -05:00
bnnm
80aad4f15a Add/fix XWMA start and num samples 2018-10-07 23:27:31 +02:00
bnnm
f59faa0c07 Fix some .lse [Operation Abyss (PC), Operation Babel (PC)] 2018-10-04 20:43:23 +02:00
bnnm
1056092bf3 Fix Final Fantasy Tactics A2 IMA decoding 2018-10-04 19:43:37 +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
d717f21189 Add UE4OPUS decoder [Fortnite (PC), ARK: Survival Evolved (PC)] 2018-09-23 04:26:11 +02: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
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
74536e0933 Swap custom FFmpeg OPUS for custom streamfile IO 2018-09-10 01:23:34 +02:00
bnnm
6bee2a6209 Add .utk [The Sims Online (PC), SimCity 4 (PC)] 2018-09-09 15:29:34 +02:00
bnnm
2b7cd654b2 Allow arbitrary frame sizes for G719 and cleanup 2018-09-09 12:24:08 +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
f519b1ad70 Add DERF DPCM decoder [Stupid Invaders (PC)] 2018-09-06 17:45:34 +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
3113342a71 Minor tweaks 2018-09-02 21:06:15 +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
411fa498bb Clean HCA meta/decoder for future changes 2018-08-29 20:05:31 +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
cc537270c1 Add RFRM .csmp and cleanup [Donkey Kong Country Tropical Freeze (Wii U)] 2018-08-26 19:16:24 +02:00
bnnm
4ee39206c3 Fix Lunar 2 SCD loops/sample rate/stereo and PCM8 cleanup 2018-08-26 16:36:08 +02:00
bnnm
ee03726bbc Find loop_segment automatically in segmented_layout + remove from metas 2018-08-26 00:59:31 +02:00
bnnm
3130eebf0c Minor layout cleanup + doc 2018-08-25 20:46:54 +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
9e54efe6d8 Remove FFMPEG_EA_XMA as it's now done with custom IO + layers 2018-08-25 13:22:57 +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
dcbc7e5b9b Lower parse priority of raw metas so TXTH has a chance to go first 2018-08-22 20:39: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
cae82e9074 Clean builds and enable VGM_USE_VORBIS/MPEG manually for consistency 2018-08-20 20:08:24 +02:00
bnnm
2e6f6c8176 Remove unnecessary FFmpeg ifdef 2018-08-19 19:09:37 +02:00
bnnm
ca04dbca70 Add old .scd SSCF [Crisis Core FFVII (PSP), Dissidia 012 (PSP)] 2018-08-19 16:42:39 +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
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
79cad960ae Add Sony .bnk [Puyo Puyo Tetris (PS4), NekoBuro: Cats Block (Vita)] 2018-08-15 17:34:17 +02:00
bnnm
b36646aacf Add .hd3+bd3 [Elevator Action Deluxe (PS3), R-Type Dimensions (PS3)] 2018-08-14 00:28:15 +02:00
bnnm
36c6168c27 Add Firebrand Games .wavebatch [NFS: The Run (3DS), F&F: Showdown (3DS)] 2018-08-13 23:03:39 +02:00
bnnm
5720278d2d IDSP cleanup 2018-08-12 18:04:19 +02:00