mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 00:20:47 +01:00
Add PS3 IVAG meta.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@977 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
4c35b14310
commit
70df3651fa
@ -356,6 +356,7 @@ bool input_vgmstream::g_is_our_path(const char * p_path,const char * p_extension
|
||||
if(!stricmp_utf8(p_extension,"isd")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"isws")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"ivaud")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"ivag")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"ivb")) return 1;
|
||||
|
||||
if(!stricmp_utf8(p_extension,"joe")) return 1;
|
||||
@ -668,6 +669,7 @@ DECLARE_MULTIPLE_FILE_TYPE("PS2 RAW Interleaved PCM (*.INT)", int);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("ISD Audio File (*.ISD)", isd);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("ISWS Audio File (*.ISWS)", isws);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("IVAUD Audio File (*.IVAUD)", ivaud);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("IVAG Audio File (*.IVAG)", ivag);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("IVB Audio File (*.IVB)", ivb);
|
||||
|
||||
DECLARE_MULTIPLE_FILE_TYPE("JOE Audio File (*.JOE)", joe);
|
||||
|
@ -285,7 +285,8 @@ META_OBJS=meta/adx_header.o \
|
||||
meta/wpd.o \
|
||||
meta/mn_str.o \
|
||||
meta/ps2_mss.o \
|
||||
meta/ps2_hsf.o
|
||||
meta/ps2_hsf.o \
|
||||
meta/ps3_ivag.o
|
||||
|
||||
OBJECTS=vgmstream.o streamfile.o util.o $(CODING_OBJS) $(LAYOUT_OBJS) $(META_OBJS)
|
||||
|
||||
|
@ -874,6 +874,10 @@
|
||||
RelativePath=".\meta\ps3_cps.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\meta\ps3_ivag.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\meta\ps3_klbs.c"
|
||||
>
|
||||
|
@ -232,5 +232,6 @@ libmeta_la_SOURCES += wpd.c
|
||||
libmeta_la_SOURCES += mn_str.c
|
||||
libmeta_la_SOURCES += ps2_mss.c
|
||||
libmeta_la_SOURCES += ps2_hsf.c
|
||||
libmeta_la_SOURCES += ps3_ivag.c
|
||||
|
||||
EXTRA_DIST = meta.h
|
||||
|
@ -606,4 +606,6 @@ VGMSTREAM * init_vgmstream_ps2_mss(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_ps2_hsf(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_ps3_ivag(STREAMFILE* streamFile);
|
||||
|
||||
#endif
|
||||
|
@ -316,6 +316,7 @@ VGMSTREAM * (*init_vgmstream_fcns[])(STREAMFILE *streamFile) = {
|
||||
init_vgmstream_mn_str,
|
||||
init_vgmstream_ps2_mss,
|
||||
init_vgmstream_ps2_hsf,
|
||||
init_vgmstream_ps3_ivag,
|
||||
};
|
||||
|
||||
#define INIT_VGMSTREAM_FCNS (sizeof(init_vgmstream_fcns)/sizeof(init_vgmstream_fcns[0]))
|
||||
@ -2881,6 +2882,9 @@ void describe_vgmstream(VGMSTREAM * vgmstream, char * desc, int length) {
|
||||
break;
|
||||
case meta_PS2_HSF:
|
||||
snprintf(temp,TEMPSIZE,"Lowrider 'HSF' header");
|
||||
break;
|
||||
case meta_PS3_IVAG:
|
||||
snprintf(temp,TEMPSIZE,"PS3 'IVAG' Header");
|
||||
break;
|
||||
default:
|
||||
snprintf(temp,TEMPSIZE,"THEY SHOULD HAVE SENT A POET");
|
||||
|
@ -530,6 +530,7 @@ typedef enum {
|
||||
meta_MN_STR, // Mini Ninjas (PC/PS3/WII)
|
||||
meta_PS2_MSS, // ShellShock Nam '67 (PS2)
|
||||
meta_PS2_HSF, // Lowrider (PS2)
|
||||
meta_PS3_IVAG, // Interleaved VAG files (PS3)
|
||||
} meta_t;
|
||||
|
||||
typedef struct {
|
||||
|
@ -102,6 +102,7 @@ gchar *vgmstream_exts [] = {
|
||||
"int",
|
||||
"isd",
|
||||
"ivaud",
|
||||
"ivag",
|
||||
"ivb",
|
||||
|
||||
"joe",
|
||||
|
@ -170,6 +170,7 @@ char * extension_list[] = {
|
||||
"isd\0ISD Audio File (*.ISD)\0",
|
||||
"isws\0ISWS Audio File (*.ISWS)\0",
|
||||
"ivaud\0IVAUD Audio File (*.IVAUD)\0",
|
||||
"ivag\0IVAG Audio File (*.IVAG)\0",
|
||||
"ivb\0IVB Audio File (*.IVB)\0",
|
||||
|
||||
"joe\0JOE Audio File (*.JOE)\0",
|
||||
|
Loading…
Reference in New Issue
Block a user