Support Wii U Asset

All types selection
This commit is contained in:
Perfare 2017-02-24 15:39:06 +08:00
parent 631f2e7027
commit b4bce77381
3 changed files with 4 additions and 6 deletions

View File

@ -31,10 +31,7 @@ namespace Unity_Studio
private List<int[]> classIDs = new List<int[]>();//use for 5.5.0
public static string[] buildTypeSplit = { ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" };
public static string[] strverSplit = {
".", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t",
"u", "v", "w", "x", "y", "z", "\n"
};
public static string[] strverSplit = { ".", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "\n", "-", "_" };
#region cmmon string
private static Dictionary<int, string> baseStrings = new Dictionary<int, string>()
@ -234,6 +231,7 @@ namespace Unity_Studio
case 16: platformStr = "Google NaCl"; break;
case 21: platformStr = "WP8"; break;
case 25: platformStr = "Linux"; break;
case 29: platformStr = "Wii U"; break;
default: platformStr = "Unknown Platform"; break;
}

View File

@ -58,7 +58,7 @@ namespace Unity_Studio
mainPath = Path.GetDirectoryName(openFileDialog1.FileNames[0]);
ThreadPool.QueueUserWorkItem(state =>
{
if (openFileDialog1.FilterIndex == 1)
if (openFileDialog1.FilterIndex == 1 || openFileDialog1.FilterIndex == 3)
{
MergeSplitAssets(mainPath);

View File

@ -149,7 +149,7 @@ The quick brown fox jumps over the lazy dog. 1234567890</value>
<value>636, 17</value>
</data>
<data name="openFileDialog1.Filter" xml:space="preserve">
<value>Unity asset files|level*; globalgamemanagers; mainData; CustomAssetBundle-*; CAB-*; BuildPlayer-*; *.assets; *.sharedAssets|Unity bundle files|*.unity3d; *.unity3d.lz4; *.assetbundle; *.bundle; *.bytes</value>
<value>Unity asset files|level*; globalgamemanagers; mainData; CustomAssetBundle-*; CAB-*; BuildPlayer-*; *.assets; *.sharedAssets|Unity bundle files|*.unity3d; *.unity3d.lz4; *.assetbundle; *.bundle; *.bytes|Unity asset files|*.*|Unity bundle files|*.*</value>
</data>
<data name="openFolderDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing">
<value>169, 17</value>