Final fixes for .TRA and .MTAF

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@886 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
bxaimc 2010-12-03 23:21:36 +00:00
parent 7b137c17ef
commit 650b6abe16
10 changed files with 35 additions and 6 deletions

View File

@ -371,6 +371,7 @@ bool input_vgmstream::g_is_our_path(const char * p_path,const char * p_extension
if(!stricmp_utf8(p_extension,"msf")) return 1;
if(!stricmp_utf8(p_extension,"mss")) return 1;
if(!stricmp_utf8(p_extension,"msvp")) return 1;
if(!stricmp_utf8(p_extension,"mtaf")) return 1;
if(!stricmp_utf8(p_extension,"mus")) return 1;
if(!stricmp_utf8(p_extension,"musc")) return 1;
if(!stricmp_utf8(p_extension,"musx")) return 1;
@ -458,6 +459,7 @@ bool input_vgmstream::g_is_our_path(const char * p_path,const char * p_extension
if(!stricmp_utf8(p_extension,"thp")) return 1;
if(!stricmp_utf8(p_extension,"tk1")) return 1;
if(!stricmp_utf8(p_extension,"tk5")) return 1;
if(!stricmp_utf8(p_extension,"tra")) return 1;
if(!stricmp_utf8(p_extension,"tydsp")) return 1;
if(!stricmp_utf8(p_extension,"um3")) return 1;
@ -666,6 +668,7 @@ DECLARE_MULTIPLE_FILE_TYPE("MSA Audio File (*.MSA)", msa);
DECLARE_MULTIPLE_FILE_TYPE("MSF Audio File (*.MSF)", msf);
DECLARE_MULTIPLE_FILE_TYPE("MSS Audio File (*.MSS)", mss);
DECLARE_MULTIPLE_FILE_TYPE("MSVP Audio File (*.MSVP)", msvp);
DECLARE_MULTIPLE_FILE_TYPE("MTAF Audio File (*.MTAF)", mtaf);
DECLARE_MULTIPLE_FILE_TYPE("MUS Playlist File (*.MUS)", mus);
DECLARE_MULTIPLE_FILE_TYPE("MUSC Audio File (*.MUSC)", musc);
DECLARE_MULTIPLE_FILE_TYPE("MUSX Audio File (*.MUSX)", musx);

View File

@ -48,7 +48,9 @@ LAYOUT_OBJS=layout/ast_blocked.o \
layout/mxch_blocked.o \
layout/psx_mgav_blocked.o \
layout/ps2_adm_blocked.o \
layout/bdsp_blocked.o
layout/bdsp_blocked.o \
layout/tra_blocked.o \
layout/mtaf_block.o
META_OBJS=meta/adx_header.o \
meta/afc_header.o \
@ -262,7 +264,9 @@ META_OBJS=meta/adx_header.o \
meta/ps3_sgh_sgb.o \
meta/ngca.o \
meta/wii_ras.o \
meta/ps2_spm.o
meta/ps2_spm.o \
meta/ps2_mtaf.o \
meta/x360_tra.o
OBJECTS=vgmstream.o streamfile.o util.o $(CODING_OBJS) $(LAYOUT_OBJS) $(META_OBJS)

View File

@ -33,5 +33,7 @@ liblayout_la_SOURCES += mxch_blocked.c
liblayout_la_SOURCES += psx_mgav_blocked.c
liblayout_la_SOURCES += ps2_adm_blocked.c
liblayout_la_SOURCES += bdsp_blocked.c
liblayout_la_SOURCES += mtaf_block.c
liblayout_la_SOURCES += tra_blocked.c
EXTRA_DIST = layout.h

View File

@ -690,6 +690,10 @@
RelativePath=".\meta\ps2_msa.c"
>
</File>
<File
RelativePath=".\meta\ps2_mtaf.c"
>
</File>
<File
RelativePath=".\meta\ps2_npsf.c"
>
@ -1010,6 +1014,10 @@
RelativePath=".\meta\wvs.c"
>
</File>
<File
RelativePath=".\meta\x360_tra.c"
>
</File>
<File
RelativePath=".\meta\xbox_hlwav.c"
>
@ -1254,6 +1262,10 @@
RelativePath=".\layout\ivaud_layout.c"
>
</File>
<File
RelativePath=".\layout\mtaf_block.c"
>
</File>
<File
RelativePath=".\layout\mus_acm_layout.c"
>
@ -1282,6 +1294,10 @@
RelativePath=".\layout\thp_blocked.c"
>
</File>
<File
RelativePath=".\layout\tra_blocked.c"
>
</File>
<File
RelativePath=".\layout\vs_blocked.c"
>

View File

@ -215,5 +215,7 @@ libmeta_la_SOURCES += ps3_sgh_sgb.c
libmeta_la_SOURCES += ngca.c
libmeta_la_SOURCES += wii_ras.c
libmeta_la_SOURCES += ps2_spm.c
libmeta_la_SOURCES += ps2_mtaf.c
libmeta_la_SOURCES += x360_tra.c
EXTRA_DIST = meta.h

View File

@ -545,6 +545,6 @@ VGMSTREAM * init_vgmstream_wii_ras(STREAMFILE* streamFile);
VGMSTREAM * init_vgmstream_ps2_spm(STREAMFILE* streamFile);
VGMSTREAM * init_vgmstream_xbox_tra(STREAMFILE* streamFile);
VGMSTREAM * init_vgmstream_x360_tra(STREAMFILE* streamFile);
#endif

View File

@ -8,7 +8,7 @@
2010-12-03 - Fastelbja : First version ...
*/
VGMSTREAM * init_vgmstream_xbox_tra(STREAMFILE *streamFile) {
VGMSTREAM * init_vgmstream_x360_tra(STREAMFILE *streamFile) {
VGMSTREAM * vgmstream = NULL;
char filename[260];

View File

@ -294,7 +294,7 @@ VGMSTREAM * (*init_vgmstream_fcns[])(STREAMFILE *streamFile) = {
init_vgmstream_ngca,
init_vgmstream_wii_ras,
init_vgmstream_ps2_spm,
init_vgmstream_xbox_tra,
init_vgmstream_x360_tra,
};
#define INIT_VGMSTREAM_FCNS (sizeof(init_vgmstream_fcns)/sizeof(init_vgmstream_fcns[0]))

View File

@ -128,6 +128,7 @@ gchar *vgmstream_exts [] = {
"msf",
"mss",
"msvp",
"mtaf",
"mus",
"musc",
"musx",
@ -214,6 +215,7 @@ gchar *vgmstream_exts [] = {
"thp",
"tk1",
"tk5",
"tra",
"tydsp",
"um3",

View File

@ -338,7 +338,7 @@ char * extension_list[] = {
void about(HWND hwndParent) {
MessageBox(hwndParent,
PLUGIN_DESCRIPTION "\n"
"by hcs, FastElbja, manakoAT, and bxaimc\n\n"
"by hcs, FastElbja, manakoAT, bxaimc, and snakemeat\n\n"
"http://sourceforge.net/projects/vgmstream"
,"about in_vgmstream",MB_OK);
}