bnnm
69fb29fc7a
Return size_t in read_string for consistency
2018-03-29 20:42:52 +02:00
bnnm
49e62d2bcc
Move read_pos_file to ffmpeg.c since it was only needed there
2018-03-29 20:38:06 +02:00
bnnm
467f7d0b3d
Adjust MSF samples and use mpg123 over FFmpeg
...
Don't adjust loops to frame boundaries since offsets are always aligned
and MSF only does CBR. There was a minor bug getting samples: FFmpeg was
parsing the MSF and would add its header to the bitrate, which was used
for calcs. Now FFmpeg only sees the MP3 data.
Use mpg123 if available too since it's easier to setup in non-Windows
builds (no audible differences otherwise).
2018-03-29 20:25:54 +02: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
16ca520ae0
Add .adp ADX extension [Headhunter (DC)]
2018-03-28 22:58:49 +02:00
bnnm
d7a2f0fe45
Add RIFF AICA [Dreamcast games]
2018-03-28 22:58:37 +02:00
bnnm
ad755b85c6
Fix mono/interleave/PCM16 .spsd [Giga Wing 2, Virtua Tennis 2 (Naomi)]
2018-03-28 22:58:25 +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
15206915d1
Tweak VDS/VDM num_samples
2018-03-27 22:20:20 +02:00
Christopher Snowhill
16423580a2
Merge pull request #207 from bnnm/yamaha-layouts-fixes
...
Yamaha, layouts, fixes
2018-03-25 15:48:45 -07:00
bnnm
2f4f73e67a
Add XWB internal name reading (rare)
2018-03-25 20:01:45 +02:00
bnnm
382ce74821
Minor filename reading cleanup
2018-03-25 20:01:28 +02:00
bnnm
69da9d5f4d
Clean iadp and add missing .adp extension
2018-03-25 20:00:57 +02:00
bnnm
848238a1c6
Fix reading .ATX filename in plugins
2018-03-25 19:59:12 +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
Christopher Snowhill
3ff69d191d
Update rsd.c
...
Fix failure case for compiling without FFmpeg.
2018-03-24 16:22:52 -07:00
bnnm
1d656026e5
Add .L/R extension [Crash Nitro Kart (PS2)]
2018-03-24 19:43:17 +01: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
91e62e1a43
Remove tabs
2018-03-24 16:58:43 +01:00
bnnm
6c10b3136a
Fix comment
2018-03-24 15:40:41 +01:00
bnnm
af639fc92e
Use libvorbis over FFmpeg for AKB Ogg
2018-03-24 15:40:01 +01:00
bnnm
8534006035
Fix AKB2 subsongs [Mobius Final Fantasy (PC)]
2018-03-24 14:22:37 +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
13a5322e26
Add .smv [Cho Aniki Zero (PSP)]
2018-03-23 22:41:42 +01:00
bnnm
08875e9a95
Fix true multichannel RSD6XADP [Scarface (Xbox)]
2018-03-23 21:21:56 +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
7b1fed0720
Move dsp_str to its own file for clarity (not using standard DSP header)
2018-03-23 17:34:40 +01:00
bnnm
6145cd3ddc
Fix repeated subsongs in ATSL
2018-03-23 17:20:24 +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
bnnm
ea72cb6f7b
Fix some .wem [UFC Undisputed 2009 (PS3)]
2018-03-23 16:00:23 +01:00
bnnm
ca169e75ae
Fix .caf regression
2018-03-23 15:59:39 +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
79194a0178
Fix some CAFF IMA4 [Endless Fables 2 (iOS), Vectros (iOS)]
2018-03-17 19:57:54 +01:00
bnnm
522ea6ab2b
Add MUSX .sfx extension [Batman Begins (GC)]
2018-03-16 22:57:46 +01:00
bnnm
1c78daa82a
Add .MSD extension [UNO (iOS)]
2018-03-16 18:51:21 +01: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
98aa30a38e
Add MUS ACM Ogg [Planescape: Torment Enhanced Edition (PC)]
2018-03-16 17:43:51 +01:00
bnnm
97a2c76d96
Replace mus_acm layout with segmented layout
...
They did basically do the same thing, though segmented needs a bit more
memory, but in order to simplify the layout code and support MUS+Ogg
this was needed.
2018-03-16 15:58:29 +01:00
bnnm
58c00577cf
Clean MUS ACM meta (move parse code to its own function)
2018-03-16 15:42:54 +01:00
bnnm
ce9a69aad1
Clean ACM init/free/reset
2018-03-16 15:42:01 +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
9062541aa2
Fix GCA being off by one sample in some cases, cleanup [BlowOut (GC)]
2018-03-11 20:30:32 +01:00
bnnm
f525b46d20
Add Ogg .rof extension [The Rhythm of Fighters (Mobile)]
2018-03-11 19:47:57 +01:00
bnnm
de94edb34b
Clean segmented layout setup
2018-03-11 19:43:26 +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
619fbf17c5
Fix some MUSX v5 [Predator: Concrete Jungle (Xbox/PS2)]
2018-03-10 18:51:57 +01:00
bnnm
453801e899
Remove unused aax_streamfile.h
2018-03-10 17:35:25 +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
f90ab79596
Move AAX UTF table reading to its own file for clarity
2018-03-10 00:27:06 +01:00
bnnm
a7870c5339
Rename coding_ogg_vorbis to coding_OGG_VORBIS for consistency
2018-03-08 23:32:58 +01:00
bnnm
22063cf0d8
Rename caf files for consistency
2018-03-08 23:31:07 +01:00
bnnm
c0906d1b0f
Add CAF .caf/empty extension, cleanup [Baten Kaitos (GC), Fragile (Wii)]
2018-03-08 23:26:10 +01:00
bnnm
79080d34f3
Add DTK .wav/lwav extension [Alien Hominid (GC)]
2018-03-08 22:56:06 +01:00
bnnm
b8641db34c
Fix PCM SAB/MAB [Chrono Trigger (PC)]
...
Also rename post_meta/subheader to "extradata" as seen in debug strings
from the exes
2018-03-08 22:53:24 +01:00
bnnm
51aa1660f2
Fix compact XWB [NFL Fever 2004 demo from Amped 2 (Xbox)]
2018-03-08 22:51:50 +01:00
bnnm
61bfcb18c8
Add Rebellion .MIC extension [Rogue Trooper (PS2)]
2018-03-04 00:17:58 +01:00
bnnm
710e5e11cd
Minor comments
2018-03-04 00:16:49 +01:00
bnnm
b97fc632be
Fix minor compiler warnings
2018-03-03 19:07:59 +01:00
bnnm
13fcb28b3c
Add KID .WAF [Ever 17 (PC)]
2018-03-03 18:49:11 +01:00
bnnm
789ca26e8a
Add KID .WAF [Ever 17 (PC)]
2018-03-03 18:46:12 +01:00
bnnm
50354e404c
Clean some DSP metas
2018-03-03 18:44:02 +01:00
bnnm
36ff981ef9
Rename atsl3.c to atsl.c for consistency
2018-03-03 02:05:14 +01:00
bnnm
ce568fb6a3
Add .ATSL for PS4/Vita/PC [Warriors All-Stars (PC)]
2018-03-03 02:03:53 +01:00
bnnm
7fc5c6e582
Add RIFF/OGG .ADX extension [Remember 11 (PC)]
2018-03-03 01:10:39 +01:00
bnnm
e9b2751064
Add XBOX mono/int to GENH/TXTH (as codec_mode 1) [Manhunt (Xbox)]
2018-03-03 01:09:44 +01:00
bnnm
c44b7ef264
Rename some blocked layouts for clarity
2018-02-25 16:52:57 +01:00
bnnm
3b59acbf8a
Add .adm looping (requires exe in the same dir) [Dragon Quest V (PS2)]
2018-02-25 16:28:15 +01:00
bnnm
494dfb8194
Fix .adm [Dragon Quest V (PS2)]
2018-02-25 15:04:29 +01:00
bnnm
4331fb7685
Add .e4x [Driver 3 (PC)]
2018-02-25 12:17:35 +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
bae7eb0fd1
Add .xwav to riff.c, now .lwav and .xwav decode the same
2018-02-24 22:32:13 +01:00
bnnm
ac8a94c2b9
Fix XBOX-IMA decoding, 4ch and tweak layout [Dynasty Warriors 4 (Xbox)]
...
Now writes header sample and skips last nibble, as seen in MS's XDK
code, and simplifies multichannel layouts and fixes some theoretical
configurations
2018-02-24 22:30:17 +01:00
bnnm
2966185f26
Add FSB key
2018-02-23 23:31:08 +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
6eba6b7022
Tweak WWISE-IMA as interleave and use "MUL" nibble expansion
...
Clarify it's just basically mono XBOX-IMA; "MUL" expansion apparently
used per decompilation (not really noticeable due to small headered
frames)
2018-02-23 23:01:44 +01:00
bnnm
2992287e3f
Fix XBOX_IMA missing layout_none
2018-02-17 22:16:41 +01:00
bnnm
2f05cfa2e9
Rename psx_mgav to ea_swvr
2018-02-17 21:19: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
317fe4f7d3
Use xbox_ima_bytes_to_samples, WWISE-IMA follows XBOX-IMA and not MS-IMA
...
This can be seen comparing games of different platform, ex. Resogun PS3
(WWISE-IMA) vs Vita (ATRAC9)
2018-02-17 19:46:15 +01:00
bnnm
47bdada1e8
Rename ps2_aus.c to aus.c for consistency
2018-02-17 19:05:13 +01:00
bnnm
a0fa4422ca
Tweak minor debug stuff
2018-02-17 18:53:37 +01:00
bnnm
830f904afb
Use fact_samples if possible and add .snd [Layton Brothers (iOS)]
...
fact_samples can be specified with non-PCM codecs, per spec.
2018-02-17 17:32:58 +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
d969c85bc8
Remove unneeded loop fix
2018-02-17 03:29:58 +01:00
bnnm
67269eaf8a
Add L2SD Ogg [Lineage II Chronicle 4 (PC)]
2018-02-17 02:23:45 +01:00
bnnm
cc5d8c4c9c
Add comment
2018-02-17 02:09:48 +01:00
bnnm
72bb3f21ee
Add Ubi RAKI PCM/Opus [Just Dance 2017, Raiman Legends (Switch)]
2018-02-17 02:09:30 +01:00
bnnm
6f28316317
Fix rare segfault in mdsp
2018-02-17 02:08:38 +01:00
bnnm
8a935c8c12
Add some Ubi SB0 [Surf's Up (PC)]
2018-02-17 02:07:43 +01:00
Christopher Snowhill
73933aae95
Merge pull request #187 from Thealexbarney/opus-fixes-switch
...
Fixes for Switch Opus reading
2018-02-15 16:37:19 -08:00
Alex Barney
90f09ac562
Skip initial padding in Switch Opus streams
2018-02-10 17:39:00 -06:00
bnnm
dfe3b1f607
Fix SXD with internal+external data [The Last Guardian (PS4)]
2018-02-10 17:51:55 +01:00
bnnm
3faae6fe6e
Remove debug crap
2018-02-10 17:50:25 +01:00
bnnm
def9ebd7cb
Fix some MSS DSP [TimeSplitters 2 (GC)]
2018-02-10 17:46:22 +01:00
bnnm
e41df10893
Add XNB XMA (uncompressed) [Terraria (X360)]
2018-02-10 17:45:33 +01:00
bnnm
ec052385a0
Fix SABs with long descriptors [Final Fantasy XV Benchmark sfx (PC)]
2018-02-03 19:26:57 +01:00
bnnm
c3b637a199
Add EA SNS/SPS DSP [Need for Speed Nitro sfx (Wii)]
2018-02-03 17:19:38 +01:00
bnnm
9a279c35b5
Remove debug crap
2018-02-03 15:40:43 +01:00
bnnm
87ccbb0eaa
Add SAB OGG Vorbis [Final Fantasy XV Benchmark sfx (PC)]
2018-02-03 15:39:21 +01:00
bnnm
b885ef13ee
Add MAB encrypted HCA [Final Fantasy XII TZA (PS4/PC)]
2018-02-03 01:27:57 +01:00
bnnm
fd21da2c61
Add SCD v4 ATRAC9 [Kingdom Hearts 2.8 (PS4)]
2018-02-03 01:27:35 +01:00
bnnm
20ca3fc30d
Add HCA key
2018-01-28 00:48:57 +01:00
bnnm
2da7cf0647
Add ADX keystring
2018-01-28 00:48:44 +01:00
bnnm
86ce73d181
Rename Wwise Vorbis enums with prefix for clarity
2018-01-28 00:47:06 +01:00
bnnm
528b5c3197
Fix bitrate for subsongs and rename streams > subsongs
2018-01-28 00:41:25 +01:00
bnnm
a0a5143daa
Fix some FSB IMA [Dead to Rights 2 (Xbox)]
2018-01-27 23:00:27 +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
2300a1165d
Adjust raw XA detection for some DC STR
2018-01-27 17:08:04 +01:00
bnnm
d8c81bc14a
Add Media.Vision ATX subfiles (decrypted) [Shining Blade (PSP)]
2018-01-27 14:00:31 +01:00
bnnm
72d0151530
Setup BGW decryption directly in meta using custom streamfiles
2018-01-27 12:50:25 +01:00
bnnm
8b5d26bcd8
Remove log
2018-01-27 12:24:35 +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
d161050fca
Update STREAMFILE code a bit
2018-01-27 11:08:51 +01:00
bnnm
d84929b499
Add comment
2018-01-27 11:08:00 +01:00
bnnm
a0e97683e4
Add Starbreeze XWC [Riddick Dark Athena, Syndicate]
2018-01-27 11:00:21 +01:00
bnnm
9201a7384d
Fix XWB PCM8 [Unreal Championship (Xbox)]
2018-01-27 10:57:29 +01:00
Alex Barney
e70c9eaf33
Improve NSW Opus header handling
2018-01-26 11:06:44 -06:00
Alex Barney
8711f5325e
Nop format support
2018-01-26 11:05:36 -06:00
bnnm
d1a6c9e67d
Add rare SXD PS-APDCM [Hot Shots Golf: World Invitational (Vita)]
2018-01-21 02:14:41 +01:00
bnnm
2b0d5a420f
Add Soundforge/Liar-Soft weird RIFF Ogg [Shikkoku no Sharnoth (PC)]
2018-01-21 01:47:02 +01:00
bnnm
ed29f694ed
Add FSB decryption, keys and optional .fsbkey
2018-01-21 01:46:33 +01:00
bnnm
1d46fb1b14
Add RWS PCM16LE [DIRT: Origin of the Species (PC)]
2018-01-20 20:20:47 +01:00
bnnm
ae2ba1bc29
Update read_key_file for variable-sized keys
2018-01-20 20:06:15 +01:00
bnnm
0c016e6667
Merge branch 'master' of https://github.com/kode54/vgmstream.git into io
...
Conflicts:
test/test.vcxproj
2018-01-20 13:49:54 +01:00
Alex Barney
a2a053e225
Add ADX key
2018-01-19 23:20:31 -06:00
bnnm
7d51693177
Clean FSB variable names and code
2018-01-20 01:40:42 +01:00
bnnm
8607c7a952
Change init_vgmstream_fsb4_wav to use custom IO, as a test
2018-01-20 00:55:37 +01:00
bnnm
927a3b5f39
Remove PROFILE_STREAMFILE to simplify further changes, not used anymore
2018-01-19 00:16:14 +01:00
soneek
8477f88290
Added KTSS v3 support
2018-01-15 22:39:58 -05:00
soneek
c87c62b04f
Added looping support for Vita GTD
2018-01-15 19:30:27 -05:00
bnnm
09f263f9cf
Fix compiler warning
2018-01-14 01:12:58 +01:00
bnnm
9607feacca
Add HCA key
2018-01-14 01:12:38 +01:00
bnnm
cbe4b19b92
Add .KM9 [Nobunaga no Yabou - Souzou (Vita)]
2018-01-13 17:47:40 +01:00
bnnm
3c37267732
Fix compiler warning
2018-01-13 15:23:17 +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
b7d65f21dd
Fix SCD Ogg subsong sizes, detection and V3 not decrypting last frames
2018-01-11 23:26:24 +01:00