Commit Graph

90 Commits

Author SHA1 Message Date
bnnm
6b655d9c53 Minor tweaks 2021-04-18 13:14:06 +02:00
bnnm
98b1c18951 Fix TXTH/TXTM name table not reading filenames with spaces 2021-04-03 17:44:45 +02:00
bnnm
35a6c5c2f9 Fix TXTH name_table wildcard bugs and add subfile auto-loop end 2021-03-21 00:50:33 +01:00
bnnm
52f648d4bb txth/txtp: remove unnecessary memsets 2021-03-14 16:22:44 +01:00
bnnm
e8a3e737e7 Fix TXTH subfiles + subsongs when subfiles only have 1 subsong 2020-12-20 15:08:03 +01:00
Adam Higerd
a9752e3da7 switch nibbles on OKI4s mono, add to TXTH 2020-12-01 21:19:03 -06:00
bnnm
af7cc73685 Add TXTH name_offset_absolute for some subsong cases 2020-11-09 18:49:54 +01:00
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