Commit Graph

760 Commits

Author SHA1 Message Date
bnnm
0b2902880c Minor reordering in get samples_per_frame/frame_size for consistency 2018-02-17 04:00:04 +01:00
bnnm
694cded587 Add stream_size to calculate bitrate in subsongs, print bitrate info 2018-01-28 00:31:12 +01:00
bnnm
2ef0663d79 Add SQEX SAB/MAB (MPEG/ATRAC9/HCA/MSADPCM) [DQ Builders, FF XV (PS4)] 2018-01-27 22:34:48 +01:00
bnnm
d8c81bc14a Add Media.Vision ATX subfiles (decrypted) [Shining Blade (PSP)] 2018-01-27 14:00:31 +01:00
bnnm
561c3fa8c1 Add Nippon Ichi SPS subfiles [ClaDun (PSP)] 2018-01-27 12:21:25 +01:00
bnnm
861e1ea796 Add Koei Tecmo ATL3 subfiles [One Piece Pirate Warriors (PS3)] 2018-01-27 11:53:15 +01:00
bnnm
a0e97683e4 Add Starbreeze XWC [Riddick Dark Athena, Syndicate] 2018-01-27 11:00:21 +01:00
bnnm
ed29f694ed Add FSB decryption, keys and optional .fsbkey 2018-01-21 01:46:33 +01:00
bnnm
cbe4b19b92 Add .KM9 [Nobunaga no Yabou - Souzou (Vita)] 2018-01-13 17:47:40 +01:00
bnnm
3236676d5d Fix some XVAG interleave/subsongs/multichannel [God of War 3 (PS4)] 2018-01-13 11:36:35 +01:00
bnnm
adf9bc84a5 Remove tabs for consistency 2018-01-04 23:38:22 +01:00
Christopher Snowhill
c2cc114bbe
Merge pull request #166 from bnnm/atrac9pre-etc
ATRAC9pre, etc
2017-12-28 16:30:32 -08:00
bnnm
8789c5918e Prepare ATRAC9 decoder hooks (disabled, not usable at the moment) 2017-12-29 00:29:33 +01:00
soneek
160a13dff9 Support for tri-Ace mobile vorbis AAC, support for KTSS 2017-12-27 00:14:50 -05:00
bnnm
331bc187fa Move XNB from riff.c to xnb.c (cleanup) 2017-12-26 18:17:59 +01:00
bnnm
2f9c16ae9b Add mu-Law with internal interleave decoder
This is needed for blocked layout, as it can't do normal interleave.
Probably could be fixed in the future to remove several superfluous
_int/block decoders
2017-12-24 01:39:24 +01:00
bnnm
a3b991ac3f Modify SCD/P3D/FSB/XVAG interleave and fix short last interleave
Previously, the streams' offsets needed to be pre-adjusted with the
interleave; now assumes all streams start in the same offset (first
stream).
This simplifies short last interleaves (SCD/P3D) and makes
layout_mpeg_custom unnecessary (also allows theoretical variable-sized
interleaves).
2017-12-17 19:25:10 +01:00
bxaimc
0db009b3e6 Add Harmonix Music Systems MOGG Vorbis 2017-12-10 20:30:00 -05:00
bnnm
cc8256d178 Fix some VAWX multichannel files 2017-12-09 19:01:36 +01:00
bnnm
666d47ef84 Remove layout_interleave_byte as NGC_DSP_subint is used instead
The layout was designed to do subframe deinterleave (when
less-than-a-frame bytes of each channel are interleaved) in an array and
pass it to "mem" decoders.

In practice this only happens in a handful of formats, was only used
with DSP, and since making "mem" decoders is required it's simpler to
make normal decoders handling the byte layout directly.

In an effort to simplify vgmstream's layouts, code, and other esoteric
features I changed the old decode_ngc_dsp_mem for decode_ngc_dsp_subint;
results are byte-exact.
2017-12-06 21:12:42 +01:00
bnnm
98b4f8c5b1 Add NGC DSP subinterleave decoder
Meant to replace layout_interleave_byte
2017-12-06 21:04:04 +01:00
bnnm
53698db7c3 Add vgmstream_force_loop, comments (API cleanup) 2017-12-06 16:55:41 +01:00
bnnm
3380451c80 Code cleanup (renames, comments, nitpicks) 2017-12-06 15:32:52 +01:00
bnnm
6072d17f50 Add EA MicroTalk decoder [FIFA 2001 PS2, Ultima IX voices] 2017-12-03 13:44:55 +01:00
bnnm
e3de403c9f Add Ultima IX .FLX (EA-XA/PCM) 2017-12-03 01:41:25 +01:00
bnnm
94de52ec2d Clean EA-XA and fix some subsongs (don't use channel_start_offset)
Also fix 'sample' type shadowing and Maxis-XA skipping a frame in mono
2017-12-03 01:37:56 +01:00
bnnm
b9c3bd9a01 Add Neversoft .OGG [Gun (GC)] 2017-12-02 16:33:43 +01:00
bnnm
e2c059bc31 Add EA .SNS+SNR / .SPS [Burnout Crash, NFS Hot Pursuit PS3] 2017-12-01 17:27:49 +01:00
bnnm
77b849a024 Add Gameloft .VXN [Mobile games] 2017-11-27 20:22:10 +01:00
Christopher Snowhill
3bdd5616df
Merge branch 'master' into master 2017-11-25 17:34:45 -08:00
bnnm
770a27d0b4 Add dual extension in try_dual_file_stereo for Homura (PS2) 2017-11-26 01:54:33 +01:00
bnnm
2889765c5c Fix EA SNU looping not properly saving block state 2017-11-26 01:25:27 +01:00
bnnm
db3af4d407 Rename some blocked layouts for clarity (hopefully) 2017-11-25 01:18:27 +01:00
bnnm
d0be7e0c36 Minor tweaks/comments/renames/etc 2017-11-25 00:43:18 +01:00
bnnm
084c3075e4 Improve try_dual_file_stereo and cleanup
To test dual stereo it was trying all metas, but only the meta that
opened the first file can be accepted (as validated), so pass its
function pointer and try only that instead.
2017-11-24 20:15:23 +01:00
bnnm
e1bb468bd5 Remove unnecessary check_sample_rate 2017-11-23 23:11:11 +01:00
bnnm
7c7af0bf18 Rename *_DE2 to _*DEC for consistency and since it was first 2017-11-23 22:48:11 +01:00
bnnm
17da12f324 Add Namco AAC (.naac) [Ace Combat: Assault Horizon Legacy (3DS)] 2017-11-23 22:32:31 +01:00
bxaimc
ed36ae44a3 Add EZW for EZ2DJ (Arcade) 2017-11-21 21:30:48 -05:00
bnnm
8363e26b88 Unify IMA/IMA_int with standard IMA decoder + add stereo IMA 2017-11-19 03:32:21 +01:00
bnnm
36d4f69420 Fix STRM FFTA2 using the wrong IMA, making output slightly incorrect 2017-11-18 22:49:18 +01:00
bnnm
ea634ad473 Add 3DS IMA for BCSTM and fix old IMA regression (HWAS/SWAV/SAD/AUD/etc)
Standard IMA algorithm was changed for BCSTM, subtly altering regular
IMA's waveforms (not too audible). Now this 3DS variation is separate.
2017-11-18 22:25:44 +01:00
bnnm
79c5cfab49 Clean EA 1SNh/EACS (ea_old) and fix some bugs/looping 2017-11-18 02:20:52 +01:00
bnnm
4a2cf9dd91 Fuse EACS and DVI IMA decoder into a configurable IMA decoder
EACS was just DVI (high nibble first) with stereo and mono modes, while
old DVI was mono only.
This unifies both decoders, so DVI_IMA (not interleaved) works with mono
and stereo while DVI_IMA_int (interleaved) forces mono.
Some metas needed to explicitly set DVI_IMA_int but others work with no
change.
2017-11-17 17:18:17 +01:00
bnnm
2ad3d432f1 Rename pcm.c > scd_pcm.c (cleanup) 2017-11-16 00:41:06 +01:00
bnnm
6c141a6582 Clean .dvi/.kcey and add proper .PCM extension 2017-11-15 23:26:38 +01:00
bnnm
7bec0d368f Remove raw SS3/SS7 meta as it was inaccurate and ubi_sb supports it 2017-11-11 17:49:07 +01:00
bnnm
82b1f235de Remove/simplify formats.h and move to vgmstream.h for simpler API 2017-11-10 20:26:44 +01:00
bnnm
66be677f56 Add Ubisoft .sb0..N + ss0/ls0..N banks + Ubisoft ADPCM [Ubi PoP trilogy] 2017-11-05 17:06:40 +01:00
Christopher Snowhill
b316b0ec33
Merge pull request #136 from bnnm/bgw-sab-etc
BGW, SAB, etc
2017-10-28 18:22:12 -07:00
bnnm
1ff0cecca8 Fix minor compiler warnings (missing const/static/case defaults/etc) 2017-10-28 01:34:32 +02:00
bnnm
e6cb6facbc Fix coding_XBOX_int so it properly works with any interleave; comments 2017-10-27 18:56:34 +02:00
bxaimc
0d440dbecd Added AST (ASTL) variant for Dead Rising (PC). Looping is disabled due to being non-trivial; it will need to be fixed eventually. 2017-10-20 21:06:49 -04:00
bnnm
6b57005c07 Fix some S14/SSS (Korogashi Puzzle Katamari Damacy) 2017-10-14 13:42:59 +02:00
bnnm
c770490b3d Add AL2 meta + A-law decoder [Conquest of Elysium 3 (PC)] 2017-10-08 17:51:54 +02:00
bnnm
16786b78d4 Add .opus [Lego City Undercover] 2017-09-30 01:27:47 +02:00
bnnm
8a8ebe3e24 Minor renames for style (ps3_xvag > xvag, x360_nub > nub_xma) 2017-09-29 23:37:20 +02:00
bnnm
d46996a642 Improve Guitar Hero II multi-streams with block layout
Fixes partially by ignoring last stream, as it can be half sample rate
2017-08-28 20:05:03 +02:00
bnnm
3001b7acba Fix NGC STM regression [Fire Emblem Path of Radiance (GC)] 2017-08-28 17:47:19 +02:00
bnnm
41b22c2699 Add AWC PCM/IMA (non-encrypted only) [GTA5 (PC)] 2017-08-28 16:07:09 +02:00
bnnm
953022b983 Add AWC MP3 [Red Dead Redemption (PS3), GTA5 (PS3)] 2017-08-28 15:14:24 +02:00
bnnm
5d12d6fb67 Add big endian mode to coding_PCM16LE_int and rename to coding_PCM16_int 2017-08-27 22:17:13 +02:00
bnnm
adb225c180 Add EA SNU + EA-XAS decoder + SNS blocks [Dead Space, The Godfather 2] 2017-08-20 02:18:48 +02:00
bnnm
86b7b45c89 Minor rename 2017-08-19 15:59:29 +02:00
bnnm
3c14d3fdb4 Parse loop_target manually (get_vgmstream_play_samples is just a helper) 2017-08-18 19:32:51 +02:00
bnnm
d9fb118412 Add BINK multi-stream support and v2 header 2017-08-18 19:24:19 +02:00
bnnm
6642607d0e Add FSB5 PCMFLOAT + decoder [Anima Gate of Memories (PC)] 2017-08-18 18:54:21 +02:00
bnnm
ade662e023 Redo Angel STM: add PCM, adjust looping, unify code, add .lstm 2017-08-12 18:42:38 +02:00
bnnm
b7c807a85c Add stream name string, for metas than can use it 2017-08-12 11:27:10 +02:00
bnnm
aaa2613802 Add EALayer3 v1 decoder for SCHl [EA games for PS2/Wii/X360/PS3] 2017-08-05 17:54:50 +02:00
bnnm
3e947b5e9d Remove meta_AHX from MPEG ifdefs
I feel parsing a header/meta isn't tied to the ability to init the
codec, which could be swapped if one wanted to use another lib
2017-07-29 23:21:32 +02:00
bnnm
d54492cb95 Update MPEG "interleaved" decoder: now "custom", restructured, added AHX
To support future MPEGs of uncertain layout and frame variations (namely
EALayer3) the code has been restructured: mpeg_decoder does stream
procesing and decoding, while mpeg_custom_utils_x does init and parsing
(write to data buffer + update offsets), per MPEG subtype. Internals
have changed but still gives byte-exact results.
AHX has been adapted to this format as a test. Some modes
(P3D/EALayer3/LyN/AWC) are defined for later development but will fail
on init ATM.
2017-07-29 23:14:04 +02:00
bnnm
6308818b77 Simplify MPEG coding/layouts to allow blocked layouts and future changes 2017-07-29 13:05:23 +02:00
bnnm
54ef2b5190 Add Silicon Knights .AUD + SK Vorbis [Eternal Darkness (GC)] 2017-07-29 11:46:53 +02:00
bnnm
bc8e2e9204 Unify fsb/wwise/ogl Vorbis decoders into a single decoder with subtypes 2017-07-28 23:26:58 +02:00
bnnm
ab6a146528 Add EA SCHl fixed/old (PATl) support [NHL 97 (PC)] 2017-07-23 17:09:55 +02:00
bnnm
3d6e0882ba Improve NDS HWAS volume swings by resetting ADPCM hist every block 2017-07-23 13:16:59 +02:00
bnnm
1fb02da34d Remove EA hack in XBOX decoder and modify XBOX_int (mono) for EA SCHl 2017-07-23 04:21:07 +02:00
bnnm
312b68c0b7 Add EA BNK support and fix minor EA header parsing defects 2017-07-23 03:46:55 +02:00
bnnm
5fe6033442 Fix/improve EAXA naming scheme and detection/handling
EA's MT/MicroTalk is not the early version of EAXA as I thought, but a
rarely used VBR codec (ex. FIFA 2001/2002 PS2) seemingly related to
Westwood VBR ADPCM
2017-07-21 19:19:58 +02:00
bnnm
47c5f70976 Add TXTH generic header format
It's a single text file with basic read commands; similar to GENH but
meant to simplify addition/distribution of (semi)headerless formats
2017-07-15 11:49:28 +02:00
bnnm
58af99fd4b Fix FFTA2 loop 'clicks' in some files by preserving ADPCM history 2017-07-08 11:34:02 +02:00
bnnm
cce72d7aa5 Add EA SCHl Saturn + MT10 mono/int; changed Maxis_ADPCM to Maxis_MT10
Also fixed some issues with ADPCM hist in EA SCHl blocks
2017-07-08 00:27:36 +02:00
bnnm
bf34339b41 redo EA SCHl support [EA games from roughly 1997~2010]
* tested most variations using EA's tools
* added looping [Need for Speed II PC]
* added DSP support [3DS games]
* fixed PCM/EAXA/MT in some cases [PS2/GC/XBOX/Wii games]
* fixed sample rate/codec defaults, num_samples in some cases
* documented more header patches and other details (ex. "EA ADPCM" is
now EA MT/MicroTalk, as per EA's tools)
* (dev) some internals adapted for EA stuff
2017-07-01 23:02:24 +02:00
bnnm
880b8c5543 Add Wii 04SW [Driver: Parallel Lines (Wii)] 2017-06-25 00:27:58 +02:00
bnnm
f617e5e762 Improve PS2 XA30 [Driver: Parallel Lines (PS2)] 2017-06-24 23:33:49 +02:00
bnnm
64500f025d Add PC XA30 + IMA decoder [Driver: Parallel Lines (PC)] 2017-06-24 23:30:10 +02:00
bnnm
7bf4e99cba Improve buffer setup with multichannel files (vgmstream_open_stream) 2017-06-24 22:53:17 +02:00
bnnm
519c5d71de Redo RWS with PCM/PS-ADPCM/DSP/IMA-ADPCM + block support [many games] 2017-06-10 02:25:49 +02:00
bnnm
7e42eeca58 Add u-Law decoder + ULW meta [Burnout 1 GC] 2017-06-09 22:26:09 +02:00
bnnm
a903072a11 Added XPEC's .XAU IMA-ADPCM support [Beat Down (Xbox)] + looping (PS2) 2017-05-18 21:00:42 +02:00
bnnm
9488ba32c7 test.exe: add "-F" option to loop + play stream's end instead of fading 2017-05-18 19:55:00 +02:00
bnnm
625c18a87e Add MTA2 decoder/meta support [Metal Gear Solid 4 (PS3)] 2017-05-18 19:16:44 +02:00
Alex Barney
3e2b4e3735 Add support for multi-channel Nintendo .dsp files 2017-05-13 19:38:28 -05:00
Christopher Snowhill
4e54a82900 Merge pull request #89 from Thealexbarney/adx
Improve ADX support
2017-05-13 16:42:23 -07:00
Alex Barney
89cdaa83e9 Add support for encoding type 4 ADX 2017-05-13 17:37:24 -05:00
bnnm
3527dbcdb0 Add RXWS (.XWB+XWH/.XWS) with ADPCM/PCM/ATRAC3 [Sony/SCEI PS2 games] 2017-05-13 23:54:09 +02:00
Alex Barney
ab647cc155 Add support for type 2 ADX files 2017-05-13 16:04:30 -05:00
Alex Barney
ef1499f480 Add support for varying ADX frame sizes 2017-05-13 15:17:27 -05:00
bnnm
a79b874f82 Add RSD6XMA and tri-Ace's PS3/X360 support (by bxaimc) 2017-05-13 02:22:15 +02:00
bnnm
e2cc352238 Add GTD support [Knights Contract X360] 2017-05-13 01:55:31 +02:00
bnnm
b8f2efadc4 Add partial support for Xbox MSS [Shellshock Nam 67], update names
Needs a new "stereo interleave" layout so it only plays as a 2ch stream
for now.
2017-05-12 19:15:18 +02:00
bnnm
6cf0195d25 Move reset/seek/free code to decoders (vgmstream.c cleanup) 2017-04-29 22:37:15 +02:00
bnnm
779bf68ab1 Fix some compiler errors with -Werror=format-security 2017-04-29 16:23:50 +02:00
bnnm
d5aee307f0 Rename coding_INT_X to coding_X_int for consistency with other codecs 2017-04-29 02:53:36 +02:00
bnnm
75d079f389 Add block size (interleave) description for MSAPDCM/MS-IMA/etc 2017-04-29 02:19:27 +02:00
bnnm
4a83de7dae Added MC3 decoder/meta [MX Rider, Spy Hunter, T3] (thanks to daemon1) 2017-04-28 17:26:25 +02:00
bnnm
f153479383 Add OGL Vorbis decoder/meta [Jett Rocket (Wii), FAST Racing NEO (WiiU)] 2017-04-22 19:25:54 +02:00
bnnm
bd3e054b82 Add basic SXD support [Gravity Rush, Freedom Fighter SFX (PSV)] 2017-04-22 15:00:22 +02:00
bnnm
bb00cfa22c Make try_dual_file_stereo static/local 2017-04-22 13:31:12 +02:00
bnnm
c8f82e6f06 Simplify XMA parsing and don't make it fully FFmpeg-dependant 2017-04-22 13:12:01 +02:00
bnnm
7cc3660fc8 Separate X360 NUB/PASX from xma.c for cleanup 2017-04-22 12:09:43 +02:00
bnnm
f067d4ddb9 Added Wwise Vorbis decoder and packed codebooks 2017-04-13 15:04:46 +02:00
bnnm
a468898855 Added Wwise IMA decoder; ms_ima_bytes_to_samples
There are some minor issues with seeking in odd samples to be fixed
2017-04-11 19:59:29 +02:00
bnnm
a33a77575a Add Ubisoft RAKI [Rayman Legends, Just Dance 2017 (multi)] 2017-04-07 18:01:04 +02:00
bnnm
4f73cfc18d Add partial Wwise support (PCM/DSP/AAC/HEVAG) 2017-04-02 12:27:21 +02:00
bnnm
01391f4d6d Add FSB Vorbis decoder 2017-03-25 14:57:44 +01:00
bnnm
3a98c9e7d5 Add Capcom .AST [Dead Rising X360] 2017-03-19 00:44:58 +01:00
bnnm
d6ce0f0ae3 Fix SGXD typo (SGDX to SGXD) 2017-03-18 15:07:58 +01:00
bnnm
76a351c7e2 Add minor debug log when looping is auto-disabled 2017-03-18 00:24:36 +01:00
bnnm
613766e856 Add comment 2017-03-09 20:38:52 +01:00
bnnm
85a3ec749f Show stream numbers in the description (few multi-stream formats only) 2017-03-04 02:05:07 +01:00
bnnm
0296be392f Redone XWB with full support [many XBOX360 games]
Includes PCM/XBOX-ADPCM/MS-ADPCM/XMA1/XMA2/WMAv1/WMAv2/WMApro.
Known issues (examples needed):
- PCM8bit, WMAv1 (XBOX) and WMApro (late XBOX360) not tested
- compact mode not tested
- earlier (XACT2) MS-ADPCM looping not tested
- XACT2 v35/36/37 may not play correctly (~few mid 2006 games)
2017-02-25 13:57:18 +01:00
bnnm
e0d129e06c Prepare MPEG stuff for multichannel 2017-02-18 18:27:21 +01:00
bnnm
df84602e85 Move reset/seek/free MPEG code to mpeg_decoder (for later changes) 2017-02-17 17:20:40 +01:00
bnnm
b3ca092b6a Add AKB support for OGG/alt AAC [SQEX iOS: Dragon Quest 2-6, FF6, TWEWY] 2017-02-12 14:42:02 +01:00
bnnm
6cd991ebf6 Added FSB multichannel IMA
Variation of the XBOX IMA used in >2ch FSB (interleaved header)
2017-02-04 19:19:51 +01:00
bnnm
2aa025f245 Added BIK/BIKa 1/2 [various game movies] 2017-02-04 13:00:13 +01:00
bnnm
dfa9edea76 Remove unneeded/buggy stream-closing code in vgmstream_open_stream 2017-01-25 22:31:28 +01:00
bnnm
195958b20a Move Xenoblade 3D DSP .adx from CRI .adx to its own meta (cleanup) 2017-01-25 22:23:45 +01:00
bnnm
a809a7c628 Add Omikron: The Nomad Soul IMA ADPCM coding and meta 2017-01-25 20:25:39 +01:00
bnnm
11968a5593 Add support for WiiBGM demuxed from G1L [Romance of Three Kingdoms 12] 2017-01-18 21:28:14 +01:00
bnnm
ef44b5b5cc SCD DSP: validate size/offset and don't crash when failing to open 2017-01-18 21:19:43 +01:00
Christopher Snowhill
f47fabab9a Fix another regression caused by ee5a40224d deleting return statements that other switch cases fell into. 2017-01-17 10:37:47 -08:00
bnnm
9cea79eedc Adjust minor vgmstream_open_stream condition 2017-01-15 22:16:28 +01:00
bnnm
295fcf1b8a Improve buffer usage in some cases when using vgmstream_open_stream 2017-01-15 21:02:01 +01:00
bnnm
cba1d28ae2 Fixed regression in Xbox codecs 2017-01-15 20:44:52 +01:00
Christopher Snowhill
efdbf8c331 Merge pull request #61 from bnnm/formats-stuff
Formats and stuff
2017-01-14 14:16:16 -08:00
derselbst
088aa2414f avoid format-security compiler warnings 2017-01-14 16:23:59 +01:00
bnnm
c68608149c Moved check_extensions/open_stream to streamfile.c/vgmstream.c 2017-01-14 00:59:54 +01:00
bnnm
2467f9afdc Added CXS [Eternal Sonata (Xbox 360)] 2017-01-08 14:19:32 +01:00
bnnm
01981a6686 Added PS2 VDS/VDM [Graffiti Kingdom] 2017-01-08 12:59:04 +01:00
bnnm
86ba7a6a23 Remove some old DEBUG code 2017-01-08 02:58:52 +01:00
bnnm
ad74cced1f Moved coding/layout/meta switch-case descriptions to list in formats.c 2017-01-08 02:27:35 +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
3e4299b373 Added ATRAC3/XMA in VAWX (.xwv) [Moon Diver, No More Heroes X360] 2017-01-07 17:04:21 +01:00
bnnm
ee5a40224d Added PS ADPCM of configurable frame size (FF XI, Blur, Afrika)
This fuses the FF XI/BSF/Short VAG decoder variants into a single one
(FF XI alone has 4 possible frame sizes); also fixed FF XI sample rate
and some cleanup.
2016-12-29 23:34:21 +01:00
bnnm
6c82a508ef Redone FSB1-4: improved XMA/MPEG, bugs, looping
Now parses FMOD's flags correctly and should work for all versions.
There are still some problems with IMA ADPCM which also happened before.
2016-12-29 14:06:57 +01:00
bnnm
9bd2003218 Fix minor warning 2016-12-29 01:46:49 +01:00
bnnm
12760d2183 Sanify loops: ignore negative start 2016-12-22 23:25:18 +01:00
bnnm
ea7b8d2570 Added short VAG variation (SGXD type 5 found in PS3 Afrika) 2016-12-21 23:00:34 +01:00
bnnm
0b3050cf0a Added PSVita HEVAG (original algorithm by daemon1) 2016-12-21 20:44:16 +01:00
Christopher Snowhill
ad85fc8bc3 Make XMA support dependent on FFmpeg inclusion, for now. 2016-12-18 11:41:26 -08:00
bnnm
8140800587 Added proper/looped .XMA 2016-12-18 18:12:27 +01:00
bnnm
d1dc2b6082 Added .BCWAV dual stereo (3DS Lego games) 2016-12-18 10:24:14 +01:00
bnnm
2a7b645d23 Fixed PS2 MSS sample count and description 2016-12-16 20:29:02 +01:00
bnnm
cdfd47eb7b FFmpeg: expose block/frame size, rename totalFrames for clarity 2016-12-10 15:53:29 +01:00
bnnm
22d7708d68 Added FFmpeg MP4/AAC 2016-12-06 17:12:56 +01:00
bnnm
2ac3db4d03 SGDX fixes: AT3/AC3 codecs (via FFmpeg), ADPCM interleave, unify code 2016-12-04 23:10:18 +01:00
bnnm
f5da8281e2 Move FFmpeg reset to ffmpeg_decoder (cleanup) 2016-12-01 19:58:51 +01:00
bnnm
2754f05b11 Move FFmpeg looping to ffmpeg_decoder for further changes (cleanup) 2016-11-30 23:48:49 +01:00
bnnm
b9db20283d FFmpeg: keep block size constant (for edge loops), don't write on EOF 2016-11-29 20:22:20 +01:00
bnnm
75dd0d0d8b FFmpeg fixes
- add samplesPerBlock to FFmpeg struct (for clarity)
- delete functions defs already in meta.h
- comments as I tried to understand the code better
2016-11-26 13:43:59 +01:00
bnnm
9e6458c4b9 describe_vgmstream: FFMpeg long_name may be NULL 2016-11-25 22:19:18 +01:00
bnnm
ec068700ae ffmpeg looping: allow compile with accurate (slower?) looping + document 2016-11-20 15:51:02 +01:00
bnnm
cc9b21bd48 Check if there are samples to play so it won't generate empty files 2016-11-13 21:08:10 +01:00
bnnm
b5a9db8ae2 support for PS2 SNK SVAG 2016-10-27 23:21:12 +02:00
Christopher Snowhill
42c00f304b Add rollback to FFmpeg loop seeking, since FFmpeg doesn't seem to institute any rollback of its own. 2016-08-14 15:18:34 -07:00
Christopher Snowhill
c4c7ec55bf Tab normalization. 2016-08-10 18:34:13 -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
Chris Moeller
4c75e6a5bc Updated HCA decoder. 2016-06-29 19:56:20 -07:00
Chris Moeller
5200ed4a91 Fixed file handle leak in HCA and MP4 decoders. Minor casting fixes. 2016-06-28 19:27:30 -07:00
Chris Moeller
33563f4e7c Add HCA support. 2016-06-28 00:20:37 -07:00
Chris Moeller
cf0e1c5f2b Add a guard on the bitrate calculator 2015-08-23 23:44:23 +00:00
libertyernie
ed06d9fbcd Remove trailing colon from ifdef 2015-08-12 18:09:10 -05:00
Joseph Gibbs
51dfc3339a Added support for Xenoblade Chronicles 3D adx 2015-05-16 15:30:15 -07:00
Chris Moeller
2ff56989b1 Fix it so it compiles 2015-02-13 16:49:29 -08:00
Chris Moeller
4dcb647b67 Hopefully fixed bitrate checker for formats that don't use the primary streamfile pointers 2015-02-13 16:47:59 -08:00
Chris Moeller
9732c8a0a5 Fixed bitrate calculator for formats that leave some channels' streamfile pointers empty 2015-02-12 14:22:51 -08:00
Chris Moeller
2c5e8a1421 Implemented function for querying the average bitrate of all stream files associated with a VGMSTREAM instance 2015-02-08 19:01:26 -08:00
Chris Moeller
1ad884287b Added G.719 decoding support to BNSF input 2015-01-24 21:08:25 -08: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
soneek
76062dbbdc Add Hyrule Warriors G1L 2014-10-19 17:10:31 -04:00
soneek
52d3f06162 First BFSTM support (needs work for 9+ channels), experimental NSMBU bfwav support 2014-10-18 17:54:31 -04: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
Chris Moeller
7425dc2aad Fixed remaining path limit issues 2014-08-02 20:32:30 -07:00
soneek
b1e5a3a9e3 Added experimental support for bfwav 2014-08-02 19:10:45 -04:00
manakoat
96301376cc FSB5 added, only MPEG support now 2014-04-23 21:31:04 -07:00
Chris Moeller
1ab759bd19 Added soneek's experimental CSTM meta for BCSTM support (3DS) 2014-02-25 22:31:28 -08:00
Chris Moeller
9fc46bd877 Added OTM support for Otomedius (Arcade) 2014-02-25 22:25:02 -08:00
Chris Moeller
dc4b7f553c Add PS2 VBK meta. 2013-09-03 11:27:36 -07:00
Chris Moeller
aa1d39a19e Initial Ubisoft CKD support for Rayman Origins (Wii only for now) Still testing but seems to work fine. Mono is kinda broken but w/e. 2013-09-03 11:14:14 -07:00
Chris Moeller
91867c0732 Fixed AT3 looping again 2013-06-26 11:23:46 -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
634845b1ce Added preprocessor blocking around MP4/AAC parts 2013-06-13 17:42:24 -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
Chris Moeller
29bcc68bde Removed unnecessary reinitialization 2012-09-05 03:28:19 +00:00
Chris Moeller
e1dc9ba487 Implemented MP4 AAC support for iOS AKB format 2012-09-05 03:28:18 +00:00
halleyscometsw
55b50601b4 Psychic software's obfucsated ogg as seen in Darkwind: War on Wheels (untested)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@998 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-09-05 03:12:58 +00:00
bxaimc
26f6e3208c Added RSD6OOGV support for Scarface: The World is Yours (PC)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@996 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-31 05:12:04 +00:00
halleyscometsw
bed971faf8 CWAV for 3DS, added as a modification to Wii RWAV/RWAR/RWSD
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@993 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-28 05:08:46 +00:00
halleyscometsw
a4bb71f17d DSP SCD support for DQX.
Not completely happy with how this turned out (see TODOs), but it works.


git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@992 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-24 17:36:40 +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
snakemeat
1c67f85bc7 Add PS2 2PFS meta. Cannot determine loop points.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@984 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-15 03:41:24 +00:00
snakemeat
70df3651fa Add PS3 IVAG meta.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@977 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-04-14 16:07:21 +00:00
snakemeat
4ef19d3820 Add PS2 HSF meta.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@974 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-03-21 03:30:36 +00:00
halleyscometsw
8f7faebedd support an improved form of ADX encryption
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@967 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-08-20 12:00:01 +00:00
manakoat
85e9303b61 added .mms support (ShellSHock Nam '67)
added WIP support for Mini Minjas (.mnstr)

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@965 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-07-22 05:32:10 +00:00
halleyscometsw
1c2ebea3bf lf format specifier doesn't work well in some runtimes (Wine)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@964 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-07-07 15:25:38 +00:00
snakemeat
2b1a89dfd7 Add SGD file type, an SGH/SGB style file [Boku no Natsuyasumi 3 (PS3)].
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@956 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-31 15:01:04 +00:00
halleyscometsw
a4c132bddc mtaf is no longer considered "experimental"
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@955 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-28 14:35:31 +00:00
bxaimc
d4e2f18106 Added initial support for .TUN (LEGO Racers (PC)), broken though (for now)
Added .WPD support for Shuffle! (PC)

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@951 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-18 20:33:00 +00:00
halleyscometsw
cf60da0f24 MGS3 VAG2
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@947 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-08 04:09:34 +00:00
halleyscometsw
72aca13617 MGS3 VAG1
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@945 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-08 03:47:20 +00:00
halleyscometsw
3f1f45ba07 remove mtaf blocking support, new extractor produces clean files
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@944 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-08 03:12:45 +00:00
halleyscometsw
262d5a98c9 Metal Gear Solid 3 MTAF. What a thrill.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@941 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-07 11:05:05 +00:00
manakoat
fcdf82d884 fixed GCub meta for mono playback
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@936 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-03-23 20:28:47 +00:00
manakoat
0f05f28769 add new extension for SGXD/WAVE
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@933 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-03-23 08:06:05 +00:00
snakemeat
c829019e48 Add PS3 KLBS meta.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@932 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-03-23 03:17:53 +00:00
halleyscometsw
84e23b7faa Excitebots .sfx and .sf0
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@930 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-03-03 09:03:18 +00:00
halleyscometsw
ce2816c0eb ADP! from Balls of Steel
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@928 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-02-22 06:57:50 +00:00
bxaimc
e14ce06d23 Added .PSND support for Crash Bandicoot Nitro Kart 2 (iOS)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@926 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-02-19 02:59:42 +00:00
manakoat
f514642b76 add Mattel Hyperscan format
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@923 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-02-15 18:24:50 +00:00
snakemeat
85e4780db3 Add PS2 WMUS for "The Warriors" PS2
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@919 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-02-13 02:23:53 +00:00
bxaimc
16bae0a74d Combined FSB metas
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@918 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-02-08 12:56:16 +00:00
halleyscometsw
bf8a32fefd .snds from Incredibles PC
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@913 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-02-06 09:49:57 +00:00
halleyscometsw
6bf8f36726 .seg support for Xbox ADPCM as well as existing ADPCM
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@912 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-01-22 02:31:52 +00:00
snakemeat
e4c1a9de5b Add PS3_VAWX. Attempting to verify 6-channel files.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@909 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-01-17 21:22:10 +00:00
halleyscometsw
040a5a0648 lsf meta and decoder, Fastlane Street Racing (iPhone)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@906 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-01-13 08:11:58 +00:00
halleyscometsw
0541b579cb handle > 2 channels in .baf, don't call it "Blur" anymore
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@905 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-01-12 01:50:45 +00:00
halleyscometsw
c58b2e2acd Add support for CRI's UTF DSP samples, with ADPCM_WII tables. Currently extensionless.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@902 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-01-04 14:20:49 +00:00
manakoAT
7bcbc6f6be WIP support for "The Bouncer" .str files
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@900 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-12-29 12:33:33 +00:00
halleyscometsw
6263225565 add KOVS Ogg from Dynasty Warriors Online
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@897 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-12-11 06:42:42 +00:00
snakemeat
649e987aca Add PS2 IAB blocked type. Can't seem to get exactly right, but it's very close.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@891 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-12-06 22:22:06 +00:00
snakemeat
56f31b8f4a Clean up VGS meta to have it's own constant and proper description for use in the File Information dialog for Winamp plugin.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@890 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-12-06 17:30:48 +00:00
bxaimc
e63c955578 Ok, third (or fourth) time's the charm...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@887 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-12-03 23:34:14 +00:00
bxaimc
650b6abe16 Final fixes for .TRA and .MTAF
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@886 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-12-03 23:21:36 +00:00
fastelbja
7b137c17ef try to fix .tra
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@885 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-12-03 22:48:51 +00:00
bxaimc
16f554d23b Added .SPM support for Lethal Skies - Elite Pilot: Team SW (PS2)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@884 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-11-29 02:02:27 +00:00
bxaimc
1519d29183 Removed all code that is/potentially crashing winamp/vgmstream
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@883 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-11-24 04:27:59 +00:00
bxaimc
9c7283eda0 Initial .RAS support (incomplete but working) added for Donkey Kong Country Returns (Wii). Loop and other code will need to be added once other files are found. Other incomplete/unused code that breaks vgmstream commented out for now.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@881 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-11-22 01:45:39 +00:00
fastelbja
3ea0cd0cae add support for .tra
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@879 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-11-14 16:05:58 +00:00
bxaimc
4588ff77b7 Added support for "DAT8" MUSX from GoldenEye 007 (Wii)
Added support for NGCA files found in MUSX "containers" from GoldenEye 007 (Wii)

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@877 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-11-09 04:21:22 +00:00
bxaimc
87bc10bd82 Added initial support for SGH+SGB file pairs from Folklore (PS3)
No support for individual SGB and Non-PS ADPCM files.

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@867 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-10-19 02:16:08 +00:00
bxaimc
bbb6d6fc3c Added .PAST support for Bakugan Battle Brawlers (PS3)
Added a few things to fb2k stuff

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@865 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-10-12 00:16:49 +00:00
bxaimc
f2cbf2116d Added support for .VAG from NUB archives found in Ridge Racer 7 (PS3) and others.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@859 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-09-30 00:04:17 +00: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
manakoAT
1e11a5b7a2 add MPEG coding to FSB4
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@850 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-09-15 19:37:54 +00:00