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:
snakemeat 2012-04-14 16:07:21 +00:00
parent 4c35b14310
commit 70df3651fa
9 changed files with 18 additions and 1 deletions

View File

@ -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);

View File

@ -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)

View File

@ -874,6 +874,10 @@
RelativePath=".\meta\ps3_cps.c"
>
</File>
<File
RelativePath=".\meta\ps3_ivag.c"
>
</File>
<File
RelativePath=".\meta\ps3_klbs.c"
>

View File

@ -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

View File

@ -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

View File

@ -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");

View File

@ -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 {

View File

@ -102,6 +102,7 @@ gchar *vgmstream_exts [] = {
"int",
"isd",
"ivaud",
"ivag",
"ivb",
"joe",

View File

@ -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",