Commit Graph

1932 Commits

Author SHA1 Message Date
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
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
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
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
Christopher Snowhill
1743cbdd35
Update ps2_va3.c
Clean up and reformat.
2018-10-09 15:51:25 -07:00
style_of_2001
107f9a658e Add konami / sony VA3 support (fix crash in cli :P) 2018-10-09 09:53:10 -05: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
bnnm
edd7226ee0 Fix EA XMA with actual looping [The Simpsons Game (X360)] 2018-10-07 21:18:46 +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
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
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
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
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
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
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
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
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
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
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
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
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
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