Commit Graph

72 Commits

Author SHA1 Message Date
bnnm
c728301989 Cleanup 2020-07-18 00:27:53 +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
b2e3058072 Add buffer comments 2019-11-03 17:57:07 +01:00
bnnm
0dfe352c7b Improve streamfile float reading 2019-11-02 20:12:12 +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
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
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
19d5a6f82c Improve .xsb internal name reading and .xsb filename detection 2019-03-23 15:50:59 +01:00
bnnm
051cad9462 Minor shadowing fixes and cleanup 2019-03-02 19:23:37 +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
98587ec8e7 Fix memory corruption when forcing loops and clean internals 2019-02-15 22:28:20 +01:00
bnnm
b2f3c860d5 Improve slightly guess_endianness 2019-02-03 01:46:05 +01:00
bnnm
7211e0e0ec Merge branch 'master' of https://github.com/kode54/vgmstream into test 2019-01-02 11:10:14 +01:00
bnnm
9e1e4464b0 Improve Ubi BAO (.pk) parsing speed 2019-01-01 23:21:08 +01:00
NicknineTheEagle
b0ac7ce4e3 EA SCHl: Added more MPF versions 2018-12-31 23:01:46 +03:00
NicknineTheEagle
7ce512eee2 Fixed var types in align_size_to_bytes 2018-12-30 23:39:27 +03:00
NicknineTheEagle
52851e14a2 Ubi SB: Properly handle FMT_XMA1 header 2018-12-30 22:25:14 +03:00
bnnm
e8ca19ba2c Add fix_dir_separators util 2018-11-24 00:44:17 +01: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
bnnm
b438b5fa01 Add debug util for easier custom IO testing 2018-08-11 17:58:16 +02:00
bnnm
0fc5b466c8 Add some extra streamfile helpers 2018-08-04 20:42:00 +02:00
NicknineTheEagle
e2160f4e09 Added a helper function for auto-detecting value endianness 2018-07-17 23:54:24 +03:00
bnnm
46f333cc8e Remove get_realname from streamfiles as it's not used anymore
It was implemented for Audacious only to open companion NWA files, but
current version has no need for it. In case there is some obscure thing
that needs it, Audacious's vfs.cc should translate or return realnames
transparently, without having to modify other streamfiles.
2018-04-19 22:54:45 +02:00
bnnm
d6ade4123f Add buffer_streamfile (for custom IO) and simplify stdio reads 2018-04-19 22:19:30 +02:00
Christopher Snowhill
35bede85fe
Merge pull request #209 from haspor/master
Android change for streamfile
2018-03-31 17:54:45 -07:00
bnnm
e4c819af2e Add size_callback to open_io_streamfile for more complex stuff 2018-03-30 18:10:23 +02:00
-
d5b095361c revert back the Android change. It seems that the 'dup' is not working perfectly with unistd.h either. 2018-03-30 08:22:03 +03:00
bnnm
92b9992552 Rename open_stream_ext/name to open_streamfile_by_ext/filename (cleanup) 2018-03-29 22:34:21 +02:00
bnnm
2b63d451d9 Minor tweaks to get_streamfile_name and co 2018-03-29 21:03:25 +02:00
bnnm
69fb29fc7a Return size_t in read_string for consistency 2018-03-29 20:42:52 +02:00
bnnm
49e62d2bcc Move read_pos_file to ffmpeg.c since it was only needed there 2018-03-29 20:38:06 +02:00
bnnm
b97fc632be Fix minor compiler warnings 2018-03-03 19:07:59 +01:00
bnnm
15ca185052 Add util to get base filename without path 2018-02-25 16:27:48 +01:00
-
2e020143cf A small fix for Android. Songs from this set fails to play without the fix:Bionicle Heroes (2006-11-14)(Traveller's Tales)(Eidos) 2018-01-28 16:52:03 +02:00
bnnm
8c7eba151a Add STREAMFILE for segmented files 2018-01-27 13:58:46 +01:00
bnnm
88999d570d Add STREAMFILE for fake names (used to call other meta) 2018-01-27 11:07:45 +01:00
bnnm
ae2ba1bc29 Update read_key_file for variable-sized keys 2018-01-20 20:06:15 +01:00
bnnm
75a1023b60 Add new streamfile definitions; don't segfault on close_streamfile(NULL) 2018-01-20 01:59:36 +01:00
bnnm
927a3b5f39 Remove PROFILE_STREAMFILE to simplify further changes, not used anymore 2018-01-19 00:16:14 +01:00
bnnm
dbbbfcc9f5 Make get_streamfile_dos_line read CR/LF too and rename accordingly
CR used in some Falcom looping files as separator
2017-11-23 22:53:43 +01:00
bnnm
801383382d Add util to open stream in the same dir 2017-11-05 17:05:39 +01:00
bnnm
c4a6e6e194 Add read_64bitBE/LE for Rockstar AWC
They use it encode 3 values in 64b and save one byte in the process,
whee.
2017-08-28 15:11:52 +02:00
bnnm
f4f920482a Unify open_stdio usage and add opening by FILE 2017-08-13 19:58:01 +02:00
bnnm
a3146ed2f6 Add stream index selection, to use in metas if supported by the format
Not ideal here, but it's the simplest way to pass to all
init_vgmstream_x functions without having to change all functions to
pass extra params or use globals. The value can be set externally by
plugins and metas can use to play the selected stream, or just ignore
it.
2017-08-12 11:23:09 +02:00
bnnm
c5dbece5ac Add string reader util 2017-08-12 11:14:16 +02:00