Commit Graph

156 Commits

Author SHA1 Message Date
bnnm
1963eb2a9c Fix some .wav, again [Asphalt 6 (iOS)] 2020-06-21 13:15:09 +02:00
bnnm
2810fa4915 Fix some .wav [Asphalt 6 (iOS)] 2020-06-21 00:35:09 +02:00
bnnm
5aa09d45e0 Doc 2020-06-14 15:50:50 +02:00
bnnm
2e7c4dc458 Fix some RIFF AICA [Rayman 2 (DC)] 2020-06-06 16:11:24 +02:00
bnnm
b45afd57f4 Doc 2020-05-24 16:14:51 +02:00
bnnm
267bf6be87 Doc 2020-03-08 19:37:29 +01:00
bnnm
0df3b3ef7b Add .wav NXBF [R-Racing Evolution (Xbox)] 2020-03-01 12:22:50 +01:00
bxaimc
824f7ecb31 Add SAF extension for Whacked! (Xbox) 2020-02-25 22:49:35 -05:00
NicknineTheEagle
b848525876 RIFF: Tweaked cue chunk parsing 2020-01-03 23:16:22 +03:00
bnnm
227f4b5950 Add .wav RIFF variation [Chrono Magia (Android)] 2019-12-14 19:54:22 +01:00
NicknineTheEagle
5d90ffb7b9 RIFF: Added .str extension [Harry Potter and the Philosopher's Stone (Xbox)] 2019-11-16 23:31:22 +03:00
bnnm
c4b259f5d8 Clean MSADPCM frame size and add extra check 2019-10-20 16:35:52 +02:00
bnnm
d0ff9e1f5b Add UE4 ADPCM v2 interleaved mono MSADPCM [Fornite (PC)] 2019-10-20 01:25:42 +02:00
bnnm
8e2196a514 Clean RIFF Ogg code 2019-10-19 11:13:02 +02:00
bnnm
1b34ef1f01 Fix various leaks and issues found with drmemory 2019-09-29 18:25:24 +02:00
bnnm
97c090886f Tweak Yamaha/AICA codec naming 2019-09-21 19:15:01 +02:00
bnnm
4fac5e7d3e Clean RIFF/XNB PCM8 usage 2019-09-14 12:42:08 +02:00
bnnm
f6f958f679 Fix some buggy channel layouts [Ridge Racer 7 (PS3)] 2019-08-26 23:00:17 +02:00
bnnm
22c3266727 Improve RIFF ATRAC3/plus decoding accuracy 2019-08-25 20:46:29 +02:00
bnnm
12874af1d6 Fix .at3/at9 mono files with wrong channel layout 2019-05-01 23:21:59 +02: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
0fa7ed0b6f Tweak RIFF .at3 for extensionless/multi-riff [Gitaroo Man (PSP)] 2019-03-24 15:34:49 +01:00
bnnm
c114dc3ba1 Fix RIFF #ifdef VGM_USE_MAIATRAC3PLUS failing when set 2019-03-09 21:32:51 +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
78d1af6f35 Fix RIFF even-sized chunks, PCM GUID and add channel layout 2019-03-02 16:16:02 +01:00
bnnm
4a6df9b3b9 Add .wxv RIFF [Godzilla - Destroy All Monsters Melee (Xbox)] 2019-01-27 23:40:40 +01:00
bnnm
aecd7da55e Add .sbv RIFF [Spongebob Squarepants - The Movie (PC)] 2019-01-26 16:34:25 +01:00
bnnm
1d491526ca Add extensionless RIFF [Myst III (Xbox)] 2019-01-26 16:14:50 +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
42ce03a004 Add .wd RIFF [Genma Onimusha (Xbox)] 2019-01-01 20:59:52 +01:00
bnnm
17d2a096b8 Add RIFF .adw extension [Dead Rising 2 (PC)] 2018-10-20 14:56:34 +02:00
bnnm
60ee31b4ce Add RIFF .adpcm [Angry Birds Transformers (Android)] 2018-10-13 21:02:42 +02:00
bnnm
14ba35b70a Fix missing 1 sample in RIFF loops 2018-10-07 02:24:37 +02:00
bnnm
bcc1661491 Add fake RIFF IMA [MX vs. ATV Unleashed (PC)] 2018-09-22 16:12:36 +02:00
NicknineTheEagle
b4a71cd5aa RIFF: implemented looping info from CUE chunk 2018-09-21 14:31:56 +03:00
bnnm
fa472d4f70 Fix interleaved 2ch XBOX-IMA [Fairly OddParents: Breakin' da Rules] 2018-09-04 17:10:41 +02:00
bnnm
c2a0311584 Random tweaks 2018-08-26 13:47:02 +02:00
bnnm
8a57cf4729 Add .dax RIFF [Love Game's - Wai Wai Tennis (PS1)] 2018-08-25 12:20:55 +02:00
Christopher Snowhill
03dd4383c0 Added a workaround to RIFF for Halo 2 PC. 2018-08-06 20:05:11 -07:00
bnnm
b95080d881 Add .xsew wav [Mega Man X Legacy Collection 1 & 2 (PC)] 2018-07-27 17:18:10 +02:00
bnnm
4ad607c520 Add .xss RIFF extension [Spider-Man the Movie (Xbox)] 2018-05-27 17:32:15 +02:00
bnnm
6d81db7cc3 Fix ATRAC9 regression 2018-04-10 21:01:30 +02:00
bnnm
d4556f3310 Ignore LyN RIFF as it's parsed in its own file now; cleanup 2018-04-07 11:37:44 +02:00
bnnm
0d32bfbf86 Ignore Ubi's Jade games 2018-04-06 20:49:49 +02:00
bnnm
e4c819af2e Add size_callback to open_io_streamfile for more complex stuff 2018-03-30 18:10:23 +02:00
bnnm
d7a2f0fe45 Add RIFF AICA [Dreamcast games] 2018-03-28 22:58:37 +02:00
bnnm
e2a3590158 Remove layout_ogg and cleanup
Layout was not actually needed, remove to simplify. Rename
vgm_vorbis_info_t to ogg_vorbis_meta_info_t to clarify it's only for
meta, also don't pass filename to init ogg (not useful even as an
optimization since getting the name is a minuscule part in parsing a
meta)
2018-03-23 16:34:48 +01:00
bnnm
a7870c5339 Rename coding_ogg_vorbis to coding_OGG_VORBIS for consistency 2018-03-08 23:32:58 +01:00
bnnm
b97fc632be Fix minor compiler warnings 2018-03-03 19:07:59 +01:00
bnnm
7fc5c6e582 Add RIFF/OGG .ADX extension [Remember 11 (PC)] 2018-03-03 01:10:39 +01:00
bnnm
bae7eb0fd1 Add .xwav to riff.c, now .lwav and .xwav decode the same 2018-02-24 22:32:13 +01:00
bnnm
aca3dc5f2d Parse "wsmp" loop chunk, rarely found in Xbox games [Dynasty Warriors 5] 2018-02-23 23:30:55 +01:00
bnnm
2992287e3f Fix XBOX_IMA missing layout_none 2018-02-17 22:16:41 +01:00
bnnm
830f904afb Use fact_samples if possible and add .snd [Layton Brothers (iOS)]
fact_samples can be specified with non-PCM codecs, per spec.
2018-02-17 17:32:58 +01:00
bnnm
9cf9416665 Add/use xbox_ima_bytes_to_samples, rename coding_XBOX to XBOX_IMA
Currently same as ms_ima_bytes_to_samples, but this will change; renamed
for consistency with all other IMA variations. Also clean a bit some
metas since I was testing anyway.
2018-02-17 12:30:14 +01:00
bnnm
2b0d5a420f Add Soundforge/Liar-Soft weird RIFF Ogg [Shikkoku no Sharnoth (PC)] 2018-01-21 01:47:02 +01:00
bnnm
5be6d14b4c Prepare RIFF/FSB5/SXD/UBI_RAKI/WWISE/XVAG/GTD for ATRAC9 2017-12-28 23:37:18 +01:00
bnnm
8538aa1a75 Rename at3_decoder.c to at3plus_decoder.c and add init function 2017-12-27 01:02:24 +01:00
bnnm
002de7efe0 Clean RIFF parser for future changes
- move blocks around so it's easier to init codecs
- removed .SGB with FFMpeg is disabled, should't be needed
- remove references to MSIMA/MSADPCM/etc in RIFX, num_samples was only
filled for PCM so any other codec would fail (most other RIFX should be
wwise)
2017-12-27 00:43:52 +01:00
bnnm
331bc187fa Move XNB from riff.c to xnb.c (cleanup) 2017-12-26 18:17:59 +01:00
bnnm
2eede51524 Add .AUD ATRAC3 for EA Replay 2017-12-02 02:11:25 +01:00
bnnm
1ff0cecca8 Fix minor compiler warnings (missing const/static/case defaults/etc) 2017-10-28 01:34:32 +02:00
bnnm
4d0c8b54fd Add .CD wav extension 2017-10-14 12:34:32 +02:00
bnnm
9f90ca9181 Improve XNB [Dragon's Blade (Android)]; add .DA wav; extra exts 2017-09-24 22:27:33 +02:00
bnnm
aa93941e64 fix some .MED with JUNK chunk; minor cleanup 2017-07-01 22:44:00 +02:00
bnnm
3b4f0aae01 Add .MED RIFF using MS-IMA/PCM [LA Rush, Psi-Ops (PC)] 2017-06-24 23:09:30 +02:00
bnnm
d7e3f6915d Add renamed .RWS at3 [Climax PSP games: Silent Hill Origins, Oblivion] 2017-06-09 23:54:14 +02:00
bnnm
6a922be613 Fix encoder delay/skip samples in: SCD/SGXD/RIFF/MSF ATRAC3/p, SGXD AC3 2017-05-20 18:00:27 +02:00
bnnm
9a2464fbd7 Fix RIFF/Wwise detection rejecting some valid lwav [Cave PC games] 2017-04-22 10:18:47 +02:00
bnnm
b54e49370f Reject Wwise RIFFs with JUNK chunks, now parsed in wwise.c 2017-04-11 20:03:26 +02:00
bnnm
98bc4851af Remove Wwise DSP parsing as it's now handled in wwise.c 2017-04-02 12:30:21 +02:00
bnnm
d6ce0f0ae3 Fix SGXD typo (SGDX to SGXD) 2017-03-18 15:07:58 +01:00
bnnm
c7c1564d9f Minor cleanups (no functionality changes)
- added comments, code alignment for clarity
- renamed some decoders for consistency (ex. eaxa > ea_xa, invert_psx >
psx_bmdx, vgm_adpcm_cfg > psx_cfg)
- removed layout_dkt_interleave (same as nolayout)
- removed skip_last_channel (not used anymore)
- removed meta_DSP_HALP (not used anymore)
2017-01-08 01:09:20 +01:00
bnnm
e6334e72af MAIATRAC3PLUS: use fact_samples if possible (manual calcs can be off) 2016-12-10 16:07:54 +01:00
bnnm
cdfd47eb7b FFmpeg: expose block/frame size, rename totalFrames for clarity 2016-12-10 15:53:29 +01:00
bnnm
c5066fdd09 Check for segfault 2016-12-06 11:53:54 +01:00
bnnm
80c72166e5 AT3: read skip samples to fix edge loops 2016-12-06 00:28:16 +01:00
bnnm
2ac3db4d03 SGDX fixes: AT3/AC3 codecs (via FFmpeg), ADPCM interleave, unify code 2016-12-04 23:10:18 +01:00
bnnm
a359dd1816 Null FFMpeg codecdata pointer on failure to avoid segfault 2016-11-25 19:35:52 +01:00
bnnm
ae5d71e377 Allow FFMPEG and MAIATRAC3PLUS to coexist 2016-11-14 22:20:00 +01:00
bnnm
f1b0b0ea82 fixed AT3plus sample count (needed for non-looped files) 2016-10-26 23:53:58 +02:00
Christopher Snowhill
36aa6bf9cd Add .sgb extension for RIFF WAV parser. 2016-08-10 18:31:06 -07:00
Chris Moeller
cbe9bc3d6b Added FFmpeg support, and fixed a long standing issue with broken loops locking up the decoder. 2016-07-16 23:02:27 -07:00
halleyscometsw
44075c4e91 clean up some warning-causing ugliness 2014-06-26 21:12:48 -07:00
Chris Moeller
bd5cdb35de Epic Mickey 2 Wii ADPCM 2014-02-25 22:12:24 -08:00
Chris Moeller
bd85ad76e8 Fixed mono AT3 decoding, and simplified n-channel decoding 2013-06-26 11:13:44 -07:00
Chris Moeller
ae4863b0bf Clarified AT3plus as such 2013-06-26 04:36:57 -07:00
Chris Moeller
98e90f8a25 Implemented ATRAC3plus support 2013-06-26 02:54:15 -07:00
Chris Moeller
142cfc971d Raised path length limit to 32767 characters, controlled by a global enum definition 2013-05-26 20:55:50 -07:00
halleyscometsw
30e33d70a2 fix .sns broken with r987
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1002 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-10-02 03:37:47 +00:00
halleyscometsw
5a042c79ec oops, big endian means big endian
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@989 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-21 03:17:56 +00:00
halleyscometsw
a4561ef328 XNBm support, share some functionality among RIFF-related formats
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@987 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-20 05:17:52 +00:00
halleyscometsw
968b6afdf1 CyberBotX's MSADPCM support for RIFF
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@969 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-12-14 00:04:03 +00:00
halleyscometsw
582d64439a fix broken wwise dsp history offsets
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@898 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-12-13 04:16:39 +00:00
halleyscometsw
1eb20e259f ubisoft .sns (Red Steel 2)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@755 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-03-15 04:33:22 +00:00
bxaimc
9da8727657 add Rayman Raving Rabbids 2 (PC) fake codec id 0x69 support
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@743 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-02-16 00:07:21 +00:00
halleyscometsw
fc1e4c4c9b add RIFX support, including Punch-Out! (with WiiH)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@655 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-05-25 20:59:50 +00:00
halleyscometsw
8963ee3eed Microsoft IMA for riff and genh
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@590 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-03-09 12:48:53 +00:00
halleyscometsw
a811b6fcb6 support 0x555 with < 32 filters (used in mono streams)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@552 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-01-05 01:20:30 +00:00
halleyscometsw
ac3fef6f7e .mwv, RIFF with Level-5 "0x555" ADPCM (new decoder)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@551 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-01-04 15:36:06 +00:00