diff --git a/AssetStudio/AssetStudio.csproj b/AssetStudio/AssetStudio.csproj
index d3a981b..fd85873 100644
--- a/AssetStudio/AssetStudio.csproj
+++ b/AssetStudio/AssetStudio.csproj
@@ -13,11 +13,5 @@
-
-
-
- PreserveNewest
-
-
diff --git a/AssetStudio/AssetsManager.cs b/AssetStudio/AssetsManager.cs
index 56f2db0..f3c04af 100644
--- a/AssetStudio/AssetsManager.cs
+++ b/AssetStudio/AssetsManager.cs
@@ -443,7 +443,7 @@ namespace AssetStudio
foreach (var offset in offsets)
{
stream.Offset = offset;
- var dummyPath = Path.Combine("//?/block:/", reader.FileName, offset.ToString("X8"));
+ var dummyPath = Path.Combine(reader.FileName, offset.ToString("X8"));
var subReader = new FileReader(dummyPath, stream, true);
LoadBundleFile(subReader, reader.FullPath, offset);
}
@@ -454,7 +454,7 @@ namespace AssetStudio
do
{
stream.Offset = stream.RelativePosition;
- var dummyPath = Path.Combine("//?/block:/", reader.FileName, stream.RelativePosition.ToString("X8"));
+ var dummyPath = Path.Combine(reader.FileName, stream.RelativePosition.ToString("X8"));
var subReader = new FileReader(dummyPath, stream, true);
LoadBundleFile(subReader, reader.FullPath, stream.RelativePosition);
} while (stream.Remaining > 0);
@@ -480,7 +480,7 @@ namespace AssetStudio
foreach (var offset in offsets)
{
stream.Offset = offset;
- var dummyPath = Path.Combine("//?/blk:/", reader.FileName, offset.ToString("X8"));
+ var dummyPath = Path.Combine(reader.FileName, offset.ToString("X8"));
var subReader = new FileReader(dummyPath, stream, true);
switch (subReader.FileType)
{
@@ -499,7 +499,7 @@ namespace AssetStudio
do
{
stream.Offset = stream.RelativePosition;
- var dummyPath = Path.Combine("//?/blk:/", reader.FileName, stream.RelativePosition.ToString("X8"));
+ var dummyPath = Path.Combine(reader.FileName, stream.RelativePosition.ToString("X8"));
var subReader = new FileReader(dummyPath, stream, true);
switch (subReader.FileType)
{
@@ -626,10 +626,10 @@ namespace AssetStudio
case ClassIDType.Animation:
obj = new Animation(objectReader);
break;
- case ClassIDType.AnimationClip:
+ case ClassIDType.AnimationClip when ExportableTypes[ClassIDType.AnimationClip]:
obj = new AnimationClip(objectReader);
break;
- case ClassIDType.Animator:
+ case ClassIDType.Animator when ExportableTypes[ClassIDType.Animator]:
obj = new Animator(objectReader);
break;
case ClassIDType.AnimatorController:
@@ -638,7 +638,7 @@ namespace AssetStudio
case ClassIDType.AnimatorOverrideController:
obj = new AnimatorOverrideController(objectReader);
break;
- case ClassIDType.AssetBundle:
+ case ClassIDType.AssetBundle when ExportableTypes[ClassIDType.AssetBundle]:
obj = new AssetBundle(objectReader);
break;
case ClassIDType.AudioClip:
@@ -647,30 +647,29 @@ namespace AssetStudio
case ClassIDType.Avatar:
obj = new Avatar(objectReader);
break;
- case ClassIDType.Font:
+ case ClassIDType.Font when ExportableTypes[ClassIDType.Font]:
obj = new Font(objectReader);
break;
- case ClassIDType.GameObject:
+ case ClassIDType.GameObject when ExportableTypes[ClassIDType.GameObject]:
obj = new GameObject(objectReader);
break;
- case ClassIDType.IndexObject:
+ case ClassIDType.IndexObject when ExportableTypes[ClassIDType.MiHoYoBinData]:
obj = new IndexObject(objectReader);
break;
case ClassIDType.Material:
+ case ClassIDType.Material when ExportableTypes[ClassIDType.Material]:
obj = new Material(objectReader);
break;
- case ClassIDType.Mesh:
+ case ClassIDType.Mesh when ExportableTypes[ClassIDType.Mesh]:
obj = new Mesh(objectReader);
break;
case ClassIDType.MeshFilter:
obj = new MeshFilter(objectReader);
break;
- case ClassIDType.MeshRenderer:
- if (Renderer.Skipped)
- goto default;
+ case ClassIDType.MeshRenderer when ExportableTypes[ClassIDType.Renderer]:
obj = new MeshRenderer(objectReader);
break;
- case ClassIDType.MiHoYoBinData:
+ case ClassIDType.MiHoYoBinData when ExportableTypes[ClassIDType.MiHoYoBinData]:
obj = new MiHoYoBinData(objectReader);
break;
case ClassIDType.MonoBehaviour:
@@ -688,24 +687,22 @@ namespace AssetStudio
case ClassIDType.RectTransform:
obj = new RectTransform(objectReader);
break;
- case ClassIDType.Shader:
+ case ClassIDType.Shader when ExportableTypes[ClassIDType.Shader]:
obj = new Shader(objectReader);
break;
- case ClassIDType.SkinnedMeshRenderer:
- if (Renderer.Skipped)
- goto default;
+ case ClassIDType.SkinnedMeshRenderer when ExportableTypes[ClassIDType.Renderer]:
obj = new SkinnedMeshRenderer(objectReader);
break;
- case ClassIDType.Sprite:
+ case ClassIDType.Sprite when ExportableTypes[ClassIDType.Sprite]:
obj = new Sprite(objectReader);
break;
case ClassIDType.SpriteAtlas:
obj = new SpriteAtlas(objectReader);
break;
- case ClassIDType.TextAsset:
+ case ClassIDType.TextAsset when ExportableTypes[ClassIDType.TextAsset]:
obj = new TextAsset(objectReader);
break;
- case ClassIDType.Texture2D:
+ case ClassIDType.Texture2D when ExportableTypes[ClassIDType.Texture2D]:
obj = new Texture2D(objectReader);
break;
case ClassIDType.Transform:
diff --git a/AssetStudio/BundleFile.cs b/AssetStudio/BundleFile.cs
index a85713b..866bf16 100644
--- a/AssetStudio/BundleFile.cs
+++ b/AssetStudio/BundleFile.cs
@@ -15,7 +15,6 @@ namespace AssetStudio
BlocksInfoAtTheEnd = 0x80,
OldWebPluginCompatibility = 0x100,
BlockInfoNeedPaddingAtStart = 0x200,
- CNUnityEncryption = 0x400
}
[Flags]
@@ -23,7 +22,6 @@ namespace AssetStudio
{
CompressionTypeMask = 0x3f,
Streamed = 0x40,
- CNUnity = 0x100
}
public enum CompressionType
@@ -66,7 +64,6 @@ namespace AssetStudio
}
private Game Game;
- private CNUnity CNUnity;
public Header m_Header;
private Node[] m_DirectoryInfo;
@@ -311,30 +308,6 @@ namespace AssetStudio
private void ReadBlocksInfoAndDirectory(FileReader reader)
{
- if (Game.Type.IsCNUnity())
- {
- ArchiveFlags mask;
-
- var version = ParseVersion();
- //Flag changed it in these versions
- if (version[0] < 2020 || //2020 and earlier
- (version[0] == 2020 && version[1] == 3 && version[2] <= 34) || //2020.3.34 and earlier
- (version[0] == 2021 && version[1] == 3 && version[2] <= 2) || //2021.3.2 and earlier
- (version[0] == 2022 && version[1] == 3 && version[2] <= 1)) //2022.3.1 and earlier
- {
- mask = ArchiveFlags.BlockInfoNeedPaddingAtStart;
- }
- else
- {
- mask = ArchiveFlags.CNUnityEncryption;
- }
-
- if ((m_Header.flags & mask) != 0)
- {
- CNUnity = new CNUnity(reader);
- }
- }
-
byte[] blocksInfoBytes;
if (m_Header.version >= 7 && !Game.Type.IsSRGroup())
{
@@ -424,7 +397,7 @@ namespace AssetStudio
};
}
}
- if (!Game.Type.IsCNUnity() && (m_Header.flags & ArchiveFlags.BlockInfoNeedPaddingAtStart) != 0)
+ if ((m_Header.flags & ArchiveFlags.BlockInfoNeedPaddingAtStart) != 0)
{
reader.AlignStream(16);
}
@@ -460,10 +433,6 @@ namespace AssetStudio
{
compressedBytesSpan = Mr0kUtils.Decrypt(compressedBytesSpan, (Mr0k)Game);
}
- if (Game.Type.IsCNUnity() && (blockInfo.flags & StorageBlockFlags.CNUnity) != 0)
- {
- CNUnity.DecryptBlock(compressedBytesSpan, compressedSize, i);
- }
if (Game.Type.IsOPFP())
{
OPFPUtils.Decrypt(compressedBytesSpan, reader.FullPath);
diff --git a/AssetStudio/Classes/Renderer.cs b/AssetStudio/Classes/Renderer.cs
index e4181b5..bbc9d5f 100644
--- a/AssetStudio/Classes/Renderer.cs
+++ b/AssetStudio/Classes/Renderer.cs
@@ -19,8 +19,6 @@ namespace AssetStudio
public abstract class Renderer : Component
{
- public static bool Skipped;
-
public PPtr[] m_Materials;
public StaticBatchInfo m_StaticBatchInfo;
public uint[] m_SubsetIndices;
diff --git a/AssetStudio/Crypto/CNUnity.cs b/AssetStudio/Crypto/CNUnity.cs
deleted file mode 100644
index f8e2a6c..0000000
--- a/AssetStudio/Crypto/CNUnity.cs
+++ /dev/null
@@ -1,158 +0,0 @@
-using System;
-using System.Text;
-using System.Security.Cryptography;
-
-namespace AssetStudio
-{
- public class CNUnity
- {
- private const string Signature = "#$unity3dchina!@";
-
- public static ICryptoTransform Encryptor;
-
- public byte[] Index = new byte[0x10];
- public byte[] Sub = new byte[0x10];
-
- public CNUnity(EndianBinaryReader reader)
- {
- reader.ReadUInt32();
-
- var infoBytes = reader.ReadBytes(0x10);
- var infoKey = reader.ReadBytes(0x10);
- reader.Position += 1;
-
- var signatureBytes = reader.ReadBytes(0x10);
- var signatureKey = reader.ReadBytes(0x10);
- reader.Position += 1;
-
- DecryptKey(signatureKey, signatureBytes);
-
- var str = Encoding.UTF8.GetString(signatureBytes);
- if (str != Signature)
- throw new Exception("Invalid Signature !!");
-
- DecryptKey(infoKey, infoBytes);
-
- infoBytes = infoBytes.ToUInt4Array();
- infoBytes.AsSpan(0, 0x10).CopyTo(Index);
- var subBytes = infoBytes.AsSpan(0x10, 0x10);
- for (var i = 0; i < subBytes.Length; i++)
- {
- var idx = (i % 4 * 4) + (i / 4);
- Sub[idx] = subBytes[i];
- }
- }
-
- public static bool SetKey(Entry entry)
- {
- try
- {
- using var aes = Aes.Create();
- aes.Mode = CipherMode.ECB;
- aes.Key = entry.GenerateKey();
-
- Encryptor = aes.CreateEncryptor();
- }
- catch(Exception e)
- {
- Logger.Error($"[CNUnity] Invalid key !!\n{e.Message}");
- return false;
- }
- return true;
- }
-
- public void DecryptBlock(Span bytes, int size, int index)
- {
- var offset = 0;
- while (offset < size)
- {
- offset += Decrypt(bytes[offset..], index++, size - offset);
- }
- }
-
- private void DecryptKey(byte[] key, byte[] data)
- {
- if (Encryptor != null)
- {
- key = Encryptor.TransformFinalBlock(key, 0, key.Length);
- for (int i = 0; i < 0x10; i++)
- data[i] ^= key[i];
- }
- }
-
- private int DecryptByte(Span bytes, ref int offset, ref int index)
- {
- var b = Sub[((index >> 2) & 3) + 4] + Sub[index & 3] + Sub[((index >> 4) & 3) + 8] + Sub[((byte)index >> 6) + 12];
- bytes[offset] = (byte)((Index[bytes[offset] & 0xF] - b) & 0xF | 0x10 * (Index[bytes[offset] >> 4] - b));
- b = bytes[offset];
- offset++;
- index++;
- return b;
- }
-
- private int Decrypt(Span bytes, int index, int remaining)
- {
- var offset = 0;
-
- var curByte = DecryptByte(bytes, ref offset, ref index);
- var byteHigh = curByte >> 4;
- var byteLow = curByte & 0xF;
-
- if (byteHigh == 0xF)
- {
- int b;
- do
- {
- b = DecryptByte(bytes, ref offset, ref index);
- byteHigh += b;
- } while (b == 0xFF);
- }
-
- offset += byteHigh;
-
- if (offset < remaining)
- {
- DecryptByte(bytes, ref offset, ref index);
- DecryptByte(bytes, ref offset, ref index);
- if (byteLow == 0xF)
- {
- int b;
- do
- {
- b = DecryptByte(bytes, ref offset, ref index);
- } while(b == 0xFF);
- }
- }
-
- return offset;
- }
-
- public record Entry
- {
- public string Name { get; private set; }
- public string Key { get; private set; }
-
- public Entry(string name, string key)
- {
- Name = name;
- Key = key;
- }
-
- public bool Validate()
- {
- var bytes = GenerateKey();
- if (bytes.Length != 0x10)
- {
- Logger.Warning($"[CNUnity] {this} has invalid key, size should be 16 bytes, skipping...");
- return false;
- }
-
- return true;
- }
-
- public byte[] GenerateKey() => Convert.FromHexString(Key);
-
- public override string ToString() => $"{Name} ({Key})";
- }
- }
-}
\ No newline at end of file
diff --git a/AssetStudio/GameManager.cs b/AssetStudio/GameManager.cs
index f69cb31..0c45af2 100644
--- a/AssetStudio/GameManager.cs
+++ b/AssetStudio/GameManager.cs
@@ -12,7 +12,6 @@ namespace AssetStudio
{
int index = 0;
Games.Add(index++, new(GameType.Normal));
- Games.Add(index++, new Game(GameType.CNUnity));
Games.Add(index++, new Mhy0(GameType.GI, GIMhy0ShiftRow, GIMhy0Key, GIMhy0Mul, GIExpansionKey, GISBox, GIInitVector, GIInitSeed));
Games.Add(index++, new Mr0k(GameType.GI_Pack, PackExpansionKey, blockKey: PackBlockKey));
Games.Add(index++, new Mr0k(GameType.GI_CB1));
@@ -31,6 +30,7 @@ namespace AssetStudio
Games.Add(index++, new Game(GameType.FantasyOfWind));
Games.Add(index++, new Game(GameType.ShiningNikki));
}
+ public static Game GetGame(GameType gameType) => GetGame((int)gameType);
public static Game GetGame(int index)
{
if (!Games.TryGetValue(index, out var format))
@@ -124,7 +124,6 @@ namespace AssetStudio
SR_CB3,
TOT,
Naraka,
- CNUnity,
EnsembleStars,
OPFP,
AlchemyStars,
@@ -147,7 +146,6 @@ namespace AssetStudio
public static bool IsSRCB3(this GameType type) => type == GameType.SR_CB3;
public static bool IsTOT(this GameType type) => type == GameType.TOT;
public static bool IsNaraka(this GameType type) => type == GameType.Naraka;
- public static bool IsCNUnity(this GameType type) => type == GameType.CNUnity;
public static bool IsOPFP(this GameType type) => type == GameType.OPFP;
public static bool IsGIGroup(this GameType type) => type switch
{
diff --git a/AssetStudio/Keys.json b/AssetStudio/Keys.json
deleted file mode 100644
index 0962ae1..0000000
--- a/AssetStudio/Keys.json
+++ /dev/null
@@ -1,70 +0,0 @@
-[
- {
- "Name": "PGR GLB/KR",
- "Key": "6B75726F6B75726F6B75726F6B75726F"
- },
- {
- "Name": "PGR CN/JP/TW",
- "Key": "7935585076714C4F72436F6B57524961"
- },
- {
- "Name": "Archeland/Kalpa of Universe",
- "Key": "426C61636B4A61636B50726F6A656374"
- },
- {
- "Name": "Archeland 1.1.14",
- "Key": "50726F6A65637441726368654C616E64"
- },
- {
- "Name": "Neural Cloud",
- "Key": "31636162383436663532393031633965"
- },
- {
- "Name": "Higan: Eruthyll",
- "Key": "45317832633361346C35693662377572"
- },
- {
- "Name": "White Chord",
- "Key": "79756C6F6E6731383638676E6F6C7579"
- },
- {
- "Name": "Mecharashi",
- "Key": "33384338334631333245374637413041"
- },
- {
- "Name": "Castlevania: Moon Night Fantasy",
- "Key": "31323334353637383132333435363738"
- },
- {
- "Name": "Huā Yì Shān Xīn Zhī Yuè",
- "Key": "494E484A6E68647970716B3534377864"
- },
- {
- "Name": "Doula Continent",
- "Key": "52346366773339474644326661785756"
- },
- {
- "Name": "Bless Global",
- "Key": "6C6F6E67747567616D652E796A66623F"
- },
- {
- "Name": "Starside",
- "Key": "41394A3542384D4A50554D3539464B57"
- },
- {
- "Name": "Resonance Soltice",
- "Key": "5265736F6E616E63655265626F726E52"
- },
- {
- "Name": "Oblivion Override",
- "Key": "7179666D6F6F6E323331323433343532"
- },
- {
- "Name": "Dawnlands",
- "Key": "636F6465737339353237636F64657373"
- },
- {
- "Name": "BB",
- "Key": "5F6C4E3F3A3F233F3F3F3F663F1A3F3F"
- }
-]
\ No newline at end of file
diff --git a/AssetStudio/UnityCNKeyManager.cs b/AssetStudio/UnityCNKeyManager.cs
deleted file mode 100644
index f5c6f05..0000000
--- a/AssetStudio/UnityCNKeyManager.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-using System;
-using System.IO;
-using System.Linq;
-using Newtonsoft.Json;
-using System.Collections.Generic;
-using System.Reflection;
-
-namespace AssetStudio
-{
- public static class CNUnityKeyManager
- {
- public const string KeysFileName = "Keys.json";
-
- private static List Entries = new List();
-
- static CNUnityKeyManager()
- {
- var str = File.ReadAllText(KeysFileName);
- Entries = JsonConvert.DeserializeObject>(str);
- }
-
- public static void SaveEntries(List entries)
- {
- Entries.Clear();
- Entries.AddRange(entries);
-
- var str = JsonConvert.SerializeObject(Entries);
- File.WriteAllText(KeysFileName, str);
- }
-
- public static void SetKey(int index)
- {
- if (TryGetEntry(index, out var cnunity))
- {
- if (CNUnity.SetKey(cnunity))
- {
- Logger.Info($"[CNUnity] Selected Key is {cnunity}");
- }
- else
- {
- Logger.Info($"[CNUnity] No Key is selected !!");
- }
- }
- }
-
- public static bool TryGetEntry(int index, out CNUnity.Entry key)
- {
- try
- {
- if (index < 0 || index > Entries.Count)
- {
- throw new ArgumentOutOfRangeException();
- }
-
- key = Entries[index];
- }
- catch(Exception e)
- {
- Logger.Error($"[CNUnity] Invalid Index, check if list is not empty !!\n{e.Message}");
- key = null;
- return false;
- }
-
- return true;
- }
- public static CNUnity.Entry[] GetEntries() => Entries.ToArray();
- }
-}
diff --git a/AssetStudioFBXWrapper/Fbx.cs b/AssetStudioFBXWrapper/Fbx.cs
index 543706b..7fd9a82 100644
--- a/AssetStudioFBXWrapper/Fbx.cs
+++ b/AssetStudioFBXWrapper/Fbx.cs
@@ -28,7 +28,7 @@ namespace AssetStudio
{
public static void Export(string path, IImported imported, bool eulerFilter, float filterPrecision,
- bool allNodes, bool skins, bool animation, bool blendShape, bool castToBone, float boneSize, bool exportAllUvsAsDiffuseMaps, float scaleFactor, int versionIndex, bool isAscii)
+ bool allNodes, bool skins, bool animation, bool blendShape, bool castToBone, float boneSize, bool exportAllUvsAsDiffuseMaps, bool exportUV0UV1, float scaleFactor, int versionIndex, bool isAscii)
{
var file = new FileInfo(path);
var dir = file.Directory;
@@ -43,7 +43,7 @@ namespace AssetStudio
var name = Path.GetFileName(path);
- using (var exporter = new FbxExporter(name, imported, allNodes, skins, castToBone, boneSize, exportAllUvsAsDiffuseMaps, scaleFactor, versionIndex, isAscii))
+ using (var exporter = new FbxExporter(name, imported, allNodes, skins, castToBone, boneSize, exportAllUvsAsDiffuseMaps, exportUV0UV1, scaleFactor, versionIndex, isAscii))
{
exporter.Initialize();
exporter.ExportAll(blendShape, animation, eulerFilter, filterPrecision);
diff --git a/AssetStudioFBXWrapper/FbxExporter.cs b/AssetStudioFBXWrapper/FbxExporter.cs
index b9e5ed6..d920daa 100644
--- a/AssetStudioFBXWrapper/FbxExporter.cs
+++ b/AssetStudioFBXWrapper/FbxExporter.cs
@@ -16,11 +16,12 @@ namespace AssetStudio.FbxInterop
private readonly bool _castToBone;
private readonly float _boneSize;
private readonly bool _exportAllUvsAsDiffuseMaps;
+ private readonly bool _exportUV0UV1;
private readonly float _scaleFactor;
private readonly int _versionIndex;
private readonly bool _isAscii;
- internal FbxExporter(string fileName, IImported imported, bool allNodes, bool exportSkins, bool castToBone, float boneSize, bool exportAllUvsAsDiffuseMaps, float scaleFactor, int versionIndex, bool isAscii)
+ internal FbxExporter(string fileName, IImported imported, bool allNodes, bool exportSkins, bool castToBone, float boneSize, bool exportAllUvsAsDiffuseMaps, bool exportUV0UV1, float scaleFactor, int versionIndex, bool isAscii)
{
_context = new FbxExporterContext();
@@ -31,6 +32,7 @@ namespace AssetStudio.FbxInterop
_castToBone = castToBone;
_boneSize = boneSize;
_exportAllUvsAsDiffuseMaps = exportAllUvsAsDiffuseMaps;
+ _exportUV0UV1 = exportUV0UV1;
_scaleFactor = scaleFactor;
_versionIndex = versionIndex;
_isAscii = isAscii;
@@ -173,7 +175,7 @@ namespace AssetStudio.FbxInterop
{
foreach (var meshFrame in meshFrames)
{
- _context.ExportMeshFromFrame(rootFrame, meshFrame, _imported.MeshList, _imported.MaterialList, _imported.TextureList, _exportSkins, _exportAllUvsAsDiffuseMaps);
+ _context.ExportMeshFromFrame(rootFrame, meshFrame, _imported.MeshList, _imported.MaterialList, _imported.TextureList, _exportSkins, _exportAllUvsAsDiffuseMaps, _exportUV0UV1);
}
}
diff --git a/AssetStudioFBXWrapper/FbxExporterContext.cs b/AssetStudioFBXWrapper/FbxExporterContext.cs
index 6c4ed7c..a37e260 100644
--- a/AssetStudioFBXWrapper/FbxExporterContext.cs
+++ b/AssetStudioFBXWrapper/FbxExporterContext.cs
@@ -173,12 +173,12 @@ namespace AssetStudio.FbxInterop
AsFbxPrepareMaterials(_pContext, materialCount, textureCount);
}
- internal void ExportMeshFromFrame(ImportedFrame rootFrame, ImportedFrame meshFrame, List meshList, List materialList, List textureList, bool exportSkins, bool exportAllUvsAsDiffuseMaps)
+ internal void ExportMeshFromFrame(ImportedFrame rootFrame, ImportedFrame meshFrame, List meshList, List materialList, List textureList, bool exportSkins, bool exportAllUvsAsDiffuseMaps, bool exportUV0UV1)
{
var meshNode = _frameToNode[meshFrame];
var mesh = ImportedHelpers.FindMesh(meshFrame.Path, meshList);
- ExportMesh(rootFrame, materialList, textureList, meshNode, mesh, exportSkins, exportAllUvsAsDiffuseMaps);
+ ExportMesh(rootFrame, materialList, textureList, meshNode, mesh, exportSkins, exportAllUvsAsDiffuseMaps, exportUV0UV1);
}
private IntPtr ExportTexture(ImportedTexture texture)
@@ -207,7 +207,7 @@ namespace AssetStudio.FbxInterop
return pTex;
}
- private void ExportMesh(ImportedFrame rootFrame, List materialList, List textureList, IntPtr frameNode, ImportedMesh importedMesh, bool exportSkins, bool exportAllUvsAsDiffuseMaps)
+ private void ExportMesh(ImportedFrame rootFrame, List materialList, List textureList, IntPtr frameNode, ImportedMesh importedMesh, bool exportSkins, bool exportAllUvsAsDiffuseMaps, bool exportUV0UV1)
{
var boneList = importedMesh.BoneList;
var totalBoneCount = 0;
@@ -253,17 +253,38 @@ namespace AssetStudio.FbxInterop
AsFbxMeshCreateElementNormal(mesh);
}
- for (int i = 0; i < importedMesh.hasUV.Length; i++)
+ if (exportUV0UV1)
{
- if (!importedMesh.hasUV[i]) { continue; }
-
- if (i == 1 && !exportAllUvsAsDiffuseMaps)
+ if (importedMesh.hasUV[0])
{
- AsFbxMeshCreateNormalMapUV(mesh, 1);
+ AsFbxMeshCreateDiffuseUV(mesh, 0);
}
- else
+ if (importedMesh.hasUV[1])
{
- AsFbxMeshCreateDiffuseUV(mesh, i);
+ if (exportAllUvsAsDiffuseMaps)
+ {
+ AsFbxMeshCreateDiffuseUV(mesh, 1);
+ }
+ else
+ {
+ AsFbxMeshCreateNormalMapUV(mesh, 1);
+ }
+ }
+ }
+ else
+ {
+ for (int i = 0; i < importedMesh.hasUV.Length; i++)
+ {
+ if (!importedMesh.hasUV[i]) { continue; }
+
+ if (i == 1 && !exportAllUvsAsDiffuseMaps)
+ {
+ AsFbxMeshCreateNormalMapUV(mesh, 1);
+ }
+ else
+ {
+ AsFbxMeshCreateDiffuseUV(mesh, i);
+ }
}
}
@@ -367,7 +388,8 @@ namespace AssetStudio.FbxInterop
AsFbxMeshElementNormalAdd(mesh, 0, normal.X, normal.Y, normal.Z);
}
- for (var uvIndex = 0; uvIndex < importedMesh.hasUV.Length; uvIndex += 1)
+ var uvSize = exportUV0UV1 ? 2 : importedMesh.hasUV.Length;
+ for (var uvIndex = 0; uvIndex < uvSize; uvIndex += 1)
{
if (importedMesh.hasUV[uvIndex])
{
diff --git a/AssetStudioGUI/App.config b/AssetStudioGUI/App.config
index 1d7718b..29065e4 100644
--- a/AssetStudioGUI/App.config
+++ b/AssetStudioGUI/App.config
@@ -76,18 +76,12 @@
True
-
- False
-
0
True
-
- 0
-
0
@@ -100,6 +94,12 @@
False
+
+ False
+
+
+ {"GameObject":true,"Material":true,"Texture2D":true,"Mesh":true,"Renderer":true,"Shader":true,"TextAsset":true,"AnimationClip":true,"Font":true,"Sprite":true,"Animator":true,"MiHoYoBinData":true,"AssetBundle":true}
+
\ No newline at end of file
diff --git a/AssetStudioGUI/AssetStudioGUIForm.Designer.cs b/AssetStudioGUI/AssetStudioGUIForm.Designer.cs
index f8c5d28..a84ac8e 100644
--- a/AssetStudioGUI/AssetStudioGUIForm.Designer.cs
+++ b/AssetStudioGUI/AssetStudioGUIForm.Designer.cs
@@ -30,1347 +30,1225 @@ namespace AssetStudioGUI
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
+ components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AssetStudioGUIForm));
- this.menuStrip1 = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.loadFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.loadFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
- this.extractFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.extractFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
- this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.abortStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.displayAll = new System.Windows.Forms.ToolStripMenuItem();
- this.enablePreview = new System.Windows.Forms.ToolStripMenuItem();
- this.displayInfo = new System.Windows.Forms.ToolStripMenuItem();
- this.enableResolveDependencies = new System.Windows.Forms.ToolStripMenuItem();
- this.skipContainer = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem14 = new System.Windows.Forms.ToolStripMenuItem();
- this.specifyUnityVersion = new System.Windows.Forms.ToolStripTextBox();
- this.toolStripMenuItem18 = new System.Windows.Forms.ToolStripMenuItem();
- this.specifyGame = new System.Windows.Forms.ToolStripComboBox();
- this.toolStripMenuItem19 = new System.Windows.Forms.ToolStripMenuItem();
- this.specifyAIVersion = new System.Windows.Forms.ToolStripComboBox();
- this.toolStripMenuItem23 = new System.Windows.Forms.ToolStripMenuItem();
- this.showExpOpt = new System.Windows.Forms.ToolStripMenuItem();
- this.modelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exportAllObjectssplitToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.exportSelectedObjectsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exportSelectedObjectsWithAnimationClipToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
- this.exportSelectedObjectsmergeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exportAllAssetsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exportSelectedAssetsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exportFilteredAssetsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
- this.exportAnimatorWithSelectedAnimationClipToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
- this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem9 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem16 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem17 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem24 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem25 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
- this.toolStripMenuItem10 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem11 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem12 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem13 = new System.Windows.Forms.ToolStripMenuItem();
- this.filterTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.allToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.debugMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem15 = new System.Windows.Forms.ToolStripMenuItem();
- this.exportClassStructuresMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.enableConsole = new System.Windows.Forms.ToolStripMenuItem();
- this.clearConsoleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.miscToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.assetHelpersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.cABMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.CABMapNameComboBox = new System.Windows.Forms.ToolStripComboBox();
- this.toolStripMenuItem20 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItem21 = new System.Windows.Forms.ToolStripMenuItem();
- this.assetMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.assetMapNameTextBox = new System.Windows.Forms.ToolStripTextBox();
- this.toolStripMenuItem22 = new System.Windows.Forms.ToolStripMenuItem();
- this.assetMapTypeComboBox = new System.Windows.Forms.ToolStripComboBox();
- this.loadAIToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.tabControl1 = new System.Windows.Forms.TabControl();
- this.tabPage1 = new System.Windows.Forms.TabPage();
- this.sceneTreeView = new AssetStudioGUI.GOHierarchy();
- this.treeSearch = new System.Windows.Forms.TextBox();
- this.tabPage2 = new System.Windows.Forms.TabPage();
- this.assetListView = new System.Windows.Forms.ListView();
- this.columnHeaderName = new System.Windows.Forms.ColumnHeader();
- this.columnHeaderContainer = new System.Windows.Forms.ColumnHeader();
- this.columnHeaderType = new System.Windows.Forms.ColumnHeader();
- this.columnHeaderPathID = new System.Windows.Forms.ColumnHeader();
- this.columnHeaderSize = new System.Windows.Forms.ColumnHeader();
- this.listSearch = new System.Windows.Forms.TextBox();
- this.tabPage3 = new System.Windows.Forms.TabPage();
- this.classesListView = new System.Windows.Forms.ListView();
- this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
- this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
- this.progressbarPanel = new System.Windows.Forms.Panel();
- this.progressBar1 = new System.Windows.Forms.ProgressBar();
- this.tabControl2 = new System.Windows.Forms.TabControl();
- this.tabPage4 = new System.Windows.Forms.TabPage();
- this.previewPanel = new System.Windows.Forms.Panel();
- this.assetInfoLabel = new System.Windows.Forms.Label();
- this.FMODpanel = new System.Windows.Forms.Panel();
- this.FMODcopyright = new System.Windows.Forms.Label();
- this.FMODinfoLabel = new System.Windows.Forms.Label();
- this.FMODtimerLabel = new System.Windows.Forms.Label();
- this.FMODstatusLabel = new System.Windows.Forms.Label();
- this.FMODprogressBar = new System.Windows.Forms.TrackBar();
- this.FMODvolumeBar = new System.Windows.Forms.TrackBar();
- this.FMODloopButton = new System.Windows.Forms.CheckBox();
- this.FMODstopButton = new System.Windows.Forms.Button();
- this.FMODpauseButton = new System.Windows.Forms.Button();
- this.FMODplayButton = new System.Windows.Forms.Button();
- this.fontPreviewBox = new System.Windows.Forms.RichTextBox();
- this.glControl = new OpenTK.WinForms.GLControl();
- this.textPreviewBox = new System.Windows.Forms.TextBox();
- this.classTextBox = new System.Windows.Forms.TextBox();
- this.tabPage5 = new System.Windows.Forms.TabPage();
- this.dumpTextBox = new System.Windows.Forms.TextBox();
- this.statusStrip1 = new System.Windows.Forms.StatusStrip();
- this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
- this.timer = new System.Windows.Forms.Timer(this.components);
- this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
- this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exportSelectedAssetsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exportAnimatorwithselectedAnimationClipMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.goToSceneHierarchyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.showOriginalFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.menuStrip1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.tabControl1.SuspendLayout();
- this.tabPage1.SuspendLayout();
- this.tabPage2.SuspendLayout();
- this.tabPage3.SuspendLayout();
- this.progressbarPanel.SuspendLayout();
- this.tabControl2.SuspendLayout();
- this.tabPage4.SuspendLayout();
- this.previewPanel.SuspendLayout();
- this.FMODpanel.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.FMODprogressBar)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.FMODvolumeBar)).BeginInit();
- this.tabPage5.SuspendLayout();
- this.statusStrip1.SuspendLayout();
- this.contextMenuStrip1.SuspendLayout();
- this.SuspendLayout();
+ menuStrip1 = new System.Windows.Forms.MenuStrip();
+ fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ loadFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ loadFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
+ extractFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ extractFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
+ resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ abortStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ displayAll = new System.Windows.Forms.ToolStripMenuItem();
+ enablePreview = new System.Windows.Forms.ToolStripMenuItem();
+ displayInfo = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem14 = new System.Windows.Forms.ToolStripMenuItem();
+ specifyUnityVersion = new System.Windows.Forms.ToolStripTextBox();
+ toolStripMenuItem18 = new System.Windows.Forms.ToolStripMenuItem();
+ specifyGame = new System.Windows.Forms.ToolStripComboBox();
+ toolStripMenuItem19 = new System.Windows.Forms.ToolStripMenuItem();
+ specifyAIVersion = new System.Windows.Forms.ToolStripComboBox();
+ showExpOpt = new System.Windows.Forms.ToolStripMenuItem();
+ modelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ exportAllObjectssplitToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
+ exportSelectedObjectsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ exportSelectedObjectsWithAnimationClipToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ exportSelectedObjectsmergeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ exportAllAssetsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ exportSelectedAssetsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ exportFilteredAssetsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
+ exportAnimatorWithSelectedAnimationClipToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
+ toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem9 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem16 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem17 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem24 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem25 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ toolStripMenuItem10 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem11 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem12 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem13 = new System.Windows.Forms.ToolStripMenuItem();
+ filterTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ allToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ debugMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem15 = new System.Windows.Forms.ToolStripMenuItem();
+ exportClassStructuresMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ enableConsole = new System.Windows.Forms.ToolStripMenuItem();
+ clearConsoleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ miscToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ assetHelpersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ cABMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ CABMapNameComboBox = new System.Windows.Forms.ToolStripComboBox();
+ toolStripMenuItem20 = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripMenuItem21 = new System.Windows.Forms.ToolStripMenuItem();
+ assetMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ assetMapNameTextBox = new System.Windows.Forms.ToolStripTextBox();
+ toolStripMenuItem22 = new System.Windows.Forms.ToolStripMenuItem();
+ assetMapTypeComboBox = new System.Windows.Forms.ToolStripComboBox();
+ loadAIToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
+ splitContainer1 = new System.Windows.Forms.SplitContainer();
+ tabControl1 = new System.Windows.Forms.TabControl();
+ tabPage1 = new System.Windows.Forms.TabPage();
+ sceneTreeView = new GOHierarchy();
+ treeSearch = new System.Windows.Forms.TextBox();
+ tabPage2 = new System.Windows.Forms.TabPage();
+ assetListView = new System.Windows.Forms.ListView();
+ columnHeaderName = new System.Windows.Forms.ColumnHeader();
+ columnHeaderContainer = new System.Windows.Forms.ColumnHeader();
+ columnHeaderType = new System.Windows.Forms.ColumnHeader();
+ columnHeaderPathID = new System.Windows.Forms.ColumnHeader();
+ columnHeaderSize = new System.Windows.Forms.ColumnHeader();
+ listSearch = new System.Windows.Forms.TextBox();
+ tabPage3 = new System.Windows.Forms.TabPage();
+ classesListView = new System.Windows.Forms.ListView();
+ columnHeader1 = new System.Windows.Forms.ColumnHeader();
+ columnHeader2 = new System.Windows.Forms.ColumnHeader();
+ progressbarPanel = new System.Windows.Forms.Panel();
+ progressBar1 = new System.Windows.Forms.ProgressBar();
+ tabControl2 = new System.Windows.Forms.TabControl();
+ tabPage4 = new System.Windows.Forms.TabPage();
+ previewPanel = new System.Windows.Forms.Panel();
+ assetInfoLabel = new System.Windows.Forms.Label();
+ FMODpanel = new System.Windows.Forms.Panel();
+ FMODcopyright = new System.Windows.Forms.Label();
+ FMODinfoLabel = new System.Windows.Forms.Label();
+ FMODtimerLabel = new System.Windows.Forms.Label();
+ FMODstatusLabel = new System.Windows.Forms.Label();
+ FMODprogressBar = new System.Windows.Forms.TrackBar();
+ FMODvolumeBar = new System.Windows.Forms.TrackBar();
+ FMODloopButton = new System.Windows.Forms.CheckBox();
+ FMODstopButton = new System.Windows.Forms.Button();
+ FMODpauseButton = new System.Windows.Forms.Button();
+ FMODplayButton = new System.Windows.Forms.Button();
+ fontPreviewBox = new System.Windows.Forms.RichTextBox();
+ glControl = new OpenTK.WinForms.GLControl();
+ textPreviewBox = new System.Windows.Forms.TextBox();
+ classTextBox = new System.Windows.Forms.TextBox();
+ tabPage5 = new System.Windows.Forms.TabPage();
+ dumpTextBox = new System.Windows.Forms.TextBox();
+ statusStrip1 = new System.Windows.Forms.StatusStrip();
+ toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
+ timer = new System.Windows.Forms.Timer(components);
+ openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
+ contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(components);
+ copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ exportSelectedAssetsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ exportAnimatorwithselectedAnimationClipMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ goToSceneHierarchyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ showOriginalFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ menuStrip1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
+ splitContainer1.Panel1.SuspendLayout();
+ splitContainer1.Panel2.SuspendLayout();
+ splitContainer1.SuspendLayout();
+ tabControl1.SuspendLayout();
+ tabPage1.SuspendLayout();
+ tabPage2.SuspendLayout();
+ tabPage3.SuspendLayout();
+ progressbarPanel.SuspendLayout();
+ tabControl2.SuspendLayout();
+ tabPage4.SuspendLayout();
+ previewPanel.SuspendLayout();
+ FMODpanel.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)FMODprogressBar).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)FMODvolumeBar).BeginInit();
+ tabPage5.SuspendLayout();
+ statusStrip1.SuspendLayout();
+ contextMenuStrip1.SuspendLayout();
+ SuspendLayout();
//
// menuStrip1
//
- this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.fileToolStripMenuItem,
- this.optionsToolStripMenuItem,
- this.modelToolStripMenuItem,
- this.exportToolStripMenuItem,
- this.filterTypeToolStripMenuItem,
- this.debugMenuItem,
- this.miscToolStripMenuItem});
- this.menuStrip1.Location = new System.Drawing.Point(0, 0);
- this.menuStrip1.Name = "menuStrip1";
- this.menuStrip1.Size = new System.Drawing.Size(1264, 24);
- this.menuStrip1.TabIndex = 0;
- this.menuStrip1.Text = "menuStrip1";
+ menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { fileToolStripMenuItem, optionsToolStripMenuItem, modelToolStripMenuItem, exportToolStripMenuItem, filterTypeToolStripMenuItem, debugMenuItem, miscToolStripMenuItem });
+ menuStrip1.Location = new System.Drawing.Point(0, 0);
+ menuStrip1.Name = "menuStrip1";
+ menuStrip1.Size = new System.Drawing.Size(1264, 24);
+ menuStrip1.TabIndex = 0;
+ menuStrip1.Text = "menuStrip1";
//
// fileToolStripMenuItem
//
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.loadFileToolStripMenuItem,
- this.loadFolderToolStripMenuItem,
- this.toolStripMenuItem1,
- this.extractFileToolStripMenuItem,
- this.extractFolderToolStripMenuItem,
- this.toolStripSeparator6,
- this.resetToolStripMenuItem,
- this.abortStripMenuItem});
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
- this.fileToolStripMenuItem.Text = "File";
+ fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { loadFileToolStripMenuItem, loadFolderToolStripMenuItem, toolStripMenuItem1, extractFileToolStripMenuItem, extractFolderToolStripMenuItem, toolStripSeparator6, resetToolStripMenuItem, abortStripMenuItem });
+ fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+ fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
+ fileToolStripMenuItem.Text = "File";
//
// loadFileToolStripMenuItem
//
- this.loadFileToolStripMenuItem.Name = "loadFileToolStripMenuItem";
- this.loadFileToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.loadFileToolStripMenuItem.Text = "Load file";
- this.loadFileToolStripMenuItem.Click += new System.EventHandler(this.loadFile_Click);
+ loadFileToolStripMenuItem.Name = "loadFileToolStripMenuItem";
+ loadFileToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
+ loadFileToolStripMenuItem.Text = "Load file";
+ loadFileToolStripMenuItem.Click += loadFile_Click;
//
// loadFolderToolStripMenuItem
//
- this.loadFolderToolStripMenuItem.Name = "loadFolderToolStripMenuItem";
- this.loadFolderToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.loadFolderToolStripMenuItem.Text = "Load folder";
- this.loadFolderToolStripMenuItem.Click += new System.EventHandler(this.loadFolder_Click);
+ loadFolderToolStripMenuItem.Name = "loadFolderToolStripMenuItem";
+ loadFolderToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
+ loadFolderToolStripMenuItem.Text = "Load folder";
+ loadFolderToolStripMenuItem.Click += loadFolder_Click;
//
// toolStripMenuItem1
//
- this.toolStripMenuItem1.Name = "toolStripMenuItem1";
- this.toolStripMenuItem1.Size = new System.Drawing.Size(141, 6);
+ toolStripMenuItem1.Name = "toolStripMenuItem1";
+ toolStripMenuItem1.Size = new System.Drawing.Size(141, 6);
//
// extractFileToolStripMenuItem
//
- this.extractFileToolStripMenuItem.Name = "extractFileToolStripMenuItem";
- this.extractFileToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.extractFileToolStripMenuItem.Text = "Extract file";
- this.extractFileToolStripMenuItem.Click += new System.EventHandler(this.extractFileToolStripMenuItem_Click);
+ extractFileToolStripMenuItem.Name = "extractFileToolStripMenuItem";
+ extractFileToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
+ extractFileToolStripMenuItem.Text = "Extract file";
+ extractFileToolStripMenuItem.Click += extractFileToolStripMenuItem_Click;
//
// extractFolderToolStripMenuItem
//
- this.extractFolderToolStripMenuItem.Name = "extractFolderToolStripMenuItem";
- this.extractFolderToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.extractFolderToolStripMenuItem.Text = "Extract folder";
- this.extractFolderToolStripMenuItem.Click += new System.EventHandler(this.extractFolderToolStripMenuItem_Click);
+ extractFolderToolStripMenuItem.Name = "extractFolderToolStripMenuItem";
+ extractFolderToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
+ extractFolderToolStripMenuItem.Text = "Extract folder";
+ extractFolderToolStripMenuItem.Click += extractFolderToolStripMenuItem_Click;
//
// toolStripSeparator6
//
- this.toolStripSeparator6.Name = "toolStripSeparator6";
- this.toolStripSeparator6.Size = new System.Drawing.Size(141, 6);
+ toolStripSeparator6.Name = "toolStripSeparator6";
+ toolStripSeparator6.Size = new System.Drawing.Size(141, 6);
//
// resetToolStripMenuItem
//
- this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
- this.resetToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.resetToolStripMenuItem.Text = "Reset";
- this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
+ resetToolStripMenuItem.Name = "resetToolStripMenuItem";
+ resetToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
+ resetToolStripMenuItem.Text = "Reset";
+ resetToolStripMenuItem.Click += resetToolStripMenuItem_Click;
//
// abortStripMenuItem
//
- this.abortStripMenuItem.Name = "abortStripMenuItem";
- this.abortStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.abortStripMenuItem.Text = "Abort";
- this.abortStripMenuItem.Click += new System.EventHandler(this.abortStripMenuItem_Click);
+ abortStripMenuItem.Name = "abortStripMenuItem";
+ abortStripMenuItem.Size = new System.Drawing.Size(144, 22);
+ abortStripMenuItem.Text = "Abort";
+ abortStripMenuItem.Click += abortStripMenuItem_Click;
//
// optionsToolStripMenuItem
//
- this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.displayAll,
- this.enablePreview,
- this.displayInfo,
- this.enableResolveDependencies,
- this.skipContainer,
- this.toolStripMenuItem14,
- this.toolStripMenuItem18,
- this.toolStripMenuItem19,
- this.toolStripMenuItem23,
- this.showExpOpt});
- this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
- this.optionsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
- this.optionsToolStripMenuItem.Text = "Options";
+ optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { displayAll, enablePreview, displayInfo, toolStripMenuItem14, toolStripMenuItem18, toolStripMenuItem19, showExpOpt });
+ optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
+ optionsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
+ optionsToolStripMenuItem.Text = "Options";
//
// displayAll
//
- this.displayAll.CheckOnClick = true;
- this.displayAll.Name = "displayAll";
- this.displayAll.Size = new System.Drawing.Size(225, 22);
- this.displayAll.Text = "Display all assets";
- this.displayAll.ToolTipText = "Check this option will display all types assets. Not extractable assets can expor" +
- "t the RAW file.";
- this.displayAll.CheckedChanged += new System.EventHandler(this.displayAll_CheckedChanged);
+ displayAll.CheckOnClick = true;
+ displayAll.Name = "displayAll";
+ displayAll.Size = new System.Drawing.Size(207, 22);
+ displayAll.Text = "Display all assets";
+ displayAll.ToolTipText = "Check this option will display all types assets. Not extractable assets can export the RAW file.";
+ displayAll.CheckedChanged += displayAll_CheckedChanged;
//
// enablePreview
//
- this.enablePreview.Checked = true;
- this.enablePreview.CheckOnClick = true;
- this.enablePreview.CheckState = System.Windows.Forms.CheckState.Checked;
- this.enablePreview.Name = "enablePreview";
- this.enablePreview.Size = new System.Drawing.Size(225, 22);
- this.enablePreview.Text = "Enable preview";
- this.enablePreview.ToolTipText = "Toggle the loading and preview of readable assets, such as images, sounds, text, " +
- "etc.\r\nDisable preview if you have performance or compatibility issues.";
- this.enablePreview.CheckedChanged += new System.EventHandler(this.enablePreview_Check);
+ enablePreview.Checked = true;
+ enablePreview.CheckOnClick = true;
+ enablePreview.CheckState = System.Windows.Forms.CheckState.Checked;
+ enablePreview.Name = "enablePreview";
+ enablePreview.Size = new System.Drawing.Size(207, 22);
+ enablePreview.Text = "Enable preview";
+ enablePreview.ToolTipText = "Toggle the loading and preview of readable assets, such as images, sounds, text, etc.\r\nDisable preview if you have performance or compatibility issues.";
+ enablePreview.CheckedChanged += enablePreview_Check;
//
// displayInfo
//
- this.displayInfo.Checked = true;
- this.displayInfo.CheckOnClick = true;
- this.displayInfo.CheckState = System.Windows.Forms.CheckState.Checked;
- this.displayInfo.Name = "displayInfo";
- this.displayInfo.Size = new System.Drawing.Size(225, 22);
- this.displayInfo.Text = "Display asset information";
- this.displayInfo.ToolTipText = "Toggle the overlay that shows information about each asset, eg. image size, forma" +
- "t, audio bitrate, etc.";
- this.displayInfo.CheckedChanged += new System.EventHandler(this.displayAssetInfo_Check);
- //
- // enableResolveDependencies
- //
- this.enableResolveDependencies.Checked = true;
- this.enableResolveDependencies.CheckOnClick = true;
- this.enableResolveDependencies.CheckState = System.Windows.Forms.CheckState.Checked;
- this.enableResolveDependencies.Name = "enableResolveDependencies";
- this.enableResolveDependencies.Size = new System.Drawing.Size(225, 22);
- this.enableResolveDependencies.Text = "Enable resolve dependencies";
- this.enableResolveDependencies.ToolTipText = "Toggle the behaviour of loading assets.\nDisable to load file(s) without its depen" +
- "dencies.";
- this.enableResolveDependencies.CheckedChanged += new System.EventHandler(this.enableResolveDependencies_CheckedChanged);
- //
- // skipContainer
- //
- this.skipContainer.CheckOnClick = true;
- this.skipContainer.Name = "skipContainer";
- this.skipContainer.Size = new System.Drawing.Size(225, 22);
- this.skipContainer.Text = "Skip container recovery";
- this.skipContainer.ToolTipText = "Skips the container recovery step.\nImproves loading when dealing with a large num" +
- "ber of files.";
- this.skipContainer.CheckedChanged += new System.EventHandler(this.skipContainer_CheckedChanged);
+ displayInfo.Checked = true;
+ displayInfo.CheckOnClick = true;
+ displayInfo.CheckState = System.Windows.Forms.CheckState.Checked;
+ displayInfo.Name = "displayInfo";
+ displayInfo.Size = new System.Drawing.Size(207, 22);
+ displayInfo.Text = "Display asset information";
+ displayInfo.ToolTipText = "Toggle the overlay that shows information about each asset, eg. image size, format, audio bitrate, etc.";
+ displayInfo.CheckedChanged += displayAssetInfo_Check;
//
// toolStripMenuItem14
//
- this.toolStripMenuItem14.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.specifyUnityVersion});
- this.toolStripMenuItem14.Name = "toolStripMenuItem14";
- this.toolStripMenuItem14.Size = new System.Drawing.Size(225, 22);
- this.toolStripMenuItem14.Text = "Specify Unity version";
+ toolStripMenuItem14.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { specifyUnityVersion });
+ toolStripMenuItem14.Name = "toolStripMenuItem14";
+ toolStripMenuItem14.Size = new System.Drawing.Size(207, 22);
+ toolStripMenuItem14.Text = "Specify Unity version";
//
// specifyUnityVersion
//
- this.specifyUnityVersion.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- this.specifyUnityVersion.Name = "specifyUnityVersion";
- this.specifyUnityVersion.Size = new System.Drawing.Size(100, 23);
+ specifyUnityVersion.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ specifyUnityVersion.Name = "specifyUnityVersion";
+ specifyUnityVersion.Size = new System.Drawing.Size(100, 23);
//
// toolStripMenuItem18
//
- this.toolStripMenuItem18.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.specifyGame});
- this.toolStripMenuItem18.Name = "toolStripMenuItem18";
- this.toolStripMenuItem18.Size = new System.Drawing.Size(225, 22);
- this.toolStripMenuItem18.Text = "Specify Game";
+ toolStripMenuItem18.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { specifyGame });
+ toolStripMenuItem18.Name = "toolStripMenuItem18";
+ toolStripMenuItem18.Size = new System.Drawing.Size(207, 22);
+ toolStripMenuItem18.Text = "Specify Game";
//
// specifyGame
//
- this.specifyGame.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.specifyGame.Name = "specifyGame";
- this.specifyGame.Size = new System.Drawing.Size(121, 23);
+ specifyGame.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ specifyGame.Name = "specifyGame";
+ specifyGame.Size = new System.Drawing.Size(121, 23);
//
// toolStripMenuItem19
//
- this.toolStripMenuItem19.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.specifyAIVersion});
- this.toolStripMenuItem19.Name = "toolStripMenuItem19";
- this.toolStripMenuItem19.Size = new System.Drawing.Size(225, 22);
- this.toolStripMenuItem19.Text = "Specify AI version";
- this.toolStripMenuItem19.DropDownOpening += new System.EventHandler(this.toolStripMenuItem19_DropDownOpening);
+ toolStripMenuItem19.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { specifyAIVersion });
+ toolStripMenuItem19.Name = "toolStripMenuItem19";
+ toolStripMenuItem19.Size = new System.Drawing.Size(207, 22);
+ toolStripMenuItem19.Text = "Specify AI version";
+ toolStripMenuItem19.DropDownOpening += toolStripMenuItem19_DropDownOpening;
//
// specifyAIVersion
//
- this.specifyAIVersion.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.specifyAIVersion.Items.AddRange(new object[] {
- "None"});
- this.specifyAIVersion.Name = "specifyAIVersion";
- this.specifyAIVersion.Size = new System.Drawing.Size(121, 23);
- //
- // toolStripMenuItem23
- //
- this.toolStripMenuItem23.Name = "toolStripMenuItem23";
- this.toolStripMenuItem23.Size = new System.Drawing.Size(225, 22);
- this.toolStripMenuItem23.Text = "Specify CNUnity Key";
- this.toolStripMenuItem23.Click += new System.EventHandler(this.toolStripMenuItem23_Click);
+ specifyAIVersion.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ specifyAIVersion.Items.AddRange(new object[] { "None" });
+ specifyAIVersion.Name = "specifyAIVersion";
+ specifyAIVersion.Size = new System.Drawing.Size(121, 23);
//
// showExpOpt
//
- this.showExpOpt.Name = "showExpOpt";
- this.showExpOpt.Size = new System.Drawing.Size(225, 22);
- this.showExpOpt.Text = "Export options";
- this.showExpOpt.Click += new System.EventHandler(this.showExpOpt_Click);
+ showExpOpt.Name = "showExpOpt";
+ showExpOpt.Size = new System.Drawing.Size(207, 22);
+ showExpOpt.Text = "Export options";
+ showExpOpt.Click += showExpOpt_Click;
//
// modelToolStripMenuItem
//
- this.modelToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.exportAllObjectssplitToolStripMenuItem1,
- this.exportSelectedObjectsToolStripMenuItem,
- this.exportSelectedObjectsWithAnimationClipToolStripMenuItem,
- this.toolStripSeparator1,
- this.exportSelectedObjectsmergeToolStripMenuItem,
- this.exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem});
- this.modelToolStripMenuItem.Name = "modelToolStripMenuItem";
- this.modelToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
- this.modelToolStripMenuItem.Text = "Model";
+ modelToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { exportAllObjectssplitToolStripMenuItem1, exportSelectedObjectsToolStripMenuItem, exportSelectedObjectsWithAnimationClipToolStripMenuItem, toolStripSeparator1, exportSelectedObjectsmergeToolStripMenuItem, exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem });
+ modelToolStripMenuItem.Name = "modelToolStripMenuItem";
+ modelToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
+ modelToolStripMenuItem.Text = "Model";
//
// exportAllObjectssplitToolStripMenuItem1
//
- this.exportAllObjectssplitToolStripMenuItem1.Name = "exportAllObjectssplitToolStripMenuItem1";
- this.exportAllObjectssplitToolStripMenuItem1.Size = new System.Drawing.Size(382, 22);
- this.exportAllObjectssplitToolStripMenuItem1.Text = "Export all objects (split)";
- this.exportAllObjectssplitToolStripMenuItem1.Click += new System.EventHandler(this.exportAllObjectssplitToolStripMenuItem1_Click);
+ exportAllObjectssplitToolStripMenuItem1.Name = "exportAllObjectssplitToolStripMenuItem1";
+ exportAllObjectssplitToolStripMenuItem1.Size = new System.Drawing.Size(382, 22);
+ exportAllObjectssplitToolStripMenuItem1.Text = "Export all objects (split)";
+ exportAllObjectssplitToolStripMenuItem1.Click += exportAllObjectssplitToolStripMenuItem1_Click;
//
// exportSelectedObjectsToolStripMenuItem
//
- this.exportSelectedObjectsToolStripMenuItem.Name = "exportSelectedObjectsToolStripMenuItem";
- this.exportSelectedObjectsToolStripMenuItem.Size = new System.Drawing.Size(382, 22);
- this.exportSelectedObjectsToolStripMenuItem.Text = "Export selected objects (split)";
- this.exportSelectedObjectsToolStripMenuItem.Click += new System.EventHandler(this.exportSelectedObjectsToolStripMenuItem_Click);
+ exportSelectedObjectsToolStripMenuItem.Name = "exportSelectedObjectsToolStripMenuItem";
+ exportSelectedObjectsToolStripMenuItem.Size = new System.Drawing.Size(382, 22);
+ exportSelectedObjectsToolStripMenuItem.Text = "Export selected objects (split)";
+ exportSelectedObjectsToolStripMenuItem.Click += exportSelectedObjectsToolStripMenuItem_Click;
//
// exportSelectedObjectsWithAnimationClipToolStripMenuItem
//
- this.exportSelectedObjectsWithAnimationClipToolStripMenuItem.Name = "exportSelectedObjectsWithAnimationClipToolStripMenuItem";
- this.exportSelectedObjectsWithAnimationClipToolStripMenuItem.Size = new System.Drawing.Size(382, 22);
- this.exportSelectedObjectsWithAnimationClipToolStripMenuItem.Text = "Export selected objects (split) + selected AnimationClips";
- this.exportSelectedObjectsWithAnimationClipToolStripMenuItem.Click += new System.EventHandler(this.exportObjectswithAnimationClipMenuItem_Click);
+ exportSelectedObjectsWithAnimationClipToolStripMenuItem.Name = "exportSelectedObjectsWithAnimationClipToolStripMenuItem";
+ exportSelectedObjectsWithAnimationClipToolStripMenuItem.Size = new System.Drawing.Size(382, 22);
+ exportSelectedObjectsWithAnimationClipToolStripMenuItem.Text = "Export selected objects (split) + selected AnimationClips";
+ exportSelectedObjectsWithAnimationClipToolStripMenuItem.Click += exportObjectswithAnimationClipMenuItem_Click;
//
// toolStripSeparator1
//
- this.toolStripSeparator1.Name = "toolStripSeparator1";
- this.toolStripSeparator1.Size = new System.Drawing.Size(379, 6);
+ toolStripSeparator1.Name = "toolStripSeparator1";
+ toolStripSeparator1.Size = new System.Drawing.Size(379, 6);
//
// exportSelectedObjectsmergeToolStripMenuItem
//
- this.exportSelectedObjectsmergeToolStripMenuItem.Name = "exportSelectedObjectsmergeToolStripMenuItem";
- this.exportSelectedObjectsmergeToolStripMenuItem.Size = new System.Drawing.Size(382, 22);
- this.exportSelectedObjectsmergeToolStripMenuItem.Text = "Export selected objects (merge)";
- this.exportSelectedObjectsmergeToolStripMenuItem.Click += new System.EventHandler(this.exportSelectedObjectsmergeToolStripMenuItem_Click);
+ exportSelectedObjectsmergeToolStripMenuItem.Name = "exportSelectedObjectsmergeToolStripMenuItem";
+ exportSelectedObjectsmergeToolStripMenuItem.Size = new System.Drawing.Size(382, 22);
+ exportSelectedObjectsmergeToolStripMenuItem.Text = "Export selected objects (merge)";
+ exportSelectedObjectsmergeToolStripMenuItem.Click += exportSelectedObjectsmergeToolStripMenuItem_Click;
//
// exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem
//
- this.exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem.Name = "exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem";
- this.exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem.Size = new System.Drawing.Size(382, 22);
- this.exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem.Text = "Export selected objects (merge) + selected AnimationClips";
- this.exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem.Click += new System.EventHandler(this.exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem_Click);
+ exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem.Name = "exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem";
+ exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem.Size = new System.Drawing.Size(382, 22);
+ exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem.Text = "Export selected objects (merge) + selected AnimationClips";
+ exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem.Click += exportSelectedObjectsmergeWithAnimationClipToolStripMenuItem_Click;
//
// exportToolStripMenuItem
//
- this.exportToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.exportAllAssetsMenuItem,
- this.exportSelectedAssetsMenuItem,
- this.exportFilteredAssetsMenuItem,
- this.toolStripSeparator3,
- this.exportAnimatorWithSelectedAnimationClipToolStripMenuItem,
- this.toolStripSeparator4,
- this.toolStripMenuItem2,
- this.toolStripMenuItem3,
- this.toolStripMenuItem16,
- this.toolStripSeparator2,
- this.toolStripMenuItem10});
- this.exportToolStripMenuItem.Name = "exportToolStripMenuItem";
- this.exportToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
- this.exportToolStripMenuItem.Text = "Export";
+ exportToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { exportAllAssetsMenuItem, exportSelectedAssetsMenuItem, exportFilteredAssetsMenuItem, toolStripSeparator3, exportAnimatorWithSelectedAnimationClipToolStripMenuItem, toolStripSeparator4, toolStripMenuItem2, toolStripMenuItem3, toolStripMenuItem16, toolStripSeparator2, toolStripMenuItem10 });
+ exportToolStripMenuItem.Name = "exportToolStripMenuItem";
+ exportToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
+ exportToolStripMenuItem.Text = "Export";
//
// exportAllAssetsMenuItem
//
- this.exportAllAssetsMenuItem.Name = "exportAllAssetsMenuItem";
- this.exportAllAssetsMenuItem.Size = new System.Drawing.Size(266, 22);
- this.exportAllAssetsMenuItem.Text = "All assets";
- this.exportAllAssetsMenuItem.Click += new System.EventHandler(this.exportAllAssetsMenuItem_Click);
+ exportAllAssetsMenuItem.Name = "exportAllAssetsMenuItem";
+ exportAllAssetsMenuItem.Size = new System.Drawing.Size(266, 22);
+ exportAllAssetsMenuItem.Text = "All assets";
+ exportAllAssetsMenuItem.Click += exportAllAssetsMenuItem_Click;
//
// exportSelectedAssetsMenuItem
//
- this.exportSelectedAssetsMenuItem.Name = "exportSelectedAssetsMenuItem";
- this.exportSelectedAssetsMenuItem.Size = new System.Drawing.Size(266, 22);
- this.exportSelectedAssetsMenuItem.Text = "Selected assets";
- this.exportSelectedAssetsMenuItem.Click += new System.EventHandler(this.exportSelectedAssetsMenuItem_Click);
+ exportSelectedAssetsMenuItem.Name = "exportSelectedAssetsMenuItem";
+ exportSelectedAssetsMenuItem.Size = new System.Drawing.Size(266, 22);
+ exportSelectedAssetsMenuItem.Text = "Selected assets";
+ exportSelectedAssetsMenuItem.Click += exportSelectedAssetsMenuItem_Click;
//
// exportFilteredAssetsMenuItem
//
- this.exportFilteredAssetsMenuItem.Name = "exportFilteredAssetsMenuItem";
- this.exportFilteredAssetsMenuItem.Size = new System.Drawing.Size(266, 22);
- this.exportFilteredAssetsMenuItem.Text = "Filtered assets";
- this.exportFilteredAssetsMenuItem.Click += new System.EventHandler(this.exportFilteredAssetsMenuItem_Click);
+ exportFilteredAssetsMenuItem.Name = "exportFilteredAssetsMenuItem";
+ exportFilteredAssetsMenuItem.Size = new System.Drawing.Size(266, 22);
+ exportFilteredAssetsMenuItem.Text = "Filtered assets";
+ exportFilteredAssetsMenuItem.Click += exportFilteredAssetsMenuItem_Click;
//
// toolStripSeparator3
//
- this.toolStripSeparator3.Name = "toolStripSeparator3";
- this.toolStripSeparator3.Size = new System.Drawing.Size(263, 6);
+ toolStripSeparator3.Name = "toolStripSeparator3";
+ toolStripSeparator3.Size = new System.Drawing.Size(263, 6);
//
// exportAnimatorWithSelectedAnimationClipToolStripMenuItem
//
- this.exportAnimatorWithSelectedAnimationClipToolStripMenuItem.Name = "exportAnimatorWithSelectedAnimationClipToolStripMenuItem";
- this.exportAnimatorWithSelectedAnimationClipToolStripMenuItem.Size = new System.Drawing.Size(266, 22);
- this.exportAnimatorWithSelectedAnimationClipToolStripMenuItem.Text = "Animator + selected AnimationClips";
- this.exportAnimatorWithSelectedAnimationClipToolStripMenuItem.Click += new System.EventHandler(this.exportAnimatorwithAnimationClipMenuItem_Click);
+ exportAnimatorWithSelectedAnimationClipToolStripMenuItem.Name = "exportAnimatorWithSelectedAnimationClipToolStripMenuItem";
+ exportAnimatorWithSelectedAnimationClipToolStripMenuItem.Size = new System.Drawing.Size(266, 22);
+ exportAnimatorWithSelectedAnimationClipToolStripMenuItem.Text = "Animator + selected AnimationClips";
+ exportAnimatorWithSelectedAnimationClipToolStripMenuItem.Click += exportAnimatorwithAnimationClipMenuItem_Click;
//
// toolStripSeparator4
//
- this.toolStripSeparator4.Name = "toolStripSeparator4";
- this.toolStripSeparator4.Size = new System.Drawing.Size(263, 6);
+ toolStripSeparator4.Name = "toolStripSeparator4";
+ toolStripSeparator4.Size = new System.Drawing.Size(263, 6);
//
// toolStripMenuItem2
//
- this.toolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.toolStripMenuItem4,
- this.toolStripMenuItem5,
- this.toolStripMenuItem6});
- this.toolStripMenuItem2.Name = "toolStripMenuItem2";
- this.toolStripMenuItem2.Size = new System.Drawing.Size(266, 22);
- this.toolStripMenuItem2.Text = "Raw";
+ toolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { toolStripMenuItem4, toolStripMenuItem5, toolStripMenuItem6 });
+ toolStripMenuItem2.Name = "toolStripMenuItem2";
+ toolStripMenuItem2.Size = new System.Drawing.Size(266, 22);
+ toolStripMenuItem2.Text = "Raw";
//
// toolStripMenuItem4
//
- this.toolStripMenuItem4.Name = "toolStripMenuItem4";
- this.toolStripMenuItem4.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem4.Text = "All assets";
- this.toolStripMenuItem4.Click += new System.EventHandler(this.toolStripMenuItem4_Click);
+ toolStripMenuItem4.Name = "toolStripMenuItem4";
+ toolStripMenuItem4.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem4.Text = "All assets";
+ toolStripMenuItem4.Click += toolStripMenuItem4_Click;
//
// toolStripMenuItem5
//
- this.toolStripMenuItem5.Name = "toolStripMenuItem5";
- this.toolStripMenuItem5.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem5.Text = "Selected assets";
- this.toolStripMenuItem5.Click += new System.EventHandler(this.toolStripMenuItem5_Click);
+ toolStripMenuItem5.Name = "toolStripMenuItem5";
+ toolStripMenuItem5.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem5.Text = "Selected assets";
+ toolStripMenuItem5.Click += toolStripMenuItem5_Click;
//
// toolStripMenuItem6
//
- this.toolStripMenuItem6.Name = "toolStripMenuItem6";
- this.toolStripMenuItem6.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem6.Text = "Filtered assets";
- this.toolStripMenuItem6.Click += new System.EventHandler(this.toolStripMenuItem6_Click);
+ toolStripMenuItem6.Name = "toolStripMenuItem6";
+ toolStripMenuItem6.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem6.Text = "Filtered assets";
+ toolStripMenuItem6.Click += toolStripMenuItem6_Click;
//
// toolStripMenuItem3
//
- this.toolStripMenuItem3.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.toolStripMenuItem7,
- this.toolStripMenuItem8,
- this.toolStripMenuItem9});
- this.toolStripMenuItem3.Name = "toolStripMenuItem3";
- this.toolStripMenuItem3.Size = new System.Drawing.Size(266, 22);
- this.toolStripMenuItem3.Text = "Dump";
+ toolStripMenuItem3.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { toolStripMenuItem7, toolStripMenuItem8, toolStripMenuItem9 });
+ toolStripMenuItem3.Name = "toolStripMenuItem3";
+ toolStripMenuItem3.Size = new System.Drawing.Size(266, 22);
+ toolStripMenuItem3.Text = "Dump";
//
// toolStripMenuItem7
//
- this.toolStripMenuItem7.Name = "toolStripMenuItem7";
- this.toolStripMenuItem7.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem7.Text = "All assets";
- this.toolStripMenuItem7.Click += new System.EventHandler(this.toolStripMenuItem7_Click);
+ toolStripMenuItem7.Name = "toolStripMenuItem7";
+ toolStripMenuItem7.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem7.Text = "All assets";
+ toolStripMenuItem7.Click += toolStripMenuItem7_Click;
//
// toolStripMenuItem8
//
- this.toolStripMenuItem8.Name = "toolStripMenuItem8";
- this.toolStripMenuItem8.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem8.Text = "Selected assets";
- this.toolStripMenuItem8.Click += new System.EventHandler(this.toolStripMenuItem8_Click);
+ toolStripMenuItem8.Name = "toolStripMenuItem8";
+ toolStripMenuItem8.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem8.Text = "Selected assets";
+ toolStripMenuItem8.Click += toolStripMenuItem8_Click;
//
// toolStripMenuItem9
//
- this.toolStripMenuItem9.Name = "toolStripMenuItem9";
- this.toolStripMenuItem9.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem9.Text = "Filtered assets";
- this.toolStripMenuItem9.Click += new System.EventHandler(this.toolStripMenuItem9_Click);
+ toolStripMenuItem9.Name = "toolStripMenuItem9";
+ toolStripMenuItem9.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem9.Text = "Filtered assets";
+ toolStripMenuItem9.Click += toolStripMenuItem9_Click;
//
// toolStripMenuItem16
//
- this.toolStripMenuItem16.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.toolStripMenuItem17,
- this.toolStripMenuItem24,
- this.toolStripMenuItem25});
- this.toolStripMenuItem16.Name = "toolStripMenuItem16";
- this.toolStripMenuItem16.Size = new System.Drawing.Size(266, 22);
- this.toolStripMenuItem16.Text = "JSON";
+ toolStripMenuItem16.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { toolStripMenuItem17, toolStripMenuItem24, toolStripMenuItem25 });
+ toolStripMenuItem16.Name = "toolStripMenuItem16";
+ toolStripMenuItem16.Size = new System.Drawing.Size(266, 22);
+ toolStripMenuItem16.Text = "JSON";
//
// toolStripMenuItem17
//
- this.toolStripMenuItem17.Name = "toolStripMenuItem17";
- this.toolStripMenuItem17.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem17.Text = "All assets";
- this.toolStripMenuItem17.Click += new System.EventHandler(this.toolStripMenuItem17_Click);
+ toolStripMenuItem17.Name = "toolStripMenuItem17";
+ toolStripMenuItem17.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem17.Text = "All assets";
+ toolStripMenuItem17.Click += toolStripMenuItem17_Click;
//
// toolStripMenuItem24
//
- this.toolStripMenuItem24.Name = "toolStripMenuItem24";
- this.toolStripMenuItem24.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem24.Text = "Selected assets";
- this.toolStripMenuItem24.Click += new System.EventHandler(this.toolStripMenuItem24_Click);
+ toolStripMenuItem24.Name = "toolStripMenuItem24";
+ toolStripMenuItem24.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem24.Text = "Selected assets";
+ toolStripMenuItem24.Click += toolStripMenuItem24_Click;
//
// toolStripMenuItem25
//
- this.toolStripMenuItem25.Name = "toolStripMenuItem25";
- this.toolStripMenuItem25.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem25.Text = "Filtered assets";
- this.toolStripMenuItem25.Click += new System.EventHandler(this.toolStripMenuItem25_Click);
+ toolStripMenuItem25.Name = "toolStripMenuItem25";
+ toolStripMenuItem25.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem25.Text = "Filtered assets";
+ toolStripMenuItem25.Click += toolStripMenuItem25_Click;
//
// toolStripSeparator2
//
- this.toolStripSeparator2.Name = "toolStripSeparator2";
- this.toolStripSeparator2.Size = new System.Drawing.Size(263, 6);
+ toolStripSeparator2.Name = "toolStripSeparator2";
+ toolStripSeparator2.Size = new System.Drawing.Size(263, 6);
//
// toolStripMenuItem10
//
- this.toolStripMenuItem10.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.toolStripMenuItem11,
- this.toolStripMenuItem12,
- this.toolStripMenuItem13});
- this.toolStripMenuItem10.Name = "toolStripMenuItem10";
- this.toolStripMenuItem10.Size = new System.Drawing.Size(266, 22);
- this.toolStripMenuItem10.Text = "Asset list to XML";
+ toolStripMenuItem10.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { toolStripMenuItem11, toolStripMenuItem12, toolStripMenuItem13 });
+ toolStripMenuItem10.Name = "toolStripMenuItem10";
+ toolStripMenuItem10.Size = new System.Drawing.Size(266, 22);
+ toolStripMenuItem10.Text = "Asset list to XML";
//
// toolStripMenuItem11
//
- this.toolStripMenuItem11.Name = "toolStripMenuItem11";
- this.toolStripMenuItem11.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem11.Text = "All assets";
- this.toolStripMenuItem11.Click += new System.EventHandler(this.toolStripMenuItem11_Click);
+ toolStripMenuItem11.Name = "toolStripMenuItem11";
+ toolStripMenuItem11.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem11.Text = "All assets";
+ toolStripMenuItem11.Click += toolStripMenuItem11_Click;
//
// toolStripMenuItem12
//
- this.toolStripMenuItem12.Name = "toolStripMenuItem12";
- this.toolStripMenuItem12.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem12.Text = "Selected assets";
- this.toolStripMenuItem12.Click += new System.EventHandler(this.toolStripMenuItem12_Click);
+ toolStripMenuItem12.Name = "toolStripMenuItem12";
+ toolStripMenuItem12.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem12.Text = "Selected assets";
+ toolStripMenuItem12.Click += toolStripMenuItem12_Click;
//
// toolStripMenuItem13
//
- this.toolStripMenuItem13.Name = "toolStripMenuItem13";
- this.toolStripMenuItem13.Size = new System.Drawing.Size(152, 22);
- this.toolStripMenuItem13.Text = "Filtered assets";
- this.toolStripMenuItem13.Click += new System.EventHandler(this.toolStripMenuItem13_Click);
+ toolStripMenuItem13.Name = "toolStripMenuItem13";
+ toolStripMenuItem13.Size = new System.Drawing.Size(152, 22);
+ toolStripMenuItem13.Text = "Filtered assets";
+ toolStripMenuItem13.Click += toolStripMenuItem13_Click;
//
// filterTypeToolStripMenuItem
//
- this.filterTypeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.allToolStripMenuItem});
- this.filterTypeToolStripMenuItem.Name = "filterTypeToolStripMenuItem";
- this.filterTypeToolStripMenuItem.Size = new System.Drawing.Size(72, 20);
- this.filterTypeToolStripMenuItem.Text = "Filter Type";
+ filterTypeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { allToolStripMenuItem });
+ filterTypeToolStripMenuItem.Name = "filterTypeToolStripMenuItem";
+ filterTypeToolStripMenuItem.Size = new System.Drawing.Size(72, 20);
+ filterTypeToolStripMenuItem.Text = "Filter Type";
//
// allToolStripMenuItem
//
- this.allToolStripMenuItem.Checked = true;
- this.allToolStripMenuItem.CheckOnClick = true;
- this.allToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
- this.allToolStripMenuItem.Name = "allToolStripMenuItem";
- this.allToolStripMenuItem.Size = new System.Drawing.Size(88, 22);
- this.allToolStripMenuItem.Text = "All";
- this.allToolStripMenuItem.Click += new System.EventHandler(this.typeToolStripMenuItem_Click);
+ allToolStripMenuItem.Checked = true;
+ allToolStripMenuItem.CheckOnClick = true;
+ allToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
+ allToolStripMenuItem.Name = "allToolStripMenuItem";
+ allToolStripMenuItem.Size = new System.Drawing.Size(88, 22);
+ allToolStripMenuItem.Text = "All";
+ allToolStripMenuItem.Click += typeToolStripMenuItem_Click;
//
// debugMenuItem
//
- this.debugMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.toolStripMenuItem15,
- this.exportClassStructuresMenuItem,
- this.enableConsole,
- this.clearConsoleToolStripMenuItem});
- this.debugMenuItem.Name = "debugMenuItem";
- this.debugMenuItem.Size = new System.Drawing.Size(54, 20);
- this.debugMenuItem.Text = "Debug";
+ debugMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { toolStripMenuItem15, exportClassStructuresMenuItem, enableConsole, clearConsoleToolStripMenuItem });
+ debugMenuItem.Name = "debugMenuItem";
+ debugMenuItem.Size = new System.Drawing.Size(54, 20);
+ debugMenuItem.Text = "Debug";
//
// toolStripMenuItem15
//
- this.toolStripMenuItem15.Checked = true;
- this.toolStripMenuItem15.CheckOnClick = true;
- this.toolStripMenuItem15.CheckState = System.Windows.Forms.CheckState.Checked;
- this.toolStripMenuItem15.Name = "toolStripMenuItem15";
- this.toolStripMenuItem15.Size = new System.Drawing.Size(191, 22);
- this.toolStripMenuItem15.Text = "Show error message";
- this.toolStripMenuItem15.Click += new System.EventHandler(this.toolStripMenuItem15_Click);
+ toolStripMenuItem15.Checked = true;
+ toolStripMenuItem15.CheckOnClick = true;
+ toolStripMenuItem15.CheckState = System.Windows.Forms.CheckState.Checked;
+ toolStripMenuItem15.Name = "toolStripMenuItem15";
+ toolStripMenuItem15.Size = new System.Drawing.Size(191, 22);
+ toolStripMenuItem15.Text = "Show error message";
+ toolStripMenuItem15.Click += toolStripMenuItem15_Click;
//
// exportClassStructuresMenuItem
//
- this.exportClassStructuresMenuItem.Name = "exportClassStructuresMenuItem";
- this.exportClassStructuresMenuItem.Size = new System.Drawing.Size(191, 22);
- this.exportClassStructuresMenuItem.Text = "Export class structures";
- this.exportClassStructuresMenuItem.Click += new System.EventHandler(this.exportClassStructuresMenuItem_Click);
+ exportClassStructuresMenuItem.Name = "exportClassStructuresMenuItem";
+ exportClassStructuresMenuItem.Size = new System.Drawing.Size(191, 22);
+ exportClassStructuresMenuItem.Text = "Export class structures";
+ exportClassStructuresMenuItem.Click += exportClassStructuresMenuItem_Click;
//
// enableConsole
//
- this.enableConsole.Checked = true;
- this.enableConsole.CheckOnClick = true;
- this.enableConsole.CheckState = System.Windows.Forms.CheckState.Checked;
- this.enableConsole.Name = "enableConsole";
- this.enableConsole.Size = new System.Drawing.Size(191, 22);
- this.enableConsole.Text = "Enable Console";
- this.enableConsole.CheckedChanged += new System.EventHandler(this.enableConsole_CheckedChanged);
+ enableConsole.Checked = true;
+ enableConsole.CheckOnClick = true;
+ enableConsole.CheckState = System.Windows.Forms.CheckState.Checked;
+ enableConsole.Name = "enableConsole";
+ enableConsole.Size = new System.Drawing.Size(191, 22);
+ enableConsole.Text = "Enable Console";
+ enableConsole.CheckedChanged += enableConsole_CheckedChanged;
//
// clearConsoleToolStripMenuItem
//
- this.clearConsoleToolStripMenuItem.Name = "clearConsoleToolStripMenuItem";
- this.clearConsoleToolStripMenuItem.Size = new System.Drawing.Size(191, 22);
- this.clearConsoleToolStripMenuItem.Text = "Clear Console";
- this.clearConsoleToolStripMenuItem.Click += new System.EventHandler(this.clearConsoleToolStripMenuItem_Click);
+ clearConsoleToolStripMenuItem.Name = "clearConsoleToolStripMenuItem";
+ clearConsoleToolStripMenuItem.Size = new System.Drawing.Size(191, 22);
+ clearConsoleToolStripMenuItem.Text = "Clear Console";
+ clearConsoleToolStripMenuItem.Click += clearConsoleToolStripMenuItem_Click;
//
// miscToolStripMenuItem
//
- this.miscToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.assetHelpersToolStripMenuItem,
- this.loadAIToolStripMenuItem});
- this.miscToolStripMenuItem.Name = "miscToolStripMenuItem";
- this.miscToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
- this.miscToolStripMenuItem.Text = "Misc.";
+ miscToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { assetHelpersToolStripMenuItem, loadAIToolStripMenuItem });
+ miscToolStripMenuItem.Name = "miscToolStripMenuItem";
+ miscToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
+ miscToolStripMenuItem.Text = "Misc.";
//
// assetHelpersToolStripMenuItem
//
- this.assetHelpersToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.cABMapToolStripMenuItem,
- this.assetMapToolStripMenuItem});
- this.assetHelpersToolStripMenuItem.Name = "assetHelpersToolStripMenuItem";
- this.assetHelpersToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
- this.assetHelpersToolStripMenuItem.Text = "Asset Helpers";
- this.assetHelpersToolStripMenuItem.DropDownOpening += new System.EventHandler(this.assetHelpersToolStripMenuItem_DropDownOpening);
+ assetHelpersToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { cABMapToolStripMenuItem, assetMapToolStripMenuItem });
+ assetHelpersToolStripMenuItem.Name = "assetHelpersToolStripMenuItem";
+ assetHelpersToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
+ assetHelpersToolStripMenuItem.Text = "Asset Helpers";
+ assetHelpersToolStripMenuItem.DropDownOpening += assetHelpersToolStripMenuItem_DropDownOpening;
//
// cABMapToolStripMenuItem
//
- this.cABMapToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.CABMapNameComboBox,
- this.toolStripMenuItem20,
- this.toolStripMenuItem21});
- this.cABMapToolStripMenuItem.Name = "cABMapToolStripMenuItem";
- this.cABMapToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
- this.cABMapToolStripMenuItem.Text = "CABMap";
+ cABMapToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { CABMapNameComboBox, toolStripMenuItem20, toolStripMenuItem21 });
+ cABMapToolStripMenuItem.Name = "cABMapToolStripMenuItem";
+ cABMapToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
+ cABMapToolStripMenuItem.Text = "CABMap";
//
// CABMapNameComboBox
//
- this.CABMapNameComboBox.Name = "CABMapNameComboBox";
- this.CABMapNameComboBox.Size = new System.Drawing.Size(121, 23);
- this.CABMapNameComboBox.ToolTipText = "Enter name of CABMap here";
+ CABMapNameComboBox.Name = "CABMapNameComboBox";
+ CABMapNameComboBox.Size = new System.Drawing.Size(121, 23);
+ CABMapNameComboBox.ToolTipText = "Enter name of CABMap here";
//
// toolStripMenuItem20
//
- this.toolStripMenuItem20.Name = "toolStripMenuItem20";
- this.toolStripMenuItem20.Size = new System.Drawing.Size(181, 22);
- this.toolStripMenuItem20.Text = "Build CABMap";
- this.toolStripMenuItem20.Click += new System.EventHandler(this.toolStripMenuItem20_Click);
+ toolStripMenuItem20.Name = "toolStripMenuItem20";
+ toolStripMenuItem20.Size = new System.Drawing.Size(181, 22);
+ toolStripMenuItem20.Text = "Build CABMap";
+ toolStripMenuItem20.Click += toolStripMenuItem20_Click;
//
// toolStripMenuItem21
//
- this.toolStripMenuItem21.Name = "toolStripMenuItem21";
- this.toolStripMenuItem21.Size = new System.Drawing.Size(181, 22);
- this.toolStripMenuItem21.Text = "Clear CABMap";
- this.toolStripMenuItem21.Click += new System.EventHandler(this.toolStripMenuItem21_Click);
+ toolStripMenuItem21.Name = "toolStripMenuItem21";
+ toolStripMenuItem21.Size = new System.Drawing.Size(181, 22);
+ toolStripMenuItem21.Text = "Clear CABMap";
+ toolStripMenuItem21.Click += toolStripMenuItem21_Click;
//
// assetMapToolStripMenuItem
//
- this.assetMapToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.assetMapNameTextBox,
- this.toolStripMenuItem22,
- this.assetMapTypeComboBox});
- this.assetMapToolStripMenuItem.Name = "assetMapToolStripMenuItem";
- this.assetMapToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
- this.assetMapToolStripMenuItem.Text = "AssetMap";
+ assetMapToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { assetMapNameTextBox, toolStripMenuItem22, assetMapTypeComboBox });
+ assetMapToolStripMenuItem.Name = "assetMapToolStripMenuItem";
+ assetMapToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
+ assetMapToolStripMenuItem.Text = "AssetMap";
//
// assetMapNameTextBox
//
- this.assetMapNameTextBox.Name = "assetMapNameTextBox";
- this.assetMapNameTextBox.Size = new System.Drawing.Size(100, 23);
- this.assetMapNameTextBox.ToolTipText = "Enter name of AssetMap here";
+ assetMapNameTextBox.Name = "assetMapNameTextBox";
+ assetMapNameTextBox.Size = new System.Drawing.Size(100, 23);
+ assetMapNameTextBox.ToolTipText = "Enter name of AssetMap here";
//
// toolStripMenuItem22
//
- this.toolStripMenuItem22.Name = "toolStripMenuItem22";
- this.toolStripMenuItem22.Size = new System.Drawing.Size(181, 22);
- this.toolStripMenuItem22.Text = "Build AssetMap";
- this.toolStripMenuItem22.Click += new System.EventHandler(this.toolStripMenuItem22_Click);
+ toolStripMenuItem22.Name = "toolStripMenuItem22";
+ toolStripMenuItem22.Size = new System.Drawing.Size(181, 22);
+ toolStripMenuItem22.Text = "Build AssetMap";
+ toolStripMenuItem22.Click += toolStripMenuItem22_Click;
//
// assetMapTypeComboBox
//
- this.assetMapTypeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.assetMapTypeComboBox.Name = "assetMapTypeComboBox";
- this.assetMapTypeComboBox.Size = new System.Drawing.Size(121, 23);
- this.assetMapTypeComboBox.SelectedIndexChanged += new System.EventHandler(this.assetMapTypeComboBox_SelectedIndexChanged);
+ assetMapTypeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ assetMapTypeComboBox.Name = "assetMapTypeComboBox";
+ assetMapTypeComboBox.Size = new System.Drawing.Size(121, 23);
+ assetMapTypeComboBox.SelectedIndexChanged += assetMapTypeComboBox_SelectedIndexChanged;
//
// loadAIToolStripMenuItem
//
- this.loadAIToolStripMenuItem.Name = "loadAIToolStripMenuItem";
- this.loadAIToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
- this.loadAIToolStripMenuItem.Text = "Load AI";
- this.loadAIToolStripMenuItem.Click += new System.EventHandler(this.loadAIToolStripMenuItem_Click);
+ loadAIToolStripMenuItem.Name = "loadAIToolStripMenuItem";
+ loadAIToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
+ loadAIToolStripMenuItem.Text = "Load AI";
+ loadAIToolStripMenuItem.Click += loadAIToolStripMenuItem_Click;
//
// toolStripSeparator5
//
- this.toolStripSeparator5.Name = "toolStripSeparator5";
- this.toolStripSeparator5.Size = new System.Drawing.Size(178, 6);
+ toolStripSeparator5.Name = "toolStripSeparator5";
+ toolStripSeparator5.Size = new System.Drawing.Size(178, 6);
//
// splitContainer1
//
- this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer1.Location = new System.Drawing.Point(0, 24);
- this.splitContainer1.Name = "splitContainer1";
+ splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ splitContainer1.Location = new System.Drawing.Point(0, 24);
+ splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
- this.splitContainer1.Panel1.Controls.Add(this.tabControl1);
- this.splitContainer1.Panel1.Controls.Add(this.progressbarPanel);
- this.splitContainer1.Panel1MinSize = 200;
+ splitContainer1.Panel1.Controls.Add(tabControl1);
+ splitContainer1.Panel1.Controls.Add(progressbarPanel);
+ splitContainer1.Panel1MinSize = 200;
//
// splitContainer1.Panel2
//
- this.splitContainer1.Panel2.Controls.Add(this.tabControl2);
- this.splitContainer1.Panel2.Controls.Add(this.statusStrip1);
- this.splitContainer1.Panel2MinSize = 400;
- this.splitContainer1.Size = new System.Drawing.Size(1264, 657);
- this.splitContainer1.SplitterDistance = 482;
- this.splitContainer1.TabIndex = 2;
- this.splitContainer1.TabStop = false;
+ splitContainer1.Panel2.Controls.Add(tabControl2);
+ splitContainer1.Panel2.Controls.Add(statusStrip1);
+ splitContainer1.Panel2MinSize = 400;
+ splitContainer1.Size = new System.Drawing.Size(1264, 657);
+ splitContainer1.SplitterDistance = 482;
+ splitContainer1.TabIndex = 2;
+ splitContainer1.TabStop = false;
//
// tabControl1
//
- this.tabControl1.Controls.Add(this.tabPage1);
- this.tabControl1.Controls.Add(this.tabPage2);
- this.tabControl1.Controls.Add(this.tabPage3);
- this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tabControl1.Location = new System.Drawing.Point(0, 0);
- this.tabControl1.Name = "tabControl1";
- this.tabControl1.Padding = new System.Drawing.Point(17, 3);
- this.tabControl1.SelectedIndex = 0;
- this.tabControl1.Size = new System.Drawing.Size(480, 635);
- this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
- this.tabControl1.TabIndex = 0;
- this.tabControl1.Selected += new System.Windows.Forms.TabControlEventHandler(this.tabPageSelected);
+ tabControl1.Controls.Add(tabPage1);
+ tabControl1.Controls.Add(tabPage2);
+ tabControl1.Controls.Add(tabPage3);
+ tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+ tabControl1.Location = new System.Drawing.Point(0, 0);
+ tabControl1.Name = "tabControl1";
+ tabControl1.Padding = new System.Drawing.Point(17, 3);
+ tabControl1.SelectedIndex = 0;
+ tabControl1.Size = new System.Drawing.Size(480, 635);
+ tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
+ tabControl1.TabIndex = 0;
+ tabControl1.Selected += tabPageSelected;
//
// tabPage1
//
- this.tabPage1.Controls.Add(this.sceneTreeView);
- this.tabPage1.Controls.Add(this.treeSearch);
- this.tabPage1.Location = new System.Drawing.Point(4, 24);
- this.tabPage1.Name = "tabPage1";
- this.tabPage1.Size = new System.Drawing.Size(472, 607);
- this.tabPage1.TabIndex = 0;
- this.tabPage1.Text = "Scene Hierarchy";
- this.tabPage1.UseVisualStyleBackColor = true;
+ tabPage1.Controls.Add(sceneTreeView);
+ tabPage1.Controls.Add(treeSearch);
+ tabPage1.Location = new System.Drawing.Point(4, 24);
+ tabPage1.Name = "tabPage1";
+ tabPage1.Size = new System.Drawing.Size(472, 607);
+ tabPage1.TabIndex = 0;
+ tabPage1.Text = "Scene Hierarchy";
+ tabPage1.UseVisualStyleBackColor = true;
//
// sceneTreeView
//
- this.sceneTreeView.CheckBoxes = true;
- this.sceneTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
- this.sceneTreeView.HideSelection = false;
- this.sceneTreeView.Location = new System.Drawing.Point(0, 23);
- this.sceneTreeView.Name = "sceneTreeView";
- this.sceneTreeView.Size = new System.Drawing.Size(472, 584);
- this.sceneTreeView.TabIndex = 1;
- this.sceneTreeView.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.sceneTreeView_AfterCheck);
+ sceneTreeView.CheckBoxes = true;
+ sceneTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
+ sceneTreeView.HideSelection = false;
+ sceneTreeView.Location = new System.Drawing.Point(0, 23);
+ sceneTreeView.Name = "sceneTreeView";
+ sceneTreeView.Size = new System.Drawing.Size(472, 584);
+ sceneTreeView.TabIndex = 1;
+ sceneTreeView.AfterCheck += sceneTreeView_AfterCheck;
//
// treeSearch
//
- this.treeSearch.Dock = System.Windows.Forms.DockStyle.Top;
- this.treeSearch.ForeColor = System.Drawing.SystemColors.GrayText;
- this.treeSearch.Location = new System.Drawing.Point(0, 0);
- this.treeSearch.Name = "treeSearch";
- this.treeSearch.Size = new System.Drawing.Size(472, 23);
- this.treeSearch.TabIndex = 0;
- this.treeSearch.Text = " Search ";
- this.treeSearch.TextChanged += new System.EventHandler(this.treeSearch_TextChanged);
- this.treeSearch.Enter += new System.EventHandler(this.treeSearch_Enter);
- this.treeSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeSearch_KeyDown);
- this.treeSearch.Leave += new System.EventHandler(this.treeSearch_Leave);
+ treeSearch.Dock = System.Windows.Forms.DockStyle.Top;
+ treeSearch.ForeColor = System.Drawing.SystemColors.GrayText;
+ treeSearch.Location = new System.Drawing.Point(0, 0);
+ treeSearch.Name = "treeSearch";
+ treeSearch.Size = new System.Drawing.Size(472, 23);
+ treeSearch.TabIndex = 0;
+ treeSearch.Text = " Search ";
+ treeSearch.TextChanged += treeSearch_TextChanged;
+ treeSearch.Enter += treeSearch_Enter;
+ treeSearch.KeyDown += treeSearch_KeyDown;
+ treeSearch.Leave += treeSearch_Leave;
//
// tabPage2
//
- this.tabPage2.Controls.Add(this.assetListView);
- this.tabPage2.Controls.Add(this.listSearch);
- this.tabPage2.Location = new System.Drawing.Point(4, 24);
- this.tabPage2.Name = "tabPage2";
- this.tabPage2.Size = new System.Drawing.Size(472, 607);
- this.tabPage2.TabIndex = 1;
- this.tabPage2.Text = "Asset List";
- this.tabPage2.UseVisualStyleBackColor = true;
+ tabPage2.Controls.Add(assetListView);
+ tabPage2.Controls.Add(listSearch);
+ tabPage2.Location = new System.Drawing.Point(4, 24);
+ tabPage2.Name = "tabPage2";
+ tabPage2.Size = new System.Drawing.Size(472, 607);
+ tabPage2.TabIndex = 1;
+ tabPage2.Text = "Asset List";
+ tabPage2.UseVisualStyleBackColor = true;
//
// assetListView
//
- this.assetListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
- this.columnHeaderName,
- this.columnHeaderContainer,
- this.columnHeaderType,
- this.columnHeaderPathID,
- this.columnHeaderSize});
- this.assetListView.Dock = System.Windows.Forms.DockStyle.Fill;
- this.assetListView.FullRowSelect = true;
- this.assetListView.GridLines = true;
- this.assetListView.Location = new System.Drawing.Point(0, 23);
- this.assetListView.Name = "assetListView";
- this.assetListView.Size = new System.Drawing.Size(472, 584);
- this.assetListView.TabIndex = 1;
- this.assetListView.UseCompatibleStateImageBehavior = false;
- this.assetListView.View = System.Windows.Forms.View.Details;
- this.assetListView.VirtualMode = true;
- this.assetListView.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.assetListView_ColumnClick);
- this.assetListView.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.selectAsset);
- this.assetListView.RetrieveVirtualItem += new System.Windows.Forms.RetrieveVirtualItemEventHandler(this.assetListView_RetrieveVirtualItem);
- this.assetListView.MouseClick += new System.Windows.Forms.MouseEventHandler(this.assetListView_MouseClick);
+ assetListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { columnHeaderName, columnHeaderContainer, columnHeaderType, columnHeaderPathID, columnHeaderSize });
+ assetListView.Dock = System.Windows.Forms.DockStyle.Fill;
+ assetListView.FullRowSelect = true;
+ assetListView.GridLines = true;
+ assetListView.Location = new System.Drawing.Point(0, 23);
+ assetListView.Name = "assetListView";
+ assetListView.Size = new System.Drawing.Size(472, 584);
+ assetListView.TabIndex = 1;
+ assetListView.UseCompatibleStateImageBehavior = false;
+ assetListView.View = System.Windows.Forms.View.Details;
+ assetListView.VirtualMode = true;
+ assetListView.ColumnClick += assetListView_ColumnClick;
+ assetListView.ItemSelectionChanged += selectAsset;
+ assetListView.RetrieveVirtualItem += assetListView_RetrieveVirtualItem;
+ assetListView.MouseClick += assetListView_MouseClick;
//
// columnHeaderName
//
- this.columnHeaderName.Text = "Name";
- this.columnHeaderName.Width = 170;
+ columnHeaderName.Text = "Name";
+ columnHeaderName.Width = 170;
//
// columnHeaderContainer
//
- this.columnHeaderContainer.Text = "Container";
- this.columnHeaderContainer.Width = 80;
+ columnHeaderContainer.Text = "Container";
+ columnHeaderContainer.Width = 80;
//
// columnHeaderType
//
- this.columnHeaderType.Text = "Type";
- this.columnHeaderType.Width = 90;
+ columnHeaderType.Text = "Type";
+ columnHeaderType.Width = 90;
//
// columnHeaderPathID
//
- this.columnHeaderPathID.Text = "PathID";
+ columnHeaderPathID.Text = "PathID";
//
// columnHeaderSize
//
- this.columnHeaderSize.Text = "Size";
- this.columnHeaderSize.Width = 50;
+ columnHeaderSize.Text = "Size";
+ columnHeaderSize.Width = 50;
//
// listSearch
//
- this.listSearch.Dock = System.Windows.Forms.DockStyle.Top;
- this.listSearch.ForeColor = System.Drawing.SystemColors.GrayText;
- this.listSearch.Location = new System.Drawing.Point(0, 0);
- this.listSearch.Name = "listSearch";
- this.listSearch.Size = new System.Drawing.Size(472, 23);
- this.listSearch.TabIndex = 0;
- this.listSearch.Text = " Filter ";
- this.listSearch.TextChanged += new System.EventHandler(this.ListSearchTextChanged);
- this.listSearch.Enter += new System.EventHandler(this.listSearch_Enter);
- this.listSearch.Leave += new System.EventHandler(this.listSearch_Leave);
+ listSearch.Dock = System.Windows.Forms.DockStyle.Top;
+ listSearch.ForeColor = System.Drawing.SystemColors.GrayText;
+ listSearch.Location = new System.Drawing.Point(0, 0);
+ listSearch.Name = "listSearch";
+ listSearch.Size = new System.Drawing.Size(472, 23);
+ listSearch.TabIndex = 0;
+ listSearch.Text = " Filter ";
+ listSearch.TextChanged += ListSearchTextChanged;
+ listSearch.Enter += listSearch_Enter;
+ listSearch.Leave += listSearch_Leave;
//
// tabPage3
//
- this.tabPage3.Controls.Add(this.classesListView);
- this.tabPage3.Location = new System.Drawing.Point(4, 24);
- this.tabPage3.Name = "tabPage3";
- this.tabPage3.Size = new System.Drawing.Size(472, 607);
- this.tabPage3.TabIndex = 2;
- this.tabPage3.Text = "Asset Classes";
- this.tabPage3.UseVisualStyleBackColor = true;
+ tabPage3.Controls.Add(classesListView);
+ tabPage3.Location = new System.Drawing.Point(4, 24);
+ tabPage3.Name = "tabPage3";
+ tabPage3.Size = new System.Drawing.Size(472, 607);
+ tabPage3.TabIndex = 2;
+ tabPage3.Text = "Asset Classes";
+ tabPage3.UseVisualStyleBackColor = true;
//
// classesListView
//
- this.classesListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
- this.columnHeader1,
- this.columnHeader2});
- this.classesListView.Dock = System.Windows.Forms.DockStyle.Fill;
- this.classesListView.FullRowSelect = true;
- this.classesListView.Location = new System.Drawing.Point(0, 0);
- this.classesListView.MultiSelect = false;
- this.classesListView.Name = "classesListView";
- this.classesListView.Size = new System.Drawing.Size(472, 607);
- this.classesListView.TabIndex = 0;
- this.classesListView.UseCompatibleStateImageBehavior = false;
- this.classesListView.View = System.Windows.Forms.View.Details;
- this.classesListView.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.classesListView_ItemSelectionChanged);
+ classesListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { columnHeader1, columnHeader2 });
+ classesListView.Dock = System.Windows.Forms.DockStyle.Fill;
+ classesListView.FullRowSelect = true;
+ classesListView.Location = new System.Drawing.Point(0, 0);
+ classesListView.MultiSelect = false;
+ classesListView.Name = "classesListView";
+ classesListView.Size = new System.Drawing.Size(472, 607);
+ classesListView.TabIndex = 0;
+ classesListView.UseCompatibleStateImageBehavior = false;
+ classesListView.View = System.Windows.Forms.View.Details;
+ classesListView.ItemSelectionChanged += classesListView_ItemSelectionChanged;
//
// columnHeader1
//
- this.columnHeader1.DisplayIndex = 1;
- this.columnHeader1.Text = "Name";
- this.columnHeader1.Width = 300;
+ columnHeader1.DisplayIndex = 1;
+ columnHeader1.Text = "Name";
+ columnHeader1.Width = 300;
//
// columnHeader2
//
- this.columnHeader2.DisplayIndex = 0;
- this.columnHeader2.Text = "ID";
- this.columnHeader2.Width = 70;
+ columnHeader2.DisplayIndex = 0;
+ columnHeader2.Text = "ID";
+ columnHeader2.Width = 70;
//
// progressbarPanel
//
- this.progressbarPanel.Controls.Add(this.progressBar1);
- this.progressbarPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.progressbarPanel.Location = new System.Drawing.Point(0, 635);
- this.progressbarPanel.Name = "progressbarPanel";
- this.progressbarPanel.Padding = new System.Windows.Forms.Padding(1, 3, 1, 1);
- this.progressbarPanel.Size = new System.Drawing.Size(480, 20);
- this.progressbarPanel.TabIndex = 2;
+ progressbarPanel.Controls.Add(progressBar1);
+ progressbarPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
+ progressbarPanel.Location = new System.Drawing.Point(0, 635);
+ progressbarPanel.Name = "progressbarPanel";
+ progressbarPanel.Padding = new System.Windows.Forms.Padding(1, 3, 1, 1);
+ progressbarPanel.Size = new System.Drawing.Size(480, 20);
+ progressbarPanel.TabIndex = 2;
//
// progressBar1
//
- this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.progressBar1.Location = new System.Drawing.Point(1, 2);
- this.progressBar1.Name = "progressBar1";
- this.progressBar1.Size = new System.Drawing.Size(478, 17);
- this.progressBar1.Step = 1;
- this.progressBar1.TabIndex = 1;
+ progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ progressBar1.Location = new System.Drawing.Point(1, 2);
+ progressBar1.Name = "progressBar1";
+ progressBar1.Size = new System.Drawing.Size(478, 17);
+ progressBar1.Step = 1;
+ progressBar1.TabIndex = 1;
//
// tabControl2
//
- this.tabControl2.Controls.Add(this.tabPage4);
- this.tabControl2.Controls.Add(this.tabPage5);
- this.tabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tabControl2.Location = new System.Drawing.Point(0, 0);
- this.tabControl2.Name = "tabControl2";
- this.tabControl2.SelectedIndex = 0;
- this.tabControl2.Size = new System.Drawing.Size(776, 633);
- this.tabControl2.TabIndex = 4;
- this.tabControl2.SelectedIndexChanged += new System.EventHandler(this.tabControl2_SelectedIndexChanged);
+ tabControl2.Controls.Add(tabPage4);
+ tabControl2.Controls.Add(tabPage5);
+ tabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
+ tabControl2.Location = new System.Drawing.Point(0, 0);
+ tabControl2.Name = "tabControl2";
+ tabControl2.SelectedIndex = 0;
+ tabControl2.Size = new System.Drawing.Size(776, 633);
+ tabControl2.TabIndex = 4;
+ tabControl2.SelectedIndexChanged += tabControl2_SelectedIndexChanged;
//
// tabPage4
//
- this.tabPage4.Controls.Add(this.previewPanel);
- this.tabPage4.Location = new System.Drawing.Point(4, 24);
- this.tabPage4.Name = "tabPage4";
- this.tabPage4.Size = new System.Drawing.Size(768, 605);
- this.tabPage4.TabIndex = 0;
- this.tabPage4.Text = "Preview";
- this.tabPage4.UseVisualStyleBackColor = true;
+ tabPage4.Controls.Add(previewPanel);
+ tabPage4.Location = new System.Drawing.Point(4, 24);
+ tabPage4.Name = "tabPage4";
+ tabPage4.Size = new System.Drawing.Size(768, 605);
+ tabPage4.TabIndex = 0;
+ tabPage4.Text = "Preview";
+ tabPage4.UseVisualStyleBackColor = true;
//
// previewPanel
//
- this.previewPanel.BackColor = System.Drawing.SystemColors.ControlDark;
- this.previewPanel.BackgroundImage = global::AssetStudioGUI.Properties.Resources.preview;
- this.previewPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
- this.previewPanel.Controls.Add(this.assetInfoLabel);
- this.previewPanel.Controls.Add(this.FMODpanel);
- this.previewPanel.Controls.Add(this.fontPreviewBox);
- this.previewPanel.Controls.Add(this.glControl);
- this.previewPanel.Controls.Add(this.textPreviewBox);
- this.previewPanel.Controls.Add(this.classTextBox);
- this.previewPanel.Dock = System.Windows.Forms.DockStyle.Fill;
- this.previewPanel.Location = new System.Drawing.Point(0, 0);
- this.previewPanel.Name = "previewPanel";
- this.previewPanel.Size = new System.Drawing.Size(768, 605);
- this.previewPanel.TabIndex = 1;
- this.previewPanel.Resize += new System.EventHandler(this.preview_Resize);
+ previewPanel.BackColor = System.Drawing.SystemColors.ControlDark;
+ previewPanel.BackgroundImage = Properties.Resources.preview;
+ previewPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
+ previewPanel.Controls.Add(assetInfoLabel);
+ previewPanel.Controls.Add(FMODpanel);
+ previewPanel.Controls.Add(fontPreviewBox);
+ previewPanel.Controls.Add(glControl);
+ previewPanel.Controls.Add(textPreviewBox);
+ previewPanel.Controls.Add(classTextBox);
+ previewPanel.Dock = System.Windows.Forms.DockStyle.Fill;
+ previewPanel.Location = new System.Drawing.Point(0, 0);
+ previewPanel.Name = "previewPanel";
+ previewPanel.Size = new System.Drawing.Size(768, 605);
+ previewPanel.TabIndex = 1;
+ previewPanel.Resize += preview_Resize;
//
// assetInfoLabel
//
- this.assetInfoLabel.AutoSize = true;
- this.assetInfoLabel.BackColor = System.Drawing.Color.Transparent;
- this.assetInfoLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
- this.assetInfoLabel.Location = new System.Drawing.Point(4, 7);
- this.assetInfoLabel.Name = "assetInfoLabel";
- this.assetInfoLabel.Size = new System.Drawing.Size(0, 15);
- this.assetInfoLabel.TabIndex = 0;
+ assetInfoLabel.AutoSize = true;
+ assetInfoLabel.BackColor = System.Drawing.Color.Transparent;
+ assetInfoLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
+ assetInfoLabel.Location = new System.Drawing.Point(4, 7);
+ assetInfoLabel.Name = "assetInfoLabel";
+ assetInfoLabel.Size = new System.Drawing.Size(0, 15);
+ assetInfoLabel.TabIndex = 0;
//
// FMODpanel
//
- this.FMODpanel.BackColor = System.Drawing.SystemColors.ControlDark;
- this.FMODpanel.Controls.Add(this.FMODcopyright);
- this.FMODpanel.Controls.Add(this.FMODinfoLabel);
- this.FMODpanel.Controls.Add(this.FMODtimerLabel);
- this.FMODpanel.Controls.Add(this.FMODstatusLabel);
- this.FMODpanel.Controls.Add(this.FMODprogressBar);
- this.FMODpanel.Controls.Add(this.FMODvolumeBar);
- this.FMODpanel.Controls.Add(this.FMODloopButton);
- this.FMODpanel.Controls.Add(this.FMODstopButton);
- this.FMODpanel.Controls.Add(this.FMODpauseButton);
- this.FMODpanel.Controls.Add(this.FMODplayButton);
- this.FMODpanel.Dock = System.Windows.Forms.DockStyle.Fill;
- this.FMODpanel.Location = new System.Drawing.Point(0, 0);
- this.FMODpanel.Name = "FMODpanel";
- this.FMODpanel.Size = new System.Drawing.Size(768, 605);
- this.FMODpanel.TabIndex = 2;
- this.FMODpanel.Visible = false;
+ FMODpanel.BackColor = System.Drawing.SystemColors.ControlDark;
+ FMODpanel.Controls.Add(FMODcopyright);
+ FMODpanel.Controls.Add(FMODinfoLabel);
+ FMODpanel.Controls.Add(FMODtimerLabel);
+ FMODpanel.Controls.Add(FMODstatusLabel);
+ FMODpanel.Controls.Add(FMODprogressBar);
+ FMODpanel.Controls.Add(FMODvolumeBar);
+ FMODpanel.Controls.Add(FMODloopButton);
+ FMODpanel.Controls.Add(FMODstopButton);
+ FMODpanel.Controls.Add(FMODpauseButton);
+ FMODpanel.Controls.Add(FMODplayButton);
+ FMODpanel.Dock = System.Windows.Forms.DockStyle.Fill;
+ FMODpanel.Location = new System.Drawing.Point(0, 0);
+ FMODpanel.Name = "FMODpanel";
+ FMODpanel.Size = new System.Drawing.Size(768, 605);
+ FMODpanel.TabIndex = 2;
+ FMODpanel.Visible = false;
//
// FMODcopyright
//
- this.FMODcopyright.AutoSize = true;
- this.FMODcopyright.ForeColor = System.Drawing.SystemColors.ControlLight;
- this.FMODcopyright.Location = new System.Drawing.Point(214, 337);
- this.FMODcopyright.Name = "FMODcopyright";
- this.FMODcopyright.Size = new System.Drawing.Size(316, 15);
- this.FMODcopyright.TabIndex = 9;
- this.FMODcopyright.Text = "Audio Engine supplied by FMOD by Firelight Technologies.";
+ FMODcopyright.AutoSize = true;
+ FMODcopyright.ForeColor = System.Drawing.SystemColors.ControlLight;
+ FMODcopyright.Location = new System.Drawing.Point(214, 337);
+ FMODcopyright.Name = "FMODcopyright";
+ FMODcopyright.Size = new System.Drawing.Size(316, 15);
+ FMODcopyright.TabIndex = 9;
+ FMODcopyright.Text = "Audio Engine supplied by FMOD by Firelight Technologies.";
//
// FMODinfoLabel
//
- this.FMODinfoLabel.AutoSize = true;
- this.FMODinfoLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
- this.FMODinfoLabel.Location = new System.Drawing.Point(269, 235);
- this.FMODinfoLabel.Name = "FMODinfoLabel";
- this.FMODinfoLabel.Size = new System.Drawing.Size(0, 15);
- this.FMODinfoLabel.TabIndex = 8;
+ FMODinfoLabel.AutoSize = true;
+ FMODinfoLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
+ FMODinfoLabel.Location = new System.Drawing.Point(269, 235);
+ FMODinfoLabel.Name = "FMODinfoLabel";
+ FMODinfoLabel.Size = new System.Drawing.Size(0, 15);
+ FMODinfoLabel.TabIndex = 8;
//
// FMODtimerLabel
//
- this.FMODtimerLabel.AutoSize = true;
- this.FMODtimerLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
- this.FMODtimerLabel.Location = new System.Drawing.Point(460, 235);
- this.FMODtimerLabel.Name = "FMODtimerLabel";
- this.FMODtimerLabel.Size = new System.Drawing.Size(78, 15);
- this.FMODtimerLabel.TabIndex = 7;
- this.FMODtimerLabel.Text = "0:00.0 / 0:00.0";
+ FMODtimerLabel.AutoSize = true;
+ FMODtimerLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
+ FMODtimerLabel.Location = new System.Drawing.Point(460, 235);
+ FMODtimerLabel.Name = "FMODtimerLabel";
+ FMODtimerLabel.Size = new System.Drawing.Size(78, 15);
+ FMODtimerLabel.TabIndex = 7;
+ FMODtimerLabel.Text = "0:00.0 / 0:00.0";
//
// FMODstatusLabel
//
- this.FMODstatusLabel.AutoSize = true;
- this.FMODstatusLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
- this.FMODstatusLabel.Location = new System.Drawing.Point(213, 235);
- this.FMODstatusLabel.Name = "FMODstatusLabel";
- this.FMODstatusLabel.Size = new System.Drawing.Size(51, 15);
- this.FMODstatusLabel.TabIndex = 6;
- this.FMODstatusLabel.Text = "Stopped";
+ FMODstatusLabel.AutoSize = true;
+ FMODstatusLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
+ FMODstatusLabel.Location = new System.Drawing.Point(213, 235);
+ FMODstatusLabel.Name = "FMODstatusLabel";
+ FMODstatusLabel.Size = new System.Drawing.Size(51, 15);
+ FMODstatusLabel.TabIndex = 6;
+ FMODstatusLabel.Text = "Stopped";
//
// FMODprogressBar
//
- this.FMODprogressBar.AutoSize = false;
- this.FMODprogressBar.Location = new System.Drawing.Point(213, 253);
- this.FMODprogressBar.Maximum = 1000;
- this.FMODprogressBar.Name = "FMODprogressBar";
- this.FMODprogressBar.Size = new System.Drawing.Size(350, 22);
- this.FMODprogressBar.TabIndex = 5;
- this.FMODprogressBar.TickStyle = System.Windows.Forms.TickStyle.None;
- this.FMODprogressBar.Scroll += new System.EventHandler(this.FMODprogressBar_Scroll);
- this.FMODprogressBar.MouseDown += new System.Windows.Forms.MouseEventHandler(this.FMODprogressBar_MouseDown);
- this.FMODprogressBar.MouseUp += new System.Windows.Forms.MouseEventHandler(this.FMODprogressBar_MouseUp);
+ FMODprogressBar.AutoSize = false;
+ FMODprogressBar.Location = new System.Drawing.Point(213, 253);
+ FMODprogressBar.Maximum = 1000;
+ FMODprogressBar.Name = "FMODprogressBar";
+ FMODprogressBar.Size = new System.Drawing.Size(350, 22);
+ FMODprogressBar.TabIndex = 5;
+ FMODprogressBar.TickStyle = System.Windows.Forms.TickStyle.None;
+ FMODprogressBar.Scroll += FMODprogressBar_Scroll;
+ FMODprogressBar.MouseDown += FMODprogressBar_MouseDown;
+ FMODprogressBar.MouseUp += FMODprogressBar_MouseUp;
//
// FMODvolumeBar
//
- this.FMODvolumeBar.LargeChange = 2;
- this.FMODvolumeBar.Location = new System.Drawing.Point(460, 280);
- this.FMODvolumeBar.Name = "FMODvolumeBar";
- this.FMODvolumeBar.Size = new System.Drawing.Size(104, 45);
- this.FMODvolumeBar.TabIndex = 4;
- this.FMODvolumeBar.TickStyle = System.Windows.Forms.TickStyle.Both;
- this.FMODvolumeBar.Value = 8;
- this.FMODvolumeBar.ValueChanged += new System.EventHandler(this.FMODvolumeBar_ValueChanged);
+ FMODvolumeBar.LargeChange = 2;
+ FMODvolumeBar.Location = new System.Drawing.Point(460, 280);
+ FMODvolumeBar.Name = "FMODvolumeBar";
+ FMODvolumeBar.Size = new System.Drawing.Size(104, 45);
+ FMODvolumeBar.TabIndex = 4;
+ FMODvolumeBar.TickStyle = System.Windows.Forms.TickStyle.Both;
+ FMODvolumeBar.Value = 8;
+ FMODvolumeBar.ValueChanged += FMODvolumeBar_ValueChanged;
//
// FMODloopButton
//
- this.FMODloopButton.Appearance = System.Windows.Forms.Appearance.Button;
- this.FMODloopButton.Location = new System.Drawing.Point(399, 280);
- this.FMODloopButton.Name = "FMODloopButton";
- this.FMODloopButton.Size = new System.Drawing.Size(55, 42);
- this.FMODloopButton.TabIndex = 3;
- this.FMODloopButton.Text = "Loop";
- this.FMODloopButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.FMODloopButton.UseVisualStyleBackColor = true;
- this.FMODloopButton.CheckedChanged += new System.EventHandler(this.FMODloopButton_CheckedChanged);
+ FMODloopButton.Appearance = System.Windows.Forms.Appearance.Button;
+ FMODloopButton.Location = new System.Drawing.Point(399, 280);
+ FMODloopButton.Name = "FMODloopButton";
+ FMODloopButton.Size = new System.Drawing.Size(55, 42);
+ FMODloopButton.TabIndex = 3;
+ FMODloopButton.Text = "Loop";
+ FMODloopButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ FMODloopButton.UseVisualStyleBackColor = true;
+ FMODloopButton.CheckedChanged += FMODloopButton_CheckedChanged;
//
// FMODstopButton
//
- this.FMODstopButton.Location = new System.Drawing.Point(338, 280);
- this.FMODstopButton.Name = "FMODstopButton";
- this.FMODstopButton.Size = new System.Drawing.Size(55, 42);
- this.FMODstopButton.TabIndex = 2;
- this.FMODstopButton.Text = "Stop";
- this.FMODstopButton.UseVisualStyleBackColor = true;
- this.FMODstopButton.Click += new System.EventHandler(this.FMODstopButton_Click);
+ FMODstopButton.Location = new System.Drawing.Point(338, 280);
+ FMODstopButton.Name = "FMODstopButton";
+ FMODstopButton.Size = new System.Drawing.Size(55, 42);
+ FMODstopButton.TabIndex = 2;
+ FMODstopButton.Text = "Stop";
+ FMODstopButton.UseVisualStyleBackColor = true;
+ FMODstopButton.Click += FMODstopButton_Click;
//
// FMODpauseButton
//
- this.FMODpauseButton.Location = new System.Drawing.Point(277, 280);
- this.FMODpauseButton.Name = "FMODpauseButton";
- this.FMODpauseButton.Size = new System.Drawing.Size(55, 42);
- this.FMODpauseButton.TabIndex = 1;
- this.FMODpauseButton.Text = "Pause";
- this.FMODpauseButton.UseVisualStyleBackColor = true;
- this.FMODpauseButton.Click += new System.EventHandler(this.FMODpauseButton_Click);
+ FMODpauseButton.Location = new System.Drawing.Point(277, 280);
+ FMODpauseButton.Name = "FMODpauseButton";
+ FMODpauseButton.Size = new System.Drawing.Size(55, 42);
+ FMODpauseButton.TabIndex = 1;
+ FMODpauseButton.Text = "Pause";
+ FMODpauseButton.UseVisualStyleBackColor = true;
+ FMODpauseButton.Click += FMODpauseButton_Click;
//
// FMODplayButton
//
- this.FMODplayButton.Location = new System.Drawing.Point(216, 280);
- this.FMODplayButton.Name = "FMODplayButton";
- this.FMODplayButton.Size = new System.Drawing.Size(55, 42);
- this.FMODplayButton.TabIndex = 0;
- this.FMODplayButton.Text = "Play";
- this.FMODplayButton.UseVisualStyleBackColor = true;
- this.FMODplayButton.Click += new System.EventHandler(this.FMODplayButton_Click);
+ FMODplayButton.Location = new System.Drawing.Point(216, 280);
+ FMODplayButton.Name = "FMODplayButton";
+ FMODplayButton.Size = new System.Drawing.Size(55, 42);
+ FMODplayButton.TabIndex = 0;
+ FMODplayButton.Text = "Play";
+ FMODplayButton.UseVisualStyleBackColor = true;
+ FMODplayButton.Click += FMODplayButton_Click;
//
// fontPreviewBox
//
- this.fontPreviewBox.BackColor = System.Drawing.SystemColors.ControlLightLight;
- this.fontPreviewBox.Dock = System.Windows.Forms.DockStyle.Fill;
- this.fontPreviewBox.Location = new System.Drawing.Point(0, 0);
- this.fontPreviewBox.Name = "fontPreviewBox";
- this.fontPreviewBox.ReadOnly = true;
- this.fontPreviewBox.Size = new System.Drawing.Size(768, 605);
- this.fontPreviewBox.TabIndex = 0;
- this.fontPreviewBox.Text = resources.GetString("fontPreviewBox.Text");
- this.fontPreviewBox.Visible = false;
- this.fontPreviewBox.WordWrap = false;
+ fontPreviewBox.BackColor = System.Drawing.SystemColors.ControlLightLight;
+ fontPreviewBox.Dock = System.Windows.Forms.DockStyle.Fill;
+ fontPreviewBox.Location = new System.Drawing.Point(0, 0);
+ fontPreviewBox.Name = "fontPreviewBox";
+ fontPreviewBox.ReadOnly = true;
+ fontPreviewBox.Size = new System.Drawing.Size(768, 605);
+ fontPreviewBox.TabIndex = 0;
+ fontPreviewBox.Text = resources.GetString("fontPreviewBox.Text");
+ fontPreviewBox.Visible = false;
+ fontPreviewBox.WordWrap = false;
//
// glControl
//
- this.glControl.API = OpenTK.Windowing.Common.ContextAPI.OpenGL;
- this.glControl.APIVersion = new System.Version(4, 6, 0, 0);
- this.glControl.BackColor = System.Drawing.SystemColors.ControlDarkDark;
- this.glControl.Dock = System.Windows.Forms.DockStyle.Fill;
- this.glControl.Flags = OpenTK.Windowing.Common.ContextFlags.Default;
- this.glControl.IsEventDriven = true;
- this.glControl.Location = new System.Drawing.Point(0, 0);
- this.glControl.Name = "glControl";
- this.glControl.Profile = OpenTK.Windowing.Common.ContextProfile.Core;
- this.glControl.Size = new System.Drawing.Size(768, 605);
- this.glControl.TabIndex = 4;
- this.glControl.Visible = false;
- this.glControl.Load += new System.EventHandler(this.glControl_Load);
- this.glControl.Paint += new System.Windows.Forms.PaintEventHandler(this.glControl_Paint);
- this.glControl.MouseDown += new System.Windows.Forms.MouseEventHandler(this.glControl_MouseDown);
- this.glControl.MouseMove += new System.Windows.Forms.MouseEventHandler(this.glControl_MouseMove);
- this.glControl.MouseUp += new System.Windows.Forms.MouseEventHandler(this.glControl_MouseUp);
- this.glControl.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.glControl_MouseWheel);
+ glControl.API = OpenTK.Windowing.Common.ContextAPI.OpenGL;
+ glControl.APIVersion = new Version(4, 6, 0, 0);
+ glControl.BackColor = System.Drawing.SystemColors.ControlDarkDark;
+ glControl.Dock = System.Windows.Forms.DockStyle.Fill;
+ glControl.Flags = OpenTK.Windowing.Common.ContextFlags.Default;
+ glControl.IsEventDriven = true;
+ glControl.Location = new System.Drawing.Point(0, 0);
+ glControl.Name = "glControl";
+ glControl.Profile = OpenTK.Windowing.Common.ContextProfile.Core;
+ glControl.Size = new System.Drawing.Size(768, 605);
+ glControl.TabIndex = 4;
+ glControl.Visible = false;
+ glControl.Load += glControl_Load;
+ glControl.Paint += glControl_Paint;
+ glControl.MouseDown += glControl_MouseDown;
+ glControl.MouseMove += glControl_MouseMove;
+ glControl.MouseUp += glControl_MouseUp;
+ glControl.MouseWheel += glControl_MouseWheel;
//
// textPreviewBox
//
- this.textPreviewBox.Dock = System.Windows.Forms.DockStyle.Fill;
- this.textPreviewBox.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- this.textPreviewBox.Location = new System.Drawing.Point(0, 0);
- this.textPreviewBox.Multiline = true;
- this.textPreviewBox.Name = "textPreviewBox";
- this.textPreviewBox.ReadOnly = true;
- this.textPreviewBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
- this.textPreviewBox.Size = new System.Drawing.Size(768, 605);
- this.textPreviewBox.TabIndex = 2;
- this.textPreviewBox.Visible = false;
- this.textPreviewBox.WordWrap = false;
+ textPreviewBox.Dock = System.Windows.Forms.DockStyle.Fill;
+ textPreviewBox.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ textPreviewBox.Location = new System.Drawing.Point(0, 0);
+ textPreviewBox.Multiline = true;
+ textPreviewBox.Name = "textPreviewBox";
+ textPreviewBox.ReadOnly = true;
+ textPreviewBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
+ textPreviewBox.Size = new System.Drawing.Size(768, 605);
+ textPreviewBox.TabIndex = 2;
+ textPreviewBox.Visible = false;
+ textPreviewBox.WordWrap = false;
//
// classTextBox
//
- this.classTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
- this.classTextBox.Location = new System.Drawing.Point(0, 0);
- this.classTextBox.Multiline = true;
- this.classTextBox.Name = "classTextBox";
- this.classTextBox.ReadOnly = true;
- this.classTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
- this.classTextBox.Size = new System.Drawing.Size(768, 605);
- this.classTextBox.TabIndex = 3;
- this.classTextBox.Visible = false;
- this.classTextBox.WordWrap = false;
+ classTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
+ classTextBox.Location = new System.Drawing.Point(0, 0);
+ classTextBox.Multiline = true;
+ classTextBox.Name = "classTextBox";
+ classTextBox.ReadOnly = true;
+ classTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
+ classTextBox.Size = new System.Drawing.Size(768, 605);
+ classTextBox.TabIndex = 3;
+ classTextBox.Visible = false;
+ classTextBox.WordWrap = false;
//
// tabPage5
//
- this.tabPage5.Controls.Add(this.dumpTextBox);
- this.tabPage5.Location = new System.Drawing.Point(4, 24);
- this.tabPage5.Name = "tabPage5";
- this.tabPage5.Size = new System.Drawing.Size(768, 605);
- this.tabPage5.TabIndex = 1;
- this.tabPage5.Text = "Dump";
- this.tabPage5.UseVisualStyleBackColor = true;
+ tabPage5.Controls.Add(dumpTextBox);
+ tabPage5.Location = new System.Drawing.Point(4, 24);
+ tabPage5.Name = "tabPage5";
+ tabPage5.Size = new System.Drawing.Size(768, 605);
+ tabPage5.TabIndex = 1;
+ tabPage5.Text = "Dump";
+ tabPage5.UseVisualStyleBackColor = true;
//
// dumpTextBox
//
- this.dumpTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dumpTextBox.Location = new System.Drawing.Point(0, 0);
- this.dumpTextBox.Multiline = true;
- this.dumpTextBox.Name = "dumpTextBox";
- this.dumpTextBox.ReadOnly = true;
- this.dumpTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
- this.dumpTextBox.Size = new System.Drawing.Size(768, 605);
- this.dumpTextBox.TabIndex = 0;
- this.dumpTextBox.WordWrap = false;
+ dumpTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
+ dumpTextBox.Location = new System.Drawing.Point(0, 0);
+ dumpTextBox.Multiline = true;
+ dumpTextBox.Name = "dumpTextBox";
+ dumpTextBox.ReadOnly = true;
+ dumpTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
+ dumpTextBox.Size = new System.Drawing.Size(768, 605);
+ dumpTextBox.TabIndex = 0;
+ dumpTextBox.WordWrap = false;
//
// statusStrip1
//
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.toolStripStatusLabel1});
- this.statusStrip1.Location = new System.Drawing.Point(0, 633);
- this.statusStrip1.Name = "statusStrip1";
- this.statusStrip1.Size = new System.Drawing.Size(776, 22);
- this.statusStrip1.TabIndex = 2;
- this.statusStrip1.Text = "statusStrip1";
+ statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { toolStripStatusLabel1 });
+ statusStrip1.Location = new System.Drawing.Point(0, 633);
+ statusStrip1.Name = "statusStrip1";
+ statusStrip1.Size = new System.Drawing.Size(776, 22);
+ statusStrip1.TabIndex = 2;
+ statusStrip1.Text = "statusStrip1";
//
// toolStripStatusLabel1
//
- this.toolStripStatusLabel1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
- this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
- this.toolStripStatusLabel1.Size = new System.Drawing.Size(761, 17);
- this.toolStripStatusLabel1.Spring = true;
- this.toolStripStatusLabel1.Text = "Ready to go";
- this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ toolStripStatusLabel1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+ toolStripStatusLabel1.Name = "toolStripStatusLabel1";
+ toolStripStatusLabel1.Size = new System.Drawing.Size(761, 17);
+ toolStripStatusLabel1.Spring = true;
+ toolStripStatusLabel1.Text = "Ready to go";
+ toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// timer
//
- this.timer.Interval = 10;
- this.timer.Tick += new System.EventHandler(this.timer_Tick);
+ timer.Interval = 10;
+ timer.Tick += timer_Tick;
//
// openFileDialog1
//
- this.openFileDialog1.AddExtension = false;
- this.openFileDialog1.Filter = "All types|*.*";
- this.openFileDialog1.Multiselect = true;
- this.openFileDialog1.RestoreDirectory = true;
+ openFileDialog1.AddExtension = false;
+ openFileDialog1.Filter = "All types|*.*";
+ openFileDialog1.Multiselect = true;
+ openFileDialog1.RestoreDirectory = true;
//
// contextMenuStrip1
//
- this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
- this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.copyToolStripMenuItem,
- this.exportSelectedAssetsToolStripMenuItem,
- this.exportAnimatorwithselectedAnimationClipMenuItem,
- this.goToSceneHierarchyToolStripMenuItem,
- this.showOriginalFileToolStripMenuItem});
- this.contextMenuStrip1.Name = "contextMenuStrip1";
- this.contextMenuStrip1.Size = new System.Drawing.Size(304, 114);
+ contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
+ contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { copyToolStripMenuItem, exportSelectedAssetsToolStripMenuItem, exportAnimatorwithselectedAnimationClipMenuItem, goToSceneHierarchyToolStripMenuItem, showOriginalFileToolStripMenuItem });
+ contextMenuStrip1.Name = "contextMenuStrip1";
+ contextMenuStrip1.Size = new System.Drawing.Size(304, 114);
//
// copyToolStripMenuItem
//
- this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
- this.copyToolStripMenuItem.Size = new System.Drawing.Size(303, 22);
- this.copyToolStripMenuItem.Text = "Copy text";
- this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
+ copyToolStripMenuItem.Name = "copyToolStripMenuItem";
+ copyToolStripMenuItem.Size = new System.Drawing.Size(303, 22);
+ copyToolStripMenuItem.Text = "Copy text";
+ copyToolStripMenuItem.Click += copyToolStripMenuItem_Click;
//
// exportSelectedAssetsToolStripMenuItem
//
- this.exportSelectedAssetsToolStripMenuItem.Name = "exportSelectedAssetsToolStripMenuItem";
- this.exportSelectedAssetsToolStripMenuItem.Size = new System.Drawing.Size(303, 22);
- this.exportSelectedAssetsToolStripMenuItem.Text = "Export selected assets";
- this.exportSelectedAssetsToolStripMenuItem.Click += new System.EventHandler(this.exportSelectedAssetsToolStripMenuItem_Click);
+ exportSelectedAssetsToolStripMenuItem.Name = "exportSelectedAssetsToolStripMenuItem";
+ exportSelectedAssetsToolStripMenuItem.Size = new System.Drawing.Size(303, 22);
+ exportSelectedAssetsToolStripMenuItem.Text = "Export selected assets";
+ exportSelectedAssetsToolStripMenuItem.Click += exportSelectedAssetsToolStripMenuItem_Click;
//
// exportAnimatorwithselectedAnimationClipMenuItem
//
- this.exportAnimatorwithselectedAnimationClipMenuItem.Name = "exportAnimatorwithselectedAnimationClipMenuItem";
- this.exportAnimatorwithselectedAnimationClipMenuItem.Size = new System.Drawing.Size(303, 22);
- this.exportAnimatorwithselectedAnimationClipMenuItem.Text = "Export Animator + selected AnimationClips";
- this.exportAnimatorwithselectedAnimationClipMenuItem.Visible = false;
- this.exportAnimatorwithselectedAnimationClipMenuItem.Click += new System.EventHandler(this.exportAnimatorwithAnimationClipMenuItem_Click);
+ exportAnimatorwithselectedAnimationClipMenuItem.Name = "exportAnimatorwithselectedAnimationClipMenuItem";
+ exportAnimatorwithselectedAnimationClipMenuItem.Size = new System.Drawing.Size(303, 22);
+ exportAnimatorwithselectedAnimationClipMenuItem.Text = "Export Animator + selected AnimationClips";
+ exportAnimatorwithselectedAnimationClipMenuItem.Visible = false;
+ exportAnimatorwithselectedAnimationClipMenuItem.Click += exportAnimatorwithAnimationClipMenuItem_Click;
//
// goToSceneHierarchyToolStripMenuItem
//
- this.goToSceneHierarchyToolStripMenuItem.Name = "goToSceneHierarchyToolStripMenuItem";
- this.goToSceneHierarchyToolStripMenuItem.Size = new System.Drawing.Size(303, 22);
- this.goToSceneHierarchyToolStripMenuItem.Text = "Go to scene hierarchy";
- this.goToSceneHierarchyToolStripMenuItem.Visible = false;
- this.goToSceneHierarchyToolStripMenuItem.Click += new System.EventHandler(this.goToSceneHierarchyToolStripMenuItem_Click);
+ goToSceneHierarchyToolStripMenuItem.Name = "goToSceneHierarchyToolStripMenuItem";
+ goToSceneHierarchyToolStripMenuItem.Size = new System.Drawing.Size(303, 22);
+ goToSceneHierarchyToolStripMenuItem.Text = "Go to scene hierarchy";
+ goToSceneHierarchyToolStripMenuItem.Visible = false;
+ goToSceneHierarchyToolStripMenuItem.Click += goToSceneHierarchyToolStripMenuItem_Click;
//
// showOriginalFileToolStripMenuItem
//
- this.showOriginalFileToolStripMenuItem.Name = "showOriginalFileToolStripMenuItem";
- this.showOriginalFileToolStripMenuItem.Size = new System.Drawing.Size(303, 22);
- this.showOriginalFileToolStripMenuItem.Text = "Show original file";
- this.showOriginalFileToolStripMenuItem.Visible = false;
- this.showOriginalFileToolStripMenuItem.Click += new System.EventHandler(this.showOriginalFileToolStripMenuItem_Click);
+ showOriginalFileToolStripMenuItem.Name = "showOriginalFileToolStripMenuItem";
+ showOriginalFileToolStripMenuItem.Size = new System.Drawing.Size(303, 22);
+ showOriginalFileToolStripMenuItem.Text = "Show original file";
+ showOriginalFileToolStripMenuItem.Visible = false;
+ showOriginalFileToolStripMenuItem.Click += showOriginalFileToolStripMenuItem_Click;
//
// AssetStudioGUIForm
//
- this.AllowDrop = true;
- this.ClientSize = new System.Drawing.Size(1264, 681);
- this.Controls.Add(this.splitContainer1);
- this.Controls.Add(this.menuStrip1);
- this.Icon = global::AssetStudioGUI.Properties.Resources._as;
- this.KeyPreview = true;
- this.MainMenuStrip = this.menuStrip1;
- this.MinimumSize = new System.Drawing.Size(620, 372);
- this.Name = "AssetStudioGUIForm";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "AssetStudioGUI";
- this.DragDrop += new System.Windows.Forms.DragEventHandler(this.AssetStudioGUIForm_DragDrop);
- this.DragEnter += new System.Windows.Forms.DragEventHandler(this.AssetStudioGUIForm_DragEnter);
- this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.AssetStudioForm_KeyDown);
- this.menuStrip1.ResumeLayout(false);
- this.menuStrip1.PerformLayout();
- this.splitContainer1.Panel1.ResumeLayout(false);
- this.splitContainer1.Panel2.ResumeLayout(false);
- this.splitContainer1.Panel2.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
- this.splitContainer1.ResumeLayout(false);
- this.tabControl1.ResumeLayout(false);
- this.tabPage1.ResumeLayout(false);
- this.tabPage1.PerformLayout();
- this.tabPage2.ResumeLayout(false);
- this.tabPage2.PerformLayout();
- this.tabPage3.ResumeLayout(false);
- this.progressbarPanel.ResumeLayout(false);
- this.tabControl2.ResumeLayout(false);
- this.tabPage4.ResumeLayout(false);
- this.previewPanel.ResumeLayout(false);
- this.previewPanel.PerformLayout();
- this.FMODpanel.ResumeLayout(false);
- this.FMODpanel.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.FMODprogressBar)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.FMODvolumeBar)).EndInit();
- this.tabPage5.ResumeLayout(false);
- this.tabPage5.PerformLayout();
- this.statusStrip1.ResumeLayout(false);
- this.statusStrip1.PerformLayout();
- this.contextMenuStrip1.ResumeLayout(false);
- this.ResumeLayout(false);
- this.PerformLayout();
-
+ AllowDrop = true;
+ ClientSize = new System.Drawing.Size(1264, 681);
+ Controls.Add(splitContainer1);
+ Controls.Add(menuStrip1);
+ Icon = Properties.Resources._as;
+ KeyPreview = true;
+ MainMenuStrip = menuStrip1;
+ MinimumSize = new System.Drawing.Size(620, 372);
+ Name = "AssetStudioGUIForm";
+ StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ Text = "AssetStudioGUI";
+ DragDrop += AssetStudioGUIForm_DragDrop;
+ DragEnter += AssetStudioGUIForm_DragEnter;
+ KeyDown += AssetStudioForm_KeyDown;
+ menuStrip1.ResumeLayout(false);
+ menuStrip1.PerformLayout();
+ splitContainer1.Panel1.ResumeLayout(false);
+ splitContainer1.Panel2.ResumeLayout(false);
+ splitContainer1.Panel2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
+ splitContainer1.ResumeLayout(false);
+ tabControl1.ResumeLayout(false);
+ tabPage1.ResumeLayout(false);
+ tabPage1.PerformLayout();
+ tabPage2.ResumeLayout(false);
+ tabPage2.PerformLayout();
+ tabPage3.ResumeLayout(false);
+ progressbarPanel.ResumeLayout(false);
+ tabControl2.ResumeLayout(false);
+ tabPage4.ResumeLayout(false);
+ previewPanel.ResumeLayout(false);
+ previewPanel.PerformLayout();
+ FMODpanel.ResumeLayout(false);
+ FMODpanel.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)FMODprogressBar).EndInit();
+ ((System.ComponentModel.ISupportInitialize)FMODvolumeBar).EndInit();
+ tabPage5.ResumeLayout(false);
+ tabPage5.PerformLayout();
+ statusStrip1.ResumeLayout(false);
+ statusStrip1.PerformLayout();
+ contextMenuStrip1.ResumeLayout(false);
+ ResumeLayout(false);
+ PerformLayout();
}
#endregion
@@ -1471,7 +1349,6 @@ namespace AssetStudioGUI
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem14;
private System.Windows.Forms.ToolStripTextBox specifyUnityVersion;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem15;
- private System.Windows.Forms.ToolStripMenuItem enableResolveDependencies;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem18;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem19;
private System.Windows.Forms.ToolStripComboBox specifyGame;
@@ -1486,7 +1363,6 @@ namespace AssetStudioGUI
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem20;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem22;
private System.Windows.Forms.ToolStripComboBox CABMapNameComboBox;
- private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem23;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem;
@@ -1498,7 +1374,6 @@ namespace AssetStudioGUI
private System.Windows.Forms.ToolStripMenuItem clearConsoleToolStripMenuItem;
private System.Windows.Forms.ToolStripTextBox assetMapNameTextBox;
private System.Windows.Forms.ToolStripComboBox assetMapTypeComboBox;
- private System.Windows.Forms.ToolStripMenuItem skipContainer;
}
}
diff --git a/AssetStudioGUI/AssetStudioGUIForm.cs b/AssetStudioGUI/AssetStudioGUIForm.cs
index bb08dfc..8cb31fa 100644
--- a/AssetStudioGUI/AssetStudioGUIForm.cs
+++ b/AssetStudioGUI/AssetStudioGUIForm.cs
@@ -107,13 +107,17 @@ namespace AssetStudioGUI
displayAll.Checked = Properties.Settings.Default.displayAll;
displayInfo.Checked = Properties.Settings.Default.displayInfo;
enablePreview.Checked = Properties.Settings.Default.enablePreview;
- enableResolveDependencies.Checked = Properties.Settings.Default.enableResolveDependencies;
- skipContainer.Checked = Properties.Settings.Default.skipContainer;
- assetsManager.ResolveDependencies = enableResolveDependencies.Checked;
- Renderer.Skipped = Properties.Settings.Default.skipRenderer;
+ assetsManager.ResolveDependencies = Properties.Settings.Default.enableResolveDependencies;
MiHoYoBinData.Exportable = Properties.Settings.Default.exportMiHoYoBinData;
MiHoYoBinData.Encrypted = Properties.Settings.Default.encrypted;
MiHoYoBinData.Key = Properties.Settings.Default.key;
+
+ var types = JsonConvert.DeserializeObject>(Properties.Settings.Default.exportableTypes);
+ foreach (var exportable in types)
+ {
+ if (assetsManager.ExportableTypes.ContainsKey(exportable.Key))
+ assetsManager.ExportableTypes[exportable.Key] = exportable.Value;
+ }
}
private void InitializeLogger()
@@ -152,7 +156,6 @@ namespace AssetStudioGUI
Logger.Info($"Target Game type is {Studio.Game.Type}");
CABMapNameComboBox.SelectedIndexChanged += new EventHandler(specifyNameComboBox_SelectedIndexChanged);
- CNUnityKeyManager.SetKey(Properties.Settings.Default.selectedCNUnityKey);
}
private void AssetStudioGUIForm_DragEnter(object sender, DragEventArgs e)
{
@@ -269,7 +272,7 @@ namespace AssetStudioGUI
{
productName = "no productName";
}
- }
+ }
Text = $"Studio v{Application.ProductVersion} - {productName} - {assetsManager.assetsFileList[0].unityVersion} - {assetsManager.assetsFileList[0].m_TargetPlatform}";
@@ -494,22 +497,6 @@ namespace AssetStudioGUI
Properties.Settings.Default.enablePreview = enablePreview.Checked;
Properties.Settings.Default.Save();
}
-
- private void enableResolveDependencies_CheckedChanged(object sender, EventArgs e)
- {
- Properties.Settings.Default.enableResolveDependencies = enableResolveDependencies.Checked;
- Properties.Settings.Default.Save();
-
- assetsManager.ResolveDependencies = enableResolveDependencies.Checked;
- }
-
- private void skipContainer_CheckedChanged(object sender, EventArgs e)
- {
- Properties.Settings.Default.skipContainer = skipContainer.Checked;
- Properties.Settings.Default.Save();
-
- SkipContainer = skipContainer.Checked;
- }
private void displayAssetInfo_Check(object sender, EventArgs e)
{
if (displayInfo.Checked && assetInfoLabel.Text != null)
@@ -529,6 +516,12 @@ namespace AssetStudioGUI
{
var exportOpt = new ExportOptions();
exportOpt.ShowDialog(this);
+ var types = JsonConvert.DeserializeObject>(Properties.Settings.Default.exportableTypes);
+ foreach (var exportable in types)
+ {
+ if (assetsManager.ExportableTypes.ContainsKey(exportable.Key))
+ assetsManager.ExportableTypes[exportable.Key] = exportable.Value;
+ }
}
private void assetListView_RetrieveVirtualItem(object sender, RetrieveVirtualItemEventArgs e)
@@ -1737,7 +1730,7 @@ namespace AssetStudioGUI
{
return;
}
- if (skipContainer.Checked)
+ if (Properties.Settings.Default.skipContainer)
{
Logger.Info("Skip container is enabled, aborting...");
return;
@@ -1937,12 +1930,6 @@ namespace AssetStudioGUI
InvokeUpdate(miscToolStripMenuItem, true);
}
- private void toolStripMenuItem23_Click(object sender, EventArgs e)
- {
- var form = new CNUnityForm();
- form.Show();
- }
-
private void resetToolStripMenuItem_Click(object sender, EventArgs e)
{
ResetForm();
@@ -1978,7 +1965,7 @@ namespace AssetStudioGUI
private async void loadAIToolStripMenuItem_Click(object sender, EventArgs e)
{
- if (skipContainer.Checked)
+ if (Properties.Settings.Default.skipContainer)
{
Logger.Info("Skip container is enabled, aborting...");
return;
diff --git a/AssetStudioGUI/CNUnityForm.Designer.cs b/AssetStudioGUI/CNUnityForm.Designer.cs
deleted file mode 100644
index cc0046b..0000000
--- a/AssetStudioGUI/CNUnityForm.Designer.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-namespace AssetStudioGUI
-{
- partial class CNUnityForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.specifyCNUnityList = new System.Windows.Forms.DataGridView();
- this.NameField = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.KeyField = new System.Windows.Forms.DataGridViewTextBoxColumn();
- ((System.ComponentModel.ISupportInitialize)(this.specifyCNUnityList)).BeginInit();
- this.SuspendLayout();
- //
- // specifyCNUnityList
- //
- this.specifyCNUnityList.AllowUserToResizeColumns = false;
- this.specifyCNUnityList.AllowUserToResizeRows = false;
- this.specifyCNUnityList.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText;
- this.specifyCNUnityList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.specifyCNUnityList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.NameField,
- this.KeyField});
- this.specifyCNUnityList.Dock = System.Windows.Forms.DockStyle.Fill;
- this.specifyCNUnityList.Location = new System.Drawing.Point(0, 0);
- this.specifyCNUnityList.MultiSelect = false;
- this.specifyCNUnityList.Name = "specifyCNUnityList";
- this.specifyCNUnityList.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
- this.specifyCNUnityList.RowTemplate.Height = 25;
- this.specifyCNUnityList.Size = new System.Drawing.Size(432, 229);
- this.specifyCNUnityList.TabIndex = 0;
- this.specifyCNUnityList.RowHeaderMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.specifyCNUnityList_RowHeaderMouseDoubleClick);
- //
- // NameField
- //
- this.NameField.HeaderText = "Name";
- this.NameField.Name = "NameField";
- this.NameField.Width = 140;
- //
- // KeyField
- //
- this.KeyField.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- this.KeyField.HeaderText = "Key";
- this.KeyField.Name = "KeyField";
- //
- // CNUnityForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(432, 229);
- this.Controls.Add(this.specifyCNUnityList);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "CNUnityForm";
- this.ShowIcon = false;
- this.ShowInTaskbar = false;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "CNUnityForm";
- this.TopMost = true;
- ((System.ComponentModel.ISupportInitialize)(this.specifyCNUnityList)).EndInit();
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.DataGridView specifyCNUnityList;
- private System.Windows.Forms.DataGridViewTextBoxColumn NameField;
- private System.Windows.Forms.DataGridViewTextBoxColumn KeyField;
- }
-}
\ No newline at end of file
diff --git a/AssetStudioGUI/CNUnityForm.cs b/AssetStudioGUI/CNUnityForm.cs
deleted file mode 100644
index 7de79cf..0000000
--- a/AssetStudioGUI/CNUnityForm.cs
+++ /dev/null
@@ -1,126 +0,0 @@
-using System;
-using System.Windows.Forms;
-using System.Collections.Generic;
-using AssetStudio;
-using System.Linq;
-
-namespace AssetStudioGUI
-{
- public partial class CNUnityForm : Form
- {
- public CNUnityForm()
- {
- InitializeComponent();
-
- var keys = CNUnityKeyManager.GetEntries();
-
- for (int i = 0; i < keys.Length; i++)
- {
- var key = keys[i];
- var rowIdx = specifyCNUnityList.Rows.Add();
-
- specifyCNUnityList.Rows[rowIdx].Cells["NameField"].Value = key.Name;
- specifyCNUnityList.Rows[rowIdx].Cells["KeyField"].Value = key.Key;
- }
-
- var index = Properties.Settings.Default.selectedCNUnityKey;
- if (index >= specifyCNUnityList.RowCount)
- {
- index = 0;
- }
- specifyCNUnityList.CurrentCell = specifyCNUnityList.Rows[index].Cells[0];
- }
-
- private void OKbutton_Click(object sender, EventArgs e)
- {
- var keys = new List();
- for (int i = specifyCNUnityList.Rows.Count - 1; i >= 0; i--)
- {
- var row = specifyCNUnityList.Rows[i];
- var name = row.Cells["NameField"].Value as string;
- var key = row.Cells["KeyField"].Value as string;
-
- if (!(string.IsNullOrEmpty(name) || string.IsNullOrEmpty(key)))
- {
- var cnunity = new CNUnity.Entry(name, key);
-
- if (cnunity.Validate())
- {
- keys.Add(cnunity);
- continue;
- }
- }
-
- if (specifyCNUnityList.CurrentCell.RowIndex == row.Index)
- {
- var previousRow = specifyCNUnityList.Rows.Cast().ElementAtOrDefault(i - 1);
- if (previousRow != null)
- {
- specifyCNUnityList.CurrentCell = previousRow.Cells[0];
- }
- }
- if (i != specifyCNUnityList.RowCount - 1)
- {
- specifyCNUnityList.Rows.RemoveAt(i);
- }
- }
- CNUnityKeyManager.SaveEntries(keys.Reverse().ToList());
- CNUnityKeyManager.SetKey(specifyCNUnityList.CurrentRow.Index);
-
- Properties.Settings.Default.selectedCNUnityKey = specifyCNUnityList.CurrentRow.Index;
- Properties.Settings.Default.Save();
-
- DialogResult = DialogResult.OK;
- Close();
- }
-
- private void Cancel_Click(object sender, EventArgs e)
- {
- DialogResult = DialogResult.Cancel;
- Close();
- }
-
- private void specifyCNUnityList_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
- {
- var keys = new List();
- for (int i = specifyCNUnityList.Rows.Count - 1; i >= 0; i--)
- {
- var row = specifyCNUnityList.Rows[i];
- var name = row.Cells["NameField"].Value as string;
- var key = row.Cells["KeyField"].Value as string;
-
- if (!(string.IsNullOrEmpty(name) || string.IsNullOrEmpty(key)))
- {
- var cnunity = new CNUnity.Entry(name, key);
-
- if (cnunity.Validate())
- {
- keys.Add(cnunity);
- continue;
- }
- }
-
- if (specifyCNUnityList.CurrentCell.RowIndex == row.Index)
- {
- var previousRow = specifyCNUnityList.Rows.Cast().ElementAtOrDefault(i - 1);
- if (previousRow != null)
- {
- specifyCNUnityList.CurrentCell = previousRow.Cells[0];
- }
- }
- if (i != specifyCNUnityList.RowCount - 1)
- {
- specifyCNUnityList.Rows.RemoveAt(i);
- }
- }
- CNUnityKeyManager.SaveEntries(keys.Reverse().ToList());
- CNUnityKeyManager.SetKey(specifyCNUnityList.CurrentRow.Index);
-
- Properties.Settings.Default.selectedCNUnityKey = specifyCNUnityList.CurrentRow.Index;
- Properties.Settings.Default.Save();
-
- DialogResult = DialogResult.OK;
- Close();
- }
- }
-}
diff --git a/AssetStudioGUI/CNUnityForm.resx b/AssetStudioGUI/CNUnityForm.resx
deleted file mode 100644
index da13c3e..0000000
--- a/AssetStudioGUI/CNUnityForm.resx
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- True
-
-
\ No newline at end of file
diff --git a/AssetStudioGUI/ExportOptions.Designer.cs b/AssetStudioGUI/ExportOptions.Designer.cs
index f620b7a..f6850df 100644
--- a/AssetStudioGUI/ExportOptions.Designer.cs
+++ b/AssetStudioGUI/ExportOptions.Designer.cs
@@ -1,4 +1,7 @@
-namespace AssetStudioGUI
+using System;
+using System.Linq;
+
+namespace AssetStudioGUI
{
partial class ExportOptions
{
@@ -28,615 +31,608 @@
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- this.OKbutton = new System.Windows.Forms.Button();
- this.Cancel = new System.Windows.Forms.Button();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.skipRenderer = new System.Windows.Forms.CheckBox();
- this.exportMiHoYoBinData = new System.Windows.Forms.CheckBox();
- this.openAfterExport = new System.Windows.Forms.CheckBox();
- this.restoreExtensionName = new System.Windows.Forms.CheckBox();
- this.assetGroupOptions = new System.Windows.Forms.ComboBox();
- this.label6 = new System.Windows.Forms.Label();
- this.convertAudio = new System.Windows.Forms.CheckBox();
- this.panel1 = new System.Windows.Forms.Panel();
- this.totga = new System.Windows.Forms.RadioButton();
- this.tojpg = new System.Windows.Forms.RadioButton();
- this.topng = new System.Windows.Forms.RadioButton();
- this.tobmp = new System.Windows.Forms.RadioButton();
- this.converttexture = new System.Windows.Forms.CheckBox();
- this.collectAnimations = new System.Windows.Forms.CheckBox();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.exportAllUvsAsDiffuseMaps = new System.Windows.Forms.CheckBox();
- this.exportBlendShape = new System.Windows.Forms.CheckBox();
- this.exportAnimations = new System.Windows.Forms.CheckBox();
- this.scaleFactor = new System.Windows.Forms.NumericUpDown();
- this.label5 = new System.Windows.Forms.Label();
- this.fbxFormat = new System.Windows.Forms.ComboBox();
- this.label4 = new System.Windows.Forms.Label();
- this.fbxVersion = new System.Windows.Forms.ComboBox();
- this.label3 = new System.Windows.Forms.Label();
- this.boneSize = new System.Windows.Forms.NumericUpDown();
- this.label2 = new System.Windows.Forms.Label();
- this.exportSkins = new System.Windows.Forms.CheckBox();
- this.label1 = new System.Windows.Forms.Label();
- this.filterPrecision = new System.Windows.Forms.NumericUpDown();
- this.castToBone = new System.Windows.Forms.CheckBox();
- this.exportAllNodes = new System.Windows.Forms.CheckBox();
- this.eulerFilter = new System.Windows.Forms.CheckBox();
- this.exportUvsTooltip = new System.Windows.Forms.ToolTip(this.components);
- this.groupBox3 = new System.Windows.Forms.GroupBox();
- this.encrypted = new System.Windows.Forms.CheckBox();
- this.key = new System.Windows.Forms.NumericUpDown();
- this.label7 = new System.Windows.Forms.Label();
- this.keyToolTip = new System.Windows.Forms.ToolTip(this.components);
- this.groupBox1.SuspendLayout();
- this.panel1.SuspendLayout();
- this.groupBox2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.scaleFactor)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.boneSize)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.filterPrecision)).BeginInit();
- this.groupBox3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.key)).BeginInit();
- this.SuspendLayout();
+ components = new System.ComponentModel.Container();
+ OKbutton = new System.Windows.Forms.Button();
+ Cancel = new System.Windows.Forms.Button();
+ groupBox1 = new System.Windows.Forms.GroupBox();
+ openAfterExport = new System.Windows.Forms.CheckBox();
+ restoreExtensionName = new System.Windows.Forms.CheckBox();
+ assetGroupOptions = new System.Windows.Forms.ComboBox();
+ label6 = new System.Windows.Forms.Label();
+ convertAudio = new System.Windows.Forms.CheckBox();
+ panel1 = new System.Windows.Forms.Panel();
+ totga = new System.Windows.Forms.RadioButton();
+ tojpg = new System.Windows.Forms.RadioButton();
+ topng = new System.Windows.Forms.RadioButton();
+ tobmp = new System.Windows.Forms.RadioButton();
+ converttexture = new System.Windows.Forms.CheckBox();
+ collectAnimations = new System.Windows.Forms.CheckBox();
+ groupBox2 = new System.Windows.Forms.GroupBox();
+ exportUV0UV1 = new System.Windows.Forms.CheckBox();
+ exportAllUvsAsDiffuseMaps = new System.Windows.Forms.CheckBox();
+ exportBlendShape = new System.Windows.Forms.CheckBox();
+ exportAnimations = new System.Windows.Forms.CheckBox();
+ scaleFactor = new System.Windows.Forms.NumericUpDown();
+ label5 = new System.Windows.Forms.Label();
+ fbxFormat = new System.Windows.Forms.ComboBox();
+ label4 = new System.Windows.Forms.Label();
+ fbxVersion = new System.Windows.Forms.ComboBox();
+ label3 = new System.Windows.Forms.Label();
+ boneSize = new System.Windows.Forms.NumericUpDown();
+ label2 = new System.Windows.Forms.Label();
+ exportSkins = new System.Windows.Forms.CheckBox();
+ label1 = new System.Windows.Forms.Label();
+ filterPrecision = new System.Windows.Forms.NumericUpDown();
+ castToBone = new System.Windows.Forms.CheckBox();
+ exportAllNodes = new System.Windows.Forms.CheckBox();
+ eulerFilter = new System.Windows.Forms.CheckBox();
+ exportUvsTooltip = new System.Windows.Forms.ToolTip(components);
+ encrypted = new System.Windows.Forms.CheckBox();
+ key = new System.Windows.Forms.NumericUpDown();
+ keyToolTip = new System.Windows.Forms.ToolTip(components);
+ groupBox4 = new System.Windows.Forms.GroupBox();
+ label7 = new System.Windows.Forms.Label();
+ exportableTypes = new System.Windows.Forms.CheckedListBox();
+ skipContainer = new System.Windows.Forms.CheckBox();
+ enableResolveDependencies = new System.Windows.Forms.CheckBox();
+ resolveToolTip = new System.Windows.Forms.ToolTip(components);
+ skipToolTip = new System.Windows.Forms.ToolTip(components);
+ groupBox1.SuspendLayout();
+ panel1.SuspendLayout();
+ groupBox2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)scaleFactor).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)boneSize).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)filterPrecision).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)key).BeginInit();
+ groupBox4.SuspendLayout();
+ SuspendLayout();
//
// OKbutton
//
- this.OKbutton.Location = new System.Drawing.Point(371, 439);
- this.OKbutton.Margin = new System.Windows.Forms.Padding(4);
- this.OKbutton.Name = "OKbutton";
- this.OKbutton.Size = new System.Drawing.Size(88, 26);
- this.OKbutton.TabIndex = 6;
- this.OKbutton.Text = "OK";
- this.OKbutton.UseVisualStyleBackColor = true;
- this.OKbutton.Click += new System.EventHandler(this.OKbutton_Click);
+ OKbutton.Location = new System.Drawing.Point(371, 439);
+ OKbutton.Margin = new System.Windows.Forms.Padding(4);
+ OKbutton.Name = "OKbutton";
+ OKbutton.Size = new System.Drawing.Size(88, 26);
+ OKbutton.TabIndex = 6;
+ OKbutton.Text = "OK";
+ OKbutton.UseVisualStyleBackColor = true;
+ OKbutton.Click += OKbutton_Click;
//
// Cancel
//
- this.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.Cancel.Location = new System.Drawing.Point(465, 439);
- this.Cancel.Margin = new System.Windows.Forms.Padding(4);
- this.Cancel.Name = "Cancel";
- this.Cancel.Size = new System.Drawing.Size(88, 26);
- this.Cancel.TabIndex = 7;
- this.Cancel.Text = "Cancel";
- this.Cancel.UseVisualStyleBackColor = true;
- this.Cancel.Click += new System.EventHandler(this.Cancel_Click);
+ Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ Cancel.Location = new System.Drawing.Point(465, 439);
+ Cancel.Margin = new System.Windows.Forms.Padding(4);
+ Cancel.Name = "Cancel";
+ Cancel.Size = new System.Drawing.Size(88, 26);
+ Cancel.TabIndex = 7;
+ Cancel.Text = "Cancel";
+ Cancel.UseVisualStyleBackColor = true;
+ Cancel.Click += Cancel_Click;
//
// groupBox1
//
- this.groupBox1.AutoSize = true;
- this.groupBox1.Controls.Add(this.skipRenderer);
- this.groupBox1.Controls.Add(this.exportMiHoYoBinData);
- this.groupBox1.Controls.Add(this.openAfterExport);
- this.groupBox1.Controls.Add(this.restoreExtensionName);
- this.groupBox1.Controls.Add(this.assetGroupOptions);
- this.groupBox1.Controls.Add(this.label6);
- this.groupBox1.Controls.Add(this.convertAudio);
- this.groupBox1.Controls.Add(this.panel1);
- this.groupBox1.Controls.Add(this.converttexture);
- this.groupBox1.Location = new System.Drawing.Point(14, 15);
- this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
- this.groupBox1.Size = new System.Drawing.Size(271, 293);
- this.groupBox1.TabIndex = 9;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Export";
- //
- // skipRenderer
- //
- this.skipRenderer.AutoSize = true;
- this.skipRenderer.Location = new System.Drawing.Point(7, 226);
- this.skipRenderer.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.skipRenderer.Name = "skipRenderer";
- this.skipRenderer.Size = new System.Drawing.Size(98, 19);
- this.skipRenderer.TabIndex = 23;
- this.skipRenderer.Text = "Skip Renderer";
- this.skipRenderer.UseVisualStyleBackColor = true;
- //
- // exportMiHoYoBinData
- //
- this.exportMiHoYoBinData.AutoSize = true;
- this.exportMiHoYoBinData.Checked = true;
- this.exportMiHoYoBinData.CheckState = System.Windows.Forms.CheckState.Checked;
- this.exportMiHoYoBinData.Location = new System.Drawing.Point(7, 251);
- this.exportMiHoYoBinData.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.exportMiHoYoBinData.Name = "exportMiHoYoBinData";
- this.exportMiHoYoBinData.Size = new System.Drawing.Size(147, 19);
- this.exportMiHoYoBinData.TabIndex = 22;
- this.exportMiHoYoBinData.Text = "Export MiHoYoBinData";
- this.exportMiHoYoBinData.UseVisualStyleBackColor = true;
+ groupBox1.AutoSize = true;
+ groupBox1.Controls.Add(openAfterExport);
+ groupBox1.Controls.Add(restoreExtensionName);
+ groupBox1.Controls.Add(assetGroupOptions);
+ groupBox1.Controls.Add(label6);
+ groupBox1.Controls.Add(convertAudio);
+ groupBox1.Controls.Add(panel1);
+ groupBox1.Controls.Add(converttexture);
+ groupBox1.Location = new System.Drawing.Point(14, 15);
+ groupBox1.Margin = new System.Windows.Forms.Padding(4);
+ groupBox1.Name = "groupBox1";
+ groupBox1.Padding = new System.Windows.Forms.Padding(4);
+ groupBox1.Size = new System.Drawing.Size(271, 243);
+ groupBox1.TabIndex = 9;
+ groupBox1.TabStop = false;
+ groupBox1.Text = "Export";
//
// openAfterExport
//
- this.openAfterExport.AutoSize = true;
- this.openAfterExport.Checked = true;
- this.openAfterExport.CheckState = System.Windows.Forms.CheckState.Checked;
- this.openAfterExport.Location = new System.Drawing.Point(7, 200);
- this.openAfterExport.Margin = new System.Windows.Forms.Padding(4);
- this.openAfterExport.Name = "openAfterExport";
- this.openAfterExport.Size = new System.Drawing.Size(153, 19);
- this.openAfterExport.TabIndex = 10;
- this.openAfterExport.Text = "Open folder after export";
- this.openAfterExport.UseVisualStyleBackColor = true;
+ openAfterExport.AutoSize = true;
+ openAfterExport.Checked = true;
+ openAfterExport.CheckState = System.Windows.Forms.CheckState.Checked;
+ openAfterExport.Location = new System.Drawing.Point(7, 200);
+ openAfterExport.Margin = new System.Windows.Forms.Padding(4);
+ openAfterExport.Name = "openAfterExport";
+ openAfterExport.Size = new System.Drawing.Size(153, 19);
+ openAfterExport.TabIndex = 10;
+ openAfterExport.Text = "Open folder after export";
+ openAfterExport.UseVisualStyleBackColor = true;
//
// restoreExtensionName
//
- this.restoreExtensionName.AutoSize = true;
- this.restoreExtensionName.Checked = true;
- this.restoreExtensionName.CheckState = System.Windows.Forms.CheckState.Checked;
- this.restoreExtensionName.Location = new System.Drawing.Point(7, 72);
- this.restoreExtensionName.Margin = new System.Windows.Forms.Padding(4);
- this.restoreExtensionName.Name = "restoreExtensionName";
- this.restoreExtensionName.Size = new System.Drawing.Size(204, 19);
- this.restoreExtensionName.TabIndex = 9;
- this.restoreExtensionName.Text = "Restore TextAsset extension name";
- this.restoreExtensionName.UseVisualStyleBackColor = true;
+ restoreExtensionName.AutoSize = true;
+ restoreExtensionName.Checked = true;
+ restoreExtensionName.CheckState = System.Windows.Forms.CheckState.Checked;
+ restoreExtensionName.Location = new System.Drawing.Point(7, 72);
+ restoreExtensionName.Margin = new System.Windows.Forms.Padding(4);
+ restoreExtensionName.Name = "restoreExtensionName";
+ restoreExtensionName.Size = new System.Drawing.Size(204, 19);
+ restoreExtensionName.TabIndex = 9;
+ restoreExtensionName.Text = "Restore TextAsset extension name";
+ restoreExtensionName.UseVisualStyleBackColor = true;
//
// assetGroupOptions
//
- this.assetGroupOptions.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.assetGroupOptions.FormattingEnabled = true;
- this.assetGroupOptions.Items.AddRange(new object[] {
- "type name",
- "container path",
- "source file name",
- "do not group"});
- this.assetGroupOptions.Location = new System.Drawing.Point(7, 40);
- this.assetGroupOptions.Margin = new System.Windows.Forms.Padding(4);
- this.assetGroupOptions.Name = "assetGroupOptions";
- this.assetGroupOptions.Size = new System.Drawing.Size(173, 23);
- this.assetGroupOptions.TabIndex = 8;
+ assetGroupOptions.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ assetGroupOptions.FormattingEnabled = true;
+ assetGroupOptions.Items.AddRange(new object[] { "type name", "container path", "source file name", "do not group" });
+ assetGroupOptions.Location = new System.Drawing.Point(7, 40);
+ assetGroupOptions.Margin = new System.Windows.Forms.Padding(4);
+ assetGroupOptions.Name = "assetGroupOptions";
+ assetGroupOptions.Size = new System.Drawing.Size(173, 23);
+ assetGroupOptions.TabIndex = 8;
//
// label6
//
- this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(7, 21);
- this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(140, 15);
- this.label6.TabIndex = 7;
- this.label6.Text = "Group exported assets by";
+ label6.AutoSize = true;
+ label6.Location = new System.Drawing.Point(7, 21);
+ label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label6.Name = "label6";
+ label6.Size = new System.Drawing.Size(140, 15);
+ label6.TabIndex = 7;
+ label6.Text = "Group exported assets by";
//
// convertAudio
//
- this.convertAudio.AutoSize = true;
- this.convertAudio.Checked = true;
- this.convertAudio.CheckState = System.Windows.Forms.CheckState.Checked;
- this.convertAudio.Location = new System.Drawing.Point(7, 172);
- this.convertAudio.Margin = new System.Windows.Forms.Padding(4);
- this.convertAudio.Name = "convertAudio";
- this.convertAudio.Size = new System.Drawing.Size(200, 19);
- this.convertAudio.TabIndex = 6;
- this.convertAudio.Text = "Convert AudioClip to WAV(PCM)";
- this.convertAudio.UseVisualStyleBackColor = true;
+ convertAudio.AutoSize = true;
+ convertAudio.Checked = true;
+ convertAudio.CheckState = System.Windows.Forms.CheckState.Checked;
+ convertAudio.Location = new System.Drawing.Point(7, 172);
+ convertAudio.Margin = new System.Windows.Forms.Padding(4);
+ convertAudio.Name = "convertAudio";
+ convertAudio.Size = new System.Drawing.Size(200, 19);
+ convertAudio.TabIndex = 6;
+ convertAudio.Text = "Convert AudioClip to WAV(PCM)";
+ convertAudio.UseVisualStyleBackColor = true;
//
// panel1
//
- this.panel1.Controls.Add(this.totga);
- this.panel1.Controls.Add(this.tojpg);
- this.panel1.Controls.Add(this.topng);
- this.panel1.Controls.Add(this.tobmp);
- this.panel1.Location = new System.Drawing.Point(23, 128);
- this.panel1.Margin = new System.Windows.Forms.Padding(4);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(236, 38);
- this.panel1.TabIndex = 5;
+ panel1.Controls.Add(totga);
+ panel1.Controls.Add(tojpg);
+ panel1.Controls.Add(topng);
+ panel1.Controls.Add(tobmp);
+ panel1.Location = new System.Drawing.Point(23, 128);
+ panel1.Margin = new System.Windows.Forms.Padding(4);
+ panel1.Name = "panel1";
+ panel1.Size = new System.Drawing.Size(236, 38);
+ panel1.TabIndex = 5;
//
// totga
//
- this.totga.AutoSize = true;
- this.totga.Location = new System.Drawing.Point(175, 8);
- this.totga.Margin = new System.Windows.Forms.Padding(4);
- this.totga.Name = "totga";
- this.totga.Size = new System.Drawing.Size(43, 19);
- this.totga.TabIndex = 2;
- this.totga.Text = "Tga";
- this.totga.UseVisualStyleBackColor = true;
+ totga.AutoSize = true;
+ totga.Location = new System.Drawing.Point(175, 8);
+ totga.Margin = new System.Windows.Forms.Padding(4);
+ totga.Name = "totga";
+ totga.Size = new System.Drawing.Size(43, 19);
+ totga.TabIndex = 2;
+ totga.Text = "Tga";
+ totga.UseVisualStyleBackColor = true;
//
// tojpg
//
- this.tojpg.AutoSize = true;
- this.tojpg.Location = new System.Drawing.Point(113, 8);
- this.tojpg.Margin = new System.Windows.Forms.Padding(4);
- this.tojpg.Name = "tojpg";
- this.tojpg.Size = new System.Drawing.Size(49, 19);
- this.tojpg.TabIndex = 4;
- this.tojpg.Text = "Jpeg";
- this.tojpg.UseVisualStyleBackColor = true;
+ tojpg.AutoSize = true;
+ tojpg.Location = new System.Drawing.Point(113, 8);
+ tojpg.Margin = new System.Windows.Forms.Padding(4);
+ tojpg.Name = "tojpg";
+ tojpg.Size = new System.Drawing.Size(49, 19);
+ tojpg.TabIndex = 4;
+ tojpg.Text = "Jpeg";
+ tojpg.UseVisualStyleBackColor = true;
//
// topng
//
- this.topng.AutoSize = true;
- this.topng.Checked = true;
- this.topng.Location = new System.Drawing.Point(58, 8);
- this.topng.Margin = new System.Windows.Forms.Padding(4);
- this.topng.Name = "topng";
- this.topng.Size = new System.Drawing.Size(46, 19);
- this.topng.TabIndex = 3;
- this.topng.TabStop = true;
- this.topng.Text = "Png";
- this.topng.UseVisualStyleBackColor = true;
+ topng.AutoSize = true;
+ topng.Checked = true;
+ topng.Location = new System.Drawing.Point(58, 8);
+ topng.Margin = new System.Windows.Forms.Padding(4);
+ topng.Name = "topng";
+ topng.Size = new System.Drawing.Size(46, 19);
+ topng.TabIndex = 3;
+ topng.TabStop = true;
+ topng.Text = "Png";
+ topng.UseVisualStyleBackColor = true;
//
// tobmp
//
- this.tobmp.AutoSize = true;
- this.tobmp.Location = new System.Drawing.Point(4, 8);
- this.tobmp.Margin = new System.Windows.Forms.Padding(4);
- this.tobmp.Name = "tobmp";
- this.tobmp.Size = new System.Drawing.Size(50, 19);
- this.tobmp.TabIndex = 2;
- this.tobmp.Text = "Bmp";
- this.tobmp.UseVisualStyleBackColor = true;
+ tobmp.AutoSize = true;
+ tobmp.Location = new System.Drawing.Point(4, 8);
+ tobmp.Margin = new System.Windows.Forms.Padding(4);
+ tobmp.Name = "tobmp";
+ tobmp.Size = new System.Drawing.Size(50, 19);
+ tobmp.TabIndex = 2;
+ tobmp.Text = "Bmp";
+ tobmp.UseVisualStyleBackColor = true;
//
// converttexture
//
- this.converttexture.AutoSize = true;
- this.converttexture.Checked = true;
- this.converttexture.CheckState = System.Windows.Forms.CheckState.Checked;
- this.converttexture.Location = new System.Drawing.Point(7, 100);
- this.converttexture.Margin = new System.Windows.Forms.Padding(4);
- this.converttexture.Name = "converttexture";
- this.converttexture.Size = new System.Drawing.Size(123, 19);
- this.converttexture.TabIndex = 1;
- this.converttexture.Text = "Convert Texture2D";
- this.converttexture.UseVisualStyleBackColor = true;
+ converttexture.AutoSize = true;
+ converttexture.Checked = true;
+ converttexture.CheckState = System.Windows.Forms.CheckState.Checked;
+ converttexture.Location = new System.Drawing.Point(7, 100);
+ converttexture.Margin = new System.Windows.Forms.Padding(4);
+ converttexture.Name = "converttexture";
+ converttexture.Size = new System.Drawing.Size(123, 19);
+ converttexture.TabIndex = 1;
+ converttexture.Text = "Convert Texture2D";
+ converttexture.UseVisualStyleBackColor = true;
//
// collectAnimations
//
- this.collectAnimations.AutoSize = true;
- this.collectAnimations.Checked = true;
- this.collectAnimations.CheckState = System.Windows.Forms.CheckState.Checked;
- this.collectAnimations.Location = new System.Drawing.Point(8, 122);
- this.collectAnimations.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.collectAnimations.Name = "collectAnimations";
- this.collectAnimations.Size = new System.Drawing.Size(125, 19);
- this.collectAnimations.TabIndex = 24;
- this.collectAnimations.Text = "Collect animations";
- this.collectAnimations.UseVisualStyleBackColor = true;
+ collectAnimations.AutoSize = true;
+ collectAnimations.Checked = true;
+ collectAnimations.CheckState = System.Windows.Forms.CheckState.Checked;
+ collectAnimations.Location = new System.Drawing.Point(8, 113);
+ collectAnimations.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ collectAnimations.Name = "collectAnimations";
+ collectAnimations.Size = new System.Drawing.Size(125, 19);
+ collectAnimations.TabIndex = 24;
+ collectAnimations.Text = "Collect animations";
+ collectAnimations.UseVisualStyleBackColor = true;
//
// groupBox2
//
- this.groupBox2.AutoSize = true;
- this.groupBox2.Controls.Add(this.collectAnimations);
- this.groupBox2.Controls.Add(this.exportAllUvsAsDiffuseMaps);
- this.groupBox2.Controls.Add(this.exportBlendShape);
- this.groupBox2.Controls.Add(this.exportAnimations);
- this.groupBox2.Controls.Add(this.scaleFactor);
- this.groupBox2.Controls.Add(this.label5);
- this.groupBox2.Controls.Add(this.fbxFormat);
- this.groupBox2.Controls.Add(this.label4);
- this.groupBox2.Controls.Add(this.fbxVersion);
- this.groupBox2.Controls.Add(this.label3);
- this.groupBox2.Controls.Add(this.boneSize);
- this.groupBox2.Controls.Add(this.label2);
- this.groupBox2.Controls.Add(this.exportSkins);
- this.groupBox2.Controls.Add(this.label1);
- this.groupBox2.Controls.Add(this.filterPrecision);
- this.groupBox2.Controls.Add(this.castToBone);
- this.groupBox2.Controls.Add(this.exportAllNodes);
- this.groupBox2.Controls.Add(this.eulerFilter);
- this.groupBox2.Location = new System.Drawing.Point(292, 15);
- this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
- this.groupBox2.Size = new System.Drawing.Size(261, 419);
- this.groupBox2.TabIndex = 11;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "Fbx";
+ groupBox2.AutoSize = true;
+ groupBox2.Controls.Add(exportUV0UV1);
+ groupBox2.Controls.Add(collectAnimations);
+ groupBox2.Controls.Add(exportAllUvsAsDiffuseMaps);
+ groupBox2.Controls.Add(exportBlendShape);
+ groupBox2.Controls.Add(exportAnimations);
+ groupBox2.Controls.Add(scaleFactor);
+ groupBox2.Controls.Add(label5);
+ groupBox2.Controls.Add(fbxFormat);
+ groupBox2.Controls.Add(label4);
+ groupBox2.Controls.Add(fbxVersion);
+ groupBox2.Controls.Add(label3);
+ groupBox2.Controls.Add(boneSize);
+ groupBox2.Controls.Add(label2);
+ groupBox2.Controls.Add(exportSkins);
+ groupBox2.Controls.Add(label1);
+ groupBox2.Controls.Add(filterPrecision);
+ groupBox2.Controls.Add(castToBone);
+ groupBox2.Controls.Add(exportAllNodes);
+ groupBox2.Controls.Add(eulerFilter);
+ groupBox2.Location = new System.Drawing.Point(292, 15);
+ groupBox2.Margin = new System.Windows.Forms.Padding(4);
+ groupBox2.Name = "groupBox2";
+ groupBox2.Padding = new System.Windows.Forms.Padding(4);
+ groupBox2.Size = new System.Drawing.Size(261, 418);
+ groupBox2.TabIndex = 11;
+ groupBox2.TabStop = false;
+ groupBox2.Text = "Fbx";
+ //
+ // exportUV0UV1
+ //
+ exportUV0UV1.AccessibleDescription = "";
+ exportUV0UV1.AutoSize = true;
+ exportUV0UV1.Location = new System.Drawing.Point(8, 243);
+ exportUV0UV1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ exportUV0UV1.Name = "exportUV0UV1";
+ exportUV0UV1.Size = new System.Drawing.Size(124, 19);
+ exportUV0UV1.TabIndex = 25;
+ exportUV0UV1.Text = "Export UV 0/1 only";
+ exportUvsTooltip.SetToolTip(exportUV0UV1, "Unchecked: Export UV0/UV1 only. Check this if your facing issues with vertex color/tangent.");
+ exportUV0UV1.UseVisualStyleBackColor = true;
//
// exportAllUvsAsDiffuseMaps
//
- this.exportAllUvsAsDiffuseMaps.AccessibleDescription = "";
- this.exportAllUvsAsDiffuseMaps.AutoSize = true;
- this.exportAllUvsAsDiffuseMaps.Location = new System.Drawing.Point(8, 226);
- this.exportAllUvsAsDiffuseMaps.Margin = new System.Windows.Forms.Padding(4);
- this.exportAllUvsAsDiffuseMaps.Name = "exportAllUvsAsDiffuseMaps";
- this.exportAllUvsAsDiffuseMaps.Size = new System.Drawing.Size(183, 19);
- this.exportAllUvsAsDiffuseMaps.TabIndex = 23;
- this.exportAllUvsAsDiffuseMaps.Text = "Export all UVs as diffuse maps";
- this.exportUvsTooltip.SetToolTip(this.exportAllUvsAsDiffuseMaps, "Unchecked: UV1 exported as normal map. Check this if your export is missing a UV " +
- "map.");
- this.exportAllUvsAsDiffuseMaps.UseVisualStyleBackColor = true;
+ exportAllUvsAsDiffuseMaps.AccessibleDescription = "";
+ exportAllUvsAsDiffuseMaps.AutoSize = true;
+ exportAllUvsAsDiffuseMaps.Location = new System.Drawing.Point(8, 217);
+ exportAllUvsAsDiffuseMaps.Margin = new System.Windows.Forms.Padding(4);
+ exportAllUvsAsDiffuseMaps.Name = "exportAllUvsAsDiffuseMaps";
+ exportAllUvsAsDiffuseMaps.Size = new System.Drawing.Size(183, 19);
+ exportAllUvsAsDiffuseMaps.TabIndex = 23;
+ exportAllUvsAsDiffuseMaps.Text = "Export all UVs as diffuse maps";
+ exportUvsTooltip.SetToolTip(exportAllUvsAsDiffuseMaps, "Unchecked: UV1 exported as normal map. Check this if your export is missing a UV map.");
+ exportAllUvsAsDiffuseMaps.UseVisualStyleBackColor = true;
//
// exportBlendShape
//
- this.exportBlendShape.AutoSize = true;
- this.exportBlendShape.Checked = true;
- this.exportBlendShape.CheckState = System.Windows.Forms.CheckState.Checked;
- this.exportBlendShape.Location = new System.Drawing.Point(8, 172);
- this.exportBlendShape.Margin = new System.Windows.Forms.Padding(4);
- this.exportBlendShape.Name = "exportBlendShape";
- this.exportBlendShape.Size = new System.Drawing.Size(124, 19);
- this.exportBlendShape.TabIndex = 22;
- this.exportBlendShape.Text = "Export blendshape";
- this.exportBlendShape.UseVisualStyleBackColor = true;
+ exportBlendShape.AutoSize = true;
+ exportBlendShape.Checked = true;
+ exportBlendShape.CheckState = System.Windows.Forms.CheckState.Checked;
+ exportBlendShape.Location = new System.Drawing.Point(8, 163);
+ exportBlendShape.Margin = new System.Windows.Forms.Padding(4);
+ exportBlendShape.Name = "exportBlendShape";
+ exportBlendShape.Size = new System.Drawing.Size(124, 19);
+ exportBlendShape.TabIndex = 22;
+ exportBlendShape.Text = "Export blendshape";
+ exportBlendShape.UseVisualStyleBackColor = true;
//
// exportAnimations
//
- this.exportAnimations.AutoSize = true;
- this.exportAnimations.Checked = true;
- this.exportAnimations.CheckState = System.Windows.Forms.CheckState.Checked;
- this.exportAnimations.Location = new System.Drawing.Point(8, 147);
- this.exportAnimations.Margin = new System.Windows.Forms.Padding(4);
- this.exportAnimations.Name = "exportAnimations";
- this.exportAnimations.Size = new System.Drawing.Size(122, 19);
- this.exportAnimations.TabIndex = 21;
- this.exportAnimations.Text = "Export animations";
- this.exportAnimations.UseVisualStyleBackColor = true;
+ exportAnimations.AutoSize = true;
+ exportAnimations.Checked = true;
+ exportAnimations.CheckState = System.Windows.Forms.CheckState.Checked;
+ exportAnimations.Location = new System.Drawing.Point(8, 136);
+ exportAnimations.Margin = new System.Windows.Forms.Padding(4);
+ exportAnimations.Name = "exportAnimations";
+ exportAnimations.Size = new System.Drawing.Size(122, 19);
+ exportAnimations.TabIndex = 21;
+ exportAnimations.Text = "Export animations";
+ exportAnimations.UseVisualStyleBackColor = true;
//
// scaleFactor
//
- this.scaleFactor.DecimalPlaces = 2;
- this.scaleFactor.Increment = new decimal(new int[] {
- 1,
- 0,
- 0,
- 131072});
- this.scaleFactor.Location = new System.Drawing.Point(98, 292);
- this.scaleFactor.Margin = new System.Windows.Forms.Padding(4);
- this.scaleFactor.Name = "scaleFactor";
- this.scaleFactor.Size = new System.Drawing.Size(70, 23);
- this.scaleFactor.TabIndex = 20;
- this.scaleFactor.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.scaleFactor.Value = new decimal(new int[] {
- 1,
- 0,
- 0,
- 0});
+ scaleFactor.DecimalPlaces = 2;
+ scaleFactor.Increment = new decimal(new int[] { 1, 0, 0, 131072 });
+ scaleFactor.Location = new System.Drawing.Point(98, 305);
+ scaleFactor.Margin = new System.Windows.Forms.Padding(4);
+ scaleFactor.Name = "scaleFactor";
+ scaleFactor.Size = new System.Drawing.Size(70, 23);
+ scaleFactor.TabIndex = 20;
+ scaleFactor.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ scaleFactor.Value = new decimal(new int[] { 1, 0, 0, 0 });
//
// label5
//
- this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(8, 294);
- this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(67, 15);
- this.label5.TabIndex = 19;
- this.label5.Text = "ScaleFactor";
+ label5.AutoSize = true;
+ label5.Location = new System.Drawing.Point(8, 307);
+ label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label5.Name = "label5";
+ label5.Size = new System.Drawing.Size(67, 15);
+ label5.TabIndex = 19;
+ label5.Text = "ScaleFactor";
//
// fbxFormat
//
- this.fbxFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.fbxFormat.FormattingEnabled = true;
- this.fbxFormat.Items.AddRange(new object[] {
- "Binary",
- "Ascii"});
- this.fbxFormat.Location = new System.Drawing.Point(91, 330);
- this.fbxFormat.Margin = new System.Windows.Forms.Padding(4);
- this.fbxFormat.Name = "fbxFormat";
- this.fbxFormat.Size = new System.Drawing.Size(70, 23);
- this.fbxFormat.TabIndex = 18;
+ fbxFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ fbxFormat.FormattingEnabled = true;
+ fbxFormat.Items.AddRange(new object[] { "Binary", "Ascii" });
+ fbxFormat.Location = new System.Drawing.Point(91, 339);
+ fbxFormat.Margin = new System.Windows.Forms.Padding(4);
+ fbxFormat.Name = "fbxFormat";
+ fbxFormat.Size = new System.Drawing.Size(70, 23);
+ fbxFormat.TabIndex = 18;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(8, 334);
- this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(65, 15);
- this.label4.TabIndex = 17;
- this.label4.Text = "FBXFormat";
+ label4.AutoSize = true;
+ label4.Location = new System.Drawing.Point(8, 343);
+ label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label4.Name = "label4";
+ label4.Size = new System.Drawing.Size(65, 15);
+ label4.TabIndex = 17;
+ label4.Text = "FBXFormat";
//
// fbxVersion
//
- this.fbxVersion.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.fbxVersion.FormattingEnabled = true;
- this.fbxVersion.Items.AddRange(new object[] {
- "6.1",
- "7.1",
- "7.2",
- "7.3",
- "7.4",
- "7.5"});
- this.fbxVersion.Location = new System.Drawing.Point(91, 367);
- this.fbxVersion.Margin = new System.Windows.Forms.Padding(4);
- this.fbxVersion.Name = "fbxVersion";
- this.fbxVersion.Size = new System.Drawing.Size(54, 23);
- this.fbxVersion.TabIndex = 16;
+ fbxVersion.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ fbxVersion.FormattingEnabled = true;
+ fbxVersion.Items.AddRange(new object[] { "6.1", "7.1", "7.2", "7.3", "7.4", "7.5" });
+ fbxVersion.Location = new System.Drawing.Point(91, 371);
+ fbxVersion.Margin = new System.Windows.Forms.Padding(4);
+ fbxVersion.Name = "fbxVersion";
+ fbxVersion.Size = new System.Drawing.Size(54, 23);
+ fbxVersion.TabIndex = 16;
//
// label3
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(8, 371);
- this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(65, 15);
- this.label3.TabIndex = 15;
- this.label3.Text = "FBXVersion";
+ label3.AutoSize = true;
+ label3.Location = new System.Drawing.Point(8, 375);
+ label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label3.Name = "label3";
+ label3.Size = new System.Drawing.Size(65, 15);
+ label3.TabIndex = 15;
+ label3.Text = "FBXVersion";
//
// boneSize
//
- this.boneSize.Location = new System.Drawing.Point(77, 258);
- this.boneSize.Margin = new System.Windows.Forms.Padding(4);
- this.boneSize.Name = "boneSize";
- this.boneSize.Size = new System.Drawing.Size(54, 23);
- this.boneSize.TabIndex = 11;
- this.boneSize.Value = new decimal(new int[] {
- 10,
- 0,
- 0,
- 0});
+ boneSize.Location = new System.Drawing.Point(77, 270);
+ boneSize.Margin = new System.Windows.Forms.Padding(4);
+ boneSize.Name = "boneSize";
+ boneSize.Size = new System.Drawing.Size(54, 23);
+ boneSize.TabIndex = 11;
+ boneSize.Value = new decimal(new int[] { 10, 0, 0, 0 });
//
// label2
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(8, 260);
- this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(54, 15);
- this.label2.TabIndex = 10;
- this.label2.Text = "BoneSize";
+ label2.AutoSize = true;
+ label2.Location = new System.Drawing.Point(8, 272);
+ label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label2.Name = "label2";
+ label2.Size = new System.Drawing.Size(54, 15);
+ label2.TabIndex = 10;
+ label2.Text = "BoneSize";
//
// exportSkins
//
- this.exportSkins.AutoSize = true;
- this.exportSkins.Checked = true;
- this.exportSkins.CheckState = System.Windows.Forms.CheckState.Checked;
- this.exportSkins.Location = new System.Drawing.Point(8, 96);
- this.exportSkins.Margin = new System.Windows.Forms.Padding(4);
- this.exportSkins.Name = "exportSkins";
- this.exportSkins.Size = new System.Drawing.Size(89, 19);
- this.exportSkins.TabIndex = 8;
- this.exportSkins.Text = "Export skins";
- this.exportSkins.UseVisualStyleBackColor = true;
+ exportSkins.AutoSize = true;
+ exportSkins.Checked = true;
+ exportSkins.CheckState = System.Windows.Forms.CheckState.Checked;
+ exportSkins.Location = new System.Drawing.Point(8, 87);
+ exportSkins.Margin = new System.Windows.Forms.Padding(4);
+ exportSkins.Name = "exportSkins";
+ exportSkins.Size = new System.Drawing.Size(89, 19);
+ exportSkins.TabIndex = 8;
+ exportSkins.Text = "Export skins";
+ exportSkins.UseVisualStyleBackColor = true;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(31, 41);
- this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(81, 15);
- this.label1.TabIndex = 7;
- this.label1.Text = "FilterPrecision";
+ label1.AutoSize = true;
+ label1.Location = new System.Drawing.Point(31, 41);
+ label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label1.Name = "label1";
+ label1.Size = new System.Drawing.Size(81, 15);
+ label1.TabIndex = 7;
+ label1.Text = "FilterPrecision";
//
// filterPrecision
//
- this.filterPrecision.DecimalPlaces = 2;
- this.filterPrecision.Increment = new decimal(new int[] {
- 1,
- 0,
- 0,
- 131072});
- this.filterPrecision.Location = new System.Drawing.Point(149, 38);
- this.filterPrecision.Margin = new System.Windows.Forms.Padding(4);
- this.filterPrecision.Name = "filterPrecision";
- this.filterPrecision.Size = new System.Drawing.Size(59, 23);
- this.filterPrecision.TabIndex = 6;
- this.filterPrecision.Value = new decimal(new int[] {
- 25,
- 0,
- 0,
- 131072});
+ filterPrecision.DecimalPlaces = 2;
+ filterPrecision.Increment = new decimal(new int[] { 1, 0, 0, 131072 });
+ filterPrecision.Location = new System.Drawing.Point(149, 38);
+ filterPrecision.Margin = new System.Windows.Forms.Padding(4);
+ filterPrecision.Name = "filterPrecision";
+ filterPrecision.Size = new System.Drawing.Size(59, 23);
+ filterPrecision.TabIndex = 6;
+ filterPrecision.Value = new decimal(new int[] { 25, 0, 0, 131072 });
//
// castToBone
//
- this.castToBone.AutoSize = true;
- this.castToBone.Location = new System.Drawing.Point(8, 198);
- this.castToBone.Margin = new System.Windows.Forms.Padding(4);
- this.castToBone.Name = "castToBone";
- this.castToBone.Size = new System.Drawing.Size(143, 19);
- this.castToBone.TabIndex = 5;
- this.castToBone.Text = "All nodes cast to bone";
- this.castToBone.UseVisualStyleBackColor = true;
+ castToBone.AutoSize = true;
+ castToBone.Location = new System.Drawing.Point(8, 190);
+ castToBone.Margin = new System.Windows.Forms.Padding(4);
+ castToBone.Name = "castToBone";
+ castToBone.Size = new System.Drawing.Size(143, 19);
+ castToBone.TabIndex = 5;
+ castToBone.Text = "All nodes cast to bone";
+ castToBone.UseVisualStyleBackColor = true;
//
// exportAllNodes
//
- this.exportAllNodes.AutoSize = true;
- this.exportAllNodes.Checked = true;
- this.exportAllNodes.CheckState = System.Windows.Forms.CheckState.Checked;
- this.exportAllNodes.Location = new System.Drawing.Point(8, 68);
- this.exportAllNodes.Margin = new System.Windows.Forms.Padding(4);
- this.exportAllNodes.Name = "exportAllNodes";
- this.exportAllNodes.Size = new System.Drawing.Size(110, 19);
- this.exportAllNodes.TabIndex = 4;
- this.exportAllNodes.Text = "Export all nodes";
- this.exportAllNodes.UseVisualStyleBackColor = true;
+ exportAllNodes.AutoSize = true;
+ exportAllNodes.Checked = true;
+ exportAllNodes.CheckState = System.Windows.Forms.CheckState.Checked;
+ exportAllNodes.Location = new System.Drawing.Point(8, 60);
+ exportAllNodes.Margin = new System.Windows.Forms.Padding(4);
+ exportAllNodes.Name = "exportAllNodes";
+ exportAllNodes.Size = new System.Drawing.Size(110, 19);
+ exportAllNodes.TabIndex = 4;
+ exportAllNodes.Text = "Export all nodes";
+ exportAllNodes.UseVisualStyleBackColor = true;
//
// eulerFilter
//
- this.eulerFilter.AutoSize = true;
- this.eulerFilter.Checked = true;
- this.eulerFilter.CheckState = System.Windows.Forms.CheckState.Checked;
- this.eulerFilter.Location = new System.Drawing.Point(8, 17);
- this.eulerFilter.Margin = new System.Windows.Forms.Padding(4);
- this.eulerFilter.Name = "eulerFilter";
- this.eulerFilter.Size = new System.Drawing.Size(78, 19);
- this.eulerFilter.TabIndex = 3;
- this.eulerFilter.Text = "EulerFilter";
- this.eulerFilter.UseVisualStyleBackColor = true;
- //
- // groupBox3
- //
- this.groupBox3.AutoSize = true;
- this.groupBox3.Controls.Add(this.encrypted);
- this.groupBox3.Controls.Add(this.key);
- this.groupBox3.Controls.Add(this.label7);
- this.groupBox3.Location = new System.Drawing.Point(158, 315);
- this.groupBox3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.groupBox3.Name = "groupBox3";
- this.groupBox3.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.groupBox3.Size = new System.Drawing.Size(126, 118);
- this.groupBox3.TabIndex = 12;
- this.groupBox3.TabStop = false;
- this.groupBox3.Text = "MiHoYoBinData";
+ eulerFilter.AutoSize = true;
+ eulerFilter.Checked = true;
+ eulerFilter.CheckState = System.Windows.Forms.CheckState.Checked;
+ eulerFilter.Location = new System.Drawing.Point(8, 17);
+ eulerFilter.Margin = new System.Windows.Forms.Padding(4);
+ eulerFilter.Name = "eulerFilter";
+ eulerFilter.Size = new System.Drawing.Size(78, 19);
+ eulerFilter.TabIndex = 3;
+ eulerFilter.Text = "EulerFilter";
+ eulerFilter.UseVisualStyleBackColor = true;
//
// encrypted
//
- this.encrypted.AutoSize = true;
- this.encrypted.Checked = true;
- this.encrypted.CheckState = System.Windows.Forms.CheckState.Checked;
- this.encrypted.Location = new System.Drawing.Point(20, 35);
- this.encrypted.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.encrypted.Name = "encrypted";
- this.encrypted.Size = new System.Drawing.Size(79, 19);
- this.encrypted.TabIndex = 12;
- this.encrypted.Text = "Encrypted";
- this.encrypted.UseVisualStyleBackColor = true;
+ encrypted.AutoSize = true;
+ encrypted.Checked = true;
+ encrypted.CheckState = System.Windows.Forms.CheckState.Checked;
+ encrypted.Location = new System.Drawing.Point(8, 22);
+ encrypted.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ encrypted.Name = "encrypted";
+ encrypted.Size = new System.Drawing.Size(166, 19);
+ encrypted.TabIndex = 12;
+ encrypted.Text = "Encrypted MiHoYoBinData\r\n";
+ encrypted.UseVisualStyleBackColor = true;
//
// key
//
- this.key.Hexadecimal = true;
- this.key.Location = new System.Drawing.Point(54, 72);
- this.key.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.key.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.key.Name = "key";
- this.key.Size = new System.Drawing.Size(55, 23);
- this.key.TabIndex = 8;
- this.keyToolTip.SetToolTip(this.key, "Key in hex");
+ key.Hexadecimal = true;
+ key.Location = new System.Drawing.Point(199, 18);
+ key.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ key.Maximum = new decimal(new int[] { 255, 0, 0, 0 });
+ key.Name = "key";
+ key.Size = new System.Drawing.Size(55, 23);
+ key.TabIndex = 8;
+ keyToolTip.SetToolTip(key, "Key in hex");
+ //
+ // groupBox4
+ //
+ groupBox4.AutoSize = true;
+ groupBox4.Controls.Add(label7);
+ groupBox4.Controls.Add(exportableTypes);
+ groupBox4.Controls.Add(skipContainer);
+ groupBox4.Controls.Add(key);
+ groupBox4.Controls.Add(encrypted);
+ groupBox4.Controls.Add(enableResolveDependencies);
+ groupBox4.Location = new System.Drawing.Point(13, 258);
+ groupBox4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ groupBox4.Name = "groupBox4";
+ groupBox4.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ groupBox4.Size = new System.Drawing.Size(272, 176);
+ groupBox4.TabIndex = 13;
+ groupBox4.TabStop = false;
+ groupBox4.Text = "Options";
//
// label7
//
- this.label7.AutoSize = true;
- this.label7.Location = new System.Drawing.Point(20, 74);
- this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(26, 15);
- this.label7.TabIndex = 7;
- this.label7.Text = "Key";
+ label7.AutoSize = true;
+ label7.Location = new System.Drawing.Point(7, 94);
+ label7.Name = "label7";
+ label7.Size = new System.Drawing.Size(91, 15);
+ label7.TabIndex = 16;
+ label7.Text = "Exporable Types";
+ //
+ // exportableTypes
+ //
+ exportableTypes.CheckOnClick = true;
+ exportableTypes.FormattingEnabled = true;
+ exportableTypes.Location = new System.Drawing.Point(102, 94);
+ exportableTypes.Name = "exportableTypes";
+ exportableTypes.Size = new System.Drawing.Size(152, 58);
+ exportableTypes.TabIndex = 15;
+ //
+ // skipContainer
+ //
+ skipContainer.AutoSize = true;
+ skipContainer.Checked = true;
+ skipContainer.CheckState = System.Windows.Forms.CheckState.Checked;
+ skipContainer.Location = new System.Drawing.Point(8, 72);
+ skipContainer.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ skipContainer.Name = "skipContainer";
+ skipContainer.Size = new System.Drawing.Size(149, 19);
+ skipContainer.TabIndex = 14;
+ skipContainer.Text = "Skip container recovery";
+ skipToolTip.SetToolTip(skipContainer, "Skips the container recovery step.\nImproves loading when dealing with a large number of files.");
+ skipContainer.UseVisualStyleBackColor = true;
+ //
+ // enableResolveDependencies
+ //
+ enableResolveDependencies.AutoSize = true;
+ enableResolveDependencies.Checked = true;
+ enableResolveDependencies.CheckState = System.Windows.Forms.CheckState.Checked;
+ enableResolveDependencies.Location = new System.Drawing.Point(8, 47);
+ enableResolveDependencies.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ enableResolveDependencies.Name = "enableResolveDependencies";
+ enableResolveDependencies.Size = new System.Drawing.Size(177, 19);
+ enableResolveDependencies.TabIndex = 13;
+ enableResolveDependencies.Text = "Enable resolve dependencies";
+ resolveToolTip.SetToolTip(enableResolveDependencies, "Toggle the behaviour of loading assets.\r\nDisable to load file(s) without its dependencies.");
+ enableResolveDependencies.UseVisualStyleBackColor = true;
//
// ExportOptions
//
- this.AcceptButton = this.OKbutton;
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.Cancel;
- this.ClientSize = new System.Drawing.Size(567, 480);
- this.Controls.Add(this.groupBox3);
- this.Controls.Add(this.groupBox2);
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.Cancel);
- this.Controls.Add(this.OKbutton);
- this.Margin = new System.Windows.Forms.Padding(4);
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "ExportOptions";
- this.ShowIcon = false;
- this.ShowInTaskbar = false;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Export options";
- this.TopMost = true;
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.groupBox2.ResumeLayout(false);
- this.groupBox2.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.scaleFactor)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.boneSize)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.filterPrecision)).EndInit();
- this.groupBox3.ResumeLayout(false);
- this.groupBox3.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.key)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
+ AcceptButton = OKbutton;
+ AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ CancelButton = Cancel;
+ ClientSize = new System.Drawing.Size(567, 480);
+ Controls.Add(groupBox4);
+ Controls.Add(groupBox2);
+ Controls.Add(groupBox1);
+ Controls.Add(Cancel);
+ Controls.Add(OKbutton);
+ Margin = new System.Windows.Forms.Padding(4);
+ MaximizeBox = false;
+ MinimizeBox = false;
+ Name = "ExportOptions";
+ ShowIcon = false;
+ ShowInTaskbar = false;
+ StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ Text = "Export options";
+ TopMost = true;
+ groupBox1.ResumeLayout(false);
+ groupBox1.PerformLayout();
+ panel1.ResumeLayout(false);
+ panel1.PerformLayout();
+ groupBox2.ResumeLayout(false);
+ groupBox2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)scaleFactor).EndInit();
+ ((System.ComponentModel.ISupportInitialize)boneSize).EndInit();
+ ((System.ComponentModel.ISupportInitialize)filterPrecision).EndInit();
+ ((System.ComponentModel.ISupportInitialize)key).EndInit();
+ groupBox4.ResumeLayout(false);
+ groupBox4.PerformLayout();
+ ResumeLayout(false);
+ PerformLayout();
}
#endregion
@@ -674,12 +670,16 @@
private System.Windows.Forms.CheckBox exportAllUvsAsDiffuseMaps;
private System.Windows.Forms.ToolTip exportUvsTooltip;
private System.Windows.Forms.CheckBox collectAnimations;
- private System.Windows.Forms.CheckBox skipRenderer;
- private System.Windows.Forms.CheckBox exportMiHoYoBinData;
- private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.CheckBox encrypted;
private System.Windows.Forms.NumericUpDown key;
- private System.Windows.Forms.Label label7;
private System.Windows.Forms.ToolTip keyToolTip;
+ private System.Windows.Forms.CheckBox exportUV0UV1;
+ private System.Windows.Forms.GroupBox groupBox4;
+ private System.Windows.Forms.CheckBox enableResolveDependencies;
+ private System.Windows.Forms.CheckBox skipContainer;
+ private System.Windows.Forms.ToolTip resolveToolTip;
+ private System.Windows.Forms.ToolTip skipToolTip;
+ private System.Windows.Forms.CheckedListBox exportableTypes;
+ private System.Windows.Forms.Label label7;
}
}
\ No newline at end of file
diff --git a/AssetStudioGUI/ExportOptions.cs b/AssetStudioGUI/ExportOptions.cs
index b612226..6195c61 100644
--- a/AssetStudioGUI/ExportOptions.cs
+++ b/AssetStudioGUI/ExportOptions.cs
@@ -1,5 +1,8 @@
using AssetStudio;
+using Newtonsoft.Json;
using System;
+using System.Collections.Generic;
+using System.Linq;
using System.Windows.Forms;
namespace AssetStudioGUI
@@ -31,19 +34,35 @@ namespace AssetStudioGUI
exportBlendShape.Checked = Properties.Settings.Default.exportBlendShape;
castToBone.Checked = Properties.Settings.Default.castToBone;
exportAllUvsAsDiffuseMaps.Checked = Properties.Settings.Default.exportAllUvsAsDiffuseMaps;
+ exportUV0UV1.Checked = Properties.Settings.Default.exportUV0UV1;
boneSize.Value = Properties.Settings.Default.boneSize;
scaleFactor.Value = Properties.Settings.Default.scaleFactor;
fbxVersion.SelectedIndex = Properties.Settings.Default.fbxVersion;
fbxFormat.SelectedIndex = Properties.Settings.Default.fbxFormat;
- skipRenderer.Checked = Properties.Settings.Default.skipRenderer;
- exportMiHoYoBinData.Checked = Properties.Settings.Default.exportMiHoYoBinData;
collectAnimations.Checked = Properties.Settings.Default.collectAnimations;
encrypted.Checked = Properties.Settings.Default.encrypted;
key.Value = Properties.Settings.Default.key;
+
+ exportableTypes.Items.AddRange(Studio.assetsManager.ExportableTypes.Keys.Select(x => x.ToString()).ToArray());
+ var types = JsonConvert.DeserializeObject>(Properties.Settings.Default.exportableTypes);
+ foreach (var exportable in types)
+ {
+ var idx = exportableTypes.Items.IndexOf(exportable.Key.ToString());
+ if (idx != -1)
+ exportableTypes.SetItemChecked(idx, exportable.Value);
+ }
}
private void OKbutton_Click(object sender, EventArgs e)
{
+ var types = new Dictionary();
+ for (int i = 0; i < exportableTypes.Items.Count; i++)
+ {
+ var type = Enum.Parse(exportableTypes.Items[i].ToString());
+ var state = exportableTypes.GetItemChecked(i);
+ types.Add(type, state);
+ }
+ Properties.Settings.Default.exportableTypes = JsonConvert.SerializeObject(types);
Properties.Settings.Default.assetGroupOption = assetGroupOptions.SelectedIndex;
Properties.Settings.Default.restoreExtensionName = restoreExtensionName.Checked;
Properties.Settings.Default.convertTexture = converttexture.Checked;
@@ -65,17 +84,15 @@ namespace AssetStudioGUI
Properties.Settings.Default.exportBlendShape = exportBlendShape.Checked;
Properties.Settings.Default.castToBone = castToBone.Checked;
Properties.Settings.Default.exportAllUvsAsDiffuseMaps = exportAllUvsAsDiffuseMaps.Checked;
+ Properties.Settings.Default.exportUV0UV1 = exportUV0UV1.Checked;
Properties.Settings.Default.boneSize = boneSize.Value;
Properties.Settings.Default.scaleFactor = scaleFactor.Value;
Properties.Settings.Default.fbxVersion = fbxVersion.SelectedIndex;
Properties.Settings.Default.fbxFormat = fbxFormat.SelectedIndex;
- Properties.Settings.Default.skipRenderer = skipRenderer.Checked;
- Properties.Settings.Default.exportMiHoYoBinData = exportMiHoYoBinData.Checked;
Properties.Settings.Default.collectAnimations = collectAnimations.Checked;
Properties.Settings.Default.encrypted = encrypted.Checked;
Properties.Settings.Default.key = (byte)key.Value;
Properties.Settings.Default.Save();
- Renderer.Skipped = !Properties.Settings.Default.skipRenderer;
MiHoYoBinData.Key = (byte)key.Value;
MiHoYoBinData.Encrypted = encrypted.Checked;
DialogResult = DialogResult.OK;
diff --git a/AssetStudioGUI/ExportOptions.resx b/AssetStudioGUI/ExportOptions.resx
index 2b5ac0b..b787a62 100644
--- a/AssetStudioGUI/ExportOptions.resx
+++ b/AssetStudioGUI/ExportOptions.resx
@@ -60,13 +60,16 @@
17, 17
-
- 17, 17
-
162, 17
-
- 162, 17
+
+ 404, 17
+
+
+ 273, 17
+
+
+ 57
\ No newline at end of file
diff --git a/AssetStudioGUI/Exporter.cs b/AssetStudioGUI/Exporter.cs
index b1f27db..71e9542 100644
--- a/AssetStudioGUI/Exporter.cs
+++ b/AssetStudioGUI/Exporter.cs
@@ -360,11 +360,12 @@ namespace AssetStudioGUI
var castToBone = Properties.Settings.Default.castToBone;
var boneSize = (int)Properties.Settings.Default.boneSize;
var exportAllUvsAsDiffuseMaps = Properties.Settings.Default.exportAllUvsAsDiffuseMaps;
+ var exportUV0UV1 = Properties.Settings.Default.exportUV0UV1;
var scaleFactor = (float)Properties.Settings.Default.scaleFactor;
var fbxVersion = Properties.Settings.Default.fbxVersion;
var fbxFormat = Properties.Settings.Default.fbxFormat;
ModelExporter.ExportFbx(exportPath, convert, eulerFilter, filterPrecision,
- exportAllNodes, exportSkins, exportAnimations, exportBlendShape, castToBone, boneSize, exportAllUvsAsDiffuseMaps, scaleFactor, fbxVersion, fbxFormat == 1);
+ exportAllNodes, exportSkins, exportAnimations, exportBlendShape, castToBone, boneSize, exportAllUvsAsDiffuseMaps, exportUV0UV1, scaleFactor, fbxVersion, fbxFormat == 1);
}
public static bool ExportDumpFile(AssetItem item, string exportPath)
diff --git a/AssetStudioGUI/Libraries/x64/acl.dll b/AssetStudioGUI/Libraries/x64/acl.dll
index 8249f88..0b7c822 100644
Binary files a/AssetStudioGUI/Libraries/x64/acl.dll and b/AssetStudioGUI/Libraries/x64/acl.dll differ
diff --git a/AssetStudioGUI/Libraries/x64/sracl.dll b/AssetStudioGUI/Libraries/x64/sracl.dll
index d6dd182..b7359e1 100644
Binary files a/AssetStudioGUI/Libraries/x64/sracl.dll and b/AssetStudioGUI/Libraries/x64/sracl.dll differ
diff --git a/AssetStudioGUI/Libraries/x86/acl.dll b/AssetStudioGUI/Libraries/x86/acl.dll
index 4262bca..34eb8c7 100644
Binary files a/AssetStudioGUI/Libraries/x86/acl.dll and b/AssetStudioGUI/Libraries/x86/acl.dll differ
diff --git a/AssetStudioGUI/Libraries/x86/sracl.dll b/AssetStudioGUI/Libraries/x86/sracl.dll
index 9151f5a..37f4a7d 100644
Binary files a/AssetStudioGUI/Libraries/x86/sracl.dll and b/AssetStudioGUI/Libraries/x86/sracl.dll differ
diff --git a/AssetStudioGUI/Properties/Settings.Designer.cs b/AssetStudioGUI/Properties/Settings.Designer.cs
index 6e8a8d6..48675a2 100644
--- a/AssetStudioGUI/Properties/Settings.Designer.cs
+++ b/AssetStudioGUI/Properties/Settings.Designer.cs
@@ -12,7 +12,7 @@ namespace AssetStudioGUI.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.4.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.5.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -311,18 +311,6 @@ namespace AssetStudioGUI.Properties {
}
}
- [global::System.Configuration.UserScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("False")]
- public bool skipRenderer {
- get {
- return ((bool)(this["skipRenderer"]));
- }
- set {
- this["skipRenderer"] = value;
- }
- }
-
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("0")]
@@ -347,18 +335,6 @@ namespace AssetStudioGUI.Properties {
}
}
- [global::System.Configuration.UserScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("0")]
- public int selectedCNUnityKey {
- get {
- return ((int)(this["selectedCNUnityKey"]));
- }
- set {
- this["selectedCNUnityKey"] = value;
- }
- }
-
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("0")]
@@ -406,5 +382,31 @@ namespace AssetStudioGUI.Properties {
this["skipContainer"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool exportUV0UV1 {
+ get {
+ return ((bool)(this["exportUV0UV1"]));
+ }
+ set {
+ this["exportUV0UV1"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("{\"GameObject\":true,\"Material\":true,\"Texture2D\":true,\"Mesh\":true,\"Renderer\":true,\"" +
+ "Shader\":true,\"TextAsset\":true,\"AnimationClip\":true,\"Font\":true,\"Sprite\":true,\"An" +
+ "imator\":true,\"MiHoYoBinData\":true,\"AssetBundle\":true}")]
+ public string exportableTypes {
+ get {
+ return ((string)(this["exportableTypes"]));
+ }
+ set {
+ this["exportableTypes"] = value;
+ }
+ }
}
}
diff --git a/AssetStudioGUI/Properties/Settings.settings b/AssetStudioGUI/Properties/Settings.settings
index 799a87b..cc68ddd 100644
--- a/AssetStudioGUI/Properties/Settings.settings
+++ b/AssetStudioGUI/Properties/Settings.settings
@@ -74,18 +74,12 @@
True
-
- False
-
0
True
-
- 0
-
0
@@ -98,5 +92,11 @@
False
+
+ False
+
+
+ {"GameObject":true,"Material":true,"Texture2D":true,"Mesh":true,"Renderer":true,"Shader":true,"TextAsset":true,"AnimationClip":true,"Font":true,"Sprite":true,"Animator":true,"MiHoYoBinData":true,"AssetBundle":true}
+
\ No newline at end of file
diff --git a/AssetStudioUtility/ACL/ACL.cs b/AssetStudioUtility/ACL/ACL.cs
index a4dbc34..07f2677 100644
--- a/AssetStudioUtility/ACL/ACL.cs
+++ b/AssetStudioUtility/ACL/ACL.cs
@@ -4,6 +4,13 @@ using AssetStudio.PInvoke;
namespace ACLLibs
{
+ public struct DecompressedClip
+ {
+ public IntPtr Values;
+ public int ValuesCount;
+ public IntPtr Times;
+ public int TimesCount;
+ }
public static class ACL
{
private const string DLL_NAME = "acl";
@@ -13,27 +20,30 @@ namespace ACLLibs
}
public static void DecompressAll(byte[] data, out float[] values, out float[] times)
{
- var pinned = GCHandle.Alloc(data, GCHandleType.Pinned);
- var pData = pinned.AddrOfPinnedObject();
- DecompressAll(pData, out var pValues, out var numValues, out var pTimes, out var numTimes);
- pinned.Free();
+ var decompressedClip = new DecompressedClip();
+ DecompressAll(data, ref decompressedClip);
- values = new float[numValues];
- Marshal.Copy(pValues, values, 0, numValues);
+ values = new float[decompressedClip.ValuesCount];
+ Marshal.Copy(decompressedClip.Values, values, 0, decompressedClip.ValuesCount);
- times = new float[numTimes];
- Marshal.Copy(pTimes, times, 0, numTimes);
+ times = new float[decompressedClip.TimesCount];
+ Marshal.Copy(decompressedClip.Times, times, 0, decompressedClip.TimesCount);
+
+ Dispose(ref decompressedClip);
}
#region importfunctions
- [DllImport(DLL_NAME)]
- private static extern void DecompressAll(IntPtr data, out IntPtr pValues, out int numValues, out IntPtr pTimes, out int numTimes);
+ [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)]
+ private static extern void DecompressAll(byte[] data, ref DecompressedClip decompressedClip);
+
+ [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)]
+ private static extern void Dispose(ref DecompressedClip decompressedClip);
#endregion
}
- public static partial class SRACL
+ public static class SRACL
{
private const string DLL_NAME = "sracl";
static SRACL()
@@ -42,22 +52,25 @@ namespace ACLLibs
}
public static void DecompressAll(byte[] data, out float[] values, out float[] times)
{
- var pinned = GCHandle.Alloc(data, GCHandleType.Pinned);
- var pData = pinned.AddrOfPinnedObject();
- DecompressAll(pData, out var pValues, out var numValues, out var pTimes, out var numTimes);
- pinned.Free();
+ var decompressedClip = new DecompressedClip();
+ DecompressAll(data, ref decompressedClip);
- values = new float[numValues];
- Marshal.Copy(pValues, values, 0, numValues);
+ values = new float[decompressedClip.ValuesCount];
+ Marshal.Copy(decompressedClip.Values, values, 0, decompressedClip.ValuesCount);
- times = new float[numTimes];
- Marshal.Copy(pTimes, times, 0, numTimes);
+ times = new float[decompressedClip.TimesCount];
+ Marshal.Copy(decompressedClip.Times, times, 0, decompressedClip.TimesCount);
+
+ Dispose(ref decompressedClip);
}
#region importfunctions
- [DllImport(DLL_NAME)]
- private static extern void DecompressAll(IntPtr data, out IntPtr pValues, out int numValues, out IntPtr pTimes, out int numTimes);
+ [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)]
+ private static extern void DecompressAll(byte[] data, ref DecompressedClip decompressedClip);
+
+ [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)]
+ private static extern void Dispose(ref DecompressedClip decompressedClip);
#endregion
}
diff --git a/AssetStudioUtility/ModelExporter.cs b/AssetStudioUtility/ModelExporter.cs
index 5b7813e..dea96e9 100644
--- a/AssetStudioUtility/ModelExporter.cs
+++ b/AssetStudioUtility/ModelExporter.cs
@@ -3,9 +3,9 @@
public static class ModelExporter
{
public static void ExportFbx(string path, IImported imported, bool eulerFilter, float filterPrecision,
- bool allNodes, bool skins, bool animation, bool blendShape, bool castToBone, float boneSize, bool exportAllUvsAsDiffuseMaps, float scaleFactor, int versionIndex, bool isAscii)
+ bool allNodes, bool skins, bool animation, bool blendShape, bool castToBone, float boneSize, bool exportAllUvsAsDiffuseMaps, bool exportUV0UV1, float scaleFactor, int versionIndex, bool isAscii)
{
- Fbx.Exporter.Export(path, imported, eulerFilter, filterPrecision, allNodes, skins, animation, blendShape, castToBone, boneSize, exportAllUvsAsDiffuseMaps, scaleFactor, versionIndex, isAscii);
+ Fbx.Exporter.Export(path, imported, eulerFilter, filterPrecision, allNodes, skins, animation, blendShape, castToBone, boneSize, exportAllUvsAsDiffuseMaps, exportUV0UV1, scaleFactor, versionIndex, isAscii);
}
}
}