Commit Graph

120 Commits

Author SHA1 Message Date
bnnm
5229e7385d Clean dsp meta
Use a common function since most parsers did the same thing with minor
config params.

Also add extra validations to Cabela's DSP since it was hijacking other
DSPs.
2018-04-21 02:14:21 +02:00
bnnm
028f19533a Fix mono .mcadpcm 2018-04-12 22:44:33 +02:00
bnnm
22b787b052 Fix some .mcadpcm [Skyrim (Switch)] 2018-04-01 21:59:00 +02:00
bnnm
b35f88159c Add .mcadpcm [Skyrim (Switch)] 2018-03-31 13:28:30 +02:00
bnnm
011b880884 Add little endian .adpcm DSP [LEGO Worlds (Switch)]
The .adpcm extension may conflict with naomi_adpcm so meta is ordered
before that
2018-03-29 23:28:02 +02:00
bnnm
a029bd9e1d Clean ngc_dsp/mdsp_std 2018-03-29 23:10:13 +02:00
bnnm
69da9d5f4d Clean iadp and add missing .adp extension 2018-03-25 20:00:57 +02:00
bnnm
eca9b83208 Simplify last block interleave
Remove layout_interleave_shortblock for clarity as the value is enough
to signal its use. Also fix .snd last block calculation, and clean some
metas since I was testing changes anyway.
2018-03-24 19:27:24 +01:00
bnnm
8bb9fa5f4a Clean .WSI 2018-03-23 18:34:37 +01:00
bnnm
7b1fed0720 Move dsp_str to its own file for clarity (not using standard DSP header) 2018-03-23 17:34:40 +01:00
bnnm
50354e404c Clean some DSP metas 2018-03-03 18:44:02 +01:00
bnnm
6f28316317 Fix rare segfault in mdsp 2018-02-17 02:08:38 +01:00
bnnm
def9ebd7cb Fix some MSS DSP [TimeSplitters 2 (GC)] 2018-02-10 17:46:22 +01:00
bxaimc
d09ac8fdae Add type 3 GCM/IDSP variant for Lego LOTR (Wii) 2017-12-11 17:58:57 -05:00
bnnm
8f9b22d46f Change layout_interleave_byte with coding_NGC_DSP_subint
Meant to simplify layouts
2017-12-06 21:04:34 +01:00
bnnm
ade662e023 Redo Angel STM: add PCM, adjust looping, unify code, add .lstm 2017-08-12 18:42:38 +02:00
Alex Barney
4b39b7e6c8 Fix Nintendo MDSP layout 2017-06-18 16:07:48 -05:00
Alex Barney
3e2b4e3735 Add support for multi-channel Nintendo .dsp files 2017-05-13 19:38:28 -05:00
bnnm
b661996313 Relax loop validation [ESPN 2002] 2017-02-12 15:00:10 +01:00
bnnm
45bd8a37cb Allow looping in IDSPs with loop_end over num_samples 2017-01-27 16:19:08 +01:00
bnnm
7f02c9951d Fixed 6ch "multi" IDSP [Tekken Tag Tournament 2 (Wii U)] 2017-01-14 21:21:39 +01:00
bnnm
e06ddd0076 Fixed minor compiler warnings (unused/uninitialized vars) 2016-12-27 16:33:10 +01:00
Chris Moeller
64be1ead91 Crash fix for random files passing into this function and attempting to allocate negative channel count arrays 2015-01-24 21:09:00 -08:00
Chris Moeller
a4f8a09541 Change the first use of variable length array declarations to use a xiph.org stack_alloc.h header, and define how to use it for MinGW, Unix (-DVAR_ARRAYS) and for MSVC (-DUSE_ALLOCA) 2015-01-21 17:50:27 -08:00
soneek
b015ae9982 Merge branch 'master' of github.com:soneek/vgmstream 2015-01-21 19:29:12 -05:00
soneek
46f21d977b Update to build with mingw, added at3plus support to Winamp plugin, Capcom mca, WiiU btsnd, MH3U dspw 2015-01-21 19:28:43 -05:00
MrCheeze
d98050547d Fixed bug making SSB4 music unopenable 2015-01-04 19:09:46 -05:00
Chris Moeller
922ab0e06f Update IDSP for Super Smash Bros. Wii U from patch by crediar 2014-12-13 17:04:33 -08:00
zeromus
52728a82d3 fix compiling in vs2008 (missing adds in vcproj, C90 variable declarations) 2014-10-20 02:58:33 -05:00
Chris Moeller
9a03256df2 CSMP for Metroid Prime 3 and DKCR, from Antidote 2014-09-16 16:34:08 -07:00
Chris Moeller
0ebc29f236 IDSP as in SSB4 3DS 2014-09-16 16:31:59 -07:00
halleyscometsw
44075c4e91 clean up some warning-causing ugliness 2014-06-26 21:12:48 -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
manakoAT
bcbfeaac14 add .iadp to ngc_dsp_std.c (Dr. Muto NGC)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@851 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-09-16 11:53:36 +00:00
halleyscometsw
fb5610f1e5 remove unused vars
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@841 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-09-11 18:32:50 +00:00
manakoAT
b50bd33c31 add .dspw (Sengoku Basara 3 Wii)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@817 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-08-04 09:12:08 +00:00
manakoAT
ad4276c7b7 fixed the "XIII" dsp meta
added PCM coding to NAOMI SPSD

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@794 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-05-10 08:02:22 +00:00
halleyscometsw
f3135b8bc7 fix a few build issues and clean up warnings
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@790 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-05-03 15:52:29 +00:00
manakoAT
c6f5c886e9 just fixes
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@788 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-05-02 19:16:35 +00:00
manakoAT
8a8d77149f added blocked format for Future Cop L.A.P.D.
added new IDSP format
added various stuff to MUSX
rewritten FSB3 meta (still WIP)
added .bo2 (Blood Omen 2 NGC)
added .mpds (Big Air Freestyle NGC)
added .khv (Kingdom Hearts 2 PS2)
added .voi (Raw Danger 2 PS2)
added .ddsp and a new dsp meta to ngc_dsp_std.c
moved source from wii_was.c to ngc_dsp_std.c
rewritten PDT meta (Mario Party games)


git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@782 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-04-20 20:26:10 +00:00
halleyscometsw
d67c726073 fix .wsi, files are missing incomplete last frame
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@774 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-04-10 12:38:04 +00:00
halleyscometsw
d788a2e71f remove extra streamfile open in .wsd
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@694 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-09-06 08:04:41 +00:00
halleyscometsw
e63f408b80 remove extra checks from swd, add meta description, clean up some indenting
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@673 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-08-28 20:10:50 +00:00
bxaimc
26481c82ca fixed .dsp for Yu-Gi-Oh! The Falsebound Kingdom (GC), transferred to new meta created
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@664 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-06-26 16:31:58 +00:00
manakoAT
51d6c95095 missing ID's for Bioshock (PC)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@662 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-06-24 19:20:24 +00:00
bxaimc
f65adfd696 added .dsp support for Yu-Gi-Oh! The Falsebound Kingdom (GC)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@660 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-06-20 21:26:36 +00:00
halleyscometsw
64a2daf4e5 redone .wsd support with standard dsp header processing, update readme
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@615 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-03-28 05:49:16 +00:00
halleyscometsw
b1b0ca2f98 support for mono sadb
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@574 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-02-04 01:05:20 +00:00
halleyscometsw
2299a1196a the .dsp extension is not legitimate
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@452 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-10-12 03:05:31 +00:00
halleyscometsw
0fc44c5618 fixes for a few odd wii lsw gcms
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@451 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-10-11 21:45:33 +00:00
manakoAT
169dc6bb5b changes in DSP
added PDT (Mario Party)

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@448 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-10-04 18:52:50 +00:00
halleyscometsw
30107db223 Wii IDSP .gcm.
I had apparently planned for it early on but it wasn't implemented.


git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@426 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-22 00:24:15 +00:00
halleyscometsw
54a2309185 fix swd
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@394 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-04 16:42:22 +00:00
manakoAT
c601599f61 .biodsp added
.vjdsp added

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@393 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-04 16:32:35 +00:00
fastelbja
6f241eeeaa git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@290 51a99a44-fe44-0410-b1ba-c3e57ba2b86b 2008-07-06 11:24:14 +00:00
halleyscometsw
ff3bb11140 wsi history inits were out of bounds
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@262 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-29 09:11:40 +00:00
halleyscometsw
98e0469264 add .wsi support
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@260 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-29 01:30:13 +00:00
halleyscometsw
cf288cd46d another sadb header check
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@241 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-15 09:29:55 +00:00
halleyscometsw
b7c1e568d5 added sadb
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@240 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-15 09:23:34 +00:00
halleyscometsw
42c6d9e1e2 add new files to src/Makefile, fix some warnings
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@208 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-08 02:03:05 +00:00
fastelbja
1f8dca2256 git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@201 51a99a44-fe44-0410-b1ba-c3e57ba2b86b 2008-05-28 11:36:17 +00:00
paladine
3ae797a88a Changed STREAMFILE to be an abstract structure with function pointers for file operations. These changes have been done to support the audacious plugin which will use audacious-VFS I/O instead of stdio. The winamp plugin uses stdio, and has been tested and is working.
stdio optimizations include the prevention of 'doubly opening' a file.  If a file is opened that is already opened, the file handle is duplicated instead of using the normal fopen call.  

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@180 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-20 15:18:38 +00:00
halleyscometsw
19ec490c3b add bomberman jetters _lr.dsp, .mss, and .gcm
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@130 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-15 22:06:33 +00:00
halleyscometsw
f5ef146e7e add mpdsp
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@122 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-14 22:26:44 +00:00
halleyscometsw
afbf7fb543 oops, messed up starting offset for 2nd channel
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@111 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-12 13:55:38 +00:00
halleyscometsw
bad669a3f9 add .stm
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@108 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-12 13:31:48 +00:00
halleyscometsw
014d22b5eb move dsp header reading into a function, so dsp stereo variants can use it
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@107 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-12 11:48:36 +00:00
halleyscometsw
2a686eeea2 consolidate headers
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@89 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-06 03:35:37 +00:00
halleyscometsw
bb82bd32f8 resigned to cheating with adpcm hist at loop for std dsp and rs03
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@59 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-31 20:17:07 +00:00
halleyscometsw
7bec522340 add standard dsp and rs03 (looping still off), and dual file stereo
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@57 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-25 07:30:04 +00:00