Commit Graph

869 Commits

Author SHA1 Message Date
bnnm
4ec6acb4a6 Add internal simple seeking 2020-07-26 20:15:13 +02:00
bnnm
16a056437d Separate part of vgmstream.c to decode.c and render.c 2020-07-26 18:36:47 +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
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
bnnm
1421bde34a Move plugin parts to internal vgmstream code to simplify plugin code 2020-07-21 19:22:17 +02:00
bnnm
5ecf1136a3 Cleanup 2020-07-18 00:12:44 +02:00
bnnm
4879c74ddd Cleanup 2020-07-17 22:35:32 +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
bnnm
09b254006a Add Konami Viper .adp [ParaParaParadise 2ndMIX] 2020-07-16 22:51:58 +02:00
bnnm
7f0f1ef9b0 Clean SNK SVAG 2020-07-16 22:07:20 +02:00
bnnm
a4331eb04e Fix SVAG detection bug [Silent Scope 2 (PS2)] 2020-07-16 21:47:50 +02:00
bnnm
27bcba48a9 Codec internal cleanup and moved out of vgmstream.h 2020-07-16 21:43:01 +02:00
bnnm
581c44119f Fix .mul IMA glitches [Tomb Raider Underworld (PC), TR Anniversary (PC)] 2020-07-05 21:04:48 +02:00
bnnm
2a3f17cfa5 Fix SWAV .adpcm [Merlin: A Servant of Two Masters (DS)] 2020-06-21 01:17:19 +02:00
bnnm
cb38467380 Add TXTP e/L options to alter loop config, tweak priority/consistency 2020-06-21 00:33:21 +02:00
bnnm
3ea177e1d7 Add Success PCM [Metal Saga (PS2), Duel Masters: RoSD (PS2)] 2020-06-06 16:15:06 +02:00
NicknineTheEagle
eccd67d156 Added Sega KAT format 2020-05-31 21:58:07 +03:00
bnnm
eeba83c093 Missing cleanup 2020-05-24 16:32:14 +02:00
bnnm
71bee18a06 Add .ktsl2asbin KTSR [Atelier Ryza (PC/Sw), Attack on Titan (PC/Vita)] 2020-05-23 23:12:45 +02:00
bnnm
de850d4259 Improve EA SCHl bnk performance 2020-05-01 16:32:33 +02:00
bnnm
60b2ecc21d Add VADPCM for AIFC + .n64 SDK/src samples 2020-05-01 16:04:23 +02:00
bnnm
12c0908667 Add LucasArts VIMA + .IMX/IMS [Curse of Monkey Island, Grim Fandango] 2020-05-01 09:15:01 +02:00
M&M
55072211cb Add .diva [Hatsune Miku: Project DIVA Arcade Future Tone (AC)] 2020-04-14 20:42:55 -07:00
bnnm
dc4556b0ec Fix some .vpk loop issues [Sly 2 (PS2)] 2020-04-05 13:09:05 +02:00
bnnm
ce54c283f2 Add Wwise .bnk FX mini-format [Borderlands 2 (X360)] 2020-04-04 18:37:53 +02:00
bnnm
7fc20cb49f Add .vid VID1 and XBOX-IMA/DSP/PCM [Enter the Matrix (GC/Xbox)] 2020-03-08 22:15:06 +01:00
bnnm
a125d9c0fa Add .xpcm VQ + LZ/deflate codec [Eternal Fantasy (PC)] 2020-03-07 23:14:56 +01:00
bnnm
1aa8438f67 Add .al [Dominions 3: The Awakening (PC)] 2020-02-22 20:40:07 +01:00
bnnm
6a7e55f8cc Add lrmh+lrmb [LocoRoco 2 (PSP), LocoRoco: Midnight Carnival (PSP)] 2020-02-03 00:23:07 +01:00
bnnm
34089ff359 Add Koei wbh+wbd/sed [Dissidia NT (PC/PS4), Fire Emblem Warriors] 2020-01-24 20:10:29 +01:00
bnnm
0d0296d4ec Add reverse engineered Namco Siren14 codec
Accurate to Namco's variation, less dubious license and a bit faster
than the float reference decoder
2020-01-12 11:57:20 +01:00
bnnm
a980a3cec6
Merge pull request #545 from simontime/tgc
Implement Tiger Game.com ADPCM
2020-01-11 23:24:13 +01:00
Simon Aarons
49c1a0d985 Fix formatting 2020-01-11 22:33:27 +11:00
Simon Aarons
5106ccba68 Implement Tiger Game.com ADPCM 2020-01-11 21:52:24 +11:00
Lukas Cone
10ab263092 Added FWSE format 2020-01-07 18:44:20 +01:00
bnnm
05747c7a74 Add .fda Relic Codec FDA [Warhammer 40000 (PC)] 2019-12-27 01:33:37 +01:00
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