Commit Graph

4917 Commits

Author SHA1 Message Date
bnnm
c7ffd4731c Add .nub2 in NUS v2 2020-02-22 20:41:53 +01:00
bnnm
1290cea8ff Improve BNSF key detection 2020-02-22 20:41:17 +01:00
bnnm
ca6d780d0e Add BNSF key [Tales of Zestiria (PS3), Tales of Berseria (PS3)] 2020-02-22 20:41:03 +01:00
bnnm
a18f06a7b1 Add ADX/HCA key [Detective Conan Runner (Android)] 2020-02-22 20:40:21 +01:00
bnnm
1aa8438f67 Add .al [Dominions 3: The Awakening (PC)] 2020-02-22 20:40:07 +01:00
bnnm
6e7bb699ac Rename pc_al2.c to raw_al.c 2020-02-22 10:32:35 +01:00
bnnm
8b6e94a04a CRLF to LF 2020-02-22 10:28:40 +01:00
bnnm
c914608c5d Validate Konami Svag vs bad rips 2020-02-22 10:17:01 +01:00
bnnm
bc46f0a13b Fix .bms CWAV [Kirby's Adventure (3DS)] 2020-02-22 10:16:16 +01:00
bnnm
4dee040632 Fix some LRMD [LocoRoco 2 (PSP)] 2020-02-22 10:14:32 +01:00
bnnm
64442ab788 Add SGDX PCM [LocoRoco Cocoreccho! (PS3)] 2020-02-22 10:13:52 +01:00
bnnm
7a3b1021ee Fix some layered/segmented metas showing wrong codec 2020-02-22 10:09:20 +01:00
bnnm
8868bf085e Fix different dual stereo files with same extension 2020-02-22 10:08:57 +01:00
bnnm
22f8c1eb99 Fix .nlsd 2020-02-11 00:49:16 +01:00
bnnm
9fd679e57c Add BNSF decryption [The Idolmaster 2 (X360/PS3)] 2020-02-09 10:15:17 +01:00
bnnm
b5767fe2d8 Siren14 cleanup 2020-02-08 12:54:13 +01:00
bnnm
6a7e55f8cc Add lrmh+lrmb [LocoRoco 2 (PSP), LocoRoco: Midnight Carnival (PSP)] 2020-02-03 00:23:07 +01:00
bnnm
48f7e163e6 Fix .xwc v4 XMA2 [Syndicate (X360)] 2020-02-03 00:19:47 +01:00
bnnm
6803c939e4 Clean some IO streamfile code 2020-02-02 21:20:51 +01:00
bnnm
667f9f31a7 Add IO streamfile helper 2020-02-02 21:16:58 +01:00
bnnm
a22defe1a9 Clean some IO streamfile code 2020-02-02 21:13:16 +01:00
bnnm
9b4769c3ad CRLF to LF 2020-02-02 19:58:09 +01:00
bnnm
657202380b Fix some ZSND .zsd [X-Men: The Official Game (Xbox), BMX XXX (Xbox)] 2020-02-02 18:45:45 +01:00
bnnm
92c3a9ec94 Add N1 .at9 NXOpus [void tRrLM(); //Void Terrarium (Switch)] 2020-02-02 18:45:34 +01:00
bnnm
cf53f38c53 Fix looping .bgm Ogg Opus [Utawarerumono: Mask of Truth (PC)] 2020-02-02 18:45:21 +01:00
bnnm
cf7ef5067a CRLF to LF 2020-02-02 18:42:00 +01:00
bnnm
eea1c3b489
Merge pull request #552 from AnonBaiter/patch-1
new patch
2020-01-24 22:59:31 +01:00
bnnm
2d13e7d116 Fix CRI UTF signed/unsigned types 2020-01-24 22:52:04 +01:00
bnnm
3ae88b5345 Fix .ktss with VBR Opus [Warriors Orochi 4 Ultimate DLC (Switch)] 2020-01-24 20:47:03 +01:00
bnnm
83face4153 Add .s3v WMA extension [Sound Voltex 5 (AC)] 2020-01-24 20:19:19 +01:00
bnnm
bc4c5809d0 Fix some ZSND .zsd [Aggresive Inline (Xbox), BMX XXX (Xbox)] 2020-01-24 20:13:32 +01:00
bnnm
6b42ab3e74 CRLF to LF 2020-01-24 20:12:12 +01:00
bnnm
34089ff359 Add Koei wbh+wbd/sed [Dissidia NT (PC/PS4), Fire Emblem Warriors] 2020-01-24 20:10:29 +01:00
Detective
59ffcbb41f
ea_eaac.c
add "Eop0" fourCC, possibly related to EAOpus.
seen through Windows executables of The Sims 4 and Need for Speed Heat.
2020-01-23 22:56:23 -03:00
bnnm
49f197c715 Fix stereo .fwse [Ace Attourney 5 (Android)] 2020-01-13 21:18:57 +01:00
bnnm
37f270eb2b Fix NXAP ADPCM [Time Crisis 4 (PS3)] 2020-01-13 21:16:09 +01:00
bnnm
b6d6293c69 CRLF to LF 2020-01-13 21:14:04 +01:00
bnnm
0531202a7b Add HCA key [Inazuma Eleven SD (Android)] 2020-01-12 22:34:27 +01:00
bnnm
e3cbb0b24b Tweak doc 2020-01-12 20:35:18 +01:00
bnnm
e4164e6656 Fix some Sony .bnk [Ratchet & Clank (PS3)] 2020-01-12 20:17:59 +01:00
bnnm
a90259ca50 Add PASX .sgb extension [Death By Cube (X360)] 2020-01-12 12:52:03 +01:00
bnnm
9fdf2dbf1a CRLF to LF 2020-01-12 12:37:17 +01:00
bnnm
4afa42bee6 Compiler warnings 2020-01-12 12:34:44 +01:00
bnnm
d7bd19cc6d Add ADX keys 2020-01-12 12:34:13 +01:00
bnnm
0d0296d4ec Add reverse engineered Namco Siren14 codec
Accurate to Namco's variation, less dubious license and a bit faster
than the float reference decoder
2020-01-12 11:57:20 +01:00
Simon Aarons
0e5e83fa8a
Fix signedness bug in Game.com parsing 2020-01-12 18:00:44 +11:00
bnnm
a980a3cec6
Merge pull request #545 from simontime/tgc
Implement Tiger Game.com ADPCM
2020-01-11 23:24:13 +01:00
Lukas Cone
9887406b84 CMake: Changed version.h generation dir 2020-01-11 19:14:13 +01:00
Lukas Cone
087ed737ca CMake Refactor 2020-01-11 17:34:53 +01:00
Simon Aarons
d46be84643 Yeet 2020-01-12 01:40:05 +11:00
Simon Aarons
49c1a0d985 Fix formatting 2020-01-11 22:33:27 +11:00
Simon Aarons
5106ccba68 Implement Tiger Game.com ADPCM 2020-01-11 21:52:24 +11:00
Lukas Cone
10ab263092 Added FWSE format 2020-01-07 18:44:20 +01:00
Lukas Cone
d170b10812 Relativized CMake 2020-01-07 18:42:57 +01:00
NicknineTheEagle
0f4c9d0eae VAG: Added a variation [Garfield: Saving Arlene (PS2)] 2020-01-04 15:45:04 +03:00
NicknineTheEagle
b848525876 RIFF: Tweaked cue chunk parsing 2020-01-03 23:16:22 +03:00
NicknineTheEagle
38a1896432 MPF: Added more filename combos [SSX On Tour (multi)] 2020-01-03 23:16:00 +03:00
NicknineTheEagle
4bb51c57a5 XMV: Minor tweaks 2020-01-03 22:50:56 +03:00
NicknineTheEagle
e37e593316 XA: Added PXA extension [Mortal Kombat 4 (PS1)] 2020-01-03 22:50:56 +03:00
NicknineTheEagle
72480efdcb MSF: Added MSA extension [Sonic & Sega All-Stars Racing (PS3)] 2020-01-03 22:50:55 +03:00
bnnm
310c3b2cb4 Fix HEVAG clip glitches 2020-01-02 22:19:15 +01:00
bnnm
c6aab61776 Fix some FSB5 looping jingles 2020-01-02 22:18:35 +01:00
bnnm
e3c1792d65 Minor doc 2019-12-27 01:48:45 +01:00
bnnm
8bd3e018e5 Adjust some EA SWVR blocks 2019-12-27 01:48:29 +01:00
bnnm
05747c7a74 Add .fda Relic Codec FDA [Warhammer 40000 (PC)] 2019-12-27 01:33:37 +01:00
bnnm
e4e367daf0 Add .fda Relic Codec AIFC [Homeworld 2 (PC)] 2019-12-27 01:29:56 +01:00
bnnm
3006065341 Fix some Ubi HX [Rayman Arena (Xbox)] 2019-12-27 01:25:09 +01:00
bnnm
43c6446728 CRLF to LF 2019-12-27 01:24:06 +01:00
bnnm
53ecd82617 Fix EA SWVR raw movies missing some samples 2019-12-16 20:32:46 +01:00
bnnm
3fa41fe161 CRLF to LF 2019-12-16 20:31:03 +01:00
bnnm
c63172fa65 Fix compilation without MPEG 2019-12-15 23:26:59 +01:00
bnnm
c7ba8b0460 Add non-stream CRI .csb [PES 2013 (PC), NiGHTS: Journey of Dreams (Wii)] 2019-12-15 22:24:54 +01:00
bnnm
5e45cd60ef Update code with cri_utf and fix ADPCM_WII looping 2019-12-15 20:24:03 +01:00
bnnm
b9baa48b91 Move acb_utf.h to cri_utf.c/h for common use 2019-12-15 20:23:02 +01:00
bnnm
a3442d5966 Update CRI UTF 2019-12-15 19:37:52 +01:00
bnnm
9303aaddb7 Add XMA from UE3 [The Last Remnant (X360), Shadows of the Damned (X360)] 2019-12-15 18:21:31 +01:00
bnnm
f98372ab2f Fix some .vsf issues 2019-12-15 01:37:56 +01:00
bnnm
227f4b5950 Add .wav RIFF variation [Chrono Magia (Android)] 2019-12-14 19:54:22 +01:00
bnnm
907ffb22ac Clean CRI UTF, allow 0 rows and fix s8 values 2019-12-14 19:53:08 +01:00
bnnm
2f74bf8f69 CRLF to LF 2019-12-14 19:50:56 +01:00
Christopher Snowhill
260a0d0e73
Update vsf.c
Declare variable
2019-12-09 16:50:36 -08:00
Detective
2e7a3d26af
refresh vsf.c info
sample rate is handled in much the same case as vs_square.c and svs.c, this is by design.
2019-12-09 20:03:22 -03:00
bnnm
cca2a64a20 Fix some MP3 num_samples [Marc Ecko's Getting Up (PC)] 2019-12-08 00:00:04 +01:00
bnnm
ce5bdedd2a Adjusted VAG full loops 2019-12-07 23:58:30 +01:00
bnnm
9de018338e Add Wwise OPUS [Girl Cafe Gun (Mobile)] 2019-12-07 23:58:13 +01:00
bnnm
e87b6473a0 Add HCA keys 2019-12-07 23:57:45 +01:00
NicknineTheEagle
f9e9730bf6 Added WAVX extension [LEGO Star Wars (Xbox)] 2019-12-07 01:47:25 +03:00
bnnm
e085affa9c Add HCA key [Dankira!!! (Android)] 2019-12-05 23:30:43 +01:00
bnnm
8b73941b09 Minor compiler warn and doc 2019-12-05 23:20:38 +01:00
bnnm
0f84ce5e77 Reject high num_samples to prevent giant wavs in CLI with bad files 2019-12-05 23:20:16 +01:00
bnnm
30ee4129d1 Improve MUSX padding detector performance 2019-12-05 23:17:40 +01:00
bnnm
bccce006f6 Add HCA key [IDOLiSH7 (Android), Phantom of the Kill (Android)] 2019-12-05 22:42:06 +01:00
bnnm
337e2d3922 Add TXTP "loop_mode = auto" to simplify looping last segment 2019-12-05 22:41:29 +01:00
bnnm
1a7891828f Fix TXTP times with leading 0s 2019-12-05 22:30:06 +01:00
bnnm
2c68123738 CRLF to LF 2019-12-05 22:20:06 +01:00
NicknineTheEagle
08e135a07e Fixed PSX loop points scanner not working on mono files 2019-12-05 15:35:46 +03:00
NicknineTheEagle
23fa661f4a MUSX: Added support for a v10 variation [Spider-Man 4 (Wii)] 2019-12-03 22:20:03 +03:00
NicknineTheEagle
d4f688ec3e EAAC: Fixed a memory leak 2019-12-02 00:17:29 +03:00
NicknineTheEagle
33bf3ae37c
Merge pull request #525 from NicknineTheEagle/ea
Ea
2019-12-01 23:19:54 +03:00
NicknineTheEagle
74001e74ba VAG: Added extra checks 2019-12-01 23:15:08 +03:00
NicknineTheEagle
57140367d0 EAAC: Fixed EATrax 2019-12-01 21:35:09 +03:00
NicknineTheEagle
b2e31d8222
Merge pull request #524 from NicknineTheEagle/ea
Ea
2019-12-01 17:54:01 +03:00
NicknineTheEagle
0e39b49936 EAAC: Fixes 2019-12-01 17:15:56 +03:00
NicknineTheEagle
2386019adb Ubi SB: Minor tweaks 2019-11-30 21:32:58 +03:00
NicknineTheEagle
3f7c7eee07 EAAC: Implemented gigasample type 2019-11-30 21:30:59 +03:00
bnnm
a9594a10f4 Allow tags with spaces in !tags.m3u using double delimiters 2019-11-28 23:22:55 +01:00
bnnm
fcc8cddc62 Add encrypted NUS3BANK xma [THE iDOLM@STER 2 (X360)] 2019-11-26 20:32:49 +01:00
bnnm
c597f4e3f3 Add ADX key [Lucky Star: RAvish Romance (PS2)] 2019-11-26 20:32:07 +01:00
NicknineTheEagle
2f598e3d1b
Merge pull request #517 from NicknineTheEagle/musx
Musx
2019-11-25 11:39:00 +03:00
NicknineTheEagle
15d3ba52b1 Minor doc 2019-11-24 23:45:36 +03:00
bnnm
13cb804de6 Remove unneeded condition for mus_acm.c 2019-11-24 20:56:47 +01:00
bnnm
d8eb1715d2 Add .abc extension 2019-11-24 20:40:56 +01:00
bnnm
e0a33c6503 Fix some NUS3BANK .nub2 [THE iDOLM@STER 2 (PS3)] 2019-11-24 20:39:22 +01:00
bnnm
81758532e8 Clean ivag meta 2019-11-24 20:38:16 +01:00
bnnm
7b7e3b5ba2 CRLF to LF 2019-11-24 20:18:01 +01:00
bnnm
b1327376ab Rename ps3_ivag.c to ivag.c 2019-11-24 20:17:18 +01:00
bnnm
b0988dfc87 Fix compiler warning 2019-11-24 14:25:33 +01:00
bnnm
d4615aaeed Fix some .nub sample/loop/LE/IDSP bugs [Wangan Midnight 5 (AC)] 2019-11-24 10:47:54 +01:00
bnnm
1008171d91 CRLF to LF 2019-11-24 10:28:33 +01:00
NicknineTheEagle
4c58881343 MUSX: Added PC support [Ice Age 2 (PC)] 2019-11-23 23:36:57 +03:00
bnnm
3d127412dd Fix some .sab names 2019-11-23 20:58:03 +01:00
bnnm
7bc17a0550 Clean THP 2019-11-23 20:56:57 +01:00
bnnm
eb320585d5 Add ADX/HCA key [NogiFes (Android)] 2019-11-23 20:56:30 +01:00
bnnm
d6f1a52b15 CRLF to LF 2019-11-23 20:53:59 +01:00
NicknineTheEagle
f3eafd725d EA MPF: Fixed SSX 3 2019-11-23 01:10:11 +03:00
NicknineTheEagle
df9b7ea8c5 EA MPF: Fixed MPF/MUS pair finder function 2019-11-21 20:39:17 +03:00
NicknineTheEagle
ea73c05242 Ubi SB: Fixed Ubi SB header parsing (again) 2019-11-21 10:21:43 +03:00
NicknineTheEagle
ecdf33be25 Ubi SB: Fixed SB header parsing 2019-11-21 10:09:15 +03:00
NicknineTheEagle
df046f9821 Ubi SB: Set encoder delay for raw Atrac3 2019-11-20 21:06:54 +03:00
NicknineTheEagle
a89651ef92 Ubi SB: Added a new version [Rainbow Six 3 (PC)] 2019-11-20 19:51:01 +03:00
NicknineTheEagle
c96a7a34c5
Merge pull request #511 from NicknineTheEagle/mih-valve
Mih valve
2019-11-19 10:44:02 +03:00
NicknineTheEagle
8764b054d9 Minor tweaks 2019-11-18 23:10:37 +03:00
NicknineTheEagle
1b3ad0af47 HLWAV: Reworked the parser, removed fake "hlwav" extension 2019-11-18 20:49:04 +03:00
NicknineTheEagle
68f1184da7 MIH: Added a new variation [Marc Ecko's Getting Up (PS2)] 2019-11-18 17:03:04 +03:00
bnnm
647e45143f Fix assert compilation and some compiler warnings 2019-11-18 00:37:45 +01:00
bnnm
2bb0f29dd1
Merge pull request #509 from bnnm/ast
ast
2019-11-16 22:39:57 +01:00
bnnm
0de95ee919 Fix AFC in AST 2019-11-16 22:32:19 +01:00
NicknineTheEagle
5d90ffb7b9 RIFF: Added .str extension [Harry Potter and the Philosopher's Stone (Xbox)] 2019-11-16 23:31:22 +03:00
NicknineTheEagle
0273739cfe XMA: Added missing header magic check 2019-11-16 23:29:45 +03:00
NicknineTheEagle
fb70b177e2 EA MPF: Added Need for Speed Nitro MPF/MUS names 2019-11-16 15:50:56 +03:00
NicknineTheEagle
07bd62a4b5 EA MPF: Added support for empty tracks [Need for Speed: Nitro (Wii)] 2019-11-16 15:50:54 +03:00
NicknineTheEagle
b4cc120e4c Merge remote-tracking branch 'upstream/master' into ea-mpf
# Conflicts:
#	src/meta/ea_schl.c
2019-11-15 22:36:29 +03:00
NicknineTheEagle
e8f033dd65 Added multi-track EA MPF support 2019-11-15 22:32:03 +03:00
bnnm
533e787cf6 Fix FSB5 bank loops in some subsongs 2019-11-11 22:35:45 +01:00
bnnm
523b59b2ba Fix compilation without MPEG 2019-11-11 22:35:36 +01:00
bnnm
66e1a00a6a Add EAAC .sps multistream Opus [FIFA 19 (Switch)] 2019-11-10 22:22:22 +01:00
bnnm
f0f05bdb56 Comment 2019-11-10 22:20:07 +01:00
bnnm
b2e93f886f Increase segment limit for mpf/mus TXTPs [Boogie (PS2)]
After +500 segments it may hit O.S. file descriptor limit and not work
though
2019-11-10 22:18:52 +01:00
bnnm
d803349f6b Add XSSB .bin/lbin [Blinx 2 (Xbox)] 2019-11-10 22:17:21 +01:00
bnnm
410fe894cd Also fix CRLF 2019-11-10 21:41:18 +01:00
bnnm
829b8892ec Improve old .xsb name reading [Psychonauts (Xbox)] 2019-11-10 21:29:34 +01:00
bnnm
cc4f70806f Fix CRLF<>LF for some files 2019-11-10 21:26:31 +01:00
NicknineTheEagle
9420470eca EA 1SNh: Tweaked loop handling 2019-11-10 21:03:02 +03:00
NicknineTheEagle
c47a37daba Fixes and tweaks 2019-11-10 16:19:44 +03:00
NicknineTheEagle
1f356cde5e Improved EA videos support 2019-11-09 23:16:13 +03:00
bnnm
302b264b13 Add base_offset to coef_offset in TXTH 2019-11-06 23:06:38 +01:00
bnnm
6eecc5303d Improve SCHl MP2/EALayer3 V1a gapless 2019-11-06 23:06:21 +01:00
bnnm
aa62f671a9 Tweak EAAC Opus init 2019-11-04 23:32:27 +01:00
bnnm
bf14fccc97 Small detection tweaks 2019-11-04 23:31:23 +01:00
bnnm
5167cc9252 Fix FFmpeg slowness in MSVC 2019-11-04 23:29:34 +01:00
bnnm
7ec90cc400 Add HCA key [Blackstar (Mobile)] 2019-11-04 23:29:15 +01:00
bnnm
8f86c30fe0 Allow coef_offset to work with subsongs in TXTH 2019-11-03 22:59:10 +01:00
bnnm
3208863d75 Minor cleanup/comments 2019-11-03 22:58:33 +01:00
bnnm
e0eaffbf3f Add ISACT .isb [Psychonauts (PC)] 2019-11-03 22:56:37 +01:00
bnnm
bc59318157 Tweak _0/1 dual extension detection 2019-11-03 18:37:20 +01:00
bnnm
b2e3058072 Add buffer comments 2019-11-03 17:57:07 +01:00
bnnm
e06e2f2bb2 Fix uncommon handle leak when opening too many files 2019-11-03 17:55:47 +01:00
bnnm
65a96502fa Add extra MPF+MUS pair and missing .hdr check 2019-11-03 17:54:34 +01:00
bnnm
eb753846c8 Tweak ADX meta code 2019-11-03 17:54:01 +01:00
bnnm
0dfe352c7b Improve streamfile float reading 2019-11-02 20:12:12 +01:00
bnnm
42dad8d605 Remove stx parser since it's a repeat of afc 2019-11-02 16:15:18 +01:00
bnnm
f6b4df6680 Tweak EALayer3 comment 2019-11-02 16:10:54 +01:00
bnnm
73e60d64b1 Improve AFC/DTK/FADPCM/PROCYON/LSF/ASF/DSF/XMD/MTAF/MTA2 performance 2019-11-02 16:10:23 +01:00
bnnm
4b1df80f4d Move some extensions to the normal list 2019-11-02 16:02:53 +01:00
bnnm
b98f9c36ab Add sfx/str/zic CWAV extensions 2019-11-02 15:49:41 +01:00
bnnm
4d5ec06d76 Improve raw MP3 total samples reading 2019-11-02 15:49:10 +01:00
NicknineTheEagle
320f1434ee Added Acclaim Austin AAAp VAG header [The Red Star (PS2)] 2019-11-01 10:29:37 +03:00
NicknineTheEagle
30c087ee99 Added interleave detection for VAG variant [Need for Speed: Hot Pursuit 2 (PS2)] 2019-11-01 10:28:40 +03:00
NicknineTheEagle
f26cb71138 Removed non-existent "aaap" extension 2019-11-01 10:19:31 +03:00
NicknineTheEagle
0e9686ffc0
Merge pull request #495 from NicknineTheEagle/vag
Added VAG variant [Need for Speed: Hot Pursuit 2 (PS2)]
2019-10-29 21:39:11 +03:00
NicknineTheEagle
613300b7bc Added VAG variant [Need for Speed: Hot Pursuit 2 (PS2)] 2019-10-29 20:01:26 +03:00
bnnm
c279e10722 Tweaks 2019-10-28 00:01:30 +01:00
bnnm
409a10172a Improve MPEG FSB/EA-MP3/AHX reads 2019-10-27 23:55:32 +01:00
bnnm
2e509b8fff Improve EALayer3 reads in SPS to avoid rebuffering 2019-10-27 23:55:02 +01:00
bnnm
abd281e7c8 Add raw interleaved XA subsong handling 2019-10-27 23:50:48 +01:00
bnnm
6e7977772d Tweaks 2019-10-20 23:51:06 +02:00
bnnm
cf618362ff Optimize float-to-int in ffmpeg 2019-10-20 23:50:29 +02:00
bnnm
58b2d193f3 Add .bwav with PCM16 [Ring Fit Adventure (Switch)] 2019-10-20 23:48:45 +02:00
bnnm
790730222f Add partial support for interleaved .XA/STR 2019-10-20 23:48:12 +02:00
bnnm
abbe2ae80f Use libvorbis instead of FFmpeg 2019-10-20 19:50:35 +02:00
bnnm
c4b259f5d8 Clean MSADPCM frame size and add extra check 2019-10-20 16:35:52 +02:00
bnnm
1768e55a1c Rename get_streamfile_text_line to read_line and minor cleanup 2019-10-20 11:55:05 +02:00
bnnm
d0ff9e1f5b Add UE4 ADPCM v2 interleaved mono MSADPCM [Fornite (PC)] 2019-10-20 01:25:42 +02:00
bnnm
7593da7422 Add frame_size for MSADPCM 2019-10-20 01:24:59 +02:00
bnnm
e35bbf59cf Add UE4OPUS v2 [Travis Strikes Again: No More Heroes (PC)] 2019-10-19 12:13:49 +02:00
bnnm
8e2196a514 Clean RIFF Ogg code 2019-10-19 11:13:02 +02:00
bnnm
2969db25de Clean some streamfile code 2019-10-19 11:11:09 +02:00
bnnm
a0a6e0d172 Add streamfile helpers 2019-10-19 11:07:28 +02:00
bnnm
8973d3238f Merge branch 'master' of https://github.com/kode54/vgmstream into ogg 2019-10-19 09:41:12 +02:00
Christopher Snowhill
ee3e170026 Fix planar format for mono files 2019-10-18 15:42:46 -07:00
bnnm
6f76abf39a Add .spt+.spd subsongs 2019-10-18 19:36:01 +02:00
bnnm
833d0b9fdb Add SGXD with Ogg [Ni no Kuni Remastered (PC)] 2019-10-18 19:35:14 +02:00
bnnm
15d794bbe2 Allow Ogg decoder to be used like other codecs 2019-10-18 19:34:15 +02:00
Christopher Snowhill
2b1de051e2 Fix FFmpeg for non-planar formats 2019-10-15 19:54:11 -07:00
bnnm
4a338564e6 Minor doc 2019-10-14 00:32:07 +02:00
bnnm
f3c3d4563e Add .wbh names for .xwb 2019-10-14 00:29:40 +02:00
bnnm
d64f85a02e Fix MPC missing start samples 2019-10-13 20:13:15 +02:00
bnnm
a05f8cbbec Clean use of FFmpeg internal 2019-10-13 19:54:52 +02:00
bnnm
7214dfbef7 Fix ATRAC3 clips caused by incorrectly inverted PCM16 2019-10-13 18:55:52 +02:00
bnnm
e5e86d3324 Simplify FFmpeg decoder to remove temp buffer for performance
Also changes fuzzy behavior on frame error to mimic ffmpeg.exe
2019-10-13 18:43:13 +02:00
bxaimc
a75dadd7f3 AAC fixes for Star Ocean TLH Intl. (PS3) 2019-10-09 11:02:53 -04:00
M&M
50ad0eac33
Fix Touhou Cannonball key 2019-10-06 20:46:58 -07:00
bnnm
15aa8652c6 Tweaks 2019-10-07 00:17:12 +02:00
bnnm
122622252a Add TXTH logical AND (&) operator for bitmasks 2019-10-06 23:47:25 +02:00
bnnm
786c75aa73 Fix TXTH default subfile size 2019-10-06 23:32:41 +02:00
bnnm
2ed3d8c00d Add HCA keys 2019-10-06 23:31:54 +02:00
bnnm
421cefbdd7 Improve .acb performance for bigger files 2019-10-06 17:54:54 +02:00
bnnm
4af3f6bad6 Improve EA-XAS decoding/performance 2019-10-06 17:54:26 +02:00
bnnm
35f5da2ac3 Improve performance of ADX/XA/PSX/HEVAG/DSP decoders 2019-10-05 15:10:40 +02:00
bnnm
8ae9fff5e7 Read .bnh names in Ubi HX if no internal name is found 2019-10-05 14:55:08 +02:00
bnnm
ec0231ca49 Clean .sap 2019-10-05 14:51:49 +02:00
bnnm
d682bef807 Add mp+ extension [Moonshine Runners (PC)] 2019-10-05 14:51:13 +02:00
bxaimc
122e65ca5f add Square Enix Opus for Dragon Quest I-III (Switch) 2019-10-03 11:46:37 -04:00
bnnm
acbc483109 Add options in foobar/winamp to allow any extension 2019-09-30 00:56:29 +02:00
bnnm
95a50a3168 Minor cleanup 2019-09-29 20:09:28 +02:00
bnnm
1b34ef1f01 Fix various leaks and issues found with drmemory 2019-09-29 18:25:24 +02:00
bnnm
0b98aff930 Fix FSB5 loop end +1 samples and tweaks 2019-09-24 23:56:27 +02:00
bnnm
8bbf38b20f Add Edelweiss OPUSNX .opus/lopus [Astebreed (Switch)] 2019-09-24 00:53:52 +02:00
bnnm
948aa26706 Fix FSB4 loop end +1 samples and tweak loop detection [Hard Reset (PC)] 2019-09-24 00:52:48 +02:00
bnnm
f95d2e3e19 Add .vam extension [Rocket Power: Beach Bandits (PS2)] 2019-09-24 00:51:26 +02:00
bnnm
4010c3bd1b Fix companion files in relative folders for foobar [Rayman M (PS2)]
Also extra relative check for .isd and Ubi SB
2019-09-24 00:51:12 +02:00
bnnm
3377da8d9e Allow normal files to get !tags.m3u tags from virtual .txtp 2019-09-21 20:50:05 +02:00
bnnm
97c090886f Tweak Yamaha/AICA codec naming 2019-09-21 19:15:01 +02:00
bnnm
e372e19057 Fix Yamaha AICA decoding being slightly off and cleanup 2019-09-21 18:52:57 +02:00
bnnm
c164549056 Add TXTP -t trim command to adjust stream's samples 2019-09-21 13:37:53 +02:00
bnnm
5cb5534612 Fix .rws with segments+layers and cleanup [Neighbours From Hell (Xbox)] 2019-09-21 13:31:11 +02:00
bnnm
4fd353d0e1 Fix some Ubi HX [Rayman M (PS2)] 2019-09-21 13:29:50 +02:00
bnnm
7858cec330 Allow virtual .txtp in playlists (foobar/winamp/cli) for config/tagging
Makes plugins' STREAMFILEs not throw an error on non-existing .txtp
(normally written inside .m3u) treating it like a command/url-ish name.

This lets the TXTP parser to try to opening the virtual file with
commands, as 0-size TXTP with a formatted name is valid, like
"file.adx#l 1.0.txtp" ("play file.adx with 1 loop"), to allow quick
per-file config.
2019-09-15 15:47:41 +02:00
NicknineTheEagle
9571e5b11d
Merge pull request #471 from NicknineTheEagle/xmv
Added MP3 codec to XMV parser
2019-09-15 16:33:29 +03:00
bnnm
4602db9d64 Minor tweaks 2019-09-15 14:58:44 +02:00
bnnm
b1f03eaa6d Add SEAD .mab/sab names and cleanup 2019-09-15 14:57:55 +02:00
NicknineTheEagle
ac7f8ebb46 Minor doc 2019-09-15 13:00:27 +03:00
bnnm
f694f7d379 Fix some Ogg not showing correct meta description 2019-09-14 23:03:31 +02:00
NicknineTheEagle
0e6c188211 Added MP3 codec to XMV parser 2019-09-14 23:34:13 +03:00
bnnm
9663b22cf1 Add .oto extension [Vampire Savior (SAT)] 2019-09-14 17:20:41 +02:00
bnnm
daf6884e53 Fix unnecessary struct memcpy 2019-09-14 17:18:27 +02:00
bnnm
4d7f5a3eb8 Fix some TXTP mixing bugs and add loop option in fades 2019-09-14 16:48:11 +02:00
bnnm
4fac5e7d3e Clean RIFF/XNB PCM8 usage 2019-09-14 12:42:08 +02:00
bnnm
0a9b07fe19 Fix some Ubi HX [Rayman 3 (Xbox)] 2019-09-14 12:41:14 +02:00
bnnm
d2f0fa4580 Fix some .nub [Mojipittan (Wii), Ridge Racer 6 (X360)] 2019-09-14 12:40:44 +02:00
bnnm
ee71ac94b5 Add more riff chunk finders 2019-09-14 12:39:47 +02:00
bnnm
48d3690d81 Add TXTH hist_offset for DSP 2019-09-14 12:38:49 +02:00
bnnm
7c45ce5cc5 Minor tweaks 2019-09-08 21:16:04 +02:00
bnnm
1bc7e0e410 Add Konami BMP .bin (as .lbin) + decoder [Jubeat Clan (AC)] 2019-09-08 21:12:13 +02:00
bnnm
677eeef2b9 Fix some prefetch .wem 2019-09-08 21:08:12 +02:00
bnnm
81c805ed90 Add Ubi .HXx [Rayman Arena, Rayman 3, XIII] 2019-09-08 20:24:47 +02:00
bnnm
42f3cf5913 Update chunk handling functions 2019-09-08 20:23:59 +02:00
bnnm
9669de953e Tweak Ubi ADPCM codes and accept 6-bit stereo from XIII (PC) 2019-09-08 20:23:06 +02:00
bnnm
4b14afbdd7 Fix some .nub [Tales of Vesperia (PS4)] 2019-09-08 20:20:35 +02:00
NicknineTheEagle
67670aa110 Removed deprecated MinimalRebuild option 2019-09-08 16:28:35 +03:00
NicknineTheEagle
2a0efbc281 Added Valve XMV format [The Orange Box (X360)] 2019-09-08 16:28:32 +03:00
NicknineTheEagle
e86091d853 Fixed FFmpeg codec not being displayed in case of recursive segments/layers 2019-09-06 16:48:17 +03:00
NicknineTheEagle
93a156235a Ubi SB: Removed some obsolete checks 2019-09-04 19:36:27 +03:00
NicknineTheEagle
ca4ae130ae Ubi SB: Minor tweaks 2019-09-04 19:36:27 +03:00
NicknineTheEagle
a0eb4a2390 Ubi SB: Minor doc 2019-09-04 19:36:22 +03:00
NicknineTheEagle
09ac65591c Ubi SB: Disabled stream type 0x02 for PSP for now 2019-09-03 22:12:30 +03:00
NicknineTheEagle
9e6469c15e Ubi SB: Tweaked parsing of older versions 2019-09-03 21:43:45 +03:00
bnnm
0a4921e2ef Meta cleanup and renames 2019-09-02 22:32:02 +02:00
bnnm
087e22dad2 Clean .bgw 2019-09-02 20:57:17 +02:00
bnnm
5140cabe2d Misc tweaks 2019-09-02 20:48:33 +02:00
bnnm
a7d220cf97 Add Ubi ADPCM in .SMx/SBx [Spliner Cell (PC), Batman Vengeance (PC/Xb)] 2019-09-02 20:46:42 +02:00
bnnm
f7a0e460dc Fix some .acb+awb names 2019-09-02 20:41:04 +02:00
bnnm
057d66cf99 Add Platinum ADPCM for .wem [Bayonetta 2 (Switch)] 2019-08-29 00:54:49 +02:00
bnnm
60b4cb8310 Add Namco .nub archives
Also move related metas together
2019-08-28 23:11:46 +02:00
bnnm
47bafa6cf5 Fix MSVC 2019-08-27 01:33:22 +02:00
bnnm
efde147534 Fix some .vas 2019-08-27 01:20:10 +02:00
bnnm
f6f958f679 Fix some buggy channel layouts [Ridge Racer 7 (PS3)] 2019-08-26 23:00:17 +02:00
bnnm
5b9e591fcb Reject small files in FFmpeg meta 2019-08-26 22:59:32 +02:00
bnnm
84038b0fea Improve raw ATRAC3 decoding accuracy and cleanup 2019-08-26 22:58:43 +02:00
bnnm
6f2999cd3d Tweak EALayer3 discard modes from debug info and EAAC header 2019-08-26 00:41:17 +02:00
bnnm
22c3266727 Improve RIFF ATRAC3/plus decoding accuracy 2019-08-25 20:46:29 +02:00
bnnm
59ff127548 Fix EA SCHl ATRAC3 crash 2019-08-25 20:20:26 +02:00
bnnm
0b88604183 Improve .psf dynamic song generation 2019-08-25 20:19:28 +02:00
bnnm
5d8d462067 Allow repeated VGMSTREAMs in segment layout 2019-08-25 20:18:27 +02:00
bnnm
e473e7aba9 Accept ADX keystring/keycode in .adxkey 2019-08-25 20:16:06 +02:00
bnnm
59c0510c5f Add/fix some ADX keys 2019-08-25 20:15:11 +02:00
bxaimc
09f443fdd1 fix opus sample rate for Grandia HD Collection (Switch) 2019-08-17 11:08:55 -04:00
Christopher Snowhill
d64c3872af
Merge pull request #458 from NicknineTheEagle/ubi-sb
Ubi SB: Added more versions
2019-08-15 15:12:32 -07:00
bnnm
a3296cd274 Minor tweaks 2019-08-15 22:15:37 +02:00
bnnm
3f45b62117 Rename psx_gms.c to seb.c 2019-08-15 22:08:48 +02:00
bnnm
3e4f64fda8 Clean psx_gms 2019-08-15 22:07:12 +02:00
bnnm
badf3477e3 Add Blitz Games .ima and improve decoder [Lilo & Stitch (PC)] 2019-08-15 16:25:52 +02:00
bnnm
de294a5a5e Add .p16 extension [Astal (SAT]] 2019-08-15 15:48:52 +02:00
bnnm
5a80a29c37 Allow mini-TXTP with "commands" to simplify config 2019-08-15 15:46:03 +02:00
bnnm
e8989f5300 Add default HCA mappings 2019-08-15 15:15:00 +02:00
bnnm
dbfa909a9f Add TXTP @downmix macro and improve plugin stereo downmixing 2019-08-15 15:14:32 +02:00
bnnm
706b71d7fd Add Pivotal .sch [The Great Escape, Conflict: Desert Storm] 2019-08-15 15:12:13 +02:00
NicknineTheEagle
067f5b5317 Ubi SB: Handle Xbox games with garbage in stream_type 2019-08-14 23:58:38 +03:00
NicknineTheEagle
15c8588b63 Ubi SB: Updated codec detection 2019-08-13 19:06:36 +03:00
NicknineTheEagle
1e5502b39c Ubi SB: Added more versions 2019-08-13 17:59:14 +03:00
bnnm
d57b986523 Minor cleanup 2019-08-12 20:13:53 +02:00
bnnm
9a4c80cdd5 Add Incinerator .itl [Cars Race-o-rama (Wii), MX vs ATV Untamed (Wii)] 2019-08-12 20:05:58 +02:00
bnnm
b3a8f2b280 Add interleave_first to fix some .vag/seg clicks 2019-08-12 19:23:49 +02:00
bnnm
01ac9377d4 Add .vas container [Jikkyou Powerful Pro Yakyuu games (PS2)] 2019-08-11 21:56:06 +02:00
bnnm
83e4f8cb28 Fix .wem DSP full loops 2019-08-11 20:22:45 +02:00
bnnm
7f240f4c45 Minor cleanup 2019-08-11 20:07:35 +02:00
bnnm
f0151cc26f Don't open streamfile for coding_OGG_VORBIS 2019-08-11 19:46:16 +02:00
bnnm
272aa78d45 Merge branch 'master' of https://github.com/kode54/vgmstream into psf-etc 2019-08-11 19:39:12 +02:00
bnnm
3bac417a8c Add Pivotal .psf and decoder [The Great Escape, Conflict: Desert Storm] 2019-08-11 19:38:40 +02:00
Christopher Snowhill
ead9ec4fb1
Merge pull request #454 from NicknineTheEagle/ea-asobo
ea asobo
2019-08-10 16:07:40 -07:00
NicknineTheEagle
13983828e1 Minor tweaks 2019-08-10 22:06:10 +03:00
bnnm
7f8138fbb5 Fix last minute changes 2019-08-10 18:11:30 +02:00
bnnm
3339b61696 Add .mca for Capcom .adpcm [MH Generations Ultimate (Switch)] 2019-08-10 17:30:13 +02:00
bnnm
d4651feded Read .ogg TITLE as stream name and tweaks 2019-08-10 17:27:06 +02:00
bnnm
37af5c4166 Show all .xsb names in .xwb instead of first 2019-08-10 17:26:44 +02:00
bnnm
35c471a9a9 Fix some wwise [Captain America: Super Soldier (X360)] 2019-08-10 17:25:15 +02:00
bnnm
bd8dad46df Clean .rsd and fix some bugs 2019-08-10 17:24:06 +02:00
NicknineTheEagle
c66a832301 JOE: Remove padding at the end 2019-08-06 22:13:25 +03:00
NicknineTheEagle
47d7b5a0ed Improved EA HDR/DAT support 2019-08-05 21:49:02 +03:00
bnnm
28837dcba5 Add partial .bnm support from Tonic Trouble Special Edition (PC) 2019-08-04 13:52:09 +02:00
bnnm
b2969e7093 Add Reflections .xav [Stuntman (PS2)] 2019-08-04 11:57:48 +02:00
bnnm
39a63e2a51 Update check 2019-08-03 23:37:45 +02:00
bnnm
e08a0d8431 Redo MUSX (.sfx) stream/stream banks/sfx banks and fix various bugs 2019-08-03 23:35:10 +02:00
bnnm
f9c850003e Fix some .adpcmx [Fushigi no Gensokyo: Lotus Labyrinth (Switch)] 2019-08-03 12:22:09 +02:00
bnnm
64853876eb Fix .awb subkeys with external .hcakey 2019-08-02 21:13:00 +02:00
bnnm
4f5d622edc Add .idwav/idmsf/idxma [Doom 3 BFG Edition (PC/PS3/X360)] 2019-08-02 21:11:55 +02:00
bnnm
52dd56bc1a Add .bgm [Fortissimo (PC)] 2019-08-02 17:31:00 +02:00
bnnm
ce96318551 Add Blitz (ext-less)+.data [SpongeBob's Surf & Skate Roadtrip (X360)] 2019-08-02 17:30:40 +02:00
bnnm
962e32dbf4 Fix companion files for extensionless formats 2019-08-02 17:30:23 +02:00
NicknineTheEagle
52f2cb9333 Updated EA MPF parser 2019-07-29 23:05:26 +03:00
bnnm
22c7f5e384 Fix some DSP .xwb [Skulls of the Shogun (Switch)] 2019-07-28 23:35:21 +02:00
bnnm
02a11d447b Add Switch .xnb [Eagle Island (Switch)] 2019-07-28 23:34:55 +02:00
bnnm
58734480a6 Fix check 2019-07-28 23:34:08 +02:00
bnnm
d6b5992662 Fix VS 2019-07-28 16:48:15 +02:00
bnnm
b3c507b3ed Cleanup and renames 2019-07-28 15:11:17 +02:00
bnnm
53f5dbc607 Add .adpcm+_NxEncoderOut_.adpcm dual stereo 2019-07-28 14:47:33 +02:00
bnnm
5dd4569a39 Fix some .his 2019-07-28 14:47:23 +02:00
bxaimc
ee6e18c013 msvc formatting as usual 2019-07-24 11:05:44 -04:00
bxaimc
837b04866b Merge branch 'master' of git://github.com/kode54/vgmstream 2019-07-24 10:59:22 -04:00
bxaimc
98723b7821 enable dual file stereo for switch .adpcm 2019-07-24 10:57:15 -04:00
bnnm
4b9be69347 Add missing math.h 2019-07-24 15:46:47 +02:00
bnnm
3410f68866 Fix compilation without FFmpeg 2019-07-24 15:46:35 +02:00
bnnm
eac44c37c9 Add multichannel Switch Opus 2019-07-23 22:47:40 +02:00
bnnm
22703957f5 Add .smk Smacker video [Starcraft (PC)] 2019-07-21 15:08:39 +02:00
bnnm
e9cfb8d617 Fix FFmpeg formats that can't seek 2019-07-21 14:41:17 +02:00
bnnm
c4feb3ca54 Tweak logs/comments 2019-07-21 13:11:25 +02:00
bnnm
f1f365afef Fix some .s14 2019-07-21 13:10:53 +02:00
bnnm
32ae3e1912 Fix some Wwise .wav and tweak size checks [Tony Hawk: Shred (Wii)] 2019-07-21 13:10:30 +02:00
bnnm
63b8778912 Add extensionless .dsp [Tony Hawk's Downhill Jam (Wii)] 2019-07-21 13:09:13 +02:00
bnnm
1720191b53 Add extensionless AIFC [Doom (3DO)] 2019-07-21 13:08:53 +02:00
bnnm
7d4612689a Fix .switch_audio and .sx extensions 2019-07-21 13:08:18 +02:00
bnnm
a32599dfe6 Fix warning 2019-07-14 21:25:59 +02:00
bnnm
775b5060a2 Add .8 extension [Gungage (PS1)] 2019-07-14 21:25:00 +02:00
bnnm
7a6af37122 Add HCA key 2019-07-14 21:24:38 +02:00
bnnm
ac1048d52f Add .acb with internal .awb and names, fix some .awb 2019-07-14 21:24:28 +02:00
Simon Aarons
5734a84a23 Implement Traveller's Tales' RAD 2019-07-12 20:14:39 +10:00
RIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDGE RACERRRRRRRRRRRRRRRRRRRRRRRRRRRRR
ea33c4c737
add another extension
.L00, from the PS2 version of Disney's Dinosaur
2019-07-07 17:45:59 -03:00
bnnm
5d1dd63182 Add support for HCA with subkey from .awb [Dragalia Lost (Mobile)] 2019-07-07 21:04:56 +02:00
bnnm
1a4dbc83d3 Add .awb/afs2 for convenience 2019-07-07 20:46:14 +02:00
bnnm
0523b36a62 Add TXTH name_table wildcards + fix doc 2019-07-07 18:10:43 +02:00
bnnm
023e5b8d99 Fix dual TXTH/GENH Yamaha ADPCM + add .P04 extension 2019-07-07 15:26:43 +02:00
bnnm
6f2c94b303 Add HCA keys 2019-07-07 15:25:50 +02:00
bxaimc
996d8a3545 Add opus support for Prototype games [Clannad (Switch)] 2019-07-06 22:30:11 -04:00
Christopher Snowhill
9bae582a24
Rename to strcasecmp
Dammit, I misread the macro. It defines strcasecmp=_stricmp for MSVC, not _stricmp=strcasecmp for Unix.
2019-07-02 16:54:33 -07:00
Christopher Snowhill
6b488b13e5
Change strcmpi to _stricmp
Unlike strcmpi, _stricmp is actually macro defined to strcasecmp for Unix systems. I don't know if Linux has strcmpi, but macOS certainly doesn't.
2019-07-02 16:50:28 -07:00
bnnm
1d28e0f58e
Merge pull request #434 from bnnm/txth-xvag-scd
txth xvag scd
2019-06-29 20:42:41 +02:00
bnnm
df2e3b43bb Add TXTH name_table 2019-06-29 20:20:50 +02:00
bnnm
bba3bd98ee Add TXTH base_offset, loop_behavior, improve math without spaces 2019-06-29 13:33:23 +02:00
bnnm
efacca42de Fix subsongs in some .hd3+bd3 2019-06-29 13:25:04 +02:00
bnnm
c7aaabf573 Fix XVAG MPEG encoder delay/gapless looping 2019-06-29 13:24:53 +02:00
bnnm
b82a2c964a Fix multichannel Ogg .scd layout [Final Fantasy XIV] 2019-06-29 13:24:27 +02:00
bxaimc
62fd5243ae fix loop_flag offset 2019-06-26 18:29:14 -04:00
bxaimc
69ab85d106 completed support w/ looping and multichan 2019-06-26 13:10:17 -04:00
bxaimc
e6c0f5d30d add missing files 2019-06-26 02:44:48 -04:00
bxaimc
1d2e9793e5 Add preliminary BWAV support [Super Mario Maker 2 (Switch)] 2019-06-26 02:26:44 -04:00
bnnm
2e13041be2 Fix some .opus [Lego Movie 2 (Switch)] 2019-06-23 23:20:53 +02:00
bnnm
57cd72771f Add .isd + .isl looping [Mighty Gunvolt (PC), Blaster Master Zero (PC)] 2019-06-23 23:20:43 +02:00
bnnm
afde14796e Fix some incorrectly ripped .xwb 2019-06-23 22:25:55 +02:00
bnnm
675556f78a Fix some .hd3+bd3 2019-06-23 22:25:42 +02:00
bnnm
8613e60946 Fix TXTH (offset)$1 command in some cases 2019-06-23 22:25:28 +02:00
bnnm
88ebf49b34 Add some ogg and cleanup [Yuppie Psycho (PC), Blaster Master Zero (PC)] 2019-06-23 22:25:06 +02:00
Michael
2af3a55a28 Remove duplicate subkey(s) 2019-06-20 15:16:39 -07:00
Michael
f4f118a48c Add Wedding Belle subkeys [Dragalia Lost (Mobile)] 2019-06-19 22:50:17 -07:00
Michael
ec02172d9a Add Mercurial Gauntlet subkeys [Dragalia Lost (Mobile)] 2019-06-19 09:49:59 -07:00
Michael
e16e5f80cb Add subkeys outside AssetBundle 2019-06-18 14:15:15 -07:00
Michael
45a1c75e67 (Hopefully) add every missing subkey from Dragalia
Thanks to Skyth for modifying libcgss' acb2hcas to output the subkeys to a text file instead of an hcakey file.
2019-06-18 13:56:19 -07:00
bnnm
7a1f822153 Fix some .str+wav [The House of the Dead: Overkill (PS3)] 2019-06-16 15:11:24 +02:00
bnnm
1e58d91c41 Extra doc 2019-06-15 13:21:23 +02:00
bnnm
94ce6e6a62 Ignore some incorrectly detected interleaved .dsp 2019-06-15 13:03:35 +02:00
bnnm
2be24a4d6e Add TXTH chunk_header_size/chunk_data_size for padding and fix fields 2019-06-15 13:03:30 +02:00
bnnm
42edcf7524 Fix VPK looping [Sly 2: Band of Thieves (PS2)] 2019-06-15 13:02:24 +02:00
bnnm
357f876132 Fix mono 3DS Ubi RAKI .ckd 2019-06-13 23:56:56 +02:00
bnnm
817e9c2e1d Fix MPEG XVAG with subsongs [Sly Cooper: Thieves in Time (PS3)] 2019-06-13 23:56:38 +02:00
bnnm
d4b3ffb3bb Add .snd FSB5 extension 2019-06-13 23:56:25 +02:00
bnnm
e50e0c6e71 Add 3DS Ubi RAKI .ckd [Gravity Falls (3DS)] 2019-06-12 21:58:32 +02:00
bnnm
ade4351587 Add .vmu extension 2019-06-09 18:41:44 +02:00
bnnm
ef8643c1a4 Fix some .ogg channel layout [Hatsune Miku Arcade Future Tone (AC)] 2019-06-09 18:41:26 +02:00
bnnm
50309c195e
Merge pull request #416 from bnnm/ads-fsb
ads fsb
2019-05-26 23:12:02 +02:00
bnnm
272a23490d Add FSB5 .bank [Shantae: Half-Genie Hero (Switch)] 2019-05-26 22:55:37 +02:00
bnnm
ab719d08de Fix some .ads loops [Kono Aozora ni Yakusoku o (PS2), Chanter (PS2)] 2019-05-26 22:54:38 +02:00
Rohul1997
2c3f4c9b62
Added subkeys from Fire Emblem collab and Resplendent Refrain Nightmare raid 2019-05-24 21:06:58 +01:00
bnnm
40e2099fea Fix installed TXTP loops in HCA files 2019-05-23 23:47:53 +02:00
bnnm
e503757bfc Add HCA keys 2019-05-17 22:30:49 +02:00
bnnm
ff944a1ddd Restore TXTP loop_start_segment=1 for single files 2019-05-17 22:30:25 +02:00
bnnm
497e3a04a7 Fix some .vs [Front Mission 4 (PS2)] 2019-05-05 23:27:02 +02:00
bnnm
12874af1d6 Fix .at3/at9 mono files with wrong channel layout 2019-05-01 23:21:59 +02:00
bnnm
5bcaafa067 Fix some .spw [Final Fantasy XI (PC)] 2019-04-21 01:17:03 +02:00
bnnm
f02ec24aec Fix some .sm2/ss2 [Batman: Rise of Sin Tzu (Xbox)] 2019-04-21 01:16:48 +02:00
bnnm
e732800a01 Add .sxd3 [Fate/Estella (PS4), Gran Turismo Sport (PS4)] 2019-04-21 01:16:24 +02:00
RIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDGE RACERRRRRRRRRRRRRRRRRRRRRRRRRRRRR
8b9c0e56ef
minor comment addition 2019-04-18 16:14:48 -03:00
RIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDGE RACERRRRRRRRRRRRRRRRRRRRRRRRRRRRR
95adca72cb
add more language filenames [ubi_bao.c]
indeed, this is just unconfirmed for now but hear me out - if you look through the Assassin's Creed exe out of each platform the game was released on (Windows version has just two exe that consists of all code in the game) you'll see that there are a total of 10 spoken languages that are being referenced in the exe.

i chose the Windows version of the game 'cuz every single detail in there isn't encrypted somehow within these two exe files(as in, those that end with Dx9 and Dx10, respectively).
2019-04-18 16:13:02 -03:00
bnnm
0072f8c0b5 Fix segmented .wave kbps 2019-04-14 21:37:28 +02:00
Clarence "Sparr" Risher
d11d652429 Resolve linux compile problems
include limits.h where needed
ifdef out mpeg function not present in default linux build
2019-04-12 21:12:52 -07:00
bnnm
e4465fc117 Fix .hca key detection for newer Tales of the Rays files 2019-04-09 20:41:23 +02:00
bnnm
4f79dc82e8 Fix some .msf/mp3 looping 2019-04-09 20:40:48 +02:00
Christopher Snowhill
c585f3f502
Merge pull request #389 from bnnm/txtp-groups-aif
txtp groups aif
2019-04-09 03:43:47 -07:00
bnnm
d6214fe01d Fix memory leak/lock when failing to open dual file stereo 2019-04-07 02:10:44 +02:00
bnnm
dd847f3041 Tweak some logs 2019-04-07 01:47:52 +02:00
bnnm
fef854ea87 Add .laif/aif-Loop extension [Psychonauts (PC)] 2019-04-07 01:47:07 +02:00
bnnm
8ba1cf4575 Up the max sample rate to 192K [Dex (PS4)] 2019-04-07 01:43:59 +02:00
bnnm
55599d4098 Add TXTP mixed groups for layers+segments in the same file 2019-04-07 01:43:45 +02:00
bnnm
c7f2b53d45 Fix TXTP mono mixing in some cases 2019-04-07 01:42:23 +02:00
Michael
231e5c64ad Add missing music subkeys from Trick or Treasure 2019-04-06 08:41:43 -07:00
Michael
b2adaea429 Add music subkeys up to April Fools 2019-04-01 00:09:52 -07:00
Christopher Snowhill
95e65ea405
Merge pull request #386 from CyberBotX/sample-rate
Up the max sample rate to 128K.
2019-03-30 17:26:00 -07:00
Christopher Snowhill
feef3b87d5
Correct formatting 2019-03-30 17:16:20 -07:00
Naram Qashat
91ab2e75b6 Up the max sample rate to 128K.
While 96K already seems like a ridiculously high sample rate and that 128K should be discarded, I found that the in-game music for much of AI War: Fleet Command has a sample rate of 128K and will not play in vgmstream without this value being increaased.
2019-03-30 15:13:28 -04:00
Darren Yip
d28522f6e6 Added HCA key for Puchiguru Love Live! 2019-03-30 14:45:57 -04:00
Christopher Snowhill
b62357c832
Merge pull request #382 from bnnm/txtp-akb-at3
txtp akb at3
2019-03-30 00:59:26 -07:00
bnnm
49e95ee9f9 Minor tweaks 2019-03-30 02:22:20 +01:00
bnnm
9ed910a848 Fix layered current/loop sample (needed by TXTP) 2019-03-30 02:22:11 +01:00
bnnm
43d3cea838 Fix TXTP "c" command and add "C" (@track alt) 2019-03-30 02:19:44 +01:00
bnnm
57d724c2b2 Fix 5.1/7.1 .at3 LFE channel order [Devil May Cry 4 (PS3)] 2019-03-30 02:15:22 +01:00
bnnm
adae35ae3a Add PCM .akb [Mobius Final Fantasy (Mobile)] 2019-03-30 02:14:18 +01:00
bxaimc
1ffd3ec233 Add VAGp variant 'STEREOVAG2K' for The Simpsons Skateboarding (PS2) 2019-03-29 00:49:29 -04:00
bnnm
642613fac9 Fix get_bool again 2019-03-25 21:15:44 +01:00
bnnm
c084a99337 Fix body_file with chunks 2019-03-25 21:15:14 +01:00
bnnm
88951a1ab2 Allow TXTH chunks + subfiles + subsongs [Gitaroo Man (PSP)] 2019-03-24 15:36:57 +01:00
bnnm
0fa7ed0b6f Tweak RIFF .at3 for extensionless/multi-riff [Gitaroo Man (PSP)] 2019-03-24 15:34:49 +01:00
bnnm
9e9417b916 Fix inconsistent PSX channel padding [Gitaroo Man (PS2)] 2019-03-24 03:21:05 +01:00
bnnm
9ac36892f6 Fix .sngw 5.1 channel order 2019-03-24 02:45:03 +01:00
bnnm
8739631792 Enable TXTP mixing 2019-03-24 01:21:09 +01:00
bnnm
248ec056e3 Fix looping EA-XAS and leaks 2019-03-24 01:09:19 +01:00
bnnm
da4b31c0d3 Merge branch 'master' of https://github.com/kode54/vgmstream into mix-etc 2019-03-23 22:49:19 +01:00
bnnm
dd42e99823 Tweak mixing and fix TXTP with "commands" failing in some cases 2019-03-23 22:42:07 +01:00
bnnm
19d5a6f82c Improve .xsb internal name reading and .xsb filename detection 2019-03-23 15:50:59 +01:00
Christopher Snowhill
83b463bffd
Merge pull request #373 from NicknineTheEagle/ea-sbr
ea sbr
2019-03-22 21:25:40 -07:00
bnnm
50f8f53385 Add .ikm PC/PSP and fix PS2 samples [Chaos Legion (PC), TLOH IV (PSP)] 2019-03-22 21:12:33 +01:00
bnnm
a64fabe831 Fix TXTP boolean reading near EOL/EOF 2019-03-22 19:45:28 +01:00
bnnm
c7379df2a4 Add .fsb key [Sekiro (PC)] 2019-03-22 19:43:51 +01:00
NicknineTheEagle
ec5c5a57e1 Fixed EA ABK parser 2019-03-22 20:25:06 +03:00
NicknineTheEagle
83d5468ee4 Fixed EA BNK parser (again) 2019-03-22 19:40:31 +03:00
NicknineTheEagle
ddf35809d6 Added EA SBR format containing SPS files 2019-03-22 15:07:13 +03:00
bnnm
283f594168 Rename ps2_ikm.c to ikm.c 2019-03-22 01:08:20 +01:00
bxaimc
3744cd52ce KTSS fixes 2019-03-21 19:21:55 -04:00
bxaimc
e994af85ab change channelMultiplier to num_layers 2019-03-21 19:18:26 -04:00
bxaimc
e6208351d4 KTSS fixes 2019-03-21 19:07:33 -04:00
bnnm
0aec721788 Add TXTH chunk_* config for chunked data and fix leaks [SF EX 3 (PS3)] 2019-03-21 23:08:11 +01:00
bxaimc
a24f1c0337 Add Team Ninja/Koei Tecmo Opus Variant 2019-03-21 18:02:17 -04:00
bnnm
cb80b198ce Add accurate sample count for .mp3/lmp3 2019-03-21 22:29:39 +01:00
bnnm
6bfe6e6b4a Add .fsb.xen and key [Guitar Hero 5 (X360)] 2019-03-21 22:29:23 +01:00
bnnm
e53b03c43e Move some mixing code 2019-03-21 22:26:32 +01:00
bnnm
1fd320bfcd Fix Ubi SB sample/layer bugs [SC HD (PS3), RS:Vegas (PSP), GRAW (X360)] 2019-03-21 22:26:04 +01:00
Christopher Snowhill
a236069775
Merge pull request #370 from CyberBotX/CMake
Add CMake scripts
2019-03-20 22:15:34 -07:00
bnnm
151de6a39c Update mixing code 2019-03-18 00:05:44 +01:00
Naram Qashat
78748393db Add CMake scripts
Needed to change how version.h was included to let it pick up the one from CMake's build location.

NOTE: Does not build with MinGW-w64 currently, does not have a way to build the audacious or XMPlay plugins.
2019-03-17 14:36:55 -04:00
bnnm
dd1bafb201 Add Ubi .bnm [Rayman 2 (PC), Tonic Trouble (PC), Donald Duck (PC)] 2019-03-17 19:30:02 +01:00
bnnm
c1b9df6a5e Add some Ubi SB [G.R.A.W (X360), Splinter Cell D.A. Online (PC)] 2019-03-16 13:58:28 +01:00
bnnm
703c29775d Add TXTH padding_size = (value|auto|auto-empty) to skip PS-ADPCM padding 2019-03-16 13:56:22 +01:00
bnnm
4cf1db7fc1 Merge branch 'master' of https://github.com/kode54/vgmstream into ntav 2019-03-16 09:25:19 +01:00
bnnm
4defb55589 Add layer/segment mixing and main code (disabled) 2019-03-16 00:49:52 +01:00
bnnm
3aef648730 Fix potential (but impossible with current code) TXTP segfault 2019-03-16 00:35:09 +01:00
bnnm
613368f72d Fix dump_streamfile bug 2019-03-16 00:27:41 +01:00
bnnm
4acd10d1b1 Fix TXTH auto data_size with subsongs to calc up to next start_offset 2019-03-16 00:12:25 +01:00
bnnm
d9c3720f73 Fix some .mtaf looping when shouldn't 2019-03-16 00:10:42 +01:00
bnnm
80ae4f2ed3 Add 9TAV [Metal Gear Solid 2/3 HD (Vita)] 2019-03-16 00:10:28 +01:00
NicknineTheEagle
92738358a1 Fixed EA BNK parser 2019-03-13 22:58:05 +03:00
NicknineTheEagle
487f919b77 Resolve merge conflict 2019-03-13 22:58:05 +03:00
NicknineTheEagle
c93ffb7231 Calculate GIN size 2019-03-13 22:58:04 +03:00
NicknineTheEagle
12c82b9ca9 Ubi SB fixes 2019-03-13 22:58:04 +03:00
NicknineTheEagle
4ff41aa0ef Added support for EA TMX format 2019-03-13 22:58:04 +03:00
NicknineTheEagle
9539eb40e3 Added PCM4 to frame size helper funcs 2019-03-13 22:58:04 +03:00
bnnm
47f7b8d1d0 Fix Konami XWMA padding 2019-03-12 01:28:42 +01:00
bnnm
9ce54eb4cc Fix missing ifdef 2019-03-12 00:54:41 +01:00
bnnm
ae66dd42a6 Add Konami MSF/XWMA [Metal Gear Solid 3 HD (PS3/X360)] 2019-03-12 00:41:20 +01:00
bnnm
0369a82bfc Fix references and tweaks 2019-03-12 00:38:48 +01:00
bnnm
bdd695b9f9 Minor cleanup 2019-03-11 14:49:29 +01:00
bnnm
e9688e540a Rename some files 2019-03-11 14:47:06 +01:00
bnnm
e5d4e2e382 Remove MTAF deblocking code and cleanup 2019-03-11 12:34:23 +01:00
bnnm
5b2af165cf Add TXTH inline coef_table = NNMM.... for DSP 2019-03-11 02:27:52 +01:00
bnnm
c7a8e25ce8 Validate some bytes-to-samples and shadowing tweaks 2019-03-11 01:34:36 +01:00
bnnm
fd9a33d2d0 Add TXTH mpeg bytes-to-samples and tweaks 2019-03-11 01:22:49 +01:00
bnnm
fa9d7e6cc1 Fix TXTH strings with trailing spaces (math change) 2019-03-11 00:11:12 +01:00
bnnm
f2aa9905d4 Add TXTH subfile_offset for wrapper files 2019-03-10 23:39:48 +01:00
bnnm
d0bb4d964e Add non-demuxed EA SCHl .vp6 videos with multilang subsongs 2019-03-10 11:11:27 +01:00
bnnm
ddfb46d1bd Add inline TXTH math: (key) = (number) (op) (number) ... [op: +-*/] 2019-03-10 10:40:06 +01:00
bnnm
97c9df30aa Add SFH .at3 wrapper [Devil May Cry 4 Demo (PS3), Jojo BA HD (PS3)] 2019-03-10 00:59:59 +01:00
bnnm
7f3c09e533 Tweak minor stuff 2019-03-10 00:28:16 +01:00
bnnm
0719c2cc61 Fix EA SCHl BR and handle multilang better [Battlefield: Hardline (PS3)] 2019-03-09 23:51:56 +01:00
bnnm
b4fff010dd Add AAC .strm [Cursed Castilla (3DS)] 2019-03-09 23:27:28 +01:00
bnnm
650c3847d2 Parse hex in TXTP loop install 2019-03-09 23:06:53 +01:00
bnnm
2b4570395a Add AAC codec for TXTH and bytes-to-samples 2019-03-09 22:57:21 +01:00
bnnm
c114dc3ba1 Fix RIFF #ifdef VGM_USE_MAIATRAC3PLUS failing when set 2019-03-09 21:32:51 +01:00
bnnm
2dc5ddc59e Fix newest .wem channel mask and validate wrong values 2019-03-09 21:31:15 +01:00
bnnm
63e31c1ac0 Fix some 7ch .SPS [BAttlefield 4 (X360) 2019-03-09 20:52:20 +01:00
bnnm
2cdcebf6a7 Add .ilv extension [Star Wars Episode III (PS2)] 2019-03-09 20:52:09 +01:00
bnnm
caba4a95a9 Add ADX key [Bakumatsu Renka: Shinsengumi (PS2)] 2019-03-09 20:51:58 +01:00
bnnm
b5b0ec10a6 Fix some MIB+MIH missing samples [Galaxy Angel II (PS2)] 2019-03-09 20:51:37 +01:00
bnnm
a6e777d120 Update mixing code 2019-03-09 20:50:58 +01:00
Christopher Snowhill
d8ffd7f0d5 Initialize variables so failure doesn't result in a crash 2019-03-05 18:14:57 -08:00
Christopher Snowhill
12ad42378a
Merge pull request #367 from bnnm/ogg-txtp-layout
ogg, txtp, layouts
2019-03-04 18:22:39 -08:00
bnnm
90f3e07802 Add $AUTOALBUM !tags.m3u command 2019-03-04 23:13:02 +01:00
bnnm
92c2c80f5b Tweak tags API 2019-03-04 22:50:05 +01:00
bnnm
186d0c8ebf Cleanup dsp+sck cleanup 2019-03-04 22:48:51 +01:00
bnnm
9616bdd60e Rename dc_dcsw_dcs.c to dcs_wav.c 2019-03-04 20:12:02 +01:00
bnnm
f0d3cadf3d Clean .dcs+wav [Evil Twin (DC)] 2019-03-04 20:08:33 +01:00
bnnm
879f65a864 Fix 3/5ch .SPS [Battlefield 4 (X360)] 2019-03-04 20:07:26 +01:00
bnnm
154198d851 Inherit segment layout 2019-03-04 20:07:05 +01:00
bnnm
4c1b3f56f3 Tweak loop end leeway 2019-03-04 20:06:40 +01:00
bnnm
810435cb68 Show mm:ss in samples info and adjustments 2019-03-03 22:24:29 +01:00
bnnm
563c59664d Handle loop points in seconds and cleanup 2019-03-03 20:03:26 +01:00
bnnm
19c10e014c Add Czech_BAOs 2019-03-03 19:53:59 +01:00
Michael
857f856ff0 i don't even know anymore 2019-03-02 21:10:55 -08:00
bnnm
65e2d4d27d Add TXTP loop install: "#I(loop start) (loop end)" 2019-03-03 03:01:17 +01:00
bnnm
8850ddacff Rename internal coding AICA to YAMAHA
AICA is simply Dreamcast's sound chip that uses standard Yamaha ADPCM,
codec used by Yamaha in many other places well before the Dreamcast
2019-03-03 02:30:52 +01:00
bnnm
0c39f4cf09 Fix tri-Ace Aska ADPCM .aac [Star Ocean Anamnesis (Mobile)] 2019-03-02 21:12:00 +01:00
bnnm
051cad9462 Minor shadowing fixes and cleanup 2019-03-02 19:23:37 +01:00
bnnm
78d1af6f35 Fix RIFF even-sized chunks, PCM GUID and add channel layout 2019-03-02 16:16:02 +01:00
bnnm
d9296c6693 Add multichannel layout for OGG/MP4/WEM/FFmpeg and use in foobar 2019-03-02 15:57:41 +01:00
bnnm
3d279ea42c Fix .ogg multichannel order and cleanup 2019-03-02 11:17:50 +01:00
bnnm
312eb4ed76 Fix BAO sample rate in some cases [Assassin's Creed] 2019-02-25 19:45:10 +01:00
bnnm
a590ce650b Merge branch 'master' of https://github.com/kode54/vgmstream into tmp 2019-02-25 00:43:28 +01:00
bnnm
c99034cff8 Update mixing code 2019-02-25 00:38:35 +01:00
bnnm
05119fdceb Improve TXTP parsing, ignore spaces and add mask ranges 2019-02-25 00:37:28 +01:00
bnnm
40c23dc3f5 Add Vicious Cycle .mus [Dinotopia (Xbox/GC)] 2019-02-24 11:34:09 +01:00
bnnm
7372ffdc5c Fix possible pcm_bytes_to_samples overflow 2019-02-24 09:52:48 +01:00
bnnm
397c6e0e81 Improve average bitrate with layers+segments 2019-02-24 09:51:10 +01:00
bnnm
0725785824 Add some constants 2019-02-23 23:38:53 +01:00
bnnm
6351432d76 Move mp4.c FFDL code to ffdl.c 2019-02-23 23:19:54 +01:00
bnnm
fa4fc1f64c Add FFDL Ogg [Final Fantasy Dimensions (Android)] 2019-02-23 23:10:58 +01:00
bnnm
c720d6ce37 Fix extensionless files inside folders with dots in winamp/CLI 2019-02-23 17:47:19 +01:00
bnnm
cb93647cdd Fix some AIX [Danball Senki (PSP), Tetris Collection (PS2)] 2019-02-23 17:12:20 +01:00
bnnm
e5ddc9337a Remove unused AIX layout
This layout handled ADX segments+layers at the same time. While there is
some merit in that, it's more flexible and easier to maintain to mix
layer and segment layouts.

Performance and memory used is slightly worse though (impact should be
minimal)
2019-02-23 16:17:29 +01:00
bnnm
6bd23fe948 Change AIX to use custom io and layered+segmented layout
Resulting output is slightly different because AIX layout used to carry
ADX ADPCM hist between segments, but since ADX does have hist in header
(not parsed when AIX was implemented) this step is unneeded/incorrect
2019-02-23 15:26:08 +01:00
bnnm
f354a8fb88 Add allocate_segmented/layered_vgmstream helpers 2019-02-23 15:23:37 +01:00
bnnm
decf64cf01 Add read_sXXle/read_uXXbe/etc alias as a test 2019-02-23 15:23:00 +01:00
niemand-deu
0e645a4fd9
Update baf.c
Added a two liner in the vein of cca30df28d to fix compiling on Linux.
2019-02-23 07:16:35 +01:00
bnnm
e5480f4bb0 Fix minor shadowing issues 2019-02-23 03:15:49 +01:00
bnnm
111c4dd97c Change some sample to sample_t 2019-02-23 02:54:23 +01:00
bnnm
5bdc575f29 Add sample_t for typedef sample to improve shadowing and clarity 2019-02-23 02:47:03 +01:00
bnnm
e3a76d35aa Add TXTH interleave defaults for PSX/DSP/PCM16/PCM8 to simplify usage 2019-02-23 01:49:09 +01:00
bnnm
dd31d1af33 Add Blitz IMA .str+wav [Zapper (PC)] 2019-02-23 00:12:58 +01:00
bnnm
61b9e3743e Add doc 2019-02-22 23:53:15 +01:00
bnnm
9bf0369abd Fix rare .vag [Jak 3 (PS2)] 2019-02-22 23:53:05 +01:00
bnnm
dd5bbe531e Tweak dump_streamfile 2019-02-22 23:52:39 +01:00
bnnm
5109219d85 Fix minor Ubi SB layer bug 2019-02-22 23:52:09 +01:00
bnnm
dc22b3d955 Add some BAOs and v6 IMA [Ghost Recon Future Soldier (PC/PS3)] 2019-02-22 23:51:40 +01:00
bnnm
7e6e8900c2 Fix EA-XMA segfault 2019-02-22 23:35:16 +01:00
bnnm
a2a43c2502 Fix multitrack .baf [James Bond 007 - Blood Stone (X360)] 2019-02-22 23:32:22 +01:00
bnnm
ce07e6af9e Fix ds2 samples 2019-02-18 00:53:59 +01:00
bnnm
d938f60048 Clean loops for readable metadata 2019-02-17 23:53:37 +01:00
bnnm
4b3ec51667 Add .ds2 [Star Wars Bounty Hunter (GC)] 2019-02-17 23:17:14 +01:00
bnnm
a4d4e4a5b7 Fix minor Ubi SB issues 2019-02-17 20:53:30 +01:00
bnnm
8056ba37f4 Update doc 2019-02-17 20:53:02 +01:00
bnnm
fa214e6852 Add .dc2 TXTH extension [Star Wars Bounty Hunter (GC)] 2019-02-17 20:52:34 +01:00
bnnm
ab4805407a Fix some .bnk [Manhunt 2 (PSP)] 2019-02-17 20:48:18 +01:00
bnnm
18593837ad Add TXTP "#h(rate)" to force sample rate 2019-02-17 20:47:57 +01:00
bnnm
fa4e56a6b1 Prepare parts for mixing 2019-02-17 20:28:27 +01:00
bnnm
ed281e1c2e Fix mpeg state not properly resetting in some cases 2019-02-16 01:23:43 +01:00
bnnm
ba0345ceb6 Show loop info even when disabling loops in plugin's config 2019-02-15 23:46:21 +01:00
bnnm
98587ec8e7 Fix memory corruption when forcing loops and clean internals 2019-02-15 22:28:20 +01:00
bnnm
0e379a4e28 Fix some more BAOs 2019-02-15 18:36:45 +01:00
bnnm
9e9495168c Add TXTP "loop_mode=keep" for intro+main songs that also loop normally 2019-02-15 18:36:12 +01:00
bnnm
a49d9851a1 Fix some .baf [James Bond 007: Blood Stone (X360)] 2019-02-15 18:35:24 +01:00
bnnm
ff15eefe80 Fix minor Ubi SB stuff 2019-02-10 19:02:28 +01:00
bnnm
9a402fb797 Minor fixes 2019-02-10 18:43:24 +01:00
bnnm
7085b8ad1d Add TXTP global "commands = #(...)" and allow per-segment masking/mixing 2019-02-10 18:02:10 +01:00
bnnm
802997b255 Adjust Yamaha ADPCM description 2019-02-10 01:39:49 +01:00
bnnm
a7979c51c2 Add .vgm TXTH extension [Maximo (PS2)] 2019-02-10 01:37:28 +01:00
bnnm
4c038cb0ea Add Ocean .DSF, .208 and DSA decoder [Last Rites (PC)] 2019-02-10 01:36:05 +01:00
bnnm
0dbe00d4b0 Add HCA keys 2019-02-09 23:44:57 +01:00
bnnm
ccca7ad949 Fix BAO layer/sequences and add .cpk and more games 2019-02-09 23:43:50 +01:00
bnnm
f4aa758d39 Fix .sfl loops in some cases 2019-02-09 23:43:28 +01:00
bnnm
011fe56614 Fix EALayer3 11ch, V1b PCM, V2S loops [Army of Two 3 (PS3), NFS:W (PS3)] 2019-02-09 23:42:59 +01:00
bnnm
54cf775dca Fix truncated MULs 2019-02-09 23:39:03 +01:00
Christopher Snowhill
c9d997f355
Merge pull request #360 from bnnm/bao
bao
2019-02-02 17:10:00 -08:00
bnnm
493e207c40 Add atomic BAO [Assassin's Creed (PS3/PC)] 2019-02-03 01:47:59 +01:00
bnnm
6742a3e0ef Fix some Ubi SB [Rainbow Six Vegas 2 (X360)] 2019-02-03 01:47:44 +01:00
bnnm
b2f3c860d5 Improve slightly guess_endianness 2019-02-03 01:46:05 +01:00
Michael
d880fd3c1c Add Dragalia subkeys up to Skyborne Spectacle raid event 2019-02-01 19:28:19 -08:00
NicknineTheEagle
56dfa62a75 Should use vgmstream->num_samples here for loop segments 2019-01-28 17:11:31 +03:00
NicknineTheEagle
3249617238 Fixed doc 2019-01-28 09:47:24 +03:00
NicknineTheEagle
70ffbb1194 Use header values instead of vgmstream values in some places 2019-01-28 09:38:11 +03:00
NicknineTheEagle
ba30c79d59 Merge remote-tracking branch 'upstream/master' into ea-ubi
# Conflicts:
#	src/meta/ubi_sb.c
2019-01-28 09:27:45 +03:00
bnnm
fc8911b68a Prepare BAO layers/sequences 2019-01-27 23:42:42 +01:00
bnnm
b81f8a6eed Minor fixes 2019-01-27 23:40:50 +01:00
bnnm
4a6df9b3b9 Add .wxv RIFF [Godzilla - Destroy All Monsters Melee (Xbox)] 2019-01-27 23:40:40 +01:00
bnnm
097f7b0285 Fix some SDF [Mr. Bean's Wacky World (Wii)] 2019-01-26 17:04:43 +01:00
bnnm
aecd7da55e Add .sbv RIFF [Spongebob Squarepants - The Movie (PC)] 2019-01-26 16:34:25 +01:00
bnnm
f806f287f2 Fix most Ubi SB stuff and yet more games 2019-01-26 16:30:36 +01:00
bnnm
a37afdee66 Fix Ubi IMA v2 [Donald Duck: Goin' Quackers (GC)] 2019-01-26 16:16:40 +01:00
bnnm
1d491526ca Add extensionless RIFF [Myst III (Xbox)] 2019-01-26 16:14:50 +01:00
NicknineTheEagle
27a2960e31 Ubi SB: Added more games 2019-01-26 13:31:50 +03:00
NicknineTheEagle
519659fd3e EAAC: Properly calculate stream size for bitrate 2019-01-23 06:40:42 +03:00
NicknineTheEagle
8a00c7cd66 Minor fixes and tweaks 2019-01-22 00:42:34 +03:00
bnnm
b3867b0260 Handle Ubi SB sequence loops properly 2019-01-20 17:16:44 +01:00
bnnm
4c24b03951 Remove debug crap 2019-01-20 00:57:09 +01:00
bnnm
fb8d453c94 Add .lasf (.asf) for consistency 2019-01-20 00:50:39 +01:00
bnnm
3a9273538f Fix type 04 .xnb [Scare Me (XBLIG)] 2019-01-20 00:42:05 +01:00
bnnm
37df2cb18c Show layers/segments in description 2019-01-20 00:39:32 +01:00
bnnm
29bed4b1e0 Add TXTH/GENH interleave_last option 2019-01-20 00:17:06 +01:00
bnnm
8f1ec86bda Fix UE4 MSADPCM .adpcm [Heroes of Ark (iOS), Angels in the Sky (iOS)] 2019-01-19 23:08:26 +01:00
bnnm
da9f9a5572 Fix non-initialized var 2019-01-19 20:04:38 +01:00
bnnm
26e464ef2c Add Ubi .sb/smX layers and sequences, more games 2019-01-19 20:03:48 +01:00
bnnm
0c40610f7f Fix KOEI .mic loops [Dynasty Tactics 2 (PS2)] 2019-01-19 20:01:34 +01:00
NicknineTheEagle
6487d310cb Formatting fixes 2019-01-16 23:29:51 +03:00
NicknineTheEagle
9c9da8fa1b EAAC: Fixed looping for RAM sounds 2019-01-16 23:05:19 +03:00
NicknineTheEagle
3f0ba31a43 EA SCHl: Implemented looping for streamed sounds in ABK 2019-01-16 23:05:09 +03:00
Christopher Snowhill
c6280d85b3
Merge pull request #352 from NicknineTheEagle/ea-sbr
Ea sbr
2019-01-14 18:04:58 -08:00
NicknineTheEagle
ba02ab8f66 EA SCHl: Changed update_ea_stream_size_and_samples to use the first channel offset 2019-01-14 04:01:57 +03:00
bnnm
fd2984f798 Prepare Ubi SB for other types and add more games 2019-01-13 23:27:29 +01:00
bnnm
f5462aad63 Use loop flag in bnk 2019-01-13 23:26:57 +01:00
bnnm
697e5329c9 Minor doc 2019-01-13 23:26:39 +01:00
bnnm
62813ec4d2 Fix broken .pk subsongs [Scott Pilgrim (PS3)] 2019-01-13 23:26:04 +01:00
bnnm
368212bbf8 Fix some looping .sps [FIFA 18 (PC)] 2019-01-13 23:25:29 +01:00
NicknineTheEagle
4c118b28b4 EAAC: Added SBR/SBS format from EA Sports games 2019-01-13 21:53:57 +03:00
NicknineTheEagle
3fc7439ba6 Minor fixes 2019-01-13 21:50:58 +03:00
NicknineTheEagle
b472b6a01f Renamed some parsers for clarity 2019-01-13 05:15:18 +03:00
NicknineTheEagle
2a88b6bc11 EAAC: Added SBR/SBS format 2019-01-13 02:42:54 +03:00
bnnm
7b9d50e62b Add proper .baf [Project Gotham Racing 4 (X360), Geometry Wars (PC)] 2019-01-12 18:01:19 +01:00
bnnm
093fa28a2f Add OKI16 TXTH/GENH decoder [Sweet Legacy (PS2), Hooligan (PS2)] 2019-01-12 13:02:08 +01:00
bnnm
1f44c2d2de Rename pcfx_decoder.c to oki_decoder.c 2019-01-12 11:38:20 +01:00
bnnm
d56bca12f8 Remove ps2_khv.c as it's now parsed in vag.c 2019-01-12 02:55:24 +01:00
bnnm
2e68217af2 Add .vas VAGp [Kingdom Hearts II (PS2)] 2019-01-12 02:51:37 +01:00
bnnm
5d610be086 Add .gin and EA-XAS v0 decoder [Need for Speed Most Wanted] 2019-01-12 02:26:38 +01:00
bnnm
f90d9c1e5d Fix .fag sample rate 2019-01-12 01:02:10 +01:00
bnnm
13643e8c3d Fix some .bnk codec/rates [Fieldrunners (PSP), Wipeout HD (PS3)] 2019-01-12 01:02:01 +01:00
bnnm
c9500056a6 Fix some .ads looping [Gofun-go no Sekai (PS2)] 2019-01-12 01:00:24 +01:00
bnnm
07abb4692d Add TXTH sub-extension (.sub.ext.txth) to simplify extra config 2019-01-12 01:00:07 +01:00
Christopher Snowhill
699e1092a0
Merge pull request #351 from NicknineTheEagle/pcm4
Added 4-bit PCM decoder
2019-01-10 00:21:48 -08:00
NicknineTheEagle
c47ae9632a Changed decode_pcm4 functions to use int16_t instead of uint16_t 2019-01-10 02:54:52 +03:00
NicknineTheEagle
5190b362a9 Added 4-bit PCM decoder 2019-01-09 22:30:15 +03:00
bxaimc
27b26e2d49 formatting....thanks Visual Studio 2019-01-08 00:52:22 -05:00
bxaimc
38993f6b1e SD9 meta cleanup and modify loop flag for newer BMIIDX games 2019-01-08 00:44:10 -05:00
bnnm
6505854983 Fix some Ubi SB XMA 2019-01-07 23:31:18 +01:00
bnnm
75143d5f6b Remove Ubi SB hacks now that it's correctly parsed, fixes 2019-01-07 22:10:48 +01:00
bnnm
8f3544d901 Fix many Ubi SB bugs, add looping and more games 2019-01-07 18:03:47 +01:00
Christopher Snowhill
0638ba6142
Merge pull request #348 from NicknineTheEagle/ea-mpf
Ea mpf
2019-01-06 17:47:22 -08:00
bnnm
b19ed761a6 Rename ps2_psh.c to vsv.c 2019-01-05 20:23:12 +01:00
bnnm
78099c096b Fix .vsv/psh decoding and mono files [Dawn of Mana (PS2)] 2019-01-05 20:20:08 +01:00
bnnm
3480e49cd4 Remove sps frostbite parser (use a good extractor instead) 2019-01-05 04:41:36 +01:00
bnnm
be9399b370 Redo Infernal Engine .smp [Ghostbusters (multi)] 2019-01-05 04:36:20 +01:00
bnnm
113ff85f58 Remove debug crap 2019-01-05 04:32:32 +01:00
bnnm
94915b90ab Simplify Ubi SB platform parsing 2019-01-05 04:32:07 +01:00
bnnm
adea00edab Tweak Ubi sb/xmX for clarity and add more games 2019-01-05 04:02:14 +01:00
NicknineTheEagle
cca9789fd0 Merge remote-tracking branch 'upstream/master' into ea-mpf 2019-01-03 04:46:34 +03:00
NicknineTheEagle
19ff79fac3 EA SCHl: MPF fixes 2019-01-03 04:46:26 +03:00
bnnm
af32ec83db Improve Ubi SB/SM (.smN/sbN) parsing speed 2019-01-02 23:46:39 +01:00
bnnm
254582b21d Add Ubi SB debug stuff for subtypes/layers 2019-01-02 23:31:14 +01:00
bnnm
dd97d29f80 Add EA EACS banks [Need for Speed (PC)] 2019-01-02 17:17:14 +01:00
bnnm
49628d6198 Add SCHl .hab/gsf/abk and custom mpf+mus pairs, remove trj/trm map pair 2019-01-02 16:15:03 +01:00
bnnm
7211e0e0ec Merge branch 'master' of https://github.com/kode54/vgmstream into test 2019-01-02 11:10:14 +01:00
Christopher Snowhill
4e170af368
Merge pull request #344 from NicknineTheEagle/ea-mpf
Fixes
2019-01-01 17:28:43 -08:00
bnnm
9e1e4464b0 Improve Ubi BAO (.pk) parsing speed 2019-01-01 23:21:08 +01:00
bnnm
18fcb5fed7 Fix raw .xa validation [Toy Story 2 (PS1)] 2019-01-01 23:19:12 +01:00
bnnm
6ccceee033 Fix .sdt [Baldur's Gate - Dark Alliance (GC)] 2019-01-01 21:01:45 +01:00
bnnm
42ce03a004 Add .wd RIFF [Genma Onimusha (Xbox)] 2019-01-01 20:59:52 +01:00
bnnm
5066dee488 Add extensionless xwb 2019-01-01 19:04:39 +01:00
bnnm
2275ea2529 Prepare ATSL for KTAC 2019-01-01 19:04:22 +01:00
bnnm
6906a55685 Add unused EA-XA float decoder 2019-01-01 19:02:58 +01:00
Michael
7636c38980 Add Dragalia Lost subkeys for English voice clips 2018-12-31 19:43:40 -08:00
NicknineTheEagle
1d8c619278 EA SCHl: Small fix 2018-12-31 23:18:37 +03:00
NicknineTheEagle
20cf817403 Ubi SB: FMT_XMA1 header fixes 2018-12-31 23:05:58 +03:00
NicknineTheEagle
b0ac7ce4e3 EA SCHl: Added more MPF versions 2018-12-31 23:01:46 +03:00
Michael
b84ff9a86b Add Dragalia Lost subkeys from Chapter 7 and New Year's event 2018-12-31 03:35:41 -08:00
NicknineTheEagle
2087ef84bf Ubi SB: Implement rotating IDs for SMx 2018-12-31 02:57:58 +03:00
NicknineTheEagle
7ce512eee2 Fixed var types in align_size_to_bytes 2018-12-30 23:39:27 +03:00
NicknineTheEagle
52851e14a2 Ubi SB: Properly handle FMT_XMA1 header 2018-12-30 22:25:14 +03:00
NicknineTheEagle
4272fcb1ed
Merge branch 'master' into ubi-sb 2018-12-30 21:00:55 +03:00
NicknineTheEagle
c90aa7fd94 Ubi SB: Added LMx file extensions 2018-12-30 19:32:13 +03:00
NicknineTheEagle
4a9bf6c68d Ubi SB: Better naming for SMx subsongs 2018-12-30 19:04:19 +03:00
NicknineTheEagle
9cfbd1ff6c Ubi SB: Added TMNT (PSP), Surf's Up (PSP) 2018-12-30 17:38:03 +03:00
NicknineTheEagle
9d090e91c8 Project files fixes 2018-12-30 14:04:06 +03:00
Christopher Snowhill
515ba9a5eb
Merge pull request #339 from NicknineTheEagle/ea-map-mpf
Ea map mpf
2018-12-28 20:01:12 -08:00
bnnm
fa2f95739a Fix AWC MPEG not seeking back correctly 2018-12-28 11:04:18 +01:00
NicknineTheEagle
4d73443bae Removed unused local variable 2018-12-28 02:39:19 +03:00
NicknineTheEagle
9b29ba9599 EA SCHl: fixed stream size calc not working with merged sound files 2018-12-28 02:02:36 +03:00
NicknineTheEagle
7418e32482 EA SCHl: Restored sound merging hack
Too many sets rely on it, not worth it
2018-12-27 23:16:59 +03:00
NicknineTheEagle
6231905a79 EA SCHl: Added EOF check 2018-12-27 22:18:26 +03:00
NicknineTheEagle
6553786f8a EA SCHl: Fixed get_ea_stream_size 2018-12-27 21:58:41 +03:00
NicknineTheEagle
4024016d10 EA SCHl: Big endian fix 2018-12-27 21:52:37 +03:00
NicknineTheEagle
430ea27f85 EAAC: Added MPF/MUS format 2018-12-27 21:26:04 +03:00
NicknineTheEagle
54cf2e04fc EA SCHl: Calculate stream size for bitrate 2018-12-27 21:20:28 +03:00
NicknineTheEagle
268a6a4319 EA SCHl: Removed sound file merging hack 2018-12-27 20:41:02 +03:00
NicknineTheEagle
53b3991ae8 EA SCHl: Added MAP/MUS format 2018-12-27 20:27:03 +03:00
NicknineTheEagle
808188dbcd EA SCHl: Added MPF/MUS format 2018-12-27 20:01:36 +03:00
NicknineTheEagle
39b5480ca6 EA SCHl: Removed IDX/BIG parser 2018-12-27 19:51:01 +03:00
bnnm
1bd12e54c2 Add .csa extension [LEGO Racers 2 (PS2)] 2018-12-27 17:19:12 +01:00
bnnm
9ff2ce5944 Add name_offset/name_size option for TXTH 2018-12-27 16:51:27 +01:00
bnnm
e53740f27f Add PCFX for GENH/TXTH [Der Langrisser FX (PC-FX)] 2018-12-27 16:14:59 +01:00
bnnm
0bc8e084cf Clean debug crap 2018-12-27 16:14:11 +01:00
bnnm
5c45178892 Fix some SCHl multi-language videos [MOH Warfighter, NFS The Run] 2018-12-27 16:08:48 +01:00
NicknineTheEagle
9e068be24f Ubi SB: Added Donald Duck: Goin' Quackers (GC), Splinter Cell (PC), incomplete 2018-12-26 17:09:35 +03:00
NicknineTheEagle
b980528de6 Ubi SB: Fixed Brothers in Arms: D-Day (PSP) offsets 2018-12-24 15:48:15 +03:00
NicknineTheEagle
54f752851c Ubi SB: Added Splinter Cell Classic Trilogy HD (PS3) 2018-12-24 14:29:55 +03:00
Christopher Snowhill
462a033bc1
Merge pull request #336 from slashiee/subkeys_dgl
Add latest Dragalia Lost subkeys from file downloads
2018-12-23 14:15:39 -08:00
Christopher Snowhill
f4551cda37
Merge pull request #335 from bnnm/vs-mul-hca
vs mul hca
2018-12-23 14:14:52 -08:00
Christopher Snowhill
ab3b69fa64
Merge pull request #334 from NicknineTheEagle/ubi-sb
Ubi SB: SMx format support
2018-12-23 14:13:17 -08:00
NicknineTheEagle
960a13a6f2 Ubi SB: More SMx fixes 2018-12-23 18:55:20 +03:00
bnnm
aa970bbdef Adjust RedSpark case 2018-12-23 13:39:50 +01:00
bnnm
9245dc8a15 Add iNiS .IMC [Gitaroo Man (PS2)] 2018-12-23 13:38:18 +01:00
bnnm
28ce248992 Increase blank skips for rarer Dragalia Lost songs 2018-12-23 13:35:43 +01:00
Michael
6b8bcb14ad Add Dragalia Lost subkeys up to Dragonyule event 2018-12-23 03:14:01 -08:00
NicknineTheEagle
ab18f074bd Ubi SB: Added Splinter Cell: Double Agent (GC) 2018-12-23 12:49:54 +03:00
NicknineTheEagle
a9624f6f71 Ubi SB: Restored XMA header offset parameter 2018-12-23 11:03:50 +03:00
NicknineTheEagle
518e47ca5f Ubi SB: SMx fixes 2018-12-23 07:20:36 +03:00
NicknineTheEagle
3c8f17a977 Ubi SB: Added Splinter Cell: Essentials (PSP) 2018-12-23 04:15:50 +03:00
bnnm
aeaf2c0b8c Increase blank skips for rare Dragalia Lost songs 2018-12-23 01:54:50 +01:00
NicknineTheEagle
5626244108 Ubi SB: Full SMx format support 2018-12-23 00:47:24 +03:00
bnnm
7936f76b00 Merge branch 'master' of https://github.com/kode54/vgmstream into
vs-mul-hca

# Conflicts:
#	src/formats.c
2018-12-22 20:31:27 +01:00
bnnm
2e3add8354 Add doc 2018-12-22 20:13:41 +01:00
bnnm
212cdf7a32 Rename *vs_ffx.c to *vs_square.c and *ps2_strlr.c to *vs_str.c 2018-12-22 20:12:13 +01:00
bnnm
c74da3884d Clean .vs naming 2018-12-22 20:09:01 +01:00
bnnm
a1d559d529 Rename *emff.c to *mul.c 2018-12-22 19:52:01 +01:00
bnnm
47ab52f4f2 Fix various PS2/GC/Wii/PC/Xbox/PSP .mul/emff [TR Legend, TR Underworld] 2018-12-22 19:47:17 +01:00
bnnm
87972f55eb Improve HCA key detection for small/silent HCA [Dragalia Lost (iOS)] 2018-12-22 19:44:30 +01:00
bnnm
1d97f9ad78 Clean Melbourne House .vs 2018-12-21 23:53:02 +01:00
bnnm
bff7c58c8c Fix some ZSND [Marvel Ultimate Alliance 2 (PS2)] 2018-12-21 23:51:15 +01:00
bnnm
28f4896818 Fix stereo .vs [All Star Pro-Wrestling 2/3 (PS2)] 2018-12-21 22:38:48 +01:00
bnnm
3ead9f7f4a Fix MTA2 with empty frames 2018-12-21 22:37:56 +01:00
NicknineTheEagle
6f0db94553 Ubi SB: Added Splinter Cell: Chaos Theory (Xbox) 2018-12-21 19:00:59 +03:00
NicknineTheEagle
47e45d42da Ubi SB: Added support for some games using MAPS.SMx 2018-12-21 17:17:10 +03:00
RIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDGE RACERRRRRRRRRRRRRRRRRRRRRRRRRRRRR
1b314e4d57
add "eda" extension
from PS2 version of Project Eden
2018-12-19 11:34:37 -03:00
NicknineTheEagle
8ab6fc14cc Fixes 2018-12-17 14:01:00 +03:00
NicknineTheEagle
29238877cd Ubi SB: Added TMNT (X360/PC) 2018-12-17 13:20:53 +03:00
NicknineTheEagle
601eb6338c Ubi SB: Added Surf's Up (PS3/X360) + better platform handling 2018-12-17 10:05:45 +03:00
NicknineTheEagle
8b0b7bc0a6 Fixed duplicate file listing in libvgmstream project 2018-12-17 05:44:56 +03:00
Michael
83f6ab4722 Add Dragalia Lost 1.3.0 subkeys
Taken from iOS IPA, thanks @blueskythlikesclouds for the help with finding these!
2018-12-16 14:47:27 -08:00
bnnm
770343b255 Add .nus3audio [Super Smash Bros. Ultimate (Switch)] 2018-12-15 12:37:01 +01:00
bnnm
34d4500e54 Add .sps EAMP3 [Need for Speed (PS4)] 2018-12-15 11:17:47 +01:00
bnnm
12edc39bff Add looping Ogg Opus [Monster Boy and the Cursed Kingdom (Switch)] 2018-12-09 02:00:47 +01:00
bnnm
13a7a5382d Add .opusx/adpcmx [Touhou Genso Wanderer -Reloaded- (Switch)] 2018-12-09 01:23:40 +01:00
bnnm
b43bb3aefe Rename psx_cdxa.c to xa.c, psx_fag.c to fag.c for clarity 2018-12-08 02:52:55 +01:00
bnnm
30481a5dcc Clean XA names 2018-12-08 02:50:54 +01:00
bnnm
d31e11b6f9 Fix .fag num_samples/subsongs [Jackie Chan Stuntmaster (PS1)] 2018-12-08 02:45:19 +01:00
bnnm
9291e33312 Fix minor compiler warnings 2018-12-08 00:33:07 +01:00
bnnm
60945577c0 Add Vicarious Visions .zss/zsm/ens/enm [X-Men Legends II (multi)] 2018-12-08 00:10:44 +01:00
bnnm
4c36a5eb09 Fix audacious builds 2018-12-04 00:00:22 +01:00
bnnm
eaa176864c Simplify debug off_t casting for easier build
Also reorder some custom opus funcs that don't depend on ffmpeg
2018-12-01 18:52:30 +01:00
bnnm
a960a12e58 Fix some compiler warning/errors with libs disabled 2018-12-01 18:34:23 +01:00
bnnm
7a5cf59951 Remove custom Opus skip_samples for newer FFmpeg + libopus 2018-12-01 18:33:43 +01:00
bnnm
42bc5de623 Add From Software .xps/.xps+dat [Metal Wolf Chaos (Xbox), Otogi (Xbox)] 2018-12-01 14:01:52 +01:00
bnnm
c87aff04f9 Add opus+sli looping [Sabbat of the Witch (PC)] 2018-12-01 02:47:57 +01:00
bnnm
13e0b1b348 Fix some TXTH operator/body_file issues 2018-12-01 02:41:56 +01:00
bnnm
0706aeffbf Fix some GENH with small header_size and allow N channel DSPs
- "DSP coef right offset" becomes "DSP coef spacing" when channels is
more than 2
2018-12-01 02:40:28 +01:00
bnnm
b75b180557 Add minor opus bad data check 2018-12-01 02:39:25 +01:00
bnnm
befa17dc2e Add TXTH operations (value_*/+-) and field values, ignore -1 loop flag 2018-11-24 15:25:11 +01:00
bnnm
976e1f3efe Add TXTH dual file/bigfile/subsong/multiplier handling
- Can loading a separate header_file or body_file for dual files
- Can load from .txth directly while setting header_file/body_file for
bigfiles
- Can set value_multiplier for use with sector and similar values that
must be multiplied
- Can set subsong_count and subsong_offset for subsong headers suboffset
2018-11-24 01:45:04 +01:00
bnnm
e8ca19ba2c Add fix_dir_separators util 2018-11-24 00:44:17 +01:00
bnnm
cb8cf92cb0 Add PONA .sxd extension [Policenauts Pilot Disc (3DO)] 2018-11-18 17:24:07 +01:00
bnnm
467ca19450 Fix XMA gapless/looping/samples
fixes: standard, wem, xwc, xwb, xnb, xwx, rak, pk, txth, genh, seg, rsd, past, p3d, nub-xma, gtd, gsp, fsb, eaac, cxs, awc, aac
2018-11-18 17:01:31 +01:00
bnnm
ef64889a28 Add XMA utils to fix encoder delay stuff 2018-11-18 17:00:48 +01:00
bnnm
2d48913b75 Add !tags.m3u $AUTOTRACK command for auto %TRACK% tag 2018-11-17 17:54:42 +01:00
bnnm
56ced57ece Add TamaSoft .msf [Abandoner: The Severed Dreams (PC)] 2018-11-17 17:52:07 +01:00
bnnm
13adff02eb Doc Wwise stuff 2018-11-17 15:52:02 +01:00
bnnm
74faa28da8 Fix some AKB AAC issues, add doc (from lib) 2018-11-17 15:50:20 +01:00
bnnm
ac100dca86 Fix bad loops in pce2p_bgm_ajurika_*.fsb [Pac-Man CE2 Plus (Switch)] 2018-11-17 14:36:09 +01:00
bnnm
3471caebd7 Add HCA/ADX keys 2018-11-17 14:35:24 +01:00
bnnm
c76fe5a4b3 Fix SGXD loop end being off by 1 sample 2018-11-11 23:58:58 +01:00
bnnm
5d98795abf Improve external .sxd handling 2018-11-11 23:58:38 +01:00
bnnm
5b0e410f39 Fix HEVAG Sony .bnk [Yuusha Shisu (Vita)] 2018-11-10 00:44:06 +01:00
bnnm
ab90e08484 Add ADPCM .xpcm [Eternal Fantasy (PC)] 2018-11-10 00:09:03 +01:00
bnnm
9b7161a207 Add PCM16LE .xpcm [Eternal Fantasy (PC)] 2018-11-09 22:57:35 +01:00
bnnm
b56f9e9acd Add NWAV [Fuurai no Shiren Gaiden: Onnakenshi Asuka Kenzan! (PC)] 2018-11-09 21:23:31 +01:00
bnnm
c2ecafa3cf Play MP3 Surround .xvag as stereo [Twisted Metal (PS3)] 2018-11-09 21:03:44 +01:00
bnnm
7c89537295 Fix truncated XMA .wem [The Bureau - XCOM Declassified (X360)] 2018-11-09 21:03:16 +01:00
bnnm
b63fbcf04f Describe stream index always when file has subsongs 2018-11-04 00:37:33 +01:00
bnnm
2eba5abc26 Add plugin helper functions for tagfile handling 2018-11-03 19:26:50 +01:00
bnnm
0245832256 Update MSCV includes for fun 2018-11-03 18:09:13 +01:00
bnnm
8ae4ea3000 Round .vs/svs pitch values 2018-11-03 18:06:39 +01:00
bnnm
da0166f90d Add ADX key [Lucky Star - Ryouou Gakuen Outousai (PS2)] 2018-11-03 18:03:25 +01:00
bnnm
2e2eeb8723 Tweak .vs doc 2018-11-01 16:41:23 +01:00
bnnm
ec63b8ff38 Tweak .svs sample rate 2018-11-01 16:39:53 +01:00
bnnm
1380faf5bb Add PC/X360/Wii .seg and fixes [The Spiderwick Chronicles (multi)] 2018-11-01 16:34:53 +01:00
bnnm
7259bcc0f2 Remove unused value warning 2018-10-27 23:49:52 +02:00
bnnm
466f3af458 Subfile streamfile cleanup 2018-10-27 23:49:08 +02:00
bnnm
0e16a309e2 Add 2MSF and clean WMSF [Super Robot Taisen OG: The Moon Dwellers (PS4)] 2018-10-27 23:10:03 +02:00
bnnm
7cde6bdf8b Add .str SPSD extension [Shenmue (DC)] 2018-10-27 22:33:26 +02:00
bnnm
fb3091502c Fix some truncated .wem 2018-10-27 22:26:21 +02:00
bnnm
2d968064dc Fix some FFX .vs 2018-10-27 22:25:45 +02:00
bnnm
693842ea09 Fix short .mds coefs [T3: The Redemption (GC), MI: Operation Surma (GC)] 2018-10-27 22:25:15 +02:00
bnnm
d779f16c35 Minor hca doc 2018-10-20 22:28:54 +02:00
bnnm
33aa532c34 Add blocked VS [Final Fantasy X (PS2)] 2018-10-20 15:30:46 +02:00
bnnm
17d2a096b8 Add RIFF .adw extension [Dead Rising 2 (PC)] 2018-10-20 14:56:34 +02:00
bnnm
31084446b0 Add .lwma/lmpc/lmp3 as a way to force files into vgmstream 2018-10-20 14:54:49 +02:00
bnnm
929560b53c Adjust cavia ADS loops 2018-10-20 12:35:58 +02:00
bnnm
3123d1c273 Adjust XOPUS encoder delay 2018-10-20 12:35:50 +02:00
bnnm
60ee31b4ce Add RIFF .adpcm [Angry Birds Transformers (Android)] 2018-10-13 21:02:42 +02:00
bnnm
e49a688559 Add .xopus decoding [Angry Birds Transformers (Android)] 2018-10-13 21:01:58 +02:00
bnnm
cca676bb0f Add new HCA key derivation
Thanks to FZFalzar, Thealexbarney and hozuki for the key and algorithm
2018-10-13 19:53:25 +02:00
bnnm
ec0043bf6b Improve HCA key testing 2018-10-13 19:50:42 +02:00
Christopher Snowhill
1743cbdd35
Update ps2_va3.c
Clean up and reformat.
2018-10-09 15:51:25 -07:00
Christopher Snowhill
3d9ae0932c
Update vgmstream.h
Clean up formatting.
2018-10-09 15:49:04 -07:00
Christopher Snowhill
c99bc4cf4f
Update vgmstream.c
Clean up formatting.
2018-10-09 15:48:24 -07:00
Christopher Snowhill
f327e989a4
Update libvgmstream.vcxproj.filters
Clean up project filters file.
2018-10-09 15:47:23 -07:00
Christopher Snowhill
ec3ba70c48
Update libvgmstream.vcxproj
Clean up the project file.
2018-10-09 15:43:13 -07:00
Christopher Snowhill
85a1550fd8
Update formats.c
Fix formatting.
2018-10-09 15:42:17 -07:00
style_of_2001
50648c777f add the new file to the project BUT BEWARE I had to change toolset 2018-10-09 10:02:59 -05:00
style_of_2001
107f9a658e Add konami / sony VA3 support (fix crash in cli :P) 2018-10-09 09:53:10 -05:00
Christopher Snowhill
0e3b7c5539
Update formats.c
Add missing comma
2018-10-08 16:07:29 -07:00
RIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDGE RACERRRRRRRRRRRRRRRRRRRRRRRRRRRRR
34e6b0c7b6
one more extension added into formats.c 2018-10-08 16:29:02 -03:00
Christopher Snowhill
8d72756f45
Merge pull request #304 from bnnm/xwma-ffmpeg-lse-sps
xwma ffmpeg lse sps
2018-10-07 15:44:35 -07:00
bnnm
fc39012e17 Clean Nippon Ichi SPS/NLSD/PPP/DSP 2018-10-07 23:59:42 +02:00
bnnm
9e7cdfb9a1 Fix XWB buf/size differences 2018-10-07 23:28:01 +02:00
bnnm
80aad4f15a Add/fix XWMA start and num samples 2018-10-07 23:27:31 +02:00
RIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDGE RACERRRRRRRRRRRRRRRRRRRRRRRRRRRRR
0caea55067
update formats.c with two new extensions
these new extensions being "ADC" and "MVB"
2018-10-07 17:03:43 -03:00
bnnm
edd7226ee0 Fix EA XMA with actual looping [The Simpsons Game (X360)] 2018-10-07 21:18:46 +02:00
bnnm
4e45cbd571 Add FFmpeg encoder delay logs 2018-10-07 21:16:57 +02:00
bnnm
a63dd9eae0 Fix XWMA with buggy bit rates [Saints Row 2 (PC)] 2018-10-07 03:26:31 +02:00
bnnm
65aca53cb5 Fix some XWB + FFmpeg subsongs 2018-10-07 03:26:05 +02:00
bnnm
14ba35b70a Fix missing 1 sample in RIFF loops 2018-10-07 02:24:37 +02:00
bnnm
34676bbdc6 Prepare XMA adjusted loops 2018-10-07 02:23:05 +02:00
bnnm
9f6c1c4da2 Fix rare FFmpeg codecs decoding more samples after data EOF, cleanup 2018-10-06 22:39:34 +02:00
bnnm
f59faa0c07 Fix some .lse [Operation Abyss (PC), Operation Babel (PC)] 2018-10-04 20:43:23 +02:00
bnnm
a7e29c8be1 Fix some PDT [Mario Party 4 (GC)] 2018-10-04 19:48:13 +02:00
bnnm
1056092bf3 Fix Final Fantasy Tactics A2 IMA decoding 2018-10-04 19:43:37 +02:00
bnnm
af196a558c Add Sony .BNK v14 [Yakuza 6's Puyo Puyo (PS4)] 2018-09-28 19:17:05 +02:00
bnnm
2a5516fe7c Restore G719 max frame size as 2560 bits (0x140) is decoder max 2018-09-27 23:56:44 +02:00
bnnm
c0d484a715 Add .lse Ogg [Labyrinth of Refrain (PC)] 2018-09-27 23:41:26 +02:00
bnnm
5594f5068e Fix .wem Opus encoder delay/gapless [Mario Rabbids (Switch)] 2018-09-27 23:40:42 +02:00
bnnm
d2798c946a Simplify switch_opus_get_samples usage 2018-09-27 23:39:37 +02:00
bnnm
d7c5c3feaf Improve UE4Opus/EAOpus encoder delay calculations 2018-09-27 23:31:03 +02:00
bnnm
3269649eec Add EAOpus [FIFA 17 (PC), FIFA 19 (Switch)] 2018-09-27 23:10:01 +02:00
Christopher Snowhill
5b99d40cf3
Merge pull request #300 from bnnm/ue4opus-bnsf-csmp
ue4opus bnsf csmp
2018-09-25 15:15:23 -07:00
bnnm
c5b514b577 Improve UE4OPUS encoder delay and fix get_opus_samples_per_frame 2018-09-23 12:17:23 +02:00
bnnm
d717f21189 Add UE4OPUS decoder [Fortnite (PC), ARK: Survival Evolved (PC)] 2018-09-23 04:26:11 +02:00
bnnm
5f3ab0a5fc Rename *_utils_switch_opus.c to *_custom_opus.c for future changes 2018-09-23 04:22:16 +02:00
bnnm
70ba297606 Tweak comment 2018-09-23 03:09:46 +02:00
bnnm
7d91ef1432 Cast off_t to off64_t when printf'ing for future 4GB file support 2018-09-23 03:01:13 +02:00
Christopher Snowhill
f9c334cf91 Fix goto statement for compilation without libvorbis. 2018-09-22 17:35:48 -07:00
bnnm
f29012edb7 Add Capcom .adpcm [Resident Evil: Revelations (Switch)] 2018-09-22 17:45:02 +02:00
bnnm
0e4ee632b9 Remove standard G.722.1 (Siren7), since no game uses it
Siren14 wasn't affected by this
2018-09-22 16:32:21 +02:00
bnnm
1e9dbb851b Fix some FSB5 subsong offsets 2018-09-22 16:13:18 +02:00
bnnm
bcc1661491 Add fake RIFF IMA [MX vs. ATV Unleashed (PC)] 2018-09-22 16:12:36 +02:00
bnnm
eb4e871a05 Fix CSMP [DKC Tropical Freeze (Switch)] 2018-09-22 16:12:06 +02:00
bnnm
00370a813d Improve BNSF looping 2018-09-22 16:11:39 +02:00
bnnm
e411916a5e Add ADX key [Tensei Hakkenshi - Fuumaroku (PS2)] 2018-09-22 16:11:16 +02:00
Christopher Snowhill
25f82da164
Merge pull request #299 from NicknineTheEagle/cue-loop
RIFF: Looping info from CUE chunk
2018-09-21 17:38:02 -07:00
NicknineTheEagle
b4a71cd5aa RIFF: implemented looping info from CUE chunk 2018-09-21 14:31:56 +03:00
bxaimc
c7487d010e Add .POS looping for .Ogg (SNK Heroines, Sonic Mania) 2018-09-20 15:16:07 -04:00
bnnm
5a9fec3580 Add ADX key [Bakumatsu Renka - Karyuu Kenshiden (PS2)] 2018-09-12 20:01:19 +02:00
bnnm
c045d41670 Fix EA-MT looping for all cases [SSX3 (PS2)] 2018-09-10 13:18:53 +02:00
bnnm
37d7fe83c4 Move NXA Opus to its own file, since it's not very standard 2018-09-10 02:24:59 +02:00
bnnm
804fceb5e7 Remove custom FFmpeg, as custom IO streamfile can be used instead 2018-09-10 02:19:34 +02:00
bnnm
5ed95d07d4 Fix Opus interleave streamfile logical size and cleanup 2018-09-10 01:24:32 +02:00
bnnm
74536e0933 Swap custom FFmpeg OPUS for custom streamfile IO 2018-09-10 01:23:34 +02:00
bnnm
496d2ba534 Clean AIX meta a bit 2018-09-09 20:17:41 +02:00
bnnm
a273d9d9a2 Fix bitrate for layered/segemented layouts 2018-09-09 19:22:32 +02:00
bnnm
fd7d6f513d Simplify get_vgmstream_average_bitrate a bit
removed get_vgmstream_average_bitrate_channel_streamfile since it
doesn't really matter if codec_data streamfiles are retested multiple
times (just like vgmstream streamfiles are)
2018-09-09 16:28:39 +02:00
bnnm
6bee2a6209 Add .utk [The Sims Online (PC), SimCity 4 (PC)] 2018-09-09 15:29:34 +02:00
bnnm
5662dca358 Fix missing layout (was autoselected) 2018-09-09 15:29:23 +02:00
bnnm
06ea6af303 Minor doc 2018-09-09 15:13:58 +02:00
bnnm
e3c5430597 Fix some EA SCHl .bnk 2018-09-09 15:04:23 +02:00
bnnm
210d365df1 Add .sod Ogg extension [Zone 4 (PC)] 2018-09-09 12:24:28 +02:00
bnnm
2b7cd654b2 Allow arbitrary frame sizes for G719 and cleanup 2018-09-09 12:24:08 +02:00
bnnm
a3f2231ba1 Update EA-MT API a bit 2018-09-09 00:51:35 +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
800ebfc007 Minor doc 2018-09-06 18:10:47 +02:00
bnnm
5e2283f51a Fix some .MSA [Konohana Pack: 3tsu no Jikenbo (PS2)] 2018-09-06 18:09:56 +02:00
bnnm
f519b1ad70 Add DERF DPCM decoder [Stupid Invaders (PC)] 2018-09-06 17:45:34 +02:00
bnnm
00bec4bd70 Extra check when disabling looping 2018-09-06 16:44:42 +02:00
bnnm
131340882b Add TXTP command #sN for subsong N (#N still works) 2018-09-04 23:53:25 +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
fcc5f59ffe Add buffer size validations in custom Vorbis 2018-09-04 18:00:59 +02:00
bnnm
4652460aff Add extra validation in vgmstream_open_stream 2018-09-04 17:51:34 +02:00
bnnm
7ad7d3d47b Derive ADX keys automatically if only keystring/keycode is provided 2018-09-04 17:44:06 +02:00
bnnm
9d7d536da7 Add interleaved 2ch XBOX-IMA to TXTH/GENH 2018-09-04 17:11:08 +02:00
bnnm
fa472d4f70 Fix interleaved 2ch XBOX-IMA [Fairly OddParents: Breakin' da Rules] 2018-09-04 17:10:41 +02:00
bnnm
3a64f8b0d2 Fix some BNSF [Taiko No Tatsujin: Drum Session! (PS4)] 2018-09-04 17:08:01 +02:00
bnnm
064990f6ff Add extra validation 2018-09-04 17:07:38 +02:00
bnnm
ee7767815b Add ADX key [Kashimashi! Girl Meets Girl (PS2)] 2018-09-04 17:07:24 +02:00
Christopher Snowhill
7b30d8bc9a
Merge pull request #292 from bnnm/hca-bcstm-metas-docs
hca, bcstm, metas, docs
2018-09-02 15:12:49 -07:00
bnnm
d6a682fe8c Add ADX key [Girls Bravo: Romance 15's (PS2)] 2018-09-02 21:37:19 +02:00
bnnm
bf0d46a476 Rename decode_SASSC to lowercase for consistency 2018-09-02 21:11:15 +02:00
bnnm
c707a29639 Rename SASSC_decoder to lowercase for consistency 2018-09-02 21:09:15 +02:00
bnnm
aa4ea4bc3b Document ADX CINF header 2018-09-02 21:06:38 +02:00
bnnm
3113342a71 Minor tweaks 2018-09-02 21:06:15 +02:00
bnnm
bd374a01a7 Improve ATRAC9 loop performance and cleanup 2018-09-02 21:02:11 +02:00
bnnm
91c3fd6afc Fix some Sony .bnk 2018-09-02 16:40:11 +02:00
bnnm
9c0db7cae3 Improve HCA/clHCA key detection
- Only test keys when file is encrypted
- Add clHCA_TestBlock to test a frame with the current key
- Move some key detection code to hca_decoder.c and simplify hca.c
detection
- Decrease number of test frames due to increased accuracy of
clHCA_TestBlock
2018-09-02 16:00:58 +02:00
bnnm
fd52fe0e95 Clean clHCA lib 3 (API)
- rename clHCA_DecodeSamples16 to clHCA_ReadSamples16 since it isn't
really decoding
- divide clHCA_Decode into clHCA_DecodeHeader and clHCA_DecodeBlock to
clarify usage
- unify clHCA_IsOurFile0/1 since one would need to call
clHCA_DecodeHeader right after it anyway
- add clHCA_SetKey for easier key handling
- adapt vgmstream wrapper
2018-09-01 20:28:00 +02:00
Nathan Benichou
9d94fdb033
Update rfrm.c
Support for LABL part in RFRM CSMP files
2018-09-01 15:21:46 +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
9a2a2e4c2e Export extra sample values in clHCA_getInfo 2018-08-29 20:48:35 +02:00
bnnm
411fa498bb Clean HCA meta/decoder for future changes 2018-08-29 20:05:31 +02:00
bnnm
5afd33d62a Split idsp.c into idsp_ie.c and nub_idsp.c 2018-08-28 20:40:02 +02:00
bnnm
f7c26a493d Clean IDSPs 2018-08-28 20:35:07 +02:00
bnnm
c6a9396b67 Fix IDSP segfault 2018-08-28 20:34:55 +02:00
bnnm
9720384fbe Fix bcstm 3DS-IMA last interleave and cleanup 2018-08-28 19:43:12 +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
f71e98a5ba Fix missing MSVC dependencies 2018-08-26 22:56:31 +02:00
bnnm
bee3adc95b Document SQEX SCD looping issues in MPEG 2018-08-26 22:37:04 +02:00
bnnm
0231d635ed Fix Next Level IDSP last interleave/jingles [Mario Strikers Charged] 2018-08-26 22:36:36 +02:00
bnnm
751d5c5f0f Clean DSP meta once again 2018-08-26 20:05:38 +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
ce6722181a Move csmp to its own file, since it's not very standard either 2018-08-26 18:55:57 +02:00
bnnm
f2a5b5954f Move wsi to its own file, since it's not very standard 2018-08-26 17:40:40 +02:00
bnnm
d94485e89e Minor decode_vgmstream cleanup 2018-08-26 17:07:33 +02:00
bnnm
4ee39206c3 Fix Lunar 2 SCD loops/sample rate/stereo and PCM8 cleanup 2018-08-26 16:36:08 +02:00
bnnm
5aad45ab87 Clean AST meta 2018-08-26 13:48:14 +02:00
bnnm
bc62a689c0 Don't call block_update_x manually when using vgmstream_open_stream 2018-08-26 13:47:48 +02:00
bnnm
c2a0311584 Random tweaks 2018-08-26 13:47:02 +02:00
bnnm
92f35029bb Make generic block_update and auto-call in vgmstream_open_stream 2018-08-26 13:46:07 +02:00
bnnm
b02eeeff04 Fix some .SFL looping and SLI cleanup [Hanachirasu (PC)] 2018-08-26 02:26:38 +02:00
bnnm
88f50985de Optimize segmented layout decode samples 2018-08-26 01:05:07 +02:00
bnnm
ee03726bbc Find loop_segment automatically in segmented_layout + remove from metas 2018-08-26 00:59:31 +02:00
bnnm
c9dc0917ff Fix interleave layout hanging when no interleave size set 2018-08-25 21:15:10 +02:00
bnnm
3130eebf0c Minor layout cleanup + doc 2018-08-25 20:46:54 +02:00
bnnm
3765831dbe Remove usage of atrac9_parse_config 2018-08-25 18:03:58 +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
f86c90c5f9 Use KMA9 custom IO instead of custom ATRAC9 2018-08-25 17:26:49 +02:00
bnnm
9c8dae38dc Fix multilayer XVAG ATRAC9 [flower (Vita), Farpoint (PS4)] 2018-08-25 17:25:02 +02:00
bnnm
1ba2637256 Clean XVAG meta for future changes 2018-08-25 16:23:15 +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
e3255344cf Redo EA-XMA with custom IO for fixes [Skate (X360), NFS: MW (X360)] 2018-08-25 12:48:55 +02:00
bnnm
d8758f0cb5 Fix describe_vgmstream with layered_layout + FFmpeg 2018-08-25 12:22:40 +02:00
bnnm
8cf27cc15e Add .xna XWB [Touhou Makukasai ~ Fantastic Danmaku Festival (PC)] 2018-08-25 12:21:21 +02:00
bnnm
8a57cf4729 Add .dax RIFF [Love Game's - Wai Wai Tennis (PS1)] 2018-08-25 12:20:55 +02:00
bnnm
07ad3250f6 Clean EAAC streamfile and prepare for EA-XMA 2018-08-25 09:57:46 +02:00
bnnm
6654e44517 Improve/fix AWC XMA streamfile for certain cases
It was assuming reads were sequential, though they can skip to offset
(in practice rarely affected), and adjusted packet skip to improve a few
songs.
2018-08-25 09:57:20 +02:00
bnnm
b17719f69c Rename render_vgmstream_nolayout to _flat for clarity/consistency
But not layout_none to layout_flat, since it's used everywhere
2018-08-24 19:37:02 +02:00
bnnm
f576d9568c Rename nolayout.c to flat.c for consistency/clarity 2018-08-24 19:29:39 +02:00
bnnm
b4884522d8 Optimize STDIO/FOO streamfiles slightly
Tries to simplify code, and buffer is not emptied unless we really read
more data (useful for edge reads). get_offset is now reliable (though
never used).
2018-08-24 18:48:42 +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
9ad2f578e6 Fix PSH/VSV loops and glitches [Romancing SaGa (PS2)] 2018-08-23 17:13:46 +02:00
bnnm
d7c2249358 Simplify XVAG looping code 2018-08-23 17:00:52 +02:00
bnnm
41281aa4e9 Tweak .snds priority again 2018-08-22 21:16:25 +02:00
bnnm
6b4f54df92 Add TXTH "loop_flag = auto" to autodetect PS-ADPCM loop points 2018-08-22 21:04:16 +02:00
bnnm
06c8ab1b3f Remove bik2a/bk2a fake extensions since they aren't used 2018-08-22 20:43:19 +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
785741e7e1 Rename ps2_mib.c to ps_headerless,c 2018-08-22 20:29:29 +02:00
bnnm
69c791656e Move MIB+MIH to its own meta and fix rare files [Gladius (PS2)] 2018-08-22 20:10: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
27038c9ec8 Add .wavebatch PCM8 [Cars 2 (3DS)] 2018-08-21 22:39:47 +02:00
bnnm
58b8b0c8df Fix various .vag issues [Shikigami no Shiro (PS2), Red Star (PS2)]
Also cleanup and loop end was also off by 28 samples in several cases
2018-08-21 22:16:56 +02:00
bnnm
fe3538520b Add ps_find_loop_offsets util to find loop point in PS-ADPCM data 2018-08-21 22:14:55 +02:00
bnnm
cae82e9074 Clean builds and enable VGM_USE_VORBIS/MPEG manually for consistency 2018-08-20 20:08:24 +02:00
bnnm
2f0aaaf4fd Fix some compile ifdefs and warnings 2018-08-20 20:05:44 +02:00
bnnm
bb07299dae Make libvorbis/libmpg123 optional in autotools 2018-08-20 19:21:51 +02:00
Christopher Snowhill
1294f515f2
Merge pull request #276 from Thealexbarney/msvc-fread-fix
Workaround MSVC fseek/fread bug
2018-08-19 16:15:54 -07:00
bnnm
f6417c5430 Use standard buffer size for all metas
There is not no real about having small-ish buffers, simplifies buffer
tuning, and avoids having gigantic buffers on bad reads.
2018-08-19 22:51:14 +02:00
bnnm
a5656eaa2f Optimize buffer_streamfile EOF reads and fix get_offset behaviour 2018-08-19 22:31:12 +02:00
bnnm
2e6f6c8176 Remove unnecessary FFmpeg ifdef 2018-08-19 19:09:37 +02:00
bnnm
485e5b9cf7 Fix blocks hanging with broken files/incorrect offsets
Also removes unnecessary halpst case
2018-08-19 19:02:22 +02:00
bnnm
ca04dbca70 Add old .scd SSCF [Crisis Core FFVII (PSP), Dissidia 012 (PSP)] 2018-08-19 16:42:39 +02:00
bnnm
b083042704 Cleanup 2018-08-19 10:07:27 +02:00
bnnm
3b5be9d28a Fix disabling looping with layered layouts 2018-08-19 00:43:06 +02:00
bnnm
c204127332 Fix .rws subsong segments [Madagascar (PS2)] 2018-08-19 00:40:01 +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
93b66b2aa6 Clean .rws code 2018-08-17 22:47:33 +02:00
bnnm
b71d568acb Improve .sts+int/.x [Shadow of the Colossus (PS2), Ape Escape 3 (PS2)] 2018-08-16 20:06:57 +02:00
bnnm
7734e4d87f Improve BFSTM region handling 2018-08-16 20:06:38 +02:00
bnnm
2e90f4de57 Reject EXST in .int meta and cleanup 2018-08-16 20:06:14 +02:00
bnnm
611e556809 Reject files with incorrect num_streams 2018-08-16 20:05:53 +02:00
bnnm
8d7fb21c8f Check max filesize to avoid buggy reads
It was affecting some truncated Switch Opus that were reporting too many
samples
2018-08-15 22:47:22 +02:00
bnnm
6eaf516b23 Tweak FSB ifdefs 2018-08-15 21:19:25 +02:00
bnnm
a3534d7d11 Fix TXTH divide-by-zero with half_size and ch=0 2018-08-15 21:19:12 +02:00
bnnm
9c8323122c Improve read/seek performance for blocked layouts 2018-08-15 20:21:55 +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
1f6c384a48 Fix EA EAAC looping for RAM assets 2018-08-15 17:37:06 +02:00
bnnm
f4189f2482 Minor debug stuff 2018-08-15 17:36:20 +02:00
bnnm
e3b93755cc Add HCA key 2018-08-15 17:34:36 +02:00
bnnm
79cad960ae Add Sony .bnk [Puyo Puyo Tetris (PS4), NekoBuro: Cats Block (Vita)] 2018-08-15 17:34:17 +02:00
bnnm
cab8605959 Add atrac9_parse_config util 2018-08-15 16:42:34 +02:00
bnnm
f9f93e74e7 Fix segfault while reading some .xsb for .xwb 2018-08-15 00:49:17 +02:00
bnnm
9333a22c16 Remove some minor deprecated warnings
Tested with all major codecs we use for FFmpeg, all decode the same
2018-08-15 00:18:05 +02:00
bnnm
2c917c0792 Remove some minor unused warnings 2018-08-15 00:16:54 +02:00
bnnm
65a69982b6 Clean G719/G7221 a bit and remove innecessary use of stack_alloc 2018-08-14 22:20:36 +02:00
bnnm
985a3aead6 Clean .bfstm and add region debug code 2018-08-14 20:25:17 +02:00
bnnm
12167c7318 Fix EA SCHl ATRAC3 skip samples and remove .AST (playable with .ABK+AST) 2018-08-14 16:35:50 +02:00
bnnm
d22ee3051a Clean FFmpeg skip samples parsing 2018-08-14 16:35:17 +02:00
bnnm
cb1901eabe Merge branch 'master' of https://github.com/kode54/vgmstream into etc 2018-08-14 00:28:35 +02:00
bnnm
b36646aacf Add .hd3+bd3 [Elevator Action Deluxe (PS3), R-Type Dimensions (PS3)] 2018-08-14 00:28:15 +02:00
Christopher Snowhill
7840d9df1f
Merge pull request #279 from NicknineTheEagle/ea-fixes
EA formats
2018-08-13 14:43:56 -07:00
bnnm
36c6168c27 Add Firebrand Games .wavebatch [NFS: The Run (3DS), F&F: Showdown (3DS)] 2018-08-13 23:03:39 +02:00
bnnm
c26ad84497 Add TXTH sample_mode "blocks" (where bytes = blocks*interleave*channels) 2018-08-13 23:02:31 +02:00
bnnm
fa848c2ccd Fix FSB with CELT disabled 2018-08-12 23:12:09 +02:00
bnnm
c1e7e3b1f9 Enable CELT for MSVC project files 2018-08-12 23:00:28 +02:00
bnnm
2e4b8d6c31 Add multistream ATRAC9 FSB5 [Little Big Planet (Vita)] 2018-08-12 22:56:41 +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
c7f9a47fcd Fix rare EALayer3 with proper loops [Need for Speed: World (PC)] 2018-08-12 14:03:04 +02:00
bnnm
7f424bb7e9 Disable dump_streamfile when debug isn't used, just in case 2018-08-12 13:58:48 +02:00
bnnm
0e924b6467 Fix possible FSB memleak 2018-08-12 13:57:53 +02:00
bnnm
9c6376fb25 Fix rare EA 1SNh crashes 2018-08-12 10:59:19 +02:00
bnnm
e301bf7aa8 Rename ps2_vpk.c to vpk.c (used in PS3) 2018-08-12 02:20: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
766eac4b9e Rename ps2_vag.c to vag.c (used by other Sony consoles) 2018-08-12 01:27:22 +02:00
bnnm
14cd8bf191 Fix some .xwb [Project Gotham Racing 3 (X360)] 2018-08-12 01:23:58 +02:00
bnnm
3456383990 Fix some .wem [Saints Row the 3rd (PC)] 2018-08-12 01:04:44 +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
18173d6870 Clean FSB4 for future changes 2018-08-11 18:06:03 +02:00
bnnm
b27e559e42 Clean FSB5 for future changes, also fix >2.5GB last subsongs 2018-08-11 18:01:37 +02:00
bnnm
36db25e876 Fix layered layout with layers of varying channels 2018-08-11 17:58:59 +02:00
bnnm
b438b5fa01 Add debug util for easier custom IO testing 2018-08-11 17:58:16 +02:00
bnnm
962b323e71 Cleanup and extra BAO debug 2018-08-11 17:57:22 +02:00
bnnm
1f6b0b2caa Clean unused variable 2018-08-11 17:56:00 +02:00
bnnm
b21d078aa6 Add ADS .800 extension [Gundam: The One Year War (PS2)] 2018-08-11 17:55:30 +02:00
bnnm
c4206e705b Fix some .bgw negative samples [Final Fantasy XI (PC)] 2018-08-11 17:54:42 +02:00
bnnm
9e0c4ebd3d Fix rare ATRAC9 memleak 2018-08-11 17:54:08 +02:00
AnonBaiter
4469f0b861
revert my VPK "fix"
turns out that VPK files that contain more than a mere 2 channels really have a divided interleave number by 2
this was necessary so said VPK files wouldn't play improperly anymore
2018-08-10 15:09:37 -03:00
AnonBaiter
5e00ff9214
Update ps2_ads.c 2018-08-08 15:52:43 -03:00
NicknineTheEagle
6727c0de7b Fixed offset in BNK parser 2018-08-08 21:20:08 +03:00
NicknineTheEagle
8d4ead42cf EA SCHl: added default 3DS sample rate (32000 Hz) 2018-08-08 20:18:35 +03:00
NicknineTheEagle
ca9cfc6917 Removed the supposed version check from ABK parsers
The only reason I put it there is to distinguish old ABK from new ABK but then it turned out that they can have matching values in that field so... yeah, let's just do it another way
2018-08-08 19:23:51 +03:00
NicknineTheEagle
e4c34b7c0b Added another ABK version stamp [FIFA 12 (3DS)] 2018-08-08 19:16:04 +03:00
NicknineTheEagle
4d0926933b Fixed incorrect variable being used 2018-08-08 17:14:24 +03:00
NicknineTheEagle
c88dee0ebb Improved EA ABK support 2018-08-08 17:07:01 +03:00
NicknineTheEagle
15cc60e604 Some organization and better endianness checks in EA parsers 2018-08-08 17:06:39 +03:00
Christopher Snowhill
ae5e218518
Merge pull request #275 from NicknineTheEagle/ubi-bao
Ubisoft BAO
2018-08-07 14:37:00 -07:00
NicknineTheEagle
20c729ae72 Formatting tweaks 2018-08-07 21:27:52 +03:00
NicknineTheEagle
0113a56870 Minor tweaks 2018-08-07 15:57:26 +03:00
Christopher Snowhill
03dd4383c0 Added a workaround to RIFF for Halo 2 PC. 2018-08-06 20:05:11 -07:00
NicknineTheEagle
3a2d115aa8 Ubi BAO: XMA fix 2018-08-06 22:58:28 +03:00
NicknineTheEagle
a284aee0f2 Ubi BAO: Added support for Rayman Raving Rabbids: TV Party (Wii) 2018-08-06 17:19:59 +03:00
NicknineTheEagle
470c50cf0e Minor tweaks 2018-08-06 14:29:43 +03:00
NicknineTheEagle
f27280c44d Ubi BAO: Further work on XMA support 2018-08-06 13:03:24 +03:00
NicknineTheEagle
ea133a19bf Ubi BAO: XMA fixes 2018-08-05 19:20:13 +03:00
NicknineTheEagle
9d6bc91c0a Ubi BAO: Added prefetched sound support to later version BAO versions 2018-08-05 15:44:38 +03:00
NicknineTheEagle
d49019a1ca Ubi DAO: Added support for prefetched sounds 2018-08-05 04:42:24 +03:00
Christopher Snowhill
3a7b590dfe
Merge pull request #274 from bnnm/ck-xa-fsb-str
CK, XA, FSB, STR
2018-08-04 13:58:32 -07:00
Alex Barney
c74b0841ca Workaround MSVC fseek/fread bug 2018-08-04 15:47:46 -05:00
NicknineTheEagle
ad489953f4 Fixed indentation 2018-08-04 22:42:12 +03:00
NicknineTheEagle
655325cc01 Ubi BAO: Added support for Splinter Cell: Conviction (PC) 2018-08-04 22:30:31 +03: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
10dc43f2fb Use streamfile helpers 2018-08-04 20:42:25 +02:00
bnnm
0fc5b466c8 Add some extra streamfile helpers 2018-08-04 20:42:00 +02:00
bnnm
6384b91f8f Fix FSB4 MPEG weird padding bug [Mafia II (PS3)] 2018-08-04 20:40:02 +02:00
bnnm
ffe7de0acc Improve XA detection to avoid clashing with .str 2018-08-04 20:39:33 +02:00
Christopher Snowhill
4a29bed092
Merge branch 'master' into ea-fixes 2018-08-03 19:16:12 -07:00
Christopher Snowhill
cca30df28d
Update ea_schl.c
Enclose Atrac3plus section in VGM_USE_FFMPEG macro block.
2018-08-03 19:13:25 -07:00
bnnm
4703dcaf4f Add FSB5 PCM16BE/VAG/XWMA and improve rare behaviors (from tool tests) 2018-08-03 02:16:19 +02:00
bnnm
8f17cf75d6 Tweak non-interleaved mode for VAG/GCADPCM (from tool tests), cleanup 2018-08-03 02:12:47 +02:00
bnnm
d4c0362c30 Minor info (algorithm verified) 2018-08-03 00:47:54 +02:00
bnnm
e1434bc432 Clean DTK decoder to clarify similarities with XA 2018-08-03 00:46:36 +02:00
bnnm
16f2474a50 Add .WV6 IMA [The Fairly OddParents: Breakin' Da Rules (PC)] 2018-08-02 18:22:01 +02:00
bnnm
6a86414990 Fix form1 XA bugs [Glint Glitters (PS1), Dance! Dance! Dance! (PS1)] 2018-08-02 17:21:09 +02:00
bnnm
5dc8d55c7f Add file_size fail check for +2GB files 2018-08-02 17:17:58 +02:00
bnnm
492f43a554 Merge branch 'master' of https://github.com/kode54/vgmstream into ck-xa-fsb 2018-08-02 17:15:38 +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
bxaimc
fcc728c8b1 Add Entergram NXA Opus 2018-08-01 01:24:26 -04:00
NicknineTheEagle
baaec69a46 Added macros for some common constants in EA parsers 2018-07-31 10:26:55 +03:00
NicknineTheEagle
9b3c2ca8f7 Added a missing version stamp to ABK 2018-07-29 09:21:44 +03:00
bnnm
82ffe6d9e2 Fix some .snwg loops [Mega Man X Legacy Collections: X1/2/3 (PC)] 2018-07-27 17:30:58 +02:00
bnnm
b95080d881 Add .xsew wav [Mega Man X Legacy Collection 1 & 2 (PC)] 2018-07-27 17:18:10 +02:00
bnnm
87bd10073d Adjust ASF shift modes after debugging info 2018-07-27 17:13:10 +02:00
bnnm
4337f00d5d Fix XWB v1 subsongs [Silent Scope Complete (Xbox)] 2018-07-27 17:12:09 +02:00
bnnm
5e68567961 Fix compiler warnings 2018-07-27 17:11:50 +02:00
bnnm
61034484ab Add XMD decoder [Silent Hill 4, Castlevania: Curse of Darkness (Xbox) 2018-07-27 17:11:11 +02:00
AnonBaiter
ec4824e6f3
extra fix 2018-07-24 14:29:50 -03:00
AnonBaiter
8f1cc0b127
(step 2/2) "add" UV, TGQ extensions
in which i actually add the extensions on formats.c
2018-07-24 14:28:51 -03:00
AnonBaiter
b5eb0e8bf5
(step 1/2) "add" UV, TGQ extensions
messing with ea_1snh.c, done
2018-07-24 14:22:42 -03:00
Christopher Snowhill
637ec27998
Merge pull request #265 from NicknineTheEagle/ea-formats
More EA formats
2018-07-23 19:08:02 -07:00
Christopher Snowhill
eee451aa68
Merge pull request #266 from bnnm/xa-aif-eamt
XA, AIF, EA-MT
2018-07-23 19:07:35 -07:00
Christopher Snowhill
e799a27446 Update ASF decoder based on decompilation of original decoder. 2018-07-23 18:56:35 -07:00
NicknineTheEagle
971525261a Added a missing BNK header tag 2018-07-24 03:50:16 +03:00
NicknineTheEagle
f6eae57a94 Added a missing ABK version stamp 2018-07-24 02:39:32 +03:00
NicknineTheEagle
7412e8ac14 Disable EA-XA ADPCM hist entirely for BNK 2018-07-24 01:39:54 +03:00
bnnm
2f5abcb11a Add .ai AIFF extension [Dragon Force (SAT) sfx] 2018-07-23 20:05:35 +02:00
bnnm
65b80e5fd7 Fix .adp raw XA [Phantasy Star Collection (SAT)] 2018-07-23 19:36:08 +02:00
bnnm
d48d2a4c87 Add .adp AIFF extension [Sonic Jam (SAT)] 2018-07-23 10:27:12 +02:00
NicknineTheEagle
39284cf233 Further work on the new ABK format 2018-07-23 01:31:35 +03:00
bnnm
e6f7abe20e Fix EA-MT full loops not being properly reset 2018-07-23 00:28:21 +02:00
bnnm
b71739de5e Fix XA missing num_samples at the end 2018-07-22 23:19:10 +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
NicknineTheEagle
5ee34e32ff Fixed stream size for Atrac3+ in BNK 2018-07-22 21:40:46 +03:00
NicknineTheEagle
5b5f5036e0 Fixed Atrac3+ for BNK format 2018-07-22 20:20:04 +03:00
NicknineTheEagle
04debd021e Merge remote-tracking branch 'origin/master' into ea-formats
# Conflicts:
#	src/meta/ea_schl.c
2018-07-22 05:34:26 +03:00
NicknineTheEagle
d7dfa205ea Added a missing ABK parameter 2018-07-22 05:17:33 +03:00
NicknineTheEagle
4f832266e3 Minor tweaks 2018-07-22 04:43:10 +03:00
Christopher Snowhill
8e16eb108c
Merge pull request #263 from bnnm/schl-txtp-psx
SCHl, TXTP, PSX
2018-07-21 17:32:21 -07:00
bnnm
4439047fd1 Minor doc 2018-07-22 00:47:31 +02:00
bnnm
907a0af3df Add missing nus3 OPUS .opus extension
Also remove tabs to fix GCC warnings about mixing spaces and tabs
2018-07-22 00:47:00 +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
099a4abc66 Add EA SCHl ATRAC3plus [The Sims 2 Castaway (PSP), MoH: Heroes 2 PSP)] 2018-07-21 23:34:00 +02:00
NicknineTheEagle
0210489f83 Added support for newer EA ABK format 2018-07-22 00:18:12 +03:00
bnnm
d4ba9d9d57 Fix potential bugs 2018-07-21 23:05:20 +02:00
NicknineTheEagle
d5745c9d6e EAAC tweaks 2018-07-21 23:09:44 +03:00
NicknineTheEagle
611aa5ed11 Fixed uninitialized local variable 2018-07-21 21:58:18 +03:00
NicknineTheEagle
b6080f6bdc Added EA HDR/STH/DAT format support 2018-07-21 21:58:01 +03:00
NicknineTheEagle
4d10e91c27 Added EA IDX/BIG format support 2018-07-21 21:57:35 +03:00
bnnm
af70e95877 Tweak PS-ADPCM decoding [inFamous (PS3)]
- Code now more verbose, but easier to understand (by me, at least)
- Unify normal and badflags code
- Fix hist1 not being properly clamped, though not noticeable
- Fix inFamous (PS3) which seemingly wasn't using the extended table but
hitting some compiler weirdness? (failed in foobar and worked in test)
- Use int math for PSX-cfg, which should be minimally more accurate
2018-07-21 20:15:07 +02:00
bnnm
1ec9463235 Fix VGM_ASSERT_ONCE 2018-07-21 20:12:40 +02:00
bnnm
dc4cee2daf Clean .pos code [Ys I Complete (PC)] 2018-07-21 20:12:09 +02:00
NicknineTheEagle
b954a87787 Added more missing BNK header tags 2018-07-20 10:17:25 +03:00
bxaimc
34fda0011a Add loop support for Air (Android) Oggs. Add .lflac extension for 'fun' and for use with .pos 2018-07-20 01:14:41 -04:00
NicknineTheEagle
d85406511f EA SCHl: fail if unknown header tag is encountered 2018-07-19 15:56:59 +03:00
NicknineTheEagle
d825b6ba4d Added more missing BNK header tags 2018-07-19 15:55:51 +03:00
NicknineTheEagle
33048337c4 EA SCHl: fixes for Gamecube 2018-07-19 07:26:48 +03:00
NicknineTheEagle
5d6fc0a9bc Ignore duplicate entries in ABK files 2018-07-19 00:24:16 +03:00
NicknineTheEagle
496315bb91 Added even more missing BNK header tags 2018-07-18 22:42:35 +03:00
NicknineTheEagle
779eef0282 Adjust ADPCM hist detection in BNK files 2018-07-18 22:42:23 +03:00
NicknineTheEagle
79f672b7cb Added more missing BNK header tags [NASCAR 06 (Xbox)] 2018-07-18 20:25:00 +03:00
NicknineTheEagle
be00f0a988 Added EA HDR/DAT format support 2018-07-18 19:32:33 +03:00
NicknineTheEagle
b48c31723c EA ABK fix 2018-07-18 09:56:35 +03:00
NicknineTheEagle
dc1a98361f Further work on EA ABK format 2018-07-18 08:54:32 +03:00
NicknineTheEagle
51146cd612 Merge remote-tracking branch 'origin/master' into patch-1 2018-07-18 05:18:35 +03:00
NicknineTheEagle
5af027e5f9 Added streamed ABK version support (ABK/AST combo) 2018-07-18 02:39:47 +03:00
bnnm
2129afaf75 Fix some EA-XMA [Need for Speed: The Run (X360)] 2018-07-18 00:53:09 +02:00
bnnm
d6795b63c3 Add ASF decoder [Croc 2 (PC), Aladdin: Nasira's Revenge (PC)] 2018-07-18 00:52:24 +02:00
bnnm
bbd50c78ee Minor doc 2018-07-18 00:37:14 +02:00
NicknineTheEagle
2056155c6b Indent fix 2018-07-18 00:19:47 +03:00
NicknineTheEagle
5d6b603055 Added EA ABK header support 2018-07-18 00:14:28 +03:00
NicknineTheEagle
5b27c21a0b Handle dummy streams in EA BNK files 2018-07-17 23:57:08 +03:00
NicknineTheEagle
e2160f4e09 Added a helper function for auto-detecting value endianness 2018-07-17 23:54:24 +03:00
bxaimc
69c2e9f07f Add Falcom NLSD Opus (Ys VIII [Switch]) 2018-07-15 03:49:33 -04:00
bxaimc
5b3a001082 Add Bandai Namco Opus found in NUS3Banks (Taiko no Tatsujin and future games) 2018-07-15 02:37:15 -04:00
bnnm
62bd5140c5 Cleanup 2018-07-15 00:20:42 +02:00
bnnm
c9f091fb6e Fix PS3 EA SCHl [Need for Speed: Carbon (PS3)] 2018-07-14 23:08:45 +02:00
bnnm
572cd6a621 XA code cleanup
Decoding is still the same (byte-exact)
2018-07-14 23:08:07 +02:00
bnnm
2c6091fab3 Fix some .wem PCM [Limbo (PC)] 2018-07-14 23:04:17 +02:00
bnnm
deea00d566 Fix compiler warning 2018-07-14 23:04:04 +02:00
bnnm
2dc2ed474d Add debug log 2018-07-14 23:03:48 +02:00
bnnm
3eed8c418d Add SVG extension [Hunter: The Reckoning - Wayward (PS2)] 2018-07-14 23:03:28 +02:00
bnnm
cbcacda6e4 Fix some EA SNS end samples [Need for Speed Undercover (PS3)]
SNS flag was being read as a signed value, returning a smaller file size
2018-07-14 23:02:40 +02:00
bnnm
7c84391c26 Fix some Frostbite SPS [Need for Speed: The Run (X360)] 2018-07-14 23:00:02 +02:00
Christopher Snowhill
f5551f7415
Update ps2_vpk.c
Fix channels variable references.
2018-07-10 17:23:04 -07:00
AnonBaiter
dd88a38f8c
Adjust VPK code to fix some oddities
this is my first time at coding so see if there's some big goof-up i made up here
2018-07-10 18:20:05 -03:00
bnnm
272f25cebb Fix bank .ivaud [GTA IV (PC)] 2018-07-06 23:41:29 +02:00
bnnm
44dc7ce7ea Add missing EA SCHl patch [SSX3 (PC)] 2018-07-06 21:27:49 +02:00
bnnm
23974334c9 Fix some EA SCHl MicroTalk [Need for Speed: Most Wanted (PC)] 2018-07-06 21:14:56 +02:00
bnnm
383bd41b5f Don't setup offsets when samples=0 to avoid EOF reads 2018-07-06 21:07:08 +02:00
bnnm
780e642543 Fix some Frostbite .SPS [Need for Speed: The Run (PC)] 2018-07-06 21:04:27 +02:00
bnnm
2df613d893 Fix various music .ivaud [GTA IV (PC)] 2018-07-06 21:04:06 +02:00
bnnm
d158a4a35e Simplify struct memsets, using standard 0-setup 2018-07-06 19:37:26 +02:00
bnnm
0cae31d045 Add doc 2018-06-30 21:24:19 +02:00
bnnm
d5f8b4f078 Fix some .joe looping jingles 2018-06-30 20:43:26 +02:00
bnnm
78542225f5 Allow extensionless files in Winamp [Baten Kaitos 2 (GC)] 2018-06-30 17:35:07 +02:00
bnnm
2695612624 Fix The Bouncer .vs (.str) 2018-06-30 16:01:29 +02:00
bnnm
dbb5a4458b Add .mus Ogg [Redux - Dark Matters (PC)] 2018-06-30 13:43:12 +02:00
bnnm
57f8c1922e Add hca keys 2018-06-30 13:31:20 +02:00
bnnm
9ca643d09e Add .vai/apc extensions 2018-06-30 13:31:12 +02:00
Shawn Presser
a700fda10d
Update xvag.c 2018-06-28 15:30:33 -05:00
Shawn Presser
e91703fe6a If a file has no extension, try to play it anyway
This allows fb2k to play Last Of Us (PS3) speech files, which have no
file extension.
2018-06-21 22:53:19 -05:00
bxaimc
ca5cdfe5a9 Add HCA decryption key for PriPara: All Idol Perfect Stage (Switch) 2018-06-18 03:34:56 -04:00
bnnm
12233dd0bb Remove ps2_adsc as it's handled in ps2_ads now 2018-06-17 01:12:53 +02:00
bnnm
ae3307e6f0 Redo ADS to fix various issues
- Fix minor samples bugs
- Fix ADSC variation [Kenka Bancho 2, Shunjuku no Okami]
- Fix misc loops [Culdcept, Katakamuna, Super Galdelic Hour]
- Fix Capcom loops [MM X7, BOF5, Clock Tower 3]
- Fix cavia loops [Drakengard 1/2, GITS: Stand Alone Complex]
- Fix Angel Studios videos [Red Read Revolver, Spy Hunter 2]
- Fix misdetected files [Gran Turismo 2000 videos]
2018-06-17 01:08:52 +02:00
bnnm
a535a497f4 Fix some vid EA SCHl and simplify EA block parsing 2018-06-17 01:06:38 +02:00
bnnm
8dd90cd783 Make sure samples_to_do 0 does nothing in blocked layout
It would affect some decoders with codec_data (ex. EA-MT), even though
decoded samples were being ignored
2018-06-17 01:04:16 +02:00
bnnm
2e75bce0c3 Add .fsb basic headers mode [Biker Mice from Mars (PS2)] 2018-06-17 00:52:46 +02:00
bnnm
90c3613289 Fix some Ubi Lyn [Michael Jackson The Experience (Wii)] 2018-06-17 00:51:42 +02:00
bnnm
5b2af49f57 Fix some .wem [Guitar Hero Live (X360)] 2018-06-17 00:50:42 +02:00
bnnm
1a73c574c0 Clean ADS code 2018-06-10 21:08:06 +02:00
bnnm
4e15ba517b Add MPS extension 2018-06-10 19:27:14 +02:00
bnnm
3be7ec8c68 Add FSB key [Monster Jam (PS2)] 2018-06-10 19:26:37 +02:00
bnnm
973a649fbe Document MIH/MIB/MIC/MSH details 2018-06-09 19:30:20 +02:00
bnnm
7a21345415 Fix some Ubi Jade [Peter Jackson's King Kong (Xbox)] 2018-06-09 17:33:15 +02:00
bnnm
ff6abc48fa Fix some FSB [Hard Reset (PC)] 2018-06-09 17:32:35 +02:00
bnnm
c9175e4d28 Fix JOE num_samples 2018-06-09 17:31:08 +02:00
bnnm
de9fe570e0 Add subsongs for FFmpeg formats 2018-06-09 17:30:28 +02:00
Christopher Snowhill
254791551b
Merge pull request #235 from bnnm/h4m-joe-aif
H4M, JOE, AIF
2018-06-03 14:44:42 -07:00
bnnm
9d86c42ea4 Add .H4M videos (wip) 2018-06-03 13:08:41 +02:00
Michael Turutanov
7cec87720c Added HCA key for Princess Connect Re:Dive 2018-06-02 17:29:22 +03:00
bnnm
66e2c9c671 Fix some .JOE [Super Farm (PS2), Sitting Ducks (PS2), The Mummy (PS2)] 2018-06-02 16:14:26 +02:00
bnnm
88250d3d26 Add AIFC IMA4 [Alida (PC)] 2018-06-02 16:13:37 +02:00
bnnm
48c11e81ca Fix some .XWC [The Darkness (X360)] 2018-06-02 16:05:58 +02:00
bnnm
776d85fee0 Fix TXTP upper ranges 2018-06-02 16:01:58 +02:00
Christopher Snowhill
311eeebc1b
Merge pull request #232 from bnnm/xwb-lyn-etc
XWB, LYN, etc
2018-05-27 14:52:16 -07:00
bnnm
4ad607c520 Add .xss RIFF extension [Spider-Man the Movie (Xbox)] 2018-05-27 17:32:15 +02:00
bnnm
2772696166 Add .rda extension [Rhythm Destruction (PC)] 2018-05-27 17:31:20 +02:00
bnnm
79ab74bf4a Add .xwb ATRAC9 [Stardew Valley (Vita)] 2018-05-27 17:30:59 +02:00
bnnm
7ad34736a3 Fix TXTH data_size for IMA 2018-05-27 17:29:23 +02:00
bnnm
9af7eadbcb Fix some Ubi LyN [Michael Jackson the Experience (PS3)] 2018-05-27 17:28:48 +02:00
Christopher Snowhill
f26b99b6cb
Update txtp.c
Fix "mode" keyval parse to else-if condition so other conditions don't fall through it.
2018-05-26 16:26:55 -07: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
f1f165a815 Minor Ogg Vorbis cleanup 2018-05-19 11:24:20 +02:00
bnnm
883e018aab Fix nus3bank with varying header [Super Smash Bros (Wii U)] 2018-05-19 11:22:29 +02:00
bnnm
1888990b75 Add HCA key 2018-05-19 11:22:08 +02:00
bnnm
b23e1fbac7 Extra validations for Wwise/Jade 2018-05-19 11:21:40 +02:00
bxaimc
bcf2948a7d Add channel multiplier for KNS/KTSS in Hyrule Warriors (Switch) 2018-05-17 14:27:18 -04:00
bxaimc
0cbdbd8b7c Remove unread PSI metadata ext 2018-05-16 19:53:15 -04:00
bxaimc
caf3bb871c Add PSI file reading in Opus for loops in BlazBlue: Cross Tag Battle (Switch) 2018-05-16 17:58:09 -04:00
bnnm
17952d0db7 Add .rxx extension 2018-05-12 13:55:12 +02:00
bnnm
92419c2143 Add tri-Ace .aac Vita [Judas Code (Vita)] 2018-05-12 13:53:58 +02:00
bnnm
a975eff1a2 Fix TXTH XMA multichannel and num_samples 2018-05-12 13:53:43 +02:00
bnnm
68c8f1bb76 Fix missing .lopus 2018-05-06 11:56:54 +02:00
bnnm
6276df57b5 Add TXTP "mode = layers" for multilayered songs 2018-05-05 23:07:50 +02:00
bnnm
c09bc1e936 Add .xwb DSP hack [Stardew Valley (Switch)]
Also try to open common .xsb name combos
2018-05-05 23:06:59 +02:00
bnnm
f586f443e8 Fix some EA SWVR [Freekstyle (PS2/GC)] 2018-05-05 23:02:22 +02:00
bnnm
da930bc3c9 Add .opus variation [Fast RMX (Switch)] 2018-05-05 23:01:49 +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
a924859d8f Fix ADX key 2018-04-29 23:46:29 +02:00
bnnm
fb63ad4aae Clean mib and add PS-ADPCM check 2018-04-29 21:05:30 +02:00
bnnm
d292531654 Add switch_audio [Gal Gun 2 (Switch)] 2018-04-29 21:04:55 +02:00
bnnm
65b322943f Add .trj/trm extensions [Need for Speed 3 (PS)] 2018-04-29 20:31:08 +02:00
bnnm
10e506675b Add (wip) Ubi .pk support [Just Dance (Wii)] 2018-04-29 20:28:27 +02:00
bnnm
eb9fdbf188 Add ADX key 2018-04-29 20:25:51 +02:00
bnnm
59ac455447 Fix some EA SCHl [Need for Speed 3 (PC)] 2018-04-29 19:41:38 +02:00
bnnm
d5fc1159c5 Fix half interleave IDSPs [Taiko no Tatsujin 3 (WiiU)] 2018-04-29 19:40:56 +02:00
bnnm
452033f14a Clean DSP metas and fix some loop checks 2018-04-29 19:40:21 +02:00
bxaimc
ce2082a8d4 Add .KNS for KTSS meta 2018-04-29 13:24:01 -04:00
Christopher Snowhill
47d2b53c23
Merge pull request #216 from bxaimc/master
Add SNDS support for The Incredibles (PS2)
2018-04-21 19:05:11 -07:00
Christopher Snowhill
4ea0d1a9d7
Merge pull request #217 from bnnm/opus-sps-etc
Opus, sps, etc
2018-04-21 19:04:13 -07:00
bnnm
e8b2759dcf Add Capcom multistream Opus [RE: Revelations (Switch)] 2018-04-22 02:20:46 +02:00
bnnm
7a212eed9b Allow layers of more than 1 channel 2018-04-22 02:19:37 +02:00
bnnm
f45b08586d Less debug 2018-04-22 02:17:42 +02:00
bxaimc
0f4bd6ab57 Add SNDS support for The Incredibles (PS2) 2018-04-21 16:45:04 -04:00
bnnm
bc4f7e9b5f Less debug 2018-04-21 21:56:49 +02: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
ee05880c2d Rename nsw_opus.c to opus.c
The abbreviation was strange, should still be clear it's not ogg_opus
2018-04-21 21:00:11 +02:00
bnnm
ab6cc8c6ce Adjust EALayer3 V2 discard modes 2018-04-21 03:31:24 +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
bxaimc
26249d4750 add .CVS support for Disney's Aladdin in Nasira's Revenge (PS1). Add support for >2 channels XA2 for RC Revenge Pro (PS2) 2018-04-20 18:41:25 -04:00
bnnm
fcf5f26e9d Fix Naomi .adpcm num_samples and checks 2018-04-20 21:00:17 +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
fdaba703d6 Add "-" channel mask separator in TXTP for some shells 2018-04-20 17:07:00 +02:00
bnnm
ab2cecf92d Add encrypted .ogg from Ys VIII (PC) 2018-04-20 17:02:56 +02:00
bnnm
84b1b31608 Add .sps in Frostbite(?) containers [Need For Speed Rivals (PS4)] 2018-04-20 00:22:40 +02:00
bnnm
46f333cc8e Remove get_realname from streamfiles as it's not used anymore
It was implemented for Audacious only to open companion NWA files, but
current version has no need for it. In case there is some obscure thing
that needs it, Audacious's vfs.cc should translate or return realnames
transparently, without having to modify other streamfiles.
2018-04-19 22:54:45 +02:00
bnnm
3d2f7e0de2 Clean NWA meta
To open external files it was using get_realname, which only was
actually implemented in Audacious, but Audacious can use get_name to
open external files just fine anyway (for any path, encoding, etc)
2018-04-19 22:44:05 +02:00
bnnm
4a8e8a87e8 Fix some .SNU sample rate [Dead Space 2 (PC)] 2018-04-19 22:40:47 +02:00
bnnm
7d992af25e Fix some EALayer3 skips [Need For Speed Rivals (PS4)]
Uses a custom streamfile to remove .sps blocks for EALayer3, as V2P
needs it since frames may be split between blocks.
2018-04-19 22:26:46 +02:00
bnnm
2268d9c5bf Rename ea_eaac_eatrax_streamfile.h to ea_eaac_streamfile.h 2018-04-19 22:23:09 +02:00
bnnm
271626921a Fix some .MSA 2018-04-19 22:20:18 +02:00
bnnm
d6ade4123f Add buffer_streamfile (for custom IO) and simplify stdio reads 2018-04-19 22:19:30 +02:00
bnnm
a8bb304998 Minor cleanup 2018-04-18 21:03:24 +02:00
bnnm
97874749da Fix possible segfault 2018-04-18 20:41:11 +02:00
bnnm
ee3fae5a37 Minor doc 2018-04-18 20:11:42 +02:00
bnnm
f5a3a2b5bc Add .ad extension 2018-04-18 20:10:53 +02:00
bnnm
adc7a776f9 Fix some Switch .bfwav interleave/panning; cleanup 2018-04-18 20:10:48 +02:00
bnnm
e8aad5a38a Add FSB key 2018-04-18 20:09:21 +02:00
bnnm
27777a8b75 Add HCA key 2018-04-18 20:08:50 +02:00
bnnm
5435080684 Fix EA SWVR sample rate and PC codec 2018-04-15 02:29:17 +02:00
bnnm
a181a04179 Update docs 2018-04-15 01:47:46 +02:00
bnnm
6e900315ab Load Vorbis setup in fsb/wwise from array first, as it's most common 2018-04-15 01:16:45 +02:00
bnnm
12cba40baf Add .smc+smh [Wangan Midnight (System 246)] 2018-04-15 01:08:27 +02:00
bnnm
8addfdd0aa Reject .txth in txth parsing as CLI can try to play them 2018-04-15 00:50:05 +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
abd4cc4d56 Fix EA SWVR .stream (MGAV) [Freekstyle (PS2/GC), NASCAR Rumble (PS)] 2018-04-14 02:36:28 +02:00
bnnm
42a79c85f3 Add .fsv WVE extension [Future Cop LAPD (PS1)] 2018-04-13 19:49:45 +02:00
bnnm
c27fa563b4 Fix missing samples in last block 2018-04-13 16:47:33 +02:00
bnnm
887ceec4cd Simplify WVE block parsing by ignoring empty blocks 2018-04-13 16:46:24 +02:00
bnnm
0482a120bc Minor cleanup 2018-04-13 16:40:50 +02:00
bnnm
264ee065fa Add missing .ovb and remove .tk1 as was only used for private testing 2018-04-13 00:04:29 +02:00
bnnm
dd64be04dd Simplify block parsing by just having 0 samples on empty blocks 2018-04-12 23:37:05 +02:00
bnnm
6f4388045e Add ps_cfg_bytes_to_samples for clarity 2018-04-12 23:21:53 +02:00
bnnm
6f3522348e Allow blocks with 0 samples (ignored, then next block is called)
Happens in Kakuto Chojin .stx, can be used to simplify some blocks
parsers so they don't have to manually search for next valid block and
can just set 0 samples if empty block is found.

Also move block_update code since it was getting a bit unwieldy.
2018-04-12 22:51:24 +02:00
bnnm
dacac7f9b4 Fix missing .rpgmvo extension 2018-04-12 22:46:59 +02:00
bnnm
34522fafee Add .eno Ogg [Metronomicon (PC)] 2018-04-12 22:46:18 +02:00
bnnm
028f19533a Fix mono .mcadpcm 2018-04-12 22:44:33 +02:00
bnnm
6ea1c3b2f0 Fix some Ubi LyN incorrectly parsed by Ubi Jade 2018-04-12 22:43:54 +02:00
bnnm
6d81db7cc3 Fix ATRAC9 regression 2018-04-10 21:01:30 +02:00
bnnm
27087edea2 Add .rpgmvo Ogg [RPG Maker MV games] 2018-04-07 19:04:06 +02:00
bnnm
bf4898a770 Fix 6ch EAlayer3 in EA SCHl [Medal of Honor 2010 (PC)] 2018-04-07 13:56:20 +02:00
bnnm
b2766bf137 Add .msb+msh sfx [EyeToy Play (PS2), Ace Combat 2 (PS2)] 2018-04-07 13:35:33 +02:00
bnnm
5ad5943c2a Add .MS/VBX/SLB/OVB extensions;cleanup
- .MS: Test Drive Unlimited (PS2)
- .VBX: THE Taxi 2 (PS2)
- .SLB: THE Nekomura no Hitobito (PS2)
- .OVB: namCollection - Tekken (PS2)
2018-04-07 12:35:18 +02:00
bnnm
254f980a50 Improve layered layout bitrate calculation 2018-04-07 11:44:29 +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
0d9397ff61 Rename waa_wac_wad_wam.c to ubi_jade.c for clarity 2018-04-06 20:51:51 +02:00
bnnm
0d32bfbf86 Ignore Ubi's Jade games 2018-04-06 20:49:49 +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
cd1ddd78de Fix some .opus [Resident Evil Revelations (Switch)] 2018-04-01 21:59:53 +02:00
bnnm
22b787b052 Fix some .mcadpcm [Skyrim (Switch)] 2018-04-01 21:59:00 +02:00
bnnm
6ca967eed9 Fix some .sps num samples [Need for Speed Most Wanted (Vita)] 2018-04-01 21:58:35 +02:00
Christopher Snowhill
35bede85fe
Merge pull request #209 from haspor/master
Android change for streamfile
2018-03-31 17:54:45 -07:00
bnnm
9db9ae563a Add .pdt subsongs [Cubic Lode Runner (GC), Muscle Champion (GC)] 2018-04-01 02:15:10 +02:00
bnnm
effe65c934 Tweak PDT header (cleanup) 2018-03-31 20:42:02 +02:00
bnnm
f2aaccc9fb Add .awc XMA [Red Dead Redemption (XMA)] 2018-03-31 20:11:21 +02:00
bnnm
b555a7f52a Add .sps EATrax [FIFA 2015 (Vita)] 2018-03-31 20:10:57 +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
7a08ea263f Add FFmpeg fake header/header_size check to simplify some calls 2018-03-31 13:07:26 +02:00
bnnm
0e64480cd0 Add KTSS .ATSL [Sengoku Musou Sanada Maru (Switch)] 2018-03-31 13:06:00 +02:00
bnnm
eda2a4ac34 Fix buggy XNB [Metagalactic Blitz (PC)] 2018-03-31 13:05:17 +02:00
bnnm
00aaf8fe02 Remove old XMA2 v3 to v4 transformation since FFmpeg now parses both 2018-03-30 22:14:32 +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
da568d47c3 Remove incorrect comment and move code around 2018-03-30 21:29:32 +02:00
bnnm
d990d8b8cd Rename scd_int_layout.c to layered.c for consistency 2018-03-30 21:29: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
0ff0d864ee Remove SCDINTSTREAMFILE and use custom_io streamfile instead 2018-03-30 18:16:17 +02:00
bnnm
e4c819af2e Add size_callback to open_io_streamfile for more complex stuff 2018-03-30 18:10:23 +02:00
bnnm
99888d6517 Merge branch 'master' of https://github.com/kode54/vgmstream into test 2018-03-30 11:02:28 +02:00
-
d5b095361c revert back the Android change. It seems that the 'dup' is not working perfectly with unistd.h either. 2018-03-30 08:22:03 +03:00
bxaimc
68296163a9 formatting again, this time for ogg_vorbis.c 2018-03-29 21:10:05 -04:00
bxaimc
d5c9165d07 Merge branch 'master' of git://github.com/kode54/vgmstream 2018-03-29 21:04:09 -04:00
bxaimc
0e7f19d77a Add support for XIPH_CUE_LOOP pairs found in Super Mario Run (Android) OGGs. Some additional formatting fixes too. 2018-03-29 21:03:23 -04:00
bnnm
ac3aa26420 Add .sng extension for EA 1SNh as foobar doesn't like .asf 2018-03-30 00:39:21 +02:00
bnnm
011b880884 Add little endian .adpcm DSP [LEGO Worlds (Switch)]
The .adpcm extension may conflict with naomi_adpcm so meta is ordered
before that
2018-03-29 23:28:02 +02:00
bnnm
a029bd9e1d Clean ngc_dsp/mdsp_std 2018-03-29 23:10:13 +02:00
bnnm
868834d52b Accept EA SCHl "SHFR" blocks [Medal of Honor (PC) movies] 2018-03-29 22:52:15 +02:00
bnnm
92b9992552 Rename open_stream_ext/name to open_streamfile_by_ext/filename (cleanup) 2018-03-29 22:34:21 +02:00
bnnm
dce00d6d27 Fix rsd6wma compilation with FFmpeg 2018-03-29 21:05:28 +02:00
bnnm
2b63d451d9 Minor tweaks to get_streamfile_name and co 2018-03-29 21:03:25 +02:00
bnnm
dabbf07014 Fix .dec not looping in plugins (incorrect filename comparison) 2018-03-29 20:54:07 +02:00
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
6ce4580683 Add .msv extension [Fight Club (PS2)] 2018-03-29 16:09:32 +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
ae999b6769 Add .vis extension [AirForce Delta Strike (PS2)] 2018-03-29 01:21:50 +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
a2acd045bf Fix missing nxap 2018-03-25 19:59:58 +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
5d9c5c4ff7 Adjust interleave last block description 2018-03-24 19:30:35 +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
eb4168f9b9 Rename aica_decoder.c to yamaha_decoder.c for clarity
AICA ADPCM is not really exclusive to Dreamcast as Yamaha used it in
their sound chips before.
2018-03-24 12:20:22 +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
d821ecb117 Improve Dreamcast AICA decoding (not very noticeable)
On decoding start step_size was 0, but Yamaha ADPCM is supposed to start
at 127 so there was some deviation, usually minor as most files start in
silence.
2018-03-24 12:13:04 +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
08875e9a95 Fix true multichannel RSD6XADP [Scarface (Xbox)] 2018-03-23 21:21:56 +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
bd684f7680 Rename wsi_blocked.c to blocked_wsi.c 2018-03-23 18:35:53 +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
4e0ce29f4a Fix ACM/NWA bitrate 2018-03-16 18:41:30 +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
ad1f719cf3 Remove mus_acm_layout.c as it's not neede anymore 2018-03-16 17:23:50 +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
78f4d5eb7d Fix some .ADM glitches [Dragon Quest V (PS2)] 2018-03-11 01:06:31 +01:00
bnnm
5cebfc49db Rename aax_layout.c to segmented.c 2018-03-10 20:28:23 +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
1c7a944633 Remove AAX copying ADPCM history between segments
ADX already have history in the header (resulting output is slightly
different but probably more accurate).
2018-03-10 17:39:32 +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
3ad6261208 Add check when calling free/seek/reset codec
It's possible to set a "coding" that triggers calls to the above while
codec_data is still null, when using special layouts like AAX
2018-03-10 16:59:00 +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
67a2f29f75 Minor FADPCM cleanup 2018-03-08 22:55:50 +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
d21793bf22 Add UserMacro to make changing dependencies easier 2018-03-03 20:45:32 +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
e7b564462f Rename some blocked layouts files for clarity 2018-02-25 16:58:21 +01:00
bnnm
c44b7ef264 Rename some blocked layouts for clarity 2018-02-25 16:52:57 +01:00
bnnm
c7173a6df5 Remove debug 2018-02-25 16:49:17 +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
15ca185052 Add util to get base filename without path 2018-02-25 16:27:48 +01:00
bnnm
494dfb8194 Fix .adm [Dragon Quest V (PS2)] 2018-02-25 15:04:29 +01:00
bnnm
3c1d4ee825 Validate max channels on allocation 2018-02-25 12:17:51 +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
3579858ef4 Write header sample in FSB-IMA (now is byte-exact vs FMOD's tools) 2018-02-23 23:17:13 +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
42f44925f4 Fix possible segfault with some FFmpeg versions 2018-02-17 23:21:41 +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
7c41cb22bf Add wwise_ima comment about alternate nibble expand 2018-02-17 19:44:18 +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
05916bdf26 Fix REF-IMA ADPCM decoding/num_samples, as it's based on MS-IMA 2018-02-17 18:19:28 +01:00
bnnm
5e00485948 Fix msadpcm_bytes_to_samples not counting small last block samples 2018-02-17 17:44:47 +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
e73023d6e2 Fix MS-IMA ADPCM decoding/bytes_to_samples missing 1 sample per block
Now correctly follows Microsoft's spec and matches other players.
2018-02-17 17:23:52 +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
0b2902880c Minor reordering in get samples_per_frame/frame_size for consistency 2018-02-17 04:00:04 +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
68041f4c98 Fix some SCHl EALayer3 [GoldenEye: Rogue Agent (Xbox)] 2018-02-10 17:45:49 +01:00
bnnm
e41df10893 Add XNB XMA (uncompressed) [Terraria (X360)] 2018-02-10 17:45:33 +01:00
Christopher Snowhill
03745aa8cc Disabled MAIATRAC3Plus library and removed its binaries from distribution. 2018-02-06 17:29:51 -08:00
Christopher Snowhill
cd2248c49f
Merge pull request #189 from bnnm/mab-scd
MAB, SCD
2018-02-04 16:39:53 -08: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
Alex Barney
a4431c3d5d Fix getting samples per frame for Switch Opus
Switch Opus uses the same output format that opus_demo writes. Each frame has an 8-byte header.
The first 4 bytes contain the length of the frame. The second 4 bytes contain the final state of the range coder.

8299edfc0c/src/opus_demo.c (L658-L681)
2018-01-29 18:07:08 -06:00
-
2e020143cf A small fix for Android. Songs from this set fails to play without the fix:Bionicle Heroes (2006-11-14)(Traveller's Tales)(Eidos) 2018-01-28 16:52:03 +02: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
694cded587 Add stream_size to calculate bitrate in subsongs, print bitrate info 2018-01-28 00:31:12 +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
8c7eba151a Add STREAMFILE for segmented files 2018-01-27 13:58:46 +01:00
bnnm
448d52fa4e Remove BGW ATRAC3 mode in FFmpeg in favor of custom streamfiles 2018-01-27 13:01:30 +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
88999d570d Add STREAMFILE for fake names (used to call other meta) 2018-01-27 11:07:45 +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
bnnm
562341f999 Fix SCHl EA-XA v1 mono [Supercross 2000 videos] 2018-01-27 10:47:53 +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
Alex Barney
bcfcb71f47 Automate MSVC builds
- Add a script to download dependencies
- Move dependencies to "/dependencies"
- Update solution file so it contains all projects
- Add a script for building and packaging the MSVC builds
- Add information for using AppVeyor's continuous integration service
2018-01-19 20:58:58 -06:00
bnnm
75a1023b60 Add new streamfile definitions; don't segfault on close_streamfile(NULL) 2018-01-20 01:59:36 +01: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
dfbeee2cf3 Improve/add streamfile custom IO (subfiles, decryption, etc)
Adds some special streamfiles that do custom IO, meant to be chained
together.
2018-01-20 00:54:08 +01:00
bnnm
927a3b5f39 Remove PROFILE_STREAMFILE to simplify further changes, not used anymore 2018-01-19 00:16:14 +01:00
Christopher Snowhill
a5b19acfb8 Revert DLL runtime change, at least until foobar2000 hits v1.4 stable. 2018-01-16 23:19:37 -08: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
bnnm
018ea2fc92 Fix Ogg Vorbis streamfile size to allow subsongs 2018-01-11 22:55:23 +01:00
bnnm
e26f66858c Rename ogg_vorbis_file.c to ogg_vorbis.c for consistence 2018-01-10 22:37:02 +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
7134610495 Clean Ogg Vorbis code and IO/decryption callbacks for future changes 2018-01-10 21:12:23 +01:00
bnnm
bcad321b6d Fix SCD with dummy entries and add PS-ADPCM [Final Fantasy Type-0] 2018-01-10 20:31:57 +01:00
Christopher Snowhill
2b92a562a5
Merge pull request #172 from bxaimc/master
Updated additional project files to match current build tools.
2018-01-08 16:07:52 -08:00
bxaimc
6cd9bfb71b Quick interleave block size fix for OrbiPCM 2018-01-08 13:09:26 -05:00
bnnm
d85bca24ae Remove unused flag 2018-01-07 20:15:49 +01:00
bnnm
aa1134d5a2 Add missing ktss.c 2018-01-07 20:15:08 +01:00
bnnm
3e0c97d7eb Add HCA key 2018-01-07 20:14:08 +01:00
bnnm
29fc9386d6 Update Makefiles for ATRAC9, clean and remove .mingw variations 2018-01-07 20:13:20 +01:00
Christopher Snowhill
9928380c49 Add libatrac9 for Windows builds. 2018-01-04 18:59:29 -08:00
Christopher Snowhill
8491a16ea4 Merge branch 'master' of github.com:kode54/vgmstream 2018-01-04 18:55:10 -08:00
bnnm
944c667a17 Remove unused variable warning 2018-01-05 00:54:35 +01:00
bnnm
ef4ef28ace Simplify xa_init_get_high_nibble call 2018-01-04 23:59:30 +01:00
bnnm
adf9bc84a5 Remove tabs for consistency 2018-01-04 23:38:22 +01:00
bnnm
757e4cde69 Rename init_x_codec_data to init_x for consistency 2018-01-04 23:22:03 +01:00
bnnm
166b9d411e Rename makefile.audacious to makefile.autotools, as now can build more
Not sure about the naming convention but hopefully clear enough
2018-01-04 22:59:07 +01:00
bnnm
fddd17f808 Add .kvs extension [Atelier Sophie (PC)] 2018-01-04 21:17:17 +01:00
bnnm
51061c1316 Add ATRAC9 decoder
Requires furrybob's libatrac9, plus enabling VGM_USE_ATRAC9 in
vgmstream.h/compiler flag
2018-01-04 17:46:38 +01:00
bnnm
dd6c854e14 Fix some ATRAC9 XVAG and minor adjustments 2018-01-04 17:35:14 +01:00
bnnm
8165374274 Fix FSB5 v0 and some ATRAC9 2018-01-04 17:32:23 +01:00
bnnm
f00040f287 Add extended PS-ADPCM table (inFamous PS3) 2018-01-04 17:31:37 +01:00
Christopher Snowhill
cc2944e4f0 Update project files, and update foobar2000 component. 2017-12-30 19:15:34 -08: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
bnnm
f525b891ee Adjust XVAG looping so it's always inside frame boundaries 2017-12-28 23:42:04 +01:00
bnnm
5be6d14b4c Prepare RIFF/FSB5/SXD/UBI_RAKI/WWISE/XVAG/GTD for ATRAC9 2017-12-28 23:37:18 +01:00
bnnm
7e48a38385 Add more HCS keys 2017-12-28 19:13:20 +01:00
soneek
b3e796885b Updated KTSS interleave layout for current vgmstream 2017-12-27 00:38:25 -05:00
soneek
160a13dff9 Support for tri-Ace mobile vorbis AAC, support for KTSS 2017-12-27 00:14:50 -05:00
bnnm
8538aa1a75 Rename at3_decoder.c to at3plus_decoder.c and add init function 2017-12-27 01:02:24 +01:00
bnnm
002de7efe0 Clean RIFF parser for future changes
- move blocks around so it's easier to init codecs
- removed .SGB with FFMpeg is disabled, should't be needed
- remove references to MSIMA/MSADPCM/etc in RIFX, num_samples was only
filled for PCM so any other codec would fail (most other RIFX should be
wwise)
2017-12-27 00:43:52 +01:00
bnnm
ae71256c68 Fix ms_ima_bytes_to_samples when last block is shorter than frame 2017-12-26 18:18:41 +01:00
bnnm
331bc187fa Move XNB from riff.c to xnb.c (cleanup) 2017-12-26 18:17:59 +01:00
Daniel Richard G
bc45567208 Various updates to the Autotools build system:
Makefile.audacious.am:

* Add test/ subdirectory to the Autotools build

* Add version.h to EXTRA_DIST so that "make distcheck" passes

audacious/Makefile.audacious.am:

* Install Audacious plug-in into the appropriate directory

* No need to include CXXFLAGS in AM_CXXFLAGS, as the former is already
  included in the compiler invocation

configure.ac:

* Need to link to libvorbis in order for static-library builds
  (--disable-shared) to link correctly

* Only add GCC-specific compiler flags if GCC is detected

* Tightened up the GCC warning flags

* Don't set LIBS, so that different targets can link against different
  libraries

* Generate makefile for test/ subdirectory

src/Makefile.audacious.am:

* Install libvgmstream into the library directory

* Removed GCC-specific flag from AM_CFLAGS

* No need to include CFLAGS in AM_CFLAGS, as the former is already
  included in the compiler invocation

* Add libvgmstream dependencies via LIBADD instead of global LIBS var

test/Makefile.audacious.am:

* New makefile template for test/ subdirectory

unbootstrap:

* Also remove "compile" script from bootstrap
2017-12-25 22:18:55 -05:00
bnnm
69644716d7 Improve SCHl: fix EOF/video blocks/SHEN audio, fix num_samples bugs 2017-12-24 01:49:51 +01:00
bnnm
12aa4ef7ef Improve 1SNh: add mu-Law, fix video blocks/SEAD audio, fix some IMA 2017-12-24 01:48:26 +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
98c5f0a65d Fix EA-XMA in .SPS 2017-12-24 01:32:20 +01:00
bnnm
bf31573204 Fix minor bytes-to-samples round error in some IMA formats 2017-12-24 01:31:43 +01:00
bnnm
dd978dc5f4 Remove unnecessary SCD sample rate fix 2017-12-17 19:46:41 +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
bd88cc2a65 Minor comments/SPS block adjust 2017-12-17 17:38:54 +01:00
bnnm
aa72a055c1 Add/change .opus to .lopus 2017-12-17 16:44:31 +01:00
bnnm
ea7c37ef8a Add ADX/HCS keys 2017-12-17 16:40:16 +01:00
bnnm
b65765a56e Fix multistream MPEG SCD [Final Fantaxy XIII-2 (PS3)] 2017-12-17 16:39:36 +01:00
bxaimc
a8369ed21b Modified a header check to reduce some -pickiness- which rejected some playable EALayer3 files 2017-12-14 19:48:54 -05:00
bxaimc
7f389157d1 Merge branch 'master' of git://github.com/kode54/vgmstream 2017-12-14 19:23:41 -05:00
Christopher Snowhill
2c5257522b Disable .opus extension. 2017-12-13 16:15:54 -08:00
bxaimc
d09ac8fdae Add type 3 GCM/IDSP variant for Lego LOTR (Wii) 2017-12-11 17:58:57 -05:00
bxaimc
0db009b3e6 Add Harmonix Music Systems MOGG Vorbis 2017-12-10 20:30:00 -05:00
Christopher Snowhill
93685b0c8f Simplify interleave handler, safe for mono files as well. 2017-12-09 14:13:25 -08:00
bnnm
d086f933af Update VC project files 2017-12-09 19:10:53 +01:00
bnnm
cc8256d178 Fix some VAWX multichannel files 2017-12-09 19:01:36 +01:00
bnnm
cb646cfbde Add VAGp .vig [MX vs. ATV Untamed (PS2)] 2017-12-09 17:57:18 +01:00
bnnm
765af1994a Move bitstream reader to coding_utils 2017-12-09 17:06:21 +01:00
bnnm
ecf01351cb Ignore A2M .int 2017-12-09 17:03:23 +01:00
bnnm
59cef16a2c Add TXTH "half_size" interleave + SDF/BD3 exts 2017-12-09 12:23:19 +01:00
bnnm
b5da881a44 Remove thpNextFrameSize and use full_block_size instead 2017-12-08 01:20:09 +01:00
bnnm
d0c44be330 Fix some VXN PCM 2017-12-08 00:17:42 +01:00
bnnm
0e389ae74f Fix some Ubi bank types 2017-12-07 23:54:05 +01:00
bnnm
d341a267d1 Add Orbis PCM 2017-12-07 23:38:00 +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
8f9b22d46f Change layout_interleave_byte with coding_NGC_DSP_subint
Meant to simplify layouts
2017-12-06 21:04:34 +01:00
bnnm
98b4f8c5b1 Add NGC DSP subinterleave decoder
Meant to replace layout_interleave_byte
2017-12-06 21:04:04 +01:00
bnnm
9c3adeba8f Fix detection of SNR with data [NHL 2013 iOS] 2017-12-06 20:20:58 +01:00
bnnm
d0ecf37458 Move .XA2 RRP to its own file for consistency/clarity 2017-12-06 18:16:03 +01:00
bnnm
165c815d12 Move .VSF SMSS to its own file for consistency/clarity 2017-12-06 18:11:37 +01:00
bnnm
6b3c365480 Move .OMU to its own file for consistency/clarity 2017-12-06 18:07:17 +01:00
bnnm
8592aeea3d Add .RSM extension (Bully PS2) 2017-12-06 17:35:59 +01:00
bnnm
10aac03cd5 Add ADX keystring 2017-12-06 17:10:49 +01:00
bnnm
53698db7c3 Add vgmstream_force_loop, comments (API cleanup) 2017-12-06 16:55:41 +01:00
bnnm
f74f9f0b24 Add MSF with .MP3 extension (Darkstalkers Resurrection PS3) 2017-12-06 15:53:42 +01:00
bnnm
3380451c80 Code cleanup (renames, comments, nitpicks) 2017-12-06 15:32:52 +01:00
bnnm
5672cac597 Move some meta STREAMFILEs to separate file for visibility
The code may be standardized and extended in the future for some meta
needing similar features, so this is just to signal its existence
2017-12-06 12:15:27 +01:00
bnnm
14be03c89e Comment .MPC for foobar (still can be read if renamed to ~ .vgmstream) 2017-12-04 19:43:49 +01:00
Christopher Snowhill
d2f48b2066
Merge pull request #149 from bnnm/master
MPC, VXN, SNS/SPS, OGG, FLX, MT
2017-12-03 14:07:53 -08:00
bnnm
407aa141bd Fix some .SB0 [TMNT GC/PS2] 2017-12-03 20:25:50 +01:00
bnnm
7e27445f85 Enable EALayer3 bit reservoir fix (needs libmpg123 1.25.8+) 2017-12-03 17:27:13 +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
Christopher Snowhill
7037434ae6 Fix 3DO STR SNDS for stereo interleave. 2017-12-03 00:56:39 -08: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
6eef1074a2 Adjust some SNR 2017-12-02 02:56:37 +01:00
bnnm
2eede51524 Add .AUD ATRAC3 for EA Replay 2017-12-02 02:11:25 +01:00
bnnm
8f8b14f80f Fix EALayer3 multichannel and looping bugs 2017-12-01 20:04:33 +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
02d0231ff2 Rename ea_snu.c to ea_eaac.c (EAAudioCore) 2017-12-01 17:52:03 +01:00
bnnm
d12a5bd294 Fix EALayer3 v1b and v2 2017-12-01 17:32:12 +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
2a312e8562 Fix memset not memsetting all channels on failure 2017-11-24 23:42:11 +01:00
bnnm
b371f1de73 Reorder IMA code a bit so it's easier to simplify in the future 2017-11-24 21:23:01 +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
5c4351aa86 Add VGM_LOG/ASSERT_ONCE macro for useful-but-repetitive error logging 2017-11-23 23:46:33 +01:00
bnnm
e1bb468bd5 Remove unnecessary check_sample_rate 2017-11-23 23:11:11 +01:00
bnnm
c2ef5f8694 Use get_streamfile_text_line in TXTH (cleanup) 2017-11-23 23:03:55 +01:00
bnnm
dbbbfcc9f5 Make get_streamfile_dos_line read CR/LF too and rename accordingly
CR used in some Falcom looping files as separator
2017-11-23 22:53:43 +01:00
bnnm
7c7af0bf18 Rename *_DE2 to _*DEC for consistency and since it was first 2017-11-23 22:48:11 +01:00
bnnm
162ec1fb9c Add/fix Falcom RIFF (.dec/de2) + looping [Xanadu Next, Gurumin (PC)] 2017-11-23 22:36:49 +01:00
bnnm
6d80168879 Fix Homura (PS2) stereo and add .v0 2017-11-23 22:33:46 +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
1c042b7784 Use IMA_int with mono files to clarify then IMA stereo is used
Both IMA and IMA_int work the same then channels = 1, so this is just to
signal when IMA stereo (nibble interleave) is actually used (ie. rarely)
2017-11-19 03:34:25 +01:00
bnnm
8363e26b88 Unify IMA/IMA_int with standard IMA decoder + add stereo IMA 2017-11-19 03:32:21 +01:00
bnnm
3ce9e2c8ab Fix 3DS IMA hist 2017-11-18 22:52:42 +01:00
bnnm
36d4f69420 Fix STRM FFTA2 using the wrong IMA, making output slightly incorrect 2017-11-18 22:49:18 +01:00
bnnm
bf043d4e5b Add 3DS IMA for BCWAV 2017-11-18 22:27:14 +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
d37deb8d80 Rename ea_old.c to ea_1snh.c for consistency 2017-11-18 02:39:21 +01:00
bnnm
5ce20a710e Fix segfaults when blocks functions set wrong samples/sizes; cleanup 2017-11-18 02:22:57 +01:00
bnnm
79c5cfab49 Clean EA 1SNh/EACS (ea_old) and fix some bugs/looping 2017-11-18 02:20:52 +01:00
bnnm
8f6c76364c Fix standard IMA segfault when external init is wrong 2017-11-18 02:06:51 +01:00
bnnm
624b4ead0e Move eacs_block_update to its own file 2017-11-17 20:46:51 +01:00
bnnm
1af4e37f6f Fix DVI .PCM channels being swapped [Castlevania SOTN (SAT)] 2017-11-17 19:12:28 +01:00
bnnm
304d39d80b Clean .idvi and add proper .DVI extension 2017-11-17 18:53:34 +01:00
bnnm
8ec00fb0ea Cleanup 2017-11-17 18:51:43 +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
66a3e7ed88 Add some HCA keys 2017-11-16 00:42:09 +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
a68e567fc2 Remove unneeded function 2017-11-16 00:26:05 +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
cc652293e3 Add Ubi SB PCM [Red Steel (Wii)] 2017-11-11 17:46:18 +01:00
bnnm
abe4244d11 Fix some Ubi SB [Prince of Persia: The Two Thrones (Xbox)] 2017-11-11 15:56:29 +01:00
bnnm
86641dc699 Fix log 2017-11-10 23:20:08 +01:00
bnnm
b2ab42673a Tweak FSB log 2017-11-10 22:36:54 +01:00
bnnm
6bc9c44a0f Change some tabs to spaces to fix mixed indention GCC warnings 2017-11-10 22:22:04 +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
1c373753b9 Move ADP OTNS to its own file for consistency 2017-11-10 19:51:14 +01:00
bnnm
c17db6f30e Add GENH AC3 and update code so it mirrors TXTH for easier sharing 2017-11-10 19:37:07 +01:00
bnnm
27ddf75a8b Add AC3 (.lac3) 2017-11-10 19:35:21 +01:00
bnnm
1a57ae8b85 Add TXTH AC3 (.lac3) for bytes_to_samples [Burnout (PS2)]; cleanup 2017-11-10 19:34:36 +01:00
bnnm
5ff3b5801f Fix some HEVAG 2017-11-10 19:32:33 +01:00
bnnm
764fcc0bca Add XWB OGG [Oddworld Stranger's Warth (iOS/Android)] 2017-11-10 19:31:54 +01:00
bnnm
d4ecd53a93 Update some Wwise comments 2017-11-10 19:30:25 +01:00
bnnm
918eb19218 Remove VS2010 test code as struct init seems to work ok 2017-11-10 19:30:08 +01:00
bnnm
5b863393b8 Fix some OPUS + looping [Ultra Street Fighter 2, Disgaea 5] 2017-11-05 18:12:28 +01:00
bnnm
56cb2a98bd Fix some multichannel MPEG FSB4 [Transformers: Fall of Cybertron (PC)] 2017-11-05 17:32:55 +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
bnnm
801383382d Add util to open stream in the same dir 2017-11-05 17:05:39 +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
80269e566e Add recent files 2017-10-28 18:07:26 +02:00
bnnm
ec4e0b6401 Add extra ADX keys and key verifier 2017-10-28 18:04:15 +02:00
bnnm
6fe7e33f5a Minor comment 2017-10-28 18:03:36 +02:00
bnnm
bffbefb150 Move ADX key list to it's own file (cleanup) 2017-10-28 12:38:27 +02:00
bnnm
58e213cbf3 Fix closing XSB streamFile 2017-10-28 10:51:55 +02:00
bnnm
1ff0cecca8 Fix minor compiler warnings (missing const/static/case defaults/etc) 2017-10-28 01:34:32 +02:00
bnnm
75b0b275f1 Fix XWB WMA, leaks [Prince of Persia 2 Xbox] 2017-10-28 01:31:08 +02:00
bnnm
e6cb6facbc Fix coding_XBOX_int so it properly works with any interleave; comments 2017-10-27 18:56:34 +02: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
bnnm
56586b84dc Fix some ADP [Omikron: the Nomad Soul] 2017-10-27 18:40:09 +02:00
bnnm
01f91226da Fix some AWC [Red Dead Redemption PS3] 2017-10-27 18:39:32 +02:00
bnnm
4d4307ae9a Fix/clarify rare custom FFmpeg seek bug 2017-10-27 18:09:43 +02:00
bnnm
7f8f315660 Minor comment (FSB MPEG garbage at the beginning seems normal) 2017-10-27 18:08:09 +02:00
bnnm
f23cd6192f Add extra HCA keys 2017-10-27 18:03:11 +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
7edf3d3fe1 Improve BNSF num_samples and cleanup 2017-10-14 12:42:44 +02:00
bnnm
229783f5f0 Make decoder init functions for G722.1/G719 2017-10-14 12:41:59 +02:00
bnnm
4d0c8b54fd Add .CD wav extension 2017-10-14 12:34:32 +02:00
bnnm
c770490b3d Add AL2 meta + A-law decoder [Conquest of Elysium 3 (PC)] 2017-10-08 17:51:54 +02:00
bnnm
874694bd0a Tweak XMA1 and Wwise XWMA sample counts, XMA2 looping, XMA1 channels 2017-10-08 17:34:07 +02:00
bnnm
cb64f71ba0 Fix MUSC looping [Spyro: A New Beginning (PS2), Ty (PS2)] 2017-10-08 17:30:56 +02:00
Christopher Snowhill
1da9d0887a Fix double-free. 2017-09-30 15:15:15 -07:00
Christopher Snowhill
bcfe417ab6 Merge branch 'master' of github.com:kode54/vgmstream 2017-09-30 15:04:50 -07:00
bnnm
07a6fba10f Free HCA testbuf and reduce allocs 2017-09-30 19:36:13 +02:00
bnnm
6c5a97c8ed Fix compiling in GCC (false not defined) 2017-09-30 19:20:09 +02:00
bnnm
25f7a64dc6 Merge branch 'master' of https://github.com/kode54/vgmstream into fixes 2017-09-30 11:48:17 +02:00
Christopher Snowhill
afdb135567 Oops, forgot to free it. 2017-09-29 17:03:21 -07:00
Christopher Snowhill
72f5f3e0b0 Dynamically allocate and resize the decode buffer when searching for HCA keys, preventing a serious crash due to decoding past the stack allocated buffer. 2017-09-29 16:56:43 -07:00
bnnm
14957d6269 Fix XWB split bug with some codecs 2017-09-30 01:52:49 +02:00
Christopher Snowhill
a1a98c2691 Handle uninitialized variable in case of non-matching extensions. 2017-09-29 16:31:47 -07: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
c63866aad6 Fix Wwise Opus abrupt end 2017-09-29 23:29:06 +02:00
bnnm
8aae6ed794 Fix multichannel EA-XMA [Dante's Inferno (X360)] 2017-09-29 23:28:27 +02:00
bnnm
8dfac7c465 Fix minor size bug in Wwise Vorbis 2017-09-29 23:27:21 +02:00
bnnm
0bb62ce57d Minor comments/documentation 2017-09-29 23:26:42 +02:00
bnnm
a7acf244ae Fix HCA crash bug when testing keys 2017-09-29 23:24:25 +02:00
Christopher Snowhill
edf8f7a913 Remove stale file, add missing header file references. 2017-09-24 16:04:32 -07:00
bnnm
81fd33612e Add some HCA keys 2017-09-25 00:00:36 +02:00
bnnm
93a122536c Get TXTH FFmpeg's num_samples if not specified, sometimes works 2017-09-24 22:28:35 +02:00
bnnm
9f90ca9181 Improve XNB [Dragon's Blade (Android)]; add .DA wav; extra exts 2017-09-24 22:27:33 +02:00
bnnm
02be212c54 Update VS project files for FFmpeg Opus (swresample.dll) 2017-09-24 19:15:24 +02:00
bnnm
f25d559f68 Add Wwise Opus 2017-09-24 18:55:25 +02:00
bnnm
a8370b4892 Add EA-XMA for EA SNU [Dante's Inferno (X360)]
only 1/2ch works correctly as multichannel layout need to be
investigated
2017-09-24 18:52:09 +02:00
bnnm
4bb1103e3d Update bik FFmpeg init 2017-09-24 18:46:33 +02:00
bnnm
be8357926d Fix compiling with codecs disabled 2017-09-24 18:45:39 +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
ccc8c53146 Add FILE log util 2017-09-17 03:38:11 +02:00
bnnm
952962f91b Fix AWC MP3 channel desync in some songs [Red Read Redemption (PS3)] 2017-09-17 03:36:01 +02:00
bnnm
9ed189ffe8 Fix Ogg leak 2017-09-17 03:35:24 +02:00
bnnm
dd027f32eb Fix some SCD with MARK chunk [Lightning Returns X360] 2017-09-17 03:35:03 +02:00
Christopher Snowhill
00e1a5f62d Add missing awc.c to MSVC project files. 2017-08-28 15:16:56 -07:00
bnnm
ab4e1234d9 Remove unneeded MT info 2017-08-28 20:42:37 +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
b758e8f60d Fix VAG interleave in rare cases [The Simpsons Wrestling (PS)] 2017-08-28 18:26:55 +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
c4a6e6e194 Add read_64bitBE/LE for Rockstar AWC
They use it encode 3 values in 64b and save one byte in the process,
whee.
2017-08-28 15:11:52 +02:00
bnnm
5bf0ddbfac Fix RWS PCM16BE [The Legend of Spyro (X360)] 2017-08-27 22:18:08 +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
7875090f0f Improve PCMFLOAT 2017-08-27 21:54:43 +02:00
bnnm
6dcc890d19 Adjust FSB4 looping so most jingles don't loop 2017-08-26 03:23:39 +02:00
bnnm
27c69687d5 Fix some RWS num_samples [Burnout 2 (Xbox)] 2017-08-26 02:35:14 +02:00
bnnm
be5a0371f5 Fix division by zero in some cases 2017-08-25 23:27:23 +02:00
bnnm
a04b83b206 Add PCM8, fix subsongs for large files 2017-08-25 22:43:33 +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
c953685c80 Rename ea_decoder to ea_xa_decoder 2017-08-20 02:12:15 +02:00
bnnm
86b7b45c89 Minor rename 2017-08-19 15:59:29 +02:00
bnnm
0103f449d0 Pass stream_index to FFmpeg manually for flexibility 2017-08-19 10:28:28 +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
5cddab629d Add FFmpeg audio stream selection 2017-08-18 18:56:43 +02:00
bnnm
6642607d0e Add FSB5 PCMFLOAT + decoder [Anima Gate of Memories (PC)] 2017-08-18 18:54:21 +02:00
bnnm
f4f920482a Unify open_stdio usage and add opening by FILE 2017-08-13 19:58:01 +02:00
bnnm
ade662e023 Redo Angel STM: add PCM, adjust looping, unify code, add .lstm 2017-08-12 18:42:38 +02:00
bnnm
272b55cb3e Add DSP hist utils 2017-08-12 18:39:56 +02:00
bnnm
d219804b99 Add stream selection and/or stream name reading for some formats 2017-08-12 11:46:28 +02:00
bnnm
b7c807a85c Add stream name string, for metas than can use it 2017-08-12 11:27:10 +02:00
bnnm
a3146ed2f6 Add stream index selection, to use in metas if supported by the format
Not ideal here, but it's the simplest way to pass to all
init_vgmstream_x functions without having to change all functions to
pass extra params or use globals. The value can be set externally by
plugins and metas can use to play the selected stream, or just ignore
it.
2017-08-12 11:23:09 +02:00
bnnm
c5dbece5ac Add string reader util 2017-08-12 11:14:16 +02:00
bnnm
561048e613 Fix again TXTH LINE_MAX, even VS2015 was complaining 2017-08-12 11:11:08 +02:00
bnnm
90aef437ea comments 2017-08-05 17:59:35 +02:00
bnnm
efdcd16ac1 Fix some EA BNK [Medal of Honor Heroes 2 PSP] 2017-08-05 17:55:49 +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
Christopher Snowhill
9d0c3ed86d Add sk_aud.c to MSVC project files. 2017-07-30 18:57:17 -07: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
474ca0be94 Use AHX mpeg-custom, add type 0x10, detect encryption, fix encoder delay 2017-07-29 23:16:30 +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
fcf8a9485c Fix outbuf only being partially cleared when trying to read after EOF 2017-07-29 01:25:35 +02:00
bnnm
8d7c52f460 Rename files 2017-07-29 01:19:24 +02:00
bnnm
925934c53c Rename Vorbis files and cleanup 2017-07-28 23:43:49 +02:00
bnnm
bc8e2e9204 Unify fsb/wwise/ogl Vorbis decoders into a single decoder with subtypes 2017-07-28 23:26:58 +02:00
Christopher Snowhill
cad12760f2 Include system math.h header instead of possible project local header. 2017-07-23 17:08:20 -07:00
Christopher Snowhill
bb8966a696 Fix for macOS, possibly other Unices. 2017-07-23 16:47:43 -07:00
Christopher Snowhill
fc327e40bf Fix constexpr to enum for old MSVC. 2017-07-23 16:28:37 -07:00
bnnm
ab6a146528 Add EA SCHl fixed/old (PATl) support [NHL 97 (PC)] 2017-07-23 17:09:55 +02:00
bnnm
523daaf18d Modify eacs_ima to not depend on get_high_nibble, document it's 2ch DVI 2017-07-23 17:08:10 +02:00
bnnm
3d6e0882ba Improve NDS HWAS volume swings by resetting ADPCM hist every block 2017-07-23 13:16:59 +02:00
bnnm
a88cd8ca1b Add ima_bytes_to_samples helper 2017-07-23 12:49:10 +02:00
bnnm
366e3fcb9c Make XBOX_int write sample hist and skip last nibble to fix some files
Fixes Gauntlet Dark Legacy (Xbox) scratchy sound and the output is now
byte-exact in EA SCHl streams
2017-07-23 04:31:09 +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
604f5ef507 Make EA-XA v2 decode using v1 table for clarity (no byte-diffs) 2017-07-21 21:03:51 +02:00
bnnm
2c61528241 Fix EAXA v1 not clamping ouput PCM hist, leading to small deviations
Now it's byte-exact vs EA's tools; EAXA v2 doesn't actually need it as
the encoder ensures no clamping is needed (for performance?)
2017-07-21 20:37:25 +02:00
bnnm
67ec34010f Don't use ADPCM hist, as doesn't seem used by EA's tools
Without it sx.exe and vgmstream give closer results in EAXA v1 and
byte-exact results in EAXA v2 (but it's only a slight difference)
2017-07-21 19:26:53 +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
55e922d36e Accept some extensions for future support (currently supported w/ TXTH) 2017-07-15 12:16:28 +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
0a39d7636e Add helper functions to get file name/path/ext 2017-07-15 11:28:42 +02:00
bnnm
d592199d6f Improve format detection to avoid hijacking other files 2017-07-15 11:27:43 +02:00
bnnm
c501129cb1 Fix some little endian Fable 3/Heroes XMA with big endian fmt chunk 2017-07-15 11:26:01 +02:00
Christopher Snowhill
8a9c669baa Remove C99-ism for MSVC 2010. 2017-07-13 17:45:56 -07:00
Christopher Snowhill
fa91e33dec Merge pull request #109 from bnnm/ea2-ffta2
EA2, FFTA2
2017-07-08 17:29:25 -07:00
Christopher Snowhill
0c9dad28c0 Merge pull request #105 from shinyquagsire23/le-edgecase
LE BFSTMs should use PCM16LE
2017-07-08 17:28:30 -07:00
bnnm
e96f3c0700 Tweak block parsing to handle better unknown blocks; try to improve EOFs 2017-07-09 00:56:27 +02:00
bnnm
a4d1e869cf Move EA block offsets on EOF just in case 2017-07-08 16:16:40 +02:00
bnnm
58af99fd4b Fix FFTA2 loop 'clicks' in some files by preserving ADPCM history 2017-07-08 11:34:02 +02:00
bnnm
8da3f4a7cb Remove FFTA2 last shortblock as it has normal blocks; cleanup
Doesn't actually fix anything; looping or not with or without
shortblocks it results in the same output
2017-07-08 11:32:54 +02:00
bnnm
781eb97040 Move nds_strm_ffta2 to its own file for clarity 2017-07-08 11:02:22 +02:00
bnnm
7a87f27624 Minor Maxis XA meta cleanup 2017-07-08 10:28:08 +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
a493a8f09d Ignore Maxis' XA, as it could be mistaken as headerless XA 2017-07-08 00:26:03 +02:00
shinyquagsire23
b07a5e7ffe Fix compile errors for BFWAV 2017-07-06 18:39:48 -06:00
shinyquagsire23
0e5174504e Add support for little-endian BFWAVs, fix coefficient offset calculation for stereo BFWAVs 2017-07-05 11:47:30 -06:00
shinyquagsire23
beef9b8c6e LE BFSTMs should use PCM16LE 2017-07-04 19:53:35 -06: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
d85c033c9d rename some EA related things (cleanup)
- eaxa_decoder to ea_decoder
- ea_header to ea_schl
- ea_block* to ea_schl_block*
2017-07-01 23:27:35 +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
aa93941e64 fix some .MED with JUNK chunk; minor cleanup 2017-07-01 22:44:00 +02:00
bnnm
6fd373b209 Tweak minor P3D info 2017-06-25 02:21:25 +02:00
bnnm
9b36233038 Add P3D XMA2 and (disabled) MP3 support [Prototype 1/2 (X360/PS3)] 2017-06-25 02:10:13 +02:00
bnnm
86cb660f76 Define MPEG interleave type to improve and simplify some internals 2017-06-25 02:09:12 +02:00
bnnm
b56ab1fa5b Ignore Reflections' XA, as it could be mistaken as headerless XA 2017-06-25 00:45:15 +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
3b4f0aae01 Add .MED RIFF using MS-IMA/PCM [LA Rush, Psi-Ops (PC)] 2017-06-24 23:09:30 +02:00
bnnm
f521803f85 Fix some multichannel DSP RWS [Burnout 2 GC] 2017-06-24 22:54:58 +02:00