Move some extensions to the normal list

This commit is contained in:
bnnm 2019-11-02 16:02:53 +01:00
parent b98f9c36ab
commit 4b1df80f4d
2 changed files with 14 additions and 5 deletions

View File

@ -161,6 +161,11 @@ Some plugins have options that allow any extension (common or unknown) to be
played, making renaming is unnecessary (may need to adjust plugin priority in
player's options).
Also be aware that some plugins can tell the player they handle some extension,
then not actually play it. This makes the file unplayable as vgmstream doesn't
even get the chance to parse that file, so you may need to disable the offending
plugin or rename the file (for example this may happen with .asf and foobar).
When extracting from a bigfile, sometimes internal files don't have an actual
name+extension. Those should be renamed to its proper/common extension, as the
extractor program may guess wrong (like .wav instead of .at3 or .wem). If

View File

@ -6,10 +6,16 @@
* to inform plugins that need it. Common extensions are commented out to avoid stealing them
* and possibly adding an unwanted association to the player. */
/* Common extensions (like .wav or .ogg) should go in the common_extension_list. It should only
* contain common formats that vgmstream can also parse, to avoid hijacking them (since their
* plugins typically are faster and have desirable features vgmstream won't handle). Extensions of
* formats not parsed don't need to go there (for example .stm is a Scream Tracker Module elsewhere,
* but our .stm is very different so there is no conflict). */
/* Some extensions require external libraries and could be #ifdef, not worth. */
/* Formats marked as "not parsed" mean they'll go through FFmpeg, the header/extension isn't
* parsed by vgmstream and typically won't not be fully accurate. May have a .ext.pos pair for fun. */
* parsed by vgmstream and typically won't not be fully accurate. */
static const char* extension_list[] = {
@ -174,7 +180,7 @@ static const char* extension_list[] = {
"gin",
"gms",
"gsb",
//"gsf", //conflicts with GBA gsf plugins?
"gsf",
"gtd",
"gwm",
@ -443,7 +449,7 @@ static const char* extension_list[] = {
"sss",
"ster",
"sth",
//"stm", //common
"stm",
"stma", //fake extension/header id for .stm
"str",
"stream",
@ -585,7 +591,6 @@ static const char* common_extension_list[] = {
"aiff", //common
"bin", //common
"flac", //common
"gsf", //conflicts with GBA gsf plugins?
"mp+", //common [Moonshine Runners (PC)]
"mp2", //common
"mp3", //common
@ -593,7 +598,6 @@ static const char* common_extension_list[] = {
"mpc", //common
"ogg", //common
"opus", //common
"stm", //common
"wav", //common
};