bnnm
de523dc6a3
Do some cleanup while we are testing BFSTMs
2017-03-13 21:14:14 +01:00
bnnm
0c55e49a63
More FSB5 flags comments
2017-03-13 20:43:47 +01:00
bnnm
0cf5d4fb00
Add FSB5 XMA; use interleaved MPEGs; fix mono MPEG total samples
2017-03-13 20:08:35 +01:00
bnnm
5763a1a229
Use interleaved MPEG FSB decoder [Timeshift, DJ Hero]
2017-03-13 20:05:28 +01:00
bnnm
663cb43b3f
Make init_vgmstream_hca_offset local (wasn't used anywhere else)
2017-03-10 17:32:42 +01:00
bnnm
79a5942cb9
Add HCA extension check to avoid some malloc/frees
2017-03-10 17:26:27 +01:00
bnnm
8fc73c6d02
Minor SCD cleanup
2017-03-09 20:56:26 +01:00
bnnm
a5556e587c
Added "short" MPDS (coefs missing) [T3, MI: Operation Surma (GC)]
2017-03-09 20:37:48 +01:00
bnnm
ce591bbe12
Added new GENH codecs: ATRAC3/plus, XMA1/2, FFMPEG
...
Also some extra fields: total samples, skip samples, data size,
atrac3/xma modes
2017-03-09 19:33:31 +01:00
bnnm
098946057e
Do some GENH cleanup before further additions
...
No changes in logic (tested for all types):
- move codec types to enum for later reference
- move NGC_DTK validation and AICA/DSP adpcm init to setup block
- use vgmstream_open_stream instead of manual stream opening.
There were 2 cases, interleave (different offset per channel, multiple
streamfiles) and none (same offsets per channel, one streamfile), now
handled by it.
2017-03-09 16:53:34 +01:00
bnnm
0e658031cc
Add basic multistream FSB5 support; code cleanup
2017-03-05 17:43:41 +01:00
bnnm
7f90359e40
Fix some XWB XACT2 looping [Blue Dragon, Prey]
2017-03-05 17:34:37 +01:00
bnnm
9d97a346d3
Save number of streams info
2017-03-04 02:16:35 +01:00
bnnm
39abb97b61
Save number of streams info
2017-03-04 02:09:00 +01:00
bnnm
93bcf85e9c
Minor code cleanup
2017-03-04 02:07:48 +01:00
bnnm
3d1ae80f56
Fixed SFX SGDXs; show multi stream number
2017-03-04 02:06:11 +01:00
bnnm
85a3ec749f
Show stream numbers in the description (few multi-stream formats only)
2017-03-04 02:05:07 +01:00
bnnm
f92babb383
Fix looping for XACT1/2 PCM and XMA
2017-02-25 19:53:21 +01:00
bnnm
d2a31378c2
move xma_get_samples from xma.c to FFmpeg utils (needed by XWB)
...
xma.c now uses ffmpeg's fmt_chunk_swap_endian, too
2017-02-25 19:52:07 +01:00
bnnm
8b72e32a97
Adjust XMA sample reader (cleanup, looping, prep for changes)
2017-02-25 18:35:56 +01:00
bnnm
fbb9af5410
Tweak FFmpeg XMA1 fake RIFF
2017-02-25 17:29:25 +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
9ff0e2b8a7
Fix again rare FFmpeg bug when reading "fake" filesizes
2017-02-25 13:43:05 +01:00
Christopher Snowhill
223f732e17
Merge pull request #70 from bnnm/interleaved-mpeg
...
Interleaved MPEG
2017-02-19 21:41:42 -08:00
bnnm
7f98f5b4f6
Remove MPEG sample rate check and channel/sample rate pointer updates
...
Rarely used, frame sample rate/channels are now exposed, and FFmpeg will
end up playing any MP3 anyway.
Encoders may modify sample rate to adjust looping to frame boundaries,
too.
2017-02-19 21:16:09 +01:00
bnnm
f993fe37de
Add some preliminar code for multichannel FSBs
2017-02-19 20:28:13 +01:00
bnnm
c38aa72761
Enable multichannel MPEG (fixed frame size) in XVAGs
2017-02-19 20:21:57 +01:00
bnnm
d3a1fba917
Simplify XVAG/code cleanup preparations
2017-02-18 15:43:29 +01:00
Link
4963e97216
Fairy Fencer F: Advent Dark Force Looping OGG support added.
2017-02-18 08:04:16 +01:00
bnnm
7418b61793
Hide buffer and mpeg_bytes_to_samples MPEG internals; cleanup
...
Also removes VBR check from metas; it's only needed because
mpeg_bytes_to_samples doesn't work with VBR, but now it'll return 0,
which would be validated later.
2017-02-18 00:17:38 +01:00
bnnm
2e41586e68
Move AHX MPEG init code to mpeg_decoder and other cleanup
2017-02-17 18:35:58 +01:00
bnnm
6b99cf8f72
Use free_mpeg to close MPEG internals
2017-02-17 18:18:06 +01:00
bnnm
a7982bc743
Remove MPEG internals
2017-02-17 16:48:29 +01:00
bnnm
ef5b17f508
Remove old FSB5 mpeg code
2017-02-17 16:44:07 +01:00
bnnm
5b04bbc32a
Add a couple of extra memory validations on BIK init
2017-02-17 16:39:38 +01:00
bnnm
d26c813cbd
Fix some rare AKB2 [Mobius FF SFX]
2017-02-12 15:43:57 +01:00
bnnm
b661996313
Relax loop validation [ESPN 2002]
2017-02-12 15:00:10 +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
9317ce9cc2
Add ffmpeg_set_skip_samples to manually fix encoder delay in some cases
2017-02-12 13:17:01 +01:00
bnnm
8d973f4eb9
Allow negative start time in init_seek (for Ogg)
2017-02-12 12:18:44 +01:00
bnnm
5040b4746e
Fix minor bugs; cleanup
...
- loop flag parsed from the spec [TTT HD]
- add joint stereo ATRAC3 [Silent Hill HD]
- fix MSFv1 ATRAC3 sample rate [Digi World SP]
- use "fake RIFF" ATRAC3 for flexibility (sample rate fix)
2017-02-04 23:26:13 +01:00
bnnm
3d9ce4c15e
Fixed FSB5 sample rate and channels, multichannel IMA ADPCM; cleanup
2017-02-04 23:20:11 +01:00
bnnm
b44cd87a7b
Fix multichannel IMA FSB
2017-02-04 19:37:48 +01:00
bnnm
13bec0d5be
Add check in free_ffmpeg to avoid segfault if data is NULL
...
free() accepts NULL so free_ffmpeg should too, I guess
2017-02-04 17:54:43 +01:00
bnnm
2aa025f245
Added BIK/BIKa 1/2 [various game movies]
2017-02-04 13:00:13 +01:00
bnnm
bc49757f20
Added/finished looping MP4 (.lmp4) [FFDimensions, Tales of Hearts R iOS]
2017-02-04 11:10:02 +01:00
bnnm
d8df47e080
Simplify SGXD code
2017-01-28 00:41:51 +01:00
bnnm
a468e9b1b1
Fix stream and interleave sizes in some cases
2017-01-27 23:39:52 +01:00
bnnm
c3490f99d9
Fix a rare FFmpeg bug when reading "fake" filesizes
2017-01-27 23:16:00 +01:00
bnnm
685c7bafad
Fix MSA sample count [Psyvariar (PS2)]
2017-01-27 19:32:40 +01:00
bnnm
7e106d6a33
Add basic multistream FSB support
2017-01-27 18:01:40 +01:00
bnnm
45bd8a37cb
Allow looping in IDSPs with loop_end over num_samples
2017-01-27 16:19:08 +01:00
bnnm
802e414bdc
Fix mono Xbox decoding, mono DSP start_offset; code cleanup
2017-01-26 23:31:02 +01:00
bnnm
35a3d44c89
Move Xenoblade 3D DSP .adx from CRI .adx to its own meta (cleanup)
...
The CRI .adx code is now like before it was added (44075c4
)
2017-01-25 22:28:15 +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
9ae63e470b
Add .str extension for Ben 10: Galactic Racing
2017-01-25 20:36:57 +01:00
bnnm
a809a7c628
Add Omikron: The Nomad Soul IMA ADPCM coding and meta
2017-01-25 20:25:39 +01:00
bnnm
28dc316f95
Add NPS extension (Beautiful Katamari)
2017-01-22 11:40:01 +01:00
bnnm
b726349ece
Fix multistream count offset [Dragon Quest X SFX]
2017-01-19 00:33:12 +01:00
bnnm
78349c3c8f
Move "skip chunks" to OGG, only FFXIV needs it and breaks some DQ10 DSPs
2017-01-19 00:29:55 +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
bnnm
85e63743b7
Added SCD DSP Wii U [Dragon Quest X (Wii U)]
2017-01-15 20:42:26 +01:00
Christopher Snowhill
efdbf8c331
Merge pull request #61 from bnnm/formats-stuff
...
Formats and stuff
2017-01-14 14:16:16 -08:00
bnnm
72f252327f
Added SCD ATRAC3plus [Lord of Arcana (PSP)]
2017-01-14 23:00:19 +01:00
bnnm
07c179e51c
Remove unused init_ffmpeg_faux_riff
...
Superseded by init_ffmpeg_header_offset and various ffmpeg_make_riff_x
2017-01-14 22:29:47 +01:00
bnnm
d3ba419aa9
Fixed SCD XMA [Final Fantasy XIII (X360)]
2017-01-14 22:27:52 +01:00
bnnm
376b4acbb2
Minor func rename (ffmpeg_make_riff_xma2_from_fmt)
2017-01-14 22:25:15 +01:00
bnnm
7f02c9951d
Fixed 6ch "multi" IDSP [Tekken Tag Tournament 2 (Wii U)]
2017-01-14 21:21:39 +01:00
bnnm
a1f8407ab1
Fixed GSP+GSB DSP total samples [Super Swing Golf GC]
2017-01-14 03:05:07 +01:00
bnnm
b96e7d7bbf
Added ATRAC3/XMA in GSP/GSB [Quantum Theory PS3/X360]
2017-01-14 01:39:21 +01:00
bnnm
c68608149c
Moved check_extensions/open_stream to streamfile.c/vgmstream.c
2017-01-14 00:59:54 +01:00
bnnm
14d2363670
Moved dsp_read_coefs_be to ngc_dsp_decoder.c
2017-01-13 23:56:48 +01:00
bnnm
f5750ba2cc
Moved make_riff_x to ffmpeg_decoder.c (only actually used by FFmpeg)
...
Also added make_riff_xma2_from_fmt_be
2017-01-13 23:47:52 +01:00
Christopher Snowhill
72f3e3555b
Added sanity check to MCA decoder, fixes some odd rips I've just encountered.
2017-01-09 09:29:08 -08: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
4e6ce8747d
Added .swag [Frantix PSP]
2017-01-08 12:03:31 +01:00
bnnm
86ba7a6a23
Remove some old DEBUG code
2017-01-08 02:58:52 +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
2557074ceb
Added .nps extension [Venus & Braves PS2]
2017-01-07 14:33:10 +01:00
bnnm
8b8a9ecd4e
Basic support for multi-stream SCD (FF XIV sfx)
2017-01-03 21:13:36 +01:00
bnnm
8913ccdd47
Add SCD OGG v3 decryption (FF XIV Heavensward)
...
Original code by ShadowRoze and algorithm by Ioncannon.
2017-01-03 19:03:08 +01:00
bnnm
aaf137817c
IMA tweaks
2017-01-02 17:03:49 +01:00
bnnm
a77d4d21ce
Manually setting layout_none was not needed in mono PCM files
2017-01-02 15:42:26 +01:00
bnnm
9d33b42584
Improved SPW (PCM, sample rate)
2017-01-02 15:24:10 +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
fa31aa2cd7
Fixed wrong meta
2016-12-28 16:14:44 +01:00
bnnm
d4f45eaaee
Moved debug FSB5 MPEG from fsb.c to fsb5.c
2016-12-28 11:39:56 +01:00
bnnm
ad3b081681
Fix possible segfault
2016-12-27 23:18:41 +01:00
bnnm
e06ddd0076
Fixed minor compiler warnings (unused/uninitialized vars)
2016-12-27 16:33:10 +01:00
bnnm
8daafeea90
Adjusted loop detection for some dual stereo files (Ecco the Dolphin)
...
It was detecting one channel as looping and other as non-looping.
2016-12-26 16:09:16 +01:00
bnnm
46d7fcfe80
Added Killzone VAGp (.vag); code cleanup
2016-12-26 13:30:43 +01:00
bnnm
973c4bff1d
Added namco XMA (.xma), Soul Calibur II HD XMA (.past) variations
2016-12-26 13:27:47 +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
bnnm
4c25807b3d
Prepare loop finder for HEVAG and minor touches
2016-12-21 00:48:47 +01:00
bnnm
75485c388e
Moved VAG loop finder to function; comments, code preps
2016-12-20 23:29:36 +01:00
Christopher Snowhill
6a4577f561
Fixed MSS sample count handling, hopefully.
2016-12-18 19:54:41 -08: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
c1c1cd1ba6
init_ffmpeg accepts any generic header; init_seek edge cases (for XMA)
2016-12-18 13:10:08 +01:00
bnnm
27868be723
Fixed v5 header coef positions
2016-12-16 20:34:44 +01:00
bnnm
2a7b645d23
Fixed PS2 MSS sample count and description
2016-12-16 20:29:02 +01:00
bnnm
76dc236b41
Added .pos support for .vgmstream (FFmpeg) files not directly supported
...
The format is LE 4+4 [loop_start loop_end], or LE 4+4+4 [loop_start
loop_end num_samples] when FFmpeg can't determine correctly num_samples
2016-12-11 13:05:54 +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
22d7708d68
Added FFmpeg MP4/AAC
2016-12-06 17:12:56 +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
6568acc305
Favor FFMPEG over MPEG due to inaccurate looping and worse MPEG support
2016-12-04 23:10:18 +01:00
bnnm
2ac3db4d03
SGDX fixes: AT3/AC3 codecs (via FFmpeg), ADPCM interleave, unify code
2016-12-04 23:10:18 +01:00
bnnm
bf7d3da39a
Load HCA encryption keys from external file (songname.extkey or .extkey)
2016-12-04 23:10:17 +01:00
bnnm
0faa3286aa
Don't manually check framesRead and rely on FFmpeg's EOFs
...
FFmpeg's duration isn't always reliable (ie. bad headers) and the
decoder detects EOFs already, extra decoding attempts should be ignored.
This way vgmstream can use other values without modifying
ffmpeg_codec_data's state.
2016-12-03 11:42:38 +01:00
bnnm
80c8791288
Improve init_seek: don't add existing index, find packet size (for M4A)
2016-12-03 01:56:27 +01:00
bnnm
8cdce2c196
Check on init if seek to 0 works (buggier demuxers may fail)
2016-12-02 22:33:51 +01:00
bnnm
609bfb5d61
Minor fixes and cleanup
2016-12-01 23:49:00 +01:00
bnnm
47be992b4b
Fix for demuxers that can't seek to 0 (FFmpeg bugs, see init_seek)
2016-12-01 20:11:17 +01:00
Christopher Snowhill
fa4498d964
Merge pull request #44 from bnnm/ffmpeg-fixes2
...
FFmpeg fixes
2016-11-27 14:10:09 -08:00
bnnm
f5e8e8ad8e
Open key using streamFile, needed to allow user-defined callbacks
2016-11-27 22:42:42 +01:00
bnnm
088fb4a480
Add Gunhound EX PSP key; try to get key from external file
...
Needed for files which incorrectly guess its XOR key (like Gunhound).
The format for ADX keyfiles is 6 bytes with start/mult/add (ex.
0x111122223333).
2016-11-27 19:41:36 +01:00
bnnm
69116cb6ad
Fix VGM_USE_MPEG #ifdef
2016-11-26 15:15:50 +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
eb491e0e1b
Added WMSF variation; AT3/MP3 support via FFMPEG
2016-11-25 22:29:07 +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
ec2a652b29
Document AINF header
2016-11-13 21:08:11 +01:00
bnnm
eddd789222
Add loop support for Zero Time Dilemma (PC)
2016-11-13 21:08:11 +01:00
bnnm
5cd11594e2
Merge remote-tracking branch 'upstream/master'
2016-10-31 00:37:17 +01:00
Christopher Snowhill
82609f8cf6
Merge pull request #37 from bnnm/format-ps2-svag-snk
...
Support for PS2 SNK SVAG
2016-10-30 15:07:32 -07:00
bnnm
3c96211b06
LF was actually ok (they where CRLF previously but this is a unix file)
2016-10-30 18:59:09 +01:00
bnnm
ef8653569b
attemp to fix LF
2016-10-30 12:53:34 +01:00
bnnm
5d9b186625
Less C99
2016-10-30 10:36:29 +01:00
bnnm
5ff5f8adf9
support for looping and v2 format (GANTZ)
2016-10-29 10:20:45 +02:00
Chris Moeller
94309292d9
Remove C99-isms for MSVC 2010.
2016-10-28 16:50:39 -07:00
bnnm
b5a9db8ae2
support for PS2 SNK SVAG
2016-10-27 23:21:12 +02:00
bnnm
f1b0b0ea82
fixed AT3plus sample count (needed for non-looped files)
2016-10-26 23:53:58 +02:00
Christopher Snowhill
713883d9bc
Merge branch 'master' of github.com:kode54/vgmstream
2016-08-24 17:34:13 -07:00
Christopher Snowhill
36aa6bf9cd
Add .sgb extension for RIFF WAV parser.
2016-08-10 18:31:06 -07:00
Christopher Snowhill
8337395ba9
Fix bitrate reporting for FFmpeg.
2016-08-10 18:30:48 -07:00
Arne Morten Kvarving
e6a8e8890d
fixed: coding_FFmeg is conditionally defined
2016-07-31 14:54:57 +02:00
Arne Morten Kvarving
e3666934c1
fixed: move #endif into proper position
2016-07-31 14:51:47 +02:00
Christopher Snowhill
add0dba4eb
Fix for compiling without FFmpeg.
2016-07-25 20:41:26 -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
b31ee39a95
Merge branch 'master' of gitlab.kode54.net:kode54/vgmstream
2016-06-30 15:48:12 -07:00
Christopher Snowhill
ecff4c7a28
Merge branch 'dbzdokkan_key' into 'master'
...
Add Dragon Ball Z: Dokkan Battle ADX key
See merge request !2
2016-06-30 18:47:48 -04:00
Chris Moeller
800a3da0da
Undo an erroneous change to MP4 and HCA meta handlers that could crash.
2016-06-30 15:34:40 -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
Adam Gashlin
d3b3b9623d
Add Dragon Ball Z: Dokkan Battle ADX key
2016-05-03 02:25:43 -04:00
Adam Gashlin
fa6c98696b
Accept 0x00010102 in header for CWAV
...
This is supposedly in files from Fire Emblem Fates and
Hyrule Warriors Legends.
2016-04-26 11:02:11 -04:00
Chris Moeller
961e57d8d0
Updated to reflect actual mp4v2 API
2015-08-01 05:45:19 +00:00
Chris Moeller
833a7a20a5
Fix inline array declaration for MSVC
2015-07-14 08:01:46 +00:00
Chris Moeller
6e4be8dafd
Merge pull request #20 from soneek/master
...
Update to fix PCM16 decoding in BCSTM and BFSTM
2015-07-07 21:23:16 -07:00
Joseph Gibbs
9600e5f7d1
Fix typo
2015-07-07 15:54:23 -07:00
Joseph Gibbs
50bf81d269
Updated reading of sections for bcstm and bfstm. Fixed start offset for PCM16 b(c/f)stms
2015-07-07 15:46:08 -07:00
smt
e101fc8dc8
Add new ADX key.
2015-07-06 09:06:41 -07:00
Joseph Gibbs
51dfc3339a
Added support for Xenoblade Chronicles 3D adx
2015-05-16 15:30:15 -07:00
Chris Moeller
f6367fb0a8
Fixed a .JOE file with 0 dataInterleave, assuming 16 byte interleave for such files.
2015-04-10 13:00:08 -07: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
1ad884287b
Added G.719 decoding support to BNSF input
2015-01-24 21:08:25 -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
Chris Moeller
758615222f
Removed C99-isms for old compilers
2015-01-21 17:31:44 -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
6e4abd55e3
Sign extension bad! Fixed BFSTM format support.
2014-12-14 21:55:46 -08:00
Chris Moeller
922ab0e06f
Update IDSP for Super Smash Bros. Wii U from patch by crediar
2014-12-13 17:04:33 -08:00
soneek
709c727401
Update bfstm for any header size
2014-12-11 20:31:01 -05:00
zeromus
52728a82d3
fix compiling in vs2008 (missing adds in vcproj, C90 variable declarations)
2014-10-20 02:58:33 -05:00
soneek
f1c571ca05
Fixed BFWAV interleave
2014-10-19 19:34:03 -04:00
soneek
76062dbbdc
Add Hyrule Warriors G1L
2014-10-19 17:10:31 -04:00
soneek
115da3222f
Fix byte order for 16-bit bfstm
2014-10-18 20:28:25 -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
c83eb6c1fe
fix FSB MPEG broken in r1034
...
thanks to CyberBotX for the catch and fix
2014-09-16 16:18:44 -07:00
Brandon
673107726a
Fixed linking issue due to undefined references
2014-08-10 12:19:27 -07:00
Brandon
4c05726e28
Seems there is a missing file required to link test
2014-08-05 01:33:27 -07:00
Chris Moeller
4a573f48a4
Eliminate C99isms so it compiles in MSVC, and comment out some unused variables to silence warnings
2014-08-02 20:51:21 -07:00
Chris Moeller
7425dc2aad
Fixed remaining path limit issues
2014-08-02 20:32:30 -07:00
Chris Moeller
b536b162f1
Merge pull request #4 from soneek/master
...
Added experimental support for bfwav
2014-08-02 20:30:48 -07:00
soneek
b1e5a3a9e3
Added experimental support for bfwav
2014-08-02 19:10:45 -04:00
halleyscometsw
44075c4e91
clean up some warning-causing ugliness
2014-06-26 21:12:48 -07:00
halleyscometsw
1854d42e97
Extend GENH to support little-endian "Gamecube" DSP ADPCM coefficients, for some 3DS titles.
...
This involves a reinterpretation of byte 0x30 (coef type). Formerly this byte took on only two values, to indicate how the ADPCM coefficients (aka codebook) were stored:
0 - normal coefs: all 16 coefs interleaved into one array, offset given at 0x24 for left, 0x28 for right
1 - split coefs: 8 coefs in the main array, additional offset to 2nd array given at 0x34 for left, 0x38 for right
Now I am considering this to be indicated only by bit 0 of the coef type. Bit 1 is taking on an additional interpretation, if it is set, we consider the coefficients to be little endian rather than the normal big endian.
This should maintain backwards compatibility with old GENH files, which should have only used the value 0 or 1.
Thus, in effect we have:
0: normal, big endian
1: split, big endian
2: normal, little endian
3: split, little endian
I don't know of any situation in which 3 would be used (yet), but I'm sure devs will continue to surprise me.
2014-06-26 20:53:49 -07:00
soneek
927077b348
Update RedSpark for M&L Dream Team
2014-05-26 01:43:00 -04:00
soneek
dbb99d6dc9
Add back path limit for BCSTM filename
2014-05-23 17:09:13 -04:00
soneek
0932405b54
Update for Paper Mario Sticker Star PCM BCSTM
2014-05-23 17:07:03 -04:00
Chris Moeller
d18fc960d1
Bumped path limit on new FSB5 meta handler
2014-04-23 22:12:33 -07:00
manakoat
842c064b3b
FSB5, added ADPCM and PCM16 coding, 4 of 15 formats supported now
2014-04-23 21:36:06 -07:00
manakoat
b533969527
Fixed DSP stuff n FSB5
2014-04-23 21:35:08 -07:00
manakoat
3be505428a
FSB5 DSP added, still WIP
2014-04-23 21:34:08 -07:00
manakoat
96301376cc
FSB5 added, only MPEG support now
2014-04-23 21:31:04 -07:00
manakoat
8ef55da3b6
Test commit, sorry
2014-04-23 21:27:24 -07:00
Adam Gashlin
bb59d6a389
remove nonsense (thanks kode)
2014-04-23 21:25:30 -07:00
Chris Moeller
b2c8e5cbac
Another Drag-On Dragoon 3weird samplerate (40999)
...
From a set of files called BGM_TEST00_*
2014-03-14 22:42:06 -07:00
Chris Moeller
9148d4e14a
another update from soneek for IMA support in BCSTM
2014-03-14 22:40:30 -07:00
Chris Moeller
633eb7b545
replacing meta for bcstm with revision from soneek
2014-03-14 22:39:21 -07:00
Chris Moeller
dfe1be9d88
Fixed remaining path length limit issues
2014-03-14 22:36:23 -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
43866fd9ed
.XXX from Drag-On Dragoon 3 (PS3) is scd, but has 48khz MPEG with srate 47999
2014-02-25 22:26:02 -08:00
Chris Moeller
9fc46bd877
Added OTM support for Otomedius (Arcade)
2014-02-25 22:25:02 -08:00
Chris Moeller
bd5cdb35de
Epic Mickey 2 Wii ADPCM
2014-02-25 22:12:24 -08:00
Chris Moeller
dc4b7f553c
Add PS2 VBK meta.
2013-09-03 11:27:36 -07:00
Chris Moeller
1b41d008e6
Fixed path limit for new Ubisoft CKD handler
2013-09-03 11:20:45 -07:00
Chris Moeller
a6b64189e0
fix interleaved msf (PS ADPCM in particular)
2013-09-03 11:17:16 -07:00
Chris Moeller
bf220dc112
more ADX keys
2013-09-03 11:16:00 -07:00
Chris Moeller
7917756fdd
Added a couple of things to support LOGGs from Hatsune Miku: Project Diva F (PS3).
2013-09-03 11:15:05 -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
c6ba2a32ba
new! Slotter Mania P - Mach Go Go Go III (PSP) key!
2013-09-03 10:59:45 -07:00
Chris Moeller
aa8e2a92a5
more keys!
2013-09-03 10:57:35 -07:00
Chris Moeller
684bd36ebc
more adx keys
2013-09-03 10:55:14 -07:00
Chris Moeller
a1ce18bbce
Added support for Orcs Must Die (PC)
...
Well...more support.
2013-09-03 10:49:45 -07:00
Chris Moeller
8ebecb4d47
- Calculate start offset from data length field
...
- Calculate loop offsets for first channel only
- Determine interleave block size from header field
2013-07-05 11:48:17 -07: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
bd4f5c4d50
Fixed THP for SSBB movie files and possibly others
2013-06-17 17:57:11 -07:00
Chris Moeller
a1e90833f4
Fixed a serious bug in THP init function
2013-06-13 17:42:52 -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
b54d0be218
Fixed two crash bugs
2012-12-30 12:38:35 -08:00
Chris Moeller
5ec0ec0d34
Fixed MP4 handler passing the end of the stream
2012-11-26 11:53:26 +00:00
Chris Moeller
c8266b2b8b
Removed unnecessary reinitialization
2012-11-26 11:53:26 +00:00
Chris Moeller
84dfcb3d5a
Implemented MP4 AAC support for iOS AKB format
2012-11-26 11:53:26 +00:00
Chris Moeller
d44b9be5c5
Removed unnecessary reinitialization
2012-11-26 11:53:26 +00:00
Chris Moeller
0e52bf94d2
Implemented MP4 AAC support for iOS AKB format
2012-11-26 11:53:26 +00:00
Chris Moeller
1550f90139
Fixed MP4 handler passing the end of the stream
2012-11-26 11:53:26 +00:00
Chris Moeller
4dfd36b5ab
Removed unnecessary reinitialization
2012-11-26 11:53:26 +00:00
Chris Moeller
275e4e9c61
Implemented MP4 AAC support for iOS AKB format
2012-11-26 11:53:25 +00:00
snakemeat
76694bec58
Added ADX key for StormLover Kai!! (PSP).
...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1004 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-11-14 04:57:21 +00:00
halleyscometsw
a73fad53f5
weird broken loop from Metal Gear Rising - Revengeance Demo
...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1003 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-11-03 13:06:04 +00: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
bcb7d5dad9
another magic special case for de Blob 2 (6 channels)
...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1001 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-09-17 04:21:58 +00:00
bxaimc
f227e3fe47
Tossing nonsense out the window. Hello r1000! :D
...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1000 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-09-05 03:47:35 +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
504d3df98f
CWAV uses straight up sample counts, not nibbles
...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@994 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-28 05:40:46 +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
c6d3e4d343
a little cleanup for xvag mp3
...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@991 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-24 16:43:33 +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
b8ac38c156
add ps2_2pfs to audacious makefile
...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@988 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-20 05:34:09 +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
fc8494c7ae
Update channel count offset for 2PFS header.
...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@985 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-16 02:28:02 +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
bxaimc
1cb9456138
Work started on FSB5 support. Completely useless since it's just a half-assed copy and paste for now. Enjoy...
...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@983 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-13 06:50:57 +00:00
halleyscometsw
8d8a5ab55a
fix FFXIV 03.scd (ability to skip MARK), some groundwork for Wii DSP ADPCM scd
...
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@982 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-09 21:42:02 +00:00