Commit Graph

61 Commits

Author SHA1 Message Date
bnnm
023e5b8d99 Fix dual TXTH/GENH Yamaha ADPCM + add .P04 extension 2019-07-07 15:26:43 +02: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
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
8613e60946 Fix TXTH (offset)$1 command in some cases 2019-06-23 22:25:28 +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
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
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
0aec721788 Add TXTH chunk_* config for chunked data and fix leaks [SF EX 3 (PS3)] 2019-03-21 23:08:11 +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
4acd10d1b1 Fix TXTH auto data_size with subsongs to calc up to next start_offset 2019-03-16 00:12:25 +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
ddfb46d1bd Add inline TXTH math: (key) = (number) (op) (number) ... [op: +-*/] 2019-03-10 10:40:06 +01:00
bnnm
2b4570395a Add AAC codec for TXTH and bytes-to-samples 2019-03-09 22:57:21 +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
e3a76d35aa Add TXTH interleave defaults for PSX/DSP/PCM16/PCM8 to simplify usage 2019-02-23 01:49:09 +01:00
bnnm
29bed4b1e0 Add TXTH/GENH interleave_last option 2019-01-20 00:17:06 +01:00
bnnm
093fa28a2f Add OKI16 TXTH/GENH decoder [Sweet Legacy (PS2), Hooligan (PS2)] 2019-01-12 13:02:08 +01:00
bnnm
07abb4692d Add TXTH sub-extension (.sub.ext.txth) to simplify extra config 2019-01-12 01:00:07 +01:00
NicknineTheEagle
5190b362a9 Added 4-bit PCM decoder 2019-01-09 22:30:15 +03: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
9291e33312 Fix minor compiler warnings 2018-12-08 00:33:07 +01:00
bnnm
13e0b1b348 Fix some TXTH operator/body_file issues 2018-12-01 02:41:56 +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
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
9d7d536da7 Add interleaved 2ch XBOX-IMA to TXTH/GENH 2018-09-04 17:11:08 +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
6b4f54df92 Add TXTH "loop_flag = auto" to autodetect PS-ADPCM loop points 2018-08-22 21:04:16 +02:00
bnnm
2f0aaaf4fd Fix some compile ifdefs and warnings 2018-08-20 20:05:44 +02:00
bnnm
a3534d7d11 Fix TXTH divide-by-zero with half_size and ch=0 2018-08-15 21:19:12 +02:00
bnnm
c26ad84497 Add TXTH sample_mode "blocks" (where bytes = blocks*interleave*channels) 2018-08-13 23:02:31 +02:00
bnnm
10dc43f2fb Use streamfile helpers 2018-08-04 20:42:25 +02:00
bnnm
7ad34736a3 Fix TXTH data_size for IMA 2018-05-27 17:29:23 +02:00
bnnm
a975eff1a2 Fix TXTH XMA multichannel and num_samples 2018-05-12 13:53:43 +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
2b63d451d9 Minor tweaks to get_streamfile_name and co 2018-03-29 21:03: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
e9b2751064 Add XBOX mono/int to GENH/TXTH (as codec_mode 1) [Manhunt (Xbox)] 2018-03-03 01:09:44 +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
3faae6fe6e Remove debug crap 2018-02-10 17:50:25 +01:00
bnnm
757e4cde69 Rename init_x_codec_data to init_x for consistency 2018-01-04 23:22:03 +01:00