bnnm
2b7cd654b2
Allow arbitrary frame sizes for G719 and cleanup
2018-09-09 12:24:08 +02:00
bnnm
47b5a189cf
Clean EA-MT code
2018-09-08 23:36:31 +02:00
bnnm
417cc59277
Fix EA-MT looping [SSX3 (PS2)]
2018-09-08 19:22:56 +02:00
bnnm
1810d3ced6
Add TXTP commands for looping/time (#i #E #lN #fN #dN #F)
...
- #i (ignore loop)
- #E (force end-to-end loop)
- #lN (force N loops)
- #fN (fade time)
- #dN (fade delay)
- #F (don't fade after N loops and play song end)
2018-09-07 19:34:31 +02:00
bnnm
19f69e14b7
Add ALP IMA decoder [Lego Racers (PC)]
2018-09-06 20:25:04 +02:00
bnnm
f519b1ad70
Add DERF DPCM decoder [Stupid Invaders (PC)]
2018-09-06 17:45:34 +02:00
bnnm
59b303d753
Update libacm to 1.2 and add .WAVC sfx
2018-09-04 22:42:21 +02:00
bnnm
f70852095c
Tweak minor ACM stuff for opaqueness
2018-09-04 18:37:51 +02:00
bnnm
3113342a71
Minor tweaks
2018-09-02 21:06:15 +02:00
bnnm
43764d6c8d
Fix HCA num samples/looping [Binary Domain (PC), Octopath Traveller]
...
Decoder has been modified a bit so it's easier to feed an arbitrary
number of discard samples (or at least, easier for me to understand),
since encoder delay can be >1024 (frame size) and would make some calcs
go all wobbly
2018-08-29 23:42:47 +02:00
bnnm
411fa498bb
Clean HCA meta/decoder for future changes
2018-08-29 20:05:31 +02:00
bnnm
d5a11d58e8
Add various metas
...
- DSP: itl, vag (PPP)
- PS2: int (A2M), ahv, msv, sdf, svg, vis
- PC: .aif (Asobo), ao, apc, wv2
- Xbox: xau (Konami)
2018-08-28 18:47:56 +02:00
bnnm
cc537270c1
Add RFRM .csmp and cleanup [Donkey Kong Country Tropical Freeze (Wii U)]
2018-08-26 19:16:24 +02:00
bnnm
4ee39206c3
Fix Lunar 2 SCD loops/sample rate/stereo and PCM8 cleanup
2018-08-26 16:36:08 +02:00
bnnm
ee03726bbc
Find loop_segment automatically in segmented_layout + remove from metas
2018-08-26 00:59:31 +02:00
bnnm
3130eebf0c
Minor layout cleanup + doc
2018-08-25 20:46:54 +02:00
bnnm
a734e9c5cb
Remove custom ATRAC9 in favor of custom IO
...
Formats using custom layouts tend to be weird enough that it's a pain to
add support directly in the decoder.
Instead should use custom layouts and I/O streamfiles that, though a bit
wordy and unwieldy at the moment, are a lot more flexible.
2018-08-25 17:48:01 +02:00
bnnm
9e54efe6d8
Remove FFMPEG_EA_XMA as it's now done with custom IO + layers
2018-08-25 13:22:57 +02:00
bnnm
6c553882f3
Rename codec_version to codec_config to clarify
2018-08-23 18:07:45 +02:00
bnnm
ad4478ac2c
Set dual stereo as a meta flag rather than a static list
...
Mainly for cleanup/style
2018-08-23 18:00:34 +02:00
bnnm
dcbc7e5b9b
Lower parse priority of raw metas so TXTH has a chance to go first
2018-08-22 20:39:31 +02:00
bnnm
925916690a
Parse PS3 .bnk properly and remove ps3_klbs.c [L@ve Once (PS3)]
2018-08-22 19:26:19 +02:00
bnnm
75fb12eed4
Fix PS2 VGS/ASS/VPK/etc samples, glitches and cleanup
2018-08-22 19:19:31 +02:00
bnnm
cae82e9074
Clean builds and enable VGM_USE_VORBIS/MPEG manually for consistency
2018-08-20 20:08:24 +02:00
bnnm
2e6f6c8176
Remove unnecessary FFmpeg ifdef
2018-08-19 19:09:37 +02:00
bnnm
ca04dbca70
Add old .scd SSCF [Crisis Core FFVII (PSP), Dissidia 012 (PSP)]
2018-08-19 16:42:39 +02:00
bnnm
d93a4b2c7a
Add proper H4M decoding [Resident Evil 0 (GC), Tales of Symphonia (GC)]
2018-08-19 00:38:08 +02:00
bnnm
9e06652264
Redo .nus3bank to parse as a bank with subsongs
...
Also removes hacky code from idsp, since it's now on its own file
2018-08-15 19:59:10 +02:00
bnnm
79cad960ae
Add Sony .bnk [Puyo Puyo Tetris (PS4), NekoBuro: Cats Block (Vita)]
2018-08-15 17:34:17 +02:00
bnnm
b36646aacf
Add .hd3+bd3 [Elevator Action Deluxe (PS3), R-Type Dimensions (PS3)]
2018-08-14 00:28:15 +02:00
bnnm
36c6168c27
Add Firebrand Games .wavebatch [NFS: The Run (3DS), F&F: Showdown (3DS)]
2018-08-13 23:03:39 +02:00
bnnm
5720278d2d
IDSP cleanup
2018-08-12 18:04:19 +02:00
bnnm
efb01a921c
Add .wua IDSP and cleanup [Lego Dimensions (Wii U)]
2018-08-12 17:13:51 +02:00
bnnm
0502a6a74f
Fix VPK num_samples and cleanup [God of War (PS2), NBA 08 (PS3)]
2018-08-12 02:19:17 +02:00
bnnm
07bb40071a
Add FSB CELT decoder [Vessel (PC), Runner2 (PC)]
...
Corresponding libs will be added later
2018-08-12 00:58:20 +02:00
bnnm
790525f990
Redo Blitz Games STR+WAV [Zapper (GC), Tak (PS2)]
...
Also removes 3 metas that parsed Blitz stuff
2018-08-04 21:02:10 +02:00
bnnm
16f2474a50
Add .WV6 IMA [The Fairly OddParents: Breakin' Da Rules (PC)]
2018-08-02 18:22:01 +02:00
bnnm
a4f67bf077
Add Cricket Audio .cks/ckb [Part Time UFO, Mega Man 1-6 (Android)]
...
Includes Cricket Audio's MSADPCM variation, also cleaned up MSADPCM code
2018-08-02 17:15:09 +02:00
bnnm
61034484ab
Add XMD decoder [Silent Hill 4, Castlevania: Curse of Darkness (Xbox)
2018-07-27 17:11:11 +02:00
bnnm
fd7ecbd393
Add AIFF with XA ADPCM [Crusader: No Remorse (SAT), Road Rash (3DO)]
2018-07-22 23:13:03 +02:00
bnnm
0dc2c81ab9
Handle XA ADPCM in a more standard way
...
It was decoding one 28-sample subframes and blocked layout handled
frames, doing some voodoo to skip CD sectors.
Now decodes one 28*8-sample frame and blocked layout handles CD sectors.
Decoding is byte-exact vs before.
2018-07-22 23:08:09 +02:00
bnnm
57b8c6acd3
Add TXTP 'm' channel mapper/swapper
...
Credit to topher-au for the initial idea/code
2018-07-22 00:46:08 +02:00
bnnm
d6795b63c3
Add ASF decoder [Croc 2 (PC), Aladdin: Nasira's Revenge (PC)]
2018-07-18 00:52:24 +02:00
bnnm
2df613d893
Fix various music .ivaud [GTA IV (PC)]
2018-07-06 21:04:06 +02:00
bnnm
dbb5a4458b
Add .mus Ogg [Redux - Dark Matters (PC)]
2018-06-30 13:43:12 +02:00
bnnm
12233dd0bb
Remove ps2_adsc as it's handled in ps2_ads now
2018-06-17 01:12:53 +02:00
bnnm
9d86c42ea4
Add .H4M videos (wip)
2018-06-03 13:08:41 +02:00
Christopher Snowhill
b341f8d6b6
Merge branch 'master' into master
2018-05-20 16:22:31 -07:00
bxaimc
05aca5ceeb
Formatting some things
2018-05-19 16:17:18 -04:00
bxaimc
94a9cf1f7f
Add SADF DSP variant from Xenoblade Chronicles 2 (Switch)
2018-05-19 16:05:25 -04:00
bnnm
a57134dc2b
Add .gwd Ogg [Adagio Cloudburst (PC)]
2018-05-19 11:37:21 +02:00
bnnm
92419c2143
Add tri-Ace .aac Vita [Judas Code (Vita)]
2018-05-12 13:53:58 +02:00
Christopher Snowhill
35cd14fa04
Merge pull request #220 from bnnm/bao-downmix-etc
...
BAO, downmix, etc
2018-04-29 17:04:19 -07:00
bnnm
d292531654
Add switch_audio [Gal Gun 2 (Switch)]
2018-04-29 21:04:55 +02:00
bnnm
10e506675b
Add (wip) Ubi .pk support [Just Dance (Wii)]
2018-04-29 20:28:27 +02:00
bxaimc
ce2082a8d4
Add .KNS for KTSS meta
2018-04-29 13:24:01 -04:00
bnnm
686d77debc
Clean Switch opus meta
...
Separate header variations since every other dev is going to make their
own, it was getting kind of messy.
2018-04-21 21:52:30 +02:00
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
165cb400b1
Add .at9 opus [Penny-Punching Princess (Switch)]
2018-04-20 20:37:19 +02:00
bnnm
befcbbd4fb
Add PPST .sng [Parappa the Rapper (PSP)]
2018-04-20 18:27:08 +02:00
bnnm
ab2cecf92d
Add encrypted .ogg from Ys VIII (PC)
2018-04-20 17:02:56 +02:00
bnnm
12cba40baf
Add .smc+smh [Wangan Midnight (System 246)]
2018-04-15 01:08:27 +02:00
bnnm
56d6cbbf6c
Add artificial format TXTP (.txtp)
...
Used to play separate intro+loop files, mask channels, play subsongs in
single files without having to demux, etc.
Also a channel mask parsing during main render_vgmstream.
2018-04-15 00:48:37 +02:00
bnnm
34522fafee
Add .eno Ogg [Metronomicon (PC)]
2018-04-12 22:46:18 +02:00
bnnm
27087edea2
Add .rpgmvo Ogg [RPG Maker MV games]
2018-04-07 19:04:06 +02:00
bnnm
b2766bf137
Add .msb+msh sfx [EyeToy Play (PS2), Ace Combat 2 (PS2)]
2018-04-07 13:35:33 +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
41e60f29da
Add Ubi LyN (.sns/son/wav) [Adventures of Tintin, From Dust (multi)]
2018-04-07 11:31:43 +02:00
bnnm
8fab88be8f
Remove ps2_psw.c as it's now parsed by ubi_jade.c
2018-04-06 20:55:11 +02:00
bnnm
d39e7ec67d
Fix Ubi Jade (.wam) [Beyond Good & Evil (PS3), Rayman Rabbids (Wii/PS2)]
...
Adds X360/PS3/PC support and fixes looping
2018-04-06 20:48:24 +02:00
bnnm
b35f88159c
Add .mcadpcm [Skyrim (Switch)]
2018-03-31 13:28:30 +02:00
bnnm
b7da78e68e
Add .PCM+.SRE [Viewtiful Joe (PS2)]
2018-03-31 13:10:57 +02:00
bnnm
94572fede5
Use meta_MP4 for MP4 FFmpeg too, so no need to ifdef
2018-03-30 21:37:11 +02:00
bnnm
c843c350d1
Clean scd_int layout and rename to layered layout for later reuse
2018-03-30 21:28:32 +02:00
bnnm
642c833fcd
Simplify STREAMFILE handling in scd_int_layout
...
It's not the easiest thing to follow so here is what's going on with
STREAMFILEs:
- external player opens base-streamfile, with a base FILE
- meta scd parses stuff, then per DSP channel/layer:
- open temp-streamfile, which does custom IO with base-streamfile
(doesn't open any FILE)
- pass temp-streamfile to init_vgmstream_ngc_dsp_std
- init parses ok, and re-opens temp-streamfile (with custom IO) as its
own dsp-vgmstream-streamfile; internally it does fopen/fdopen the
original FILE from base-streamfile
- scd_int_layout stores the newly created VGMSTREAM (internally has
the dsp-vgmstream-streamfile too)
- close temp-streamfile, that doesn't close base-streamfile as it's
wrapped to avoid doing so, nor affects dsp-vgmstream-streamfile in any
way.
- meta parsing is done, so external player closes base-streamfile (but
the re-fopen'ed dsp-vgmstream-streamfile FILE remains)
- vgmstream renders pcm buffers, etc
- finally player calls close_vgmstream
- scd_int_layout calls close_vgmstream for each stored VGMSTREAM
- the VGMSTREAM internally closes the dsp-vgmstream-streamfile, which
in turn closes its own FILE
So ultimately all FILEs, STREAMFILEs and their clones should be properly
handled and closed.
2018-03-30 19:14:37 +02:00
bnnm
99888d6517
Merge branch 'master' of https://github.com/kode54/vgmstream into test
2018-03-30 11:02:28 +02:00
bxaimc
d5c9165d07
Merge branch 'master' of git://github.com/kode54/vgmstream
2018-03-29 21:04:09 -04:00
bnnm
531e8dc9b8
Rename blocked layout for consistency
2018-03-29 19:00:04 +02:00
bnnm
dfeb1da3ef
Add .stx STHD [Kakuto Chojin (Xbox)]
2018-03-29 17:01:46 +02:00
bnnm
c052848e26
Add EA .WVE videos [Supercross 2000 (PS), Wing Commander 3/4 (PS)]
2018-03-29 15:39:33 +02:00
bnnm
eb52b3fb57
Add stereo AICA to GENH/TXTH (no interleave) [SF3 Double Impact (DC)]
2018-03-28 00:30:59 +02:00
bnnm
93c26cfef0
Rename coding_AICA to coding_AICA_int since it only does mono data
2018-03-27 23:32:01 +02:00
bnnm
1708dcaf63
Remove PCM16-XOR decoder and use decryption streamfile instead
...
The encryption is built on top of the data, so this way mimics the
actual setup and removes another superfluous decoder
2018-03-27 23:24:24 +02:00
bnnm
0f529ea1a7
Remove BMDX decoder and use decryption streamfile instead
...
The encryption is built on top of PS ADPCM data, so this way mimics the
actual setup and removes a superfluous decoder
2018-03-27 22:39:05 +02:00
bnnm
c72ff8dd46
Clean ngc_bo2
...
Move code to rkv.c as it's the same format, add .rkv (archive)
extension, remove file and rename to init ngc_rkv
2018-03-25 11:08:36 +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
f132c11764
Add .aac ADPCM [Star Ocean Ananmesis v1, Heaven x Inferno (Mobile)]
2018-03-24 12:17:04 +01:00
bnnm
6a5ef288ff
Add NXAP (bad decoding) [Time Crisis 4, Time Crisis Razing Storm (PS3)]
2018-03-24 12:13:40 +01:00
bnnm
fbd8e94e41
Add Yamaha/NXAP ADPCM decoder
2018-03-24 12:08:16 +01:00
bnnm
13a5322e26
Add .smv [Cho Aniki Zero (PSP)]
2018-03-23 22:41:42 +01:00
bnnm
49331423e2
Add true multichannel XBOX-IMA
2018-03-23 21:21:44 +01:00
bnnm
a53712d495
Add RSD6WMA [Scarface (Xbox)]
2018-03-23 18:54:20 +01:00
bnnm
8bb9fa5f4a
Clean .WSI
2018-03-23 18:34:37 +01: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
bxaimc
ceaa776f83
Add -official- VSV extension to PSH meta. Modified channe_count flag in VSF for test files found in FFXII:TZA (PS4).
2018-03-19 15:19:30 -04:00
bnnm
71d642574b
Unify coding_NWAx in a single coding_NWA to simplify
2018-03-16 18:35:21 +01:00
bnnm
05dc3df6e0
Simplify mus_acm_codec_data into acm_codec_data
2018-03-16 18:02:17 +01:00
bnnm
ad1f719cf3
Remove mus_acm_layout.c as it's not neede anymore
2018-03-16 17:23:50 +01:00
bnnm
8d4974033c
Allow ACM to play as regular (single file) layout and remove layout_acm
2018-03-16 13:03:39 +01:00
bnnm
8328814a2f
Add RSD6AT3+ [Crash of the Titans (PSP)]
2018-03-11 21:03:48 +01:00
bnnm
3eeddcc41e
Add WayForward single/segmented .wave [Shantae and the Pirate's Curse]
2018-03-11 19:24:06 +01:00
bnnm
15f221af7c
Rename aax layout to segmented layout, as now can be used for others
2018-03-10 20:25:57 +01:00
bnnm
66c9a06351
Add AAX HCA [Binary Domain (PS3)]
2018-03-10 17:33:48 +01:00
bnnm
693fbf8e3b
Clean AAX layout (rename parts, move code around, etc)
2018-03-10 12:19:30 +01:00
bnnm
a7870c5339
Rename coding_ogg_vorbis to coding_OGG_VORBIS for consistency
2018-03-08 23:32:58 +01:00
bnnm
c0906d1b0f
Add CAF .caf/empty extension, cleanup [Baten Kaitos (GC), Fragile (Wii)]
2018-03-08 23:26:10 +01:00
bnnm
67a2f29f75
Minor FADPCM cleanup
2018-03-08 22:55:50 +01:00
bnnm
789ca26e8a
Add KID .WAF [Ever 17 (PC)]
2018-03-03 18:46:12 +01:00
bnnm
c44b7ef264
Rename some blocked layouts for clarity
2018-02-25 16:52:57 +01:00
bnnm
494dfb8194
Fix .adm [Dragon Quest V (PS2)]
2018-02-25 15:04:29 +01:00
bnnm
5e50819778
Add FSB FADPCM decoding [Dead Rising 4 (PC), Sine Mora EX (Switch)]
2018-02-25 10:05:28 +01:00
bnnm
3a11728846
Remove xbox_xwav.c as riff.c now should produce identical files
2018-02-24 22:37:17 +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
216ecf04b2
Rename psx_mgav to ea_swvr and clean for future changes
2018-02-17 21:15:21 +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
67269eaf8a
Add L2SD Ogg [Lineage II Chronicle 4 (PC)]
2018-02-17 02:23:45 +01:00
bnnm
86ce73d181
Rename Wwise Vorbis enums with prefix for clarity
2018-01-28 00:47:06 +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
448d52fa4e
Remove BGW ATRAC3 mode in FFmpeg in favor of custom streamfiles
2018-01-27 13:01:30 +01:00
bnnm
a0e97683e4
Add Starbreeze XWC [Riddick Dark Athena, Syndicate]
2018-01-27 11:00:21 +01:00
bnnm
cbe4b19b92
Add .KM9 [Nobunaga no Yabou - Souzou (Vita)]
2018-01-13 17:47:40 +01:00
bnnm
149d4292a6
Add .ISD encrypted Ogg Vorbis (missing looping) [Gunvolt PC]
2018-01-13 15:22:58 +01:00
bnnm
3236676d5d
Fix some XVAG interleave/subsongs/multichannel [God of War 3 (PS4)]
2018-01-13 11:36:35 +01:00
bnnm
018ea2fc92
Fix Ogg Vorbis streamfile size to allow subsongs
2018-01-11 22:55:23 +01:00
bnnm
a67a83b9ed
Add .SNGW Ogg Vorbis (normal and encrypted) [Capcom PC games]
...
Also remove ifdefs for meta_OGG_x, there was no benefit
2018-01-10 22:34:14 +01:00
bnnm
d85bca24ae
Remove unused flag
2018-01-07 20:15:49 +01:00
bnnm
adf9bc84a5
Remove tabs for consistency
2018-01-04 23:38:22 +01:00
bnnm
dd6c854e14
Fix some ATRAC9 XVAG and minor adjustments
2018-01-04 17:35:14 +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
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
bnnm
b65765a56e
Fix multistream MPEG SCD [Final Fantaxy XIII-2 (PS3)]
2017-12-17 16:39:36 +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
b5da881a44
Remove thpNextFrameSize and use full_block_size instead
2017-12-08 01:20:09 +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
48795333e1
Fix mpeg_bytes_to_samples in newer libmpg123, by saving initial info
2017-12-03 17:24:32 +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
b9c3bd9a01
Add Neversoft .OGG [Gun (GC)]
2017-12-02 16:33:43 +01:00
bnnm
7d9e5a93e4
Make MPEG custom decoder use their own data buffer instead sharing one
...
In rare cases (ex. EALayer3) mpg123 may need several passes to feed one
stream's data buffer, and meanwhile other streams would overwrite it
2017-12-01 20:02:30 +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
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
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
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
4dfbc3cf6a
Improve CD-XA detection and RIFF-less support; minor XA code cleanup
2017-11-16 19:47:42 +01:00
bnnm
2ad3d432f1
Rename pcm.c > scd_pcm.c (cleanup)
2017-11-16 00:41:06 +01:00
bnnm
0cf9600791
Clean/separate PS2 .PCM and fix looping in some cases
2017-11-16 00:32:22 +01:00
bnnm
6c141a6582
Clean .dvi/.kcey and add proper .PCM extension
2017-11-15 23:26:38 +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
2a57dda6d9
Add/fix SAB+SOB [Worms 4 PC/PS2/Xb]
2017-10-27 18:53:17 +02:00
bnnm
d09dc9739b
Add encrypted ATRAC3 BGW [Final Fantasy XI PC]
2017-10-27 18:50:06 +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
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
abaefd17cd
Rename wwise_opus to switch_opus as it's apparently so
2017-09-30 00:16:40 +02:00
bnnm
8a8ebe3e24
Minor renames for style (ps3_xvag > xvag, x360_nub > nub_xma)
2017-09-29 23:37:20 +02:00
bnnm
8aae6ed794
Fix multichannel EA-XMA [Dante's Inferno (X360)]
2017-09-29 23:28:27 +02:00
bnnm
9f90ca9181
Improve XNB [Dragon's Blade (Android)]; add .DA wav; extra exts
2017-09-24 22:27:33 +02:00
bnnm
6da7a86cc4
Add FFmpeg custom IO callbacks for data transmogrifiers
...
Those are custom read/seeks that can transform data on the fly, for
games that use variations of regular FFmpeg codecs. When FFmpeg tries to
read N bytes, the code may read less/more but still fill the buffer with
N transformed bytes. Must handle "real" (data) and "virtual"
(transformed) offset/sizes.
Works with fake headers too, but "virtual" offset/size now include the
fake header, as I found hard to keep in mind when the header_size was
being added/substracted (could be clearer).
2017-09-24 18:40:59 +02:00
bnnm
d644d2f9f7
Add HCA key detection and key list
...
Updated the meta a bit so it's closer to others and optimized some
mallocs, as it was a bit hard to understand for me so I hope it's for
the better
2017-09-17 03:41:36 +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
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
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
fadb999207
Add AHX type 0x08 decryption, with .ahxkey files (16b*3, start/mult/add)
2017-08-04 21:48:55 +02:00
bnnm
66219f6b37
Use sample buffers per stream in MPEG custom decoder
...
Simplifies the code somewhat and allows more flexibility for new custom
modes (like EALayer3, that can output PCM blocks before decoding
anything)
2017-08-04 21:29:58 +02:00
bnnm
cb05313b13
Add P3D MPEG decoder [Prototype 1/2 (PS3)], fix debug crap
2017-07-29 23:53:45 +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
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
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
68071467c2
Add MPEG to EA SCHl [Harry Potter and the Chamber of Secrets (PS2)]
2017-07-01 23:55:10 +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
86cb660f76
Define MPEG interleave type to improve and simplify some internals
2017-06-25 02:09:12 +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
519c5d71de
Redo RWS with PCM/PS-ADPCM/DSP/IMA-ADPCM + block support [many games]
2017-06-10 02:25:49 +02:00
bnnm
f513d53999
Rename ps2_rws.c to rws.c and do other rws cleanup
2017-06-09 22:31:33 +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
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
Alex Barney
ab647cc155
Add support for type 2 ADX files
2017-05-13 16:04:30 -05:00
bnnm
21c9f44273
Rename ps2_rxw to ps2_rxws and do some cleanup
2017-05-13 13:01:16 +02: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
825ebbdec9
Update Audacious plugin
...
- make extension list use formats.c and remove exts.cc
- Audacious 3.8 preparations (untested)
- cleanup
2017-05-01 10:56:40 +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
086a47cd76
Add compiler flag VGM_DISABLE_VORBIS (as Vorbis is enabled by default)
2017-04-29 02:20:24 +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
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
e021cff626
Add some XMA meta descriptions
2017-03-18 19:26:39 +01:00
bnnm
d6ce0f0ae3
Fix SGXD typo (SGDX to SGXD)
2017-03-18 15:07:58 +01:00
bnnm
0e10b75beb
Fix interleaved FSB MPEG decoding
...
Padding doesn't apply to Layer II FSBs, and it needed to manually get
info from MPEG frames since mpg123 functions weren't always working.
2017-03-13 20:04:09 +01:00
bnnm
85a3ec749f
Show stream numbers in the description (few multi-stream formats only)
2017-03-04 02:05:07 +01:00
bnnm
0101572718
Add multichannel MPEG decoder
...
Supports fixed-size frames (for XVAG) or variable/padded frames (for
FSB), but FSB support has some bugs so it's not used yet.
2017-02-19 20:20:13 +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
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
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
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
7f02c9951d
Fixed 6ch "multi" IDSP [Tekken Tag Tournament 2 (Wii U)]
2017-01-14 21:21:39 +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
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