Commit Graph

1658 Commits

Author SHA1 Message Date
bnnm
782c5927f6 Cache filesize and check when reading over filesize
Improves performance especially for buggy metas (before it would try to
fread every streamfile.read call when offset > filesize)
2017-01-15 20:58:47 +01:00
bnnm
a2aee820af Fixed garbled sounds after seeking in rare cases 2017-01-15 20:50:07 +01:00
bnnm
30ec4d7c41 Increase default I/O buffer to improve performance 2017-01-15 20:48:00 +01:00
bnnm
cba1d28ae2 Fixed regression in Xbox codecs 2017-01-15 20:44:52 +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
2d52bc2921 Wrong func definition 2017-01-14 22:41:37 +01:00
Christopher Snowhill
07cf7cd7e1 Merge pull request #60 from derselbst/format-sec
avoid format-security compiler warnings
2017-01-14 13:40:13 -08: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
derselbst
088aa2414f avoid format-security compiler warnings 2017-01-14 16:23:59 +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
48fa7b7dc0 Added a few helper functions
- open_stream_ext: opens a streamfile based on the filename + ext
- find_chunk_be/le: finds chunk_offset in chunked headers
2017-01-14 01:37:53 +01:00
bnnm
afed5c2e15 Deleted header.c (in the end not really useful or needed) 2017-01-14 01:32:04 +01:00
bnnm
c68608149c Moved check_extensions/open_stream to streamfile.c/vgmstream.c 2017-01-14 00:59:54 +01:00
bnnm
747ee30992 Add missing meta description 2017-01-14 00:13:50 +01:00
bnnm
b99e37f170 Moved make_wav_header from util.c to test.c (only used there) 2017-01-14 00:10:45 +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
Christopher Snowhill
5aa501c329 Updated FFmpeg. 2017-01-08 13:30:17 -08:00
Christopher Snowhill
b1e81c8682 Fix typographical error. 2017-01-08 12:56:01 -08:00
Christopher Snowhill
c675340e01 Merge pull request #59 from bnnm/master
Formats: VAWX , VDS/VDM, CXS; description lists
2017-01-08 12:52:18 -08:00
bnnm
2467f9afdc Added CXS [Eternal Sonata (Xbox 360)] 2017-01-08 14:19:32 +01:00
bnnm
2ac72c1b0e Meta description in formats.c 2017-01-08 13:16:38 +01:00
bnnm
013d43cccc Add VDS/VDM 2017-01-08 13:04:23 +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
7e520162a3 FFmpeg: remove ACCURATE_LOOPING flag now it's battle-tested
It's fast enough and the older looping code would need to be redone
anyway
2017-01-08 02:54:18 +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
03d744da53 Add make_riff_atrac3 (for FFmpeg) 2017-01-07 16:51:23 +01:00
bnnm
2557074ceb Added .nps extension [Venus & Braves PS2] 2017-01-07 14:33:10 +01:00
Christopher Snowhill
1b9dcac1c6 Merge pull request #58 from bnnm/format-list-scd
Formats: unified list, SCD fixes
2017-01-03 16:25:38 -08: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
119f24a5be Add .aa3 and .oma (demuxed PS3 movies) 2017-01-03 15:52:08 +01:00
bnnm
cc5657f9c9 Remove unused concatn_doublenull / concatn_fitting_doublenull 2017-01-03 15:02:42 +01:00
bnnm
46108764d5 Add XMPlay makefile
When linking using the .def there are some warnings that could be
improved, ignore for now.
2017-01-03 14:27:06 +01:00
bnnm
7c7ea121ba Add VS2015 stuff 2017-01-03 13:35:35 +01:00
bnnm
dce063bb96 Add a single, unified format list; plugins build their own using it
To simplify adding new formats, for now it's a simple list and could
improve later. Some missing formats were indirectly added:
- Winamp: aifcl
- foobar: aifcl, b1s, bdsp, ffw, iadp, wb, xag
- XMPlay: many
2017-01-03 13:34:20 +01:00
Christopher Snowhill
8ef18d71ee Fix C99-ism that MSVC 2010 doesn't like. 2017-01-02 10:27:27 -08:00
Christopher Snowhill
afe81ca836 Merge pull request #57 from bnnm/format-fsb4-misc
Formats: FSB4, etc
2017-01-02 10:18:32 -08:00
bnnm
5b70e3688b Adjusted .h and stream opener 2017-01-02 17:05:01 +01:00