bnnm
abb8d3fa1d
Rename TXTH subsong_offset to subsong_spacing for clarity
...
Also add loop_start/end aliases for easier typing
2020-11-09 17:35:38 +01:00
NicknineTheEagle
0df7f8ccca
EA SCHl: Unified EA-XA decoder
2020-11-01 07:56:10 +03:00
bnnm
cb1b9f9083
Fix .txth subfiles with subsongs
2020-09-18 23:48:03 +02:00
bnnm
7592e72bae
Make get_xx functions const
2020-07-17 19:09:47 +02:00
bnnm
e619ad7831
Doc
2020-06-21 00:35:34 +02:00
bnnm
3164eaa2ae
Add TXTH loop_behavior=inverted where 0 is loop [Bloody Roar 4]
2020-06-14 15:50:09 +02:00
bnnm
4413d7b20f
Cleanup
2020-06-14 15:27:55 +02:00
NicknineTheEagle
b456cb84c6
TXTH: Added EA-XA support
2020-06-09 21:32:18 +03:00
bnnm
d556919895
Add Argonaut ASF to TXTH [Croc (SAT)]
2020-04-04 22:24:07 +02:00
bnnm
41dd45f455
Fix TXTH base_offset chaining and other edge cases
...
- allow name_table when setting body_file
- match paths in name_table (needs wildcard: *path/file.ext)
- always apply base_offset to coefs/hist/name_offset
2020-03-15 00:39:16 +01: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
bnnm
302b264b13
Add base_offset to coef_offset in TXTH
2019-11-06 23:06:38 +01:00
bnnm
8f86c30fe0
Allow coef_offset to work with subsongs in TXTH
2019-11-03 22:59:10 +01: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
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
97c090886f
Tweak Yamaha/AICA codec naming
2019-09-21 19:15:01 +02:00
bnnm
48d3690d81
Add TXTH hist_offset for DSP
2019-09-14 12:38:49 +02:00
bnnm
84038b0fea
Improve raw ATRAC3 decoding accuracy and cleanup
2019-08-26 22:58:43 +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
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
bnnm
59cef16a2c
Add TXTH "half_size" interleave + SDF/BD3 exts
2017-12-09 12:23:19 +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
c2ef5f8694
Use get_streamfile_text_line in TXTH (cleanup)
2017-11-23 23:03:55 +01:00
bnnm
1a57ae8b85
Add TXTH AC3 (.lac3) for bytes_to_samples [Burnout (PS2)]; cleanup
2017-11-10 19:34:36 +01:00
bnnm
93a122536c
Get TXTH FFmpeg's num_samples if not specified, sometimes works
2017-09-24 22:28:35 +02:00
bnnm
be5a0371f5
Fix division by zero in some cases
2017-08-25 23:27:23 +02:00
bnnm
561048e613
Fix again TXTH LINE_MAX, even VS2015 was complaining
2017-08-12 11:11:08 +02:00
bnnm
6308818b77
Simplify MPEG coding/layouts to allow blocked layouts and future changes
2017-07-29 13:05:23 +02: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
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