bnnm
6d1a0e2895
cleanup: separate functions
2023-05-15 12:04:12 +02:00
bnnm
4b0387fb7a
cleanup: separate functions
2023-05-14 23:20:20 +02:00
bnnm
bf218c08b4
cleanup: separate functions
...
move common functions to its own .h so it's clearer where are they used and don't get copied in all headers
2023-05-14 21:20:29 +02:00
bnnm
4bc3f1365d
cleanup: separate some util.h functions
...
also avoid include useless functions when possible (faster compiles)
2023-05-07 22:34:35 +02:00
bnnm
4e90dd24e7
Improve STDIO for TXTP that open many small files
2022-01-08 20:57:45 +01:00
bnnm
656c70e67b
cleanup
2021-10-24 10:28:48 +02:00
bnnm
86c31d1481
streamfile cleanup
2021-10-10 15:09:58 +02:00
bnnm
34b25d2e1f
txtm: tweak for multi multi-awb+acb
2021-10-01 00:04:08 +02:00
bnnm
8e4d481fad
streamfiles: tweak io64 detection
2021-09-26 19:27:38 +02:00
bnnm
43d89a46a1
streamfile: minor performance tweaks
2021-09-19 23:48:33 +02:00
bnnm
391bfe9d4d
streamfiles: improve performance on name copy
2021-09-16 00:18:52 +02:00
bnnm
af2f88993a
streamfiles: fix off_t in MSVC/custom IO callback
2021-09-15 23:09:19 +02:00
bnnm
b0ee80e21c
build: skip missing fseek64 on emscripten
2021-09-12 21:29:07 +02:00
bnnm
518cf8f8b1
build: fix some emscripten/wasm crashes
2021-09-12 20:05:56 +02:00
bnnm
bee90fd0ad
cleanup
2021-09-05 17:53:47 +02:00
bnnm
1d758db7d4
Tweak STREAMFILES to read +2GB files
2021-09-04 21:57:23 +02:00
bnnm
8094ce9ebd
Fix clamped subfiles read bug
2021-07-17 19:00:40 +02:00
Christopher Snowhill
5c9d52d939
Fix #887 - foobar paths should work again
2021-07-09 01:06:28 -07:00
bnnm
d7b277a671
cleanup: BOM skip function
2021-07-08 22:26:21 +02:00
bnnm
0854565b92
Fix some TXTH/TXTP + CLI path issues
2021-07-08 22:08:57 +02:00
bnnm
f5cefd544e
txtm: add option to read file position in .txtm
2021-06-20 13:42:06 +02:00
bnnm
98b1c18951
Fix TXTH/TXTM name table not reading filenames with spaces
2021-04-03 17:44:45 +02:00
bnnm
7a047c967a
Fix issues when getting extension affecting .mpf + cleanup
2021-01-03 16:07:17 +01:00
NicknineTheEagle
ac389b1af3
Added TXTM format for specifying companion files
2020-11-08 22:42:57 +03:00
NicknineTheEagle
975958b5a9
Fixed open_streamfile_by_filename crashing if empty filename is passed
2020-09-29 15:10:45 +03:00
bnnm
d263b9c080
Allow reading some Windows-1252 strings
2020-08-01 15:28:41 +02:00
bnnm
e5e0076f37
Catch EOF faster in find_chunk
2020-06-06 16:12:20 +02:00
bnnm
1a4de84b1f
Fix fakename streamfile for extensionless names
2020-05-24 12:45:14 +02:00
bnnm
e46993b4fc
Fix test.exe + MSVC bug in Ubi SB bigfiles
2020-04-16 00:27:28 +02:00
bnnm
41fe7ad27b
Add .isb MPEG/XMA [Mass Effect (multi)]
2020-04-05 22:07:51 +02:00
bnnm
3419f2f6d9
Add IO streamfiles init/close callbacks
2020-03-07 10:15:02 +01:00
bnnm
e0eaffbf3f
Add ISACT .isb [Psychonauts (PC)]
2019-11-03 22:56:37 +01:00
bnnm
e06e2f2bb2
Fix uncommon handle leak when opening too many files
2019-11-03 17:55:47 +01:00
bnnm
1768e55a1c
Rename get_streamfile_text_line to read_line and minor cleanup
2019-10-20 11:55:05 +02:00
bnnm
a0a6e0d172
Add streamfile helpers
2019-10-19 11:07:28 +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
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
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
bnnm
ee71ac94b5
Add more riff chunk finders
2019-09-14 12:39:47 +02:00
bnnm
42f3cf5913
Update chunk handling functions
2019-09-08 20:23:59 +02:00
bnnm
a3296cd274
Minor tweaks
2019-08-15 22:15:37 +02:00
bnnm
962e32dbf4
Fix companion files for extensionless formats
2019-08-02 17:30:23 +02:00
bnnm
613368f72d
Fix dump_streamfile bug
2019-03-16 00:27:41 +01:00
bnnm
decf64cf01
Add read_sXXle/read_uXXbe/etc alias as a test
2019-02-23 15:23:00 +01:00
bnnm
dd5bbe531e
Tweak dump_streamfile
2019-02-22 23:52:39 +01:00
bnnm
9e1e4464b0
Improve Ubi BAO (.pk) parsing speed
2019-01-01 23:21:08 +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
e8ca19ba2c
Add fix_dir_separators util
2018-11-24 00:44:17 +01:00
bnnm
70ba297606
Tweak comment
2018-09-23 03:09:46 +02:00