diff --git a/AssetStudioCLI/App.config b/AssetStudio.CLI/App.config
similarity index 100%
rename from AssetStudioCLI/App.config
rename to AssetStudio.CLI/App.config
diff --git a/AssetStudioCLI/AssetStudioCLI.csproj b/AssetStudio.CLI/AssetStudio.CLI.csproj
similarity index 60%
rename from AssetStudioCLI/AssetStudioCLI.csproj
rename to AssetStudio.CLI/AssetStudio.CLI.csproj
index 3e9ccc7..1352128 100644
--- a/AssetStudioCLI/AssetStudioCLI.csproj
+++ b/AssetStudio.CLI/AssetStudio.CLI.csproj
@@ -7,7 +7,7 @@
1.00.00
1.00.00
Copyright © Razmoth 2022; Copyright © Perfare 2018-2022
- ..\AssetStudioGUI\bin
+ ..\AssetStudio.GUI\bin
@@ -17,7 +17,7 @@
-
+
@@ -29,13 +29,13 @@
-
-
+
+
-
-
+
+
diff --git a/AssetStudioCLI/Components/AssetItem.cs b/AssetStudio.CLI/Components/AssetItem.cs
similarity index 93%
rename from AssetStudioCLI/Components/AssetItem.cs
rename to AssetStudio.CLI/Components/AssetItem.cs
index 60e9ce9..f4b09c4 100644
--- a/AssetStudioCLI/Components/AssetItem.cs
+++ b/AssetStudio.CLI/Components/AssetItem.cs
@@ -1,6 +1,4 @@
-using AssetStudio;
-
-namespace AssetStudioCLI
+namespace AssetStudio.CLI
{
public class AssetItem
{
diff --git a/AssetStudioCLI/Components/CommandLine.cs b/AssetStudio.CLI/Components/CommandLine.cs
similarity index 99%
rename from AssetStudioCLI/Components/CommandLine.cs
rename to AssetStudio.CLI/Components/CommandLine.cs
index ae252d1..c3a082e 100644
--- a/AssetStudioCLI/Components/CommandLine.cs
+++ b/AssetStudio.CLI/Components/CommandLine.cs
@@ -5,9 +5,8 @@ using System.CommandLine;
using System.CommandLine.Binding;
using System.CommandLine.Parsing;
using System.Text.RegularExpressions;
-using AssetStudio;
-namespace AssetStudioCLI
+namespace AssetStudio.CLI
{
public static class CommandLine
{
diff --git a/AssetStudioCLI/Exporter.cs b/AssetStudio.CLI/Exporter.cs
similarity index 99%
rename from AssetStudioCLI/Exporter.cs
rename to AssetStudio.CLI/Exporter.cs
index 32694a5..a8c072d 100644
--- a/AssetStudioCLI/Exporter.cs
+++ b/AssetStudio.CLI/Exporter.cs
@@ -1,12 +1,11 @@
-using AssetStudio;
-using Newtonsoft.Json;
+using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
-namespace AssetStudioCLI
+namespace AssetStudio.CLI
{
internal static class Exporter
{
diff --git a/AssetStudioCLI/Program.cs b/AssetStudio.CLI/Program.cs
similarity index 97%
rename from AssetStudioCLI/Program.cs
rename to AssetStudio.CLI/Program.cs
index 4849a1f..58a4519 100644
--- a/AssetStudioCLI/Program.cs
+++ b/AssetStudio.CLI/Program.cs
@@ -3,11 +3,10 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
-using AssetStudio;
-using AssetStudioCLI.Properties;
-using static AssetStudioCLI.Studio;
+using AssetStudio.CLI.Properties;
+using static AssetStudio.CLI.Studio;
-namespace AssetStudioCLI
+namespace AssetStudio.CLI
{
public class Program
{
diff --git a/AssetStudioCLI/Resources/as.ico b/AssetStudio.CLI/Resources/as.ico
similarity index 100%
rename from AssetStudioCLI/Resources/as.ico
rename to AssetStudio.CLI/Resources/as.ico
diff --git a/AssetStudioCLI/Settings.cs b/AssetStudio.CLI/Settings.cs
similarity index 98%
rename from AssetStudioCLI/Settings.cs
rename to AssetStudio.CLI/Settings.cs
index a88ae16..dbf3682 100644
--- a/AssetStudioCLI/Settings.cs
+++ b/AssetStudio.CLI/Settings.cs
@@ -1,9 +1,8 @@
using System;
-using AssetStudio;
using System.ComponentModel;
using System.Configuration;
-namespace AssetStudioCLI.Properties {
+namespace AssetStudio.CLI.Properties {
public static class AppSettings
{
public static string Get(string key)
diff --git a/AssetStudioCLI/Studio.cs b/AssetStudio.CLI/Studio.cs
similarity index 99%
rename from AssetStudioCLI/Studio.cs
rename to AssetStudio.CLI/Studio.cs
index 241cc22..9600f43 100644
--- a/AssetStudioCLI/Studio.cs
+++ b/AssetStudio.CLI/Studio.cs
@@ -1,18 +1,15 @@
-using AssetStudio;
-using System;
+using System;
using System.IO;
using System.Linq;
-using System.Xml.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Collections.Generic;
using System.Text.RegularExpressions;
-using static AssetStudioCLI.Exporter;
-using Object = AssetStudio.Object;
+using static AssetStudio.CLI.Exporter;
using System.Globalization;
using System.Xml;
-namespace AssetStudioCLI
+namespace AssetStudio.CLI
{
[Flags]
public enum MapOpType
diff --git a/AssetStudioFBXNative/AssetStudioFBXNative.rc b/AssetStudio.FBXNative/AssetStudio.FBXNative.rc
similarity index 88%
rename from AssetStudioFBXNative/AssetStudioFBXNative.rc
rename to AssetStudio.FBXNative/AssetStudio.FBXNative.rc
index 4e5e5b3..2383806 100644
--- a/AssetStudioFBXNative/AssetStudioFBXNative.rc
+++ b/AssetStudio.FBXNative/AssetStudio.FBXNative.rc
@@ -67,12 +67,12 @@ BEGIN
BEGIN
BLOCK "000004b0"
BEGIN
- VALUE "FileDescription", "AssetStudioFBXNative"
+ VALUE "FileDescription", "AssetStudio.FBXNative"
VALUE "FileVersion", "1.0.0.1"
- VALUE "InternalName", "AssetStudioFBXNative.dll"
+ VALUE "InternalName", "AssetStudio.FBXNative.dll"
VALUE "LegalCopyright", "Copyright (C) Perfare 2018-2020; Copyright (C) hozuki 2020"
- VALUE "OriginalFilename", "AssetStudioFBXNative.dll"
- VALUE "ProductName", "AssetStudioFBXNative"
+ VALUE "OriginalFilename", "AssetStudio.FBXNative.dll"
+ VALUE "ProductName", "AssetStudio.FBXNative"
VALUE "ProductVersion", "1.0.0.1"
END
END
diff --git a/AssetStudioFBXNative/AssetStudioFBXNative.vcxproj b/AssetStudio.FBXNative/AssetStudio.FBXNative.vcxproj
similarity index 98%
rename from AssetStudioFBXNative/AssetStudioFBXNative.vcxproj
rename to AssetStudio.FBXNative/AssetStudio.FBXNative.vcxproj
index 0ffba44..ba027e4 100644
--- a/AssetStudioFBXNative/AssetStudioFBXNative.vcxproj
+++ b/AssetStudio.FBXNative/AssetStudio.FBXNative.vcxproj
@@ -24,6 +24,7 @@
{11ea25a3-ed68-40ee-a9d0-7fde3b583027}
AssetStudioFBXNative
10.0
+ AssetStudio.FBXNative
@@ -191,7 +192,7 @@
-
+
diff --git a/AssetStudioFBXNative/AssetStudioFBXNative.vcxproj.filters b/AssetStudio.FBXNative/AssetStudio.FBXNative.vcxproj.filters
similarity index 97%
rename from AssetStudioFBXNative/AssetStudioFBXNative.vcxproj.filters
rename to AssetStudio.FBXNative/AssetStudio.FBXNative.vcxproj.filters
index 5c05942..76aac36 100644
--- a/AssetStudioFBXNative/AssetStudioFBXNative.vcxproj.filters
+++ b/AssetStudio.FBXNative/AssetStudio.FBXNative.vcxproj.filters
@@ -67,7 +67,7 @@
-
+
资源文件
diff --git a/AssetStudioFBXNative/api.cpp b/AssetStudio.FBXNative/api.cpp
similarity index 100%
rename from AssetStudioFBXNative/api.cpp
rename to AssetStudio.FBXNative/api.cpp
diff --git a/AssetStudioFBXNative/api.h b/AssetStudio.FBXNative/api.h
similarity index 100%
rename from AssetStudioFBXNative/api.h
rename to AssetStudio.FBXNative/api.h
diff --git a/AssetStudioFBXNative/asfbx_anim_context.cpp b/AssetStudio.FBXNative/asfbx_anim_context.cpp
similarity index 100%
rename from AssetStudioFBXNative/asfbx_anim_context.cpp
rename to AssetStudio.FBXNative/asfbx_anim_context.cpp
diff --git a/AssetStudioFBXNative/asfbx_anim_context.h b/AssetStudio.FBXNative/asfbx_anim_context.h
similarity index 100%
rename from AssetStudioFBXNative/asfbx_anim_context.h
rename to AssetStudio.FBXNative/asfbx_anim_context.h
diff --git a/AssetStudioFBXNative/asfbx_context.cpp b/AssetStudio.FBXNative/asfbx_context.cpp
similarity index 100%
rename from AssetStudioFBXNative/asfbx_context.cpp
rename to AssetStudio.FBXNative/asfbx_context.cpp
diff --git a/AssetStudioFBXNative/asfbx_context.h b/AssetStudio.FBXNative/asfbx_context.h
similarity index 100%
rename from AssetStudioFBXNative/asfbx_context.h
rename to AssetStudio.FBXNative/asfbx_context.h
diff --git a/AssetStudioFBXNative/asfbx_morph_context.cpp b/AssetStudio.FBXNative/asfbx_morph_context.cpp
similarity index 100%
rename from AssetStudioFBXNative/asfbx_morph_context.cpp
rename to AssetStudio.FBXNative/asfbx_morph_context.cpp
diff --git a/AssetStudioFBXNative/asfbx_morph_context.h b/AssetStudio.FBXNative/asfbx_morph_context.h
similarity index 100%
rename from AssetStudioFBXNative/asfbx_morph_context.h
rename to AssetStudio.FBXNative/asfbx_morph_context.h
diff --git a/AssetStudioFBXNative/asfbx_skin_context.cpp b/AssetStudio.FBXNative/asfbx_skin_context.cpp
similarity index 100%
rename from AssetStudioFBXNative/asfbx_skin_context.cpp
rename to AssetStudio.FBXNative/asfbx_skin_context.cpp
diff --git a/AssetStudioFBXNative/asfbx_skin_context.h b/AssetStudio.FBXNative/asfbx_skin_context.h
similarity index 100%
rename from AssetStudioFBXNative/asfbx_skin_context.h
rename to AssetStudio.FBXNative/asfbx_skin_context.h
diff --git a/AssetStudioFBXNative/bool32_t.h b/AssetStudio.FBXNative/bool32_t.h
similarity index 100%
rename from AssetStudioFBXNative/bool32_t.h
rename to AssetStudio.FBXNative/bool32_t.h
diff --git a/AssetStudioFBXNative/cpp.hint b/AssetStudio.FBXNative/cpp.hint
similarity index 100%
rename from AssetStudioFBXNative/cpp.hint
rename to AssetStudio.FBXNative/cpp.hint
diff --git a/AssetStudioFBXNative/dllexport.h b/AssetStudio.FBXNative/dllexport.h
similarity index 100%
rename from AssetStudioFBXNative/dllexport.h
rename to AssetStudio.FBXNative/dllexport.h
diff --git a/AssetStudioFBXNative/resource.h b/AssetStudio.FBXNative/resource.h
similarity index 91%
rename from AssetStudioFBXNative/resource.h
rename to AssetStudio.FBXNative/resource.h
index 5d76072..3b3188d 100644
--- a/AssetStudioFBXNative/resource.h
+++ b/AssetStudio.FBXNative/resource.h
@@ -1,6 +1,6 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
-// Used by AssetStudioFBXNative.rc
+// Used by AssetStudio.FBXNative.rc
// �¶������һ��Ĭ��ֵ
//
diff --git a/AssetStudioFBXNative/utils.cpp b/AssetStudio.FBXNative/utils.cpp
similarity index 100%
rename from AssetStudioFBXNative/utils.cpp
rename to AssetStudio.FBXNative/utils.cpp
diff --git a/AssetStudioFBXNative/utils.h b/AssetStudio.FBXNative/utils.h
similarity index 100%
rename from AssetStudioFBXNative/utils.h
rename to AssetStudio.FBXNative/utils.h
diff --git a/AssetStudioFBXWrapper/AssetStudioFBXWrapper.csproj b/AssetStudio.FBXWrapper/AssetStudio.FBXWrapper.csproj
similarity index 100%
rename from AssetStudioFBXWrapper/AssetStudioFBXWrapper.csproj
rename to AssetStudio.FBXWrapper/AssetStudio.FBXWrapper.csproj
diff --git a/AssetStudioFBXWrapper/Fbx.PInvoke.cs b/AssetStudio.FBXWrapper/Fbx.PInvoke.cs
similarity index 100%
rename from AssetStudioFBXWrapper/Fbx.PInvoke.cs
rename to AssetStudio.FBXWrapper/Fbx.PInvoke.cs
diff --git a/AssetStudioFBXWrapper/Fbx.cs b/AssetStudio.FBXWrapper/Fbx.cs
similarity index 100%
rename from AssetStudioFBXWrapper/Fbx.cs
rename to AssetStudio.FBXWrapper/Fbx.cs
diff --git a/AssetStudioFBXWrapper/FbxDll.cs b/AssetStudio.FBXWrapper/FbxDll.cs
similarity index 100%
rename from AssetStudioFBXWrapper/FbxDll.cs
rename to AssetStudio.FBXWrapper/FbxDll.cs
diff --git a/AssetStudioFBXWrapper/FbxExporter.cs b/AssetStudio.FBXWrapper/FbxExporter.cs
similarity index 100%
rename from AssetStudioFBXWrapper/FbxExporter.cs
rename to AssetStudio.FBXWrapper/FbxExporter.cs
diff --git a/AssetStudioFBXWrapper/FbxExporterContext.PInvoke.cs b/AssetStudio.FBXWrapper/FbxExporterContext.PInvoke.cs
similarity index 100%
rename from AssetStudioFBXWrapper/FbxExporterContext.PInvoke.cs
rename to AssetStudio.FBXWrapper/FbxExporterContext.PInvoke.cs
diff --git a/AssetStudioFBXWrapper/FbxExporterContext.cs b/AssetStudio.FBXWrapper/FbxExporterContext.cs
similarity index 100%
rename from AssetStudioFBXWrapper/FbxExporterContext.cs
rename to AssetStudio.FBXWrapper/FbxExporterContext.cs
diff --git a/AssetStudioGUI/App.config b/AssetStudio.GUI/App.config
similarity index 93%
rename from AssetStudioGUI/App.config
rename to AssetStudio.GUI/App.config
index c3e24f8..c9dad67 100644
--- a/AssetStudioGUI/App.config
+++ b/AssetStudio.GUI/App.config
@@ -2,11 +2,11 @@
-
+
-
+
False
@@ -124,6 +124,6 @@
False
-
+
\ No newline at end of file
diff --git a/AssetStudioGUI/AssetBrowser.Designer.cs b/AssetStudio.GUI/AssetBrowser.Designer.cs
similarity index 99%
rename from AssetStudioGUI/AssetBrowser.Designer.cs
rename to AssetStudio.GUI/AssetBrowser.Designer.cs
index 124417c..6407ab3 100644
--- a/AssetStudioGUI/AssetBrowser.Designer.cs
+++ b/AssetStudio.GUI/AssetBrowser.Designer.cs
@@ -1,6 +1,6 @@
using System.Windows.Forms;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
partial class AssetBrowser
{
diff --git a/AssetStudioGUI/AssetBrowser.cs b/AssetStudio.GUI/AssetBrowser.cs
similarity index 96%
rename from AssetStudioGUI/AssetBrowser.cs
rename to AssetStudio.GUI/AssetBrowser.cs
index 1f603f0..5dfdd54 100644
--- a/AssetStudioGUI/AssetBrowser.cs
+++ b/AssetStudio.GUI/AssetBrowser.cs
@@ -7,12 +7,12 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using AssetStudio;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
partial class AssetBrowser : Form
{
- private readonly AssetStudioGUIForm _parent;
- public AssetBrowser(AssetStudioGUIForm form)
+ private readonly MainForm _parent;
+ public AssetBrowser(MainForm form)
{
InitializeComponent();
_parent = form;
diff --git a/AssetStudioGUI/AssetBrowser.resx b/AssetStudio.GUI/AssetBrowser.resx
similarity index 100%
rename from AssetStudioGUI/AssetBrowser.resx
rename to AssetStudio.GUI/AssetBrowser.resx
diff --git a/AssetStudioGUI/AssetStudioGUI.csproj b/AssetStudio.GUI/AssetStudio.GUI.csproj
similarity index 79%
rename from AssetStudioGUI/AssetStudioGUI.csproj
rename to AssetStudio.GUI/AssetStudio.GUI.csproj
index 932d1d5..b9cd7f3 100644
--- a/AssetStudioGUI/AssetStudioGUI.csproj
+++ b/AssetStudio.GUI/AssetStudio.GUI.csproj
@@ -13,7 +13,7 @@
-
+
@@ -35,13 +35,13 @@
-
+
PreserveNewest
- x86\AssetStudioFBXNative.dll
+ x86\AssetStudio.FBXNative.dll
-
+
PreserveNewest
- x64\AssetStudioFBXNative.dll
+ x64\AssetStudio.FBXNative.dll
@@ -105,12 +105,12 @@
-
-
+
+
-
-
+
+
\ No newline at end of file
diff --git a/AssetStudioGUI/Components/AssetItem.cs b/AssetStudio.GUI/Components/AssetItem.cs
similarity index 95%
rename from AssetStudioGUI/Components/AssetItem.cs
rename to AssetStudio.GUI/Components/AssetItem.cs
index af483ad..222f805 100644
--- a/AssetStudioGUI/Components/AssetItem.cs
+++ b/AssetStudio.GUI/Components/AssetItem.cs
@@ -1,7 +1,6 @@
using System.Windows.Forms;
-using AssetStudio;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
public class AssetItem : ListViewItem
{
diff --git a/AssetStudioGUI/Components/GOHierarchy.cs b/AssetStudio.GUI/Components/GOHierarchy.cs
similarity index 92%
rename from AssetStudioGUI/Components/GOHierarchy.cs
rename to AssetStudio.GUI/Components/GOHierarchy.cs
index cc734d3..afb199f 100644
--- a/AssetStudioGUI/Components/GOHierarchy.cs
+++ b/AssetStudio.GUI/Components/GOHierarchy.cs
@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Windows.Forms;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
internal class GOHierarchy : TreeView
{
diff --git a/AssetStudioGUI/Components/GameObjectTreeNode.cs b/AssetStudio.GUI/Components/GameObjectTreeNode.cs
similarity index 86%
rename from AssetStudioGUI/Components/GameObjectTreeNode.cs
rename to AssetStudio.GUI/Components/GameObjectTreeNode.cs
index 56ef04c..99c71e6 100644
--- a/AssetStudioGUI/Components/GameObjectTreeNode.cs
+++ b/AssetStudio.GUI/Components/GameObjectTreeNode.cs
@@ -1,7 +1,6 @@
using System.Windows.Forms;
-using AssetStudio;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
public class GameObjectTreeNode : TreeNode
{
diff --git a/AssetStudioGUI/Components/OpenFolderDialog.cs b/AssetStudio.GUI/Components/OpenFolderDialog.cs
similarity index 99%
rename from AssetStudioGUI/Components/OpenFolderDialog.cs
rename to AssetStudio.GUI/Components/OpenFolderDialog.cs
index 7612a6e..8eb2442 100644
--- a/AssetStudioGUI/Components/OpenFolderDialog.cs
+++ b/AssetStudio.GUI/Components/OpenFolderDialog.cs
@@ -3,7 +3,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Forms;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
internal class OpenFolderDialog
{
diff --git a/AssetStudioGUI/Components/TypeTreeItem.cs b/AssetStudio.GUI/Components/TypeTreeItem.cs
similarity index 94%
rename from AssetStudioGUI/Components/TypeTreeItem.cs
rename to AssetStudio.GUI/Components/TypeTreeItem.cs
index e0789ff..e51e73d 100644
--- a/AssetStudioGUI/Components/TypeTreeItem.cs
+++ b/AssetStudio.GUI/Components/TypeTreeItem.cs
@@ -1,9 +1,8 @@
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
-using AssetStudio;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
internal class TypeTreeItem : ListViewItem
{
diff --git a/AssetStudioGUI/DirectBitmap.cs b/AssetStudio.GUI/DirectBitmap.cs
similarity index 97%
rename from AssetStudioGUI/DirectBitmap.cs
rename to AssetStudio.GUI/DirectBitmap.cs
index 101d955..cdad26f 100644
--- a/AssetStudioGUI/DirectBitmap.cs
+++ b/AssetStudio.GUI/DirectBitmap.cs
@@ -3,7 +3,7 @@ using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
public sealed class DirectBitmap : IDisposable
{
diff --git a/AssetStudioGUI/ExportOptions.Designer.cs b/AssetStudio.GUI/ExportOptions.Designer.cs
similarity index 99%
rename from AssetStudioGUI/ExportOptions.Designer.cs
rename to AssetStudio.GUI/ExportOptions.Designer.cs
index 368cd97..2023f68 100644
--- a/AssetStudioGUI/ExportOptions.Designer.cs
+++ b/AssetStudio.GUI/ExportOptions.Designer.cs
@@ -1,7 +1,7 @@
using System;
using System.Linq;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
partial class ExportOptions
{
diff --git a/AssetStudioGUI/ExportOptions.cs b/AssetStudio.GUI/ExportOptions.cs
similarity index 99%
rename from AssetStudioGUI/ExportOptions.cs
rename to AssetStudio.GUI/ExportOptions.cs
index a23c5d5..1a25ce7 100644
--- a/AssetStudioGUI/ExportOptions.cs
+++ b/AssetStudio.GUI/ExportOptions.cs
@@ -5,7 +5,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
public partial class ExportOptions : Form
{
diff --git a/AssetStudioGUI/ExportOptions.resx b/AssetStudio.GUI/ExportOptions.resx
similarity index 100%
rename from AssetStudioGUI/ExportOptions.resx
rename to AssetStudio.GUI/ExportOptions.resx
diff --git a/AssetStudioGUI/Exporter.cs b/AssetStudio.GUI/Exporter.cs
similarity index 99%
rename from AssetStudioGUI/Exporter.cs
rename to AssetStudio.GUI/Exporter.cs
index 6aa9095..927cd42 100644
--- a/AssetStudioGUI/Exporter.cs
+++ b/AssetStudio.GUI/Exporter.cs
@@ -1,12 +1,11 @@
-using AssetStudio;
-using Newtonsoft.Json;
+using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
internal static class Exporter
{
diff --git a/AssetStudioGUI/GUILogger.cs b/AssetStudio.GUI/GUILogger.cs
similarity index 92%
rename from AssetStudioGUI/GUILogger.cs
rename to AssetStudio.GUI/GUILogger.cs
index a6502ae..2b0092a 100644
--- a/AssetStudioGUI/GUILogger.cs
+++ b/AssetStudio.GUI/GUILogger.cs
@@ -1,8 +1,7 @@
-using AssetStudio;
-using System;
+using System;
using System.Windows.Forms;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
class GUILogger : ILogger
{
diff --git a/AssetStudioGUI/Libraries/OpenTK.WinForms.dll b/AssetStudio.GUI/Libraries/OpenTK.WinForms.dll
similarity index 100%
rename from AssetStudioGUI/Libraries/OpenTK.WinForms.dll
rename to AssetStudio.GUI/Libraries/OpenTK.WinForms.dll
diff --git a/AssetStudioGUI/Libraries/x64/AssetStudioFBXNative.dll b/AssetStudio.GUI/Libraries/x64/AssetStudio.FBXNative.dll
similarity index 66%
rename from AssetStudioGUI/Libraries/x64/AssetStudioFBXNative.dll
rename to AssetStudio.GUI/Libraries/x64/AssetStudio.FBXNative.dll
index 397e7db..844aff6 100644
Binary files a/AssetStudioGUI/Libraries/x64/AssetStudioFBXNative.dll and b/AssetStudio.GUI/Libraries/x64/AssetStudio.FBXNative.dll differ
diff --git a/AssetStudioGUI/Libraries/x64/acl.dll b/AssetStudio.GUI/Libraries/x64/acl.dll
similarity index 100%
rename from AssetStudioGUI/Libraries/x64/acl.dll
rename to AssetStudio.GUI/Libraries/x64/acl.dll
diff --git a/AssetStudioGUI/Libraries/x64/acldb.dll b/AssetStudio.GUI/Libraries/x64/acldb.dll
similarity index 100%
rename from AssetStudioGUI/Libraries/x64/acldb.dll
rename to AssetStudio.GUI/Libraries/x64/acldb.dll
diff --git a/AssetStudioGUI/Libraries/x64/fmod.dll b/AssetStudio.GUI/Libraries/x64/fmod.dll
similarity index 100%
rename from AssetStudioGUI/Libraries/x64/fmod.dll
rename to AssetStudio.GUI/Libraries/x64/fmod.dll
diff --git a/AssetStudioGUI/Libraries/x64/sracl.dll b/AssetStudio.GUI/Libraries/x64/sracl.dll
similarity index 100%
rename from AssetStudioGUI/Libraries/x64/sracl.dll
rename to AssetStudio.GUI/Libraries/x64/sracl.dll
diff --git a/AssetStudioGUI/Libraries/x86/AssetStudioFBXNative.dll b/AssetStudio.GUI/Libraries/x86/AssetStudio.FBXNative.dll
similarity index 69%
rename from AssetStudioGUI/Libraries/x86/AssetStudioFBXNative.dll
rename to AssetStudio.GUI/Libraries/x86/AssetStudio.FBXNative.dll
index 52ee28b..a66df5c 100644
Binary files a/AssetStudioGUI/Libraries/x86/AssetStudioFBXNative.dll and b/AssetStudio.GUI/Libraries/x86/AssetStudio.FBXNative.dll differ
diff --git a/AssetStudioGUI/Libraries/x86/acl.dll b/AssetStudio.GUI/Libraries/x86/acl.dll
similarity index 100%
rename from AssetStudioGUI/Libraries/x86/acl.dll
rename to AssetStudio.GUI/Libraries/x86/acl.dll
diff --git a/AssetStudioGUI/Libraries/x86/acldb.dll b/AssetStudio.GUI/Libraries/x86/acldb.dll
similarity index 100%
rename from AssetStudioGUI/Libraries/x86/acldb.dll
rename to AssetStudio.GUI/Libraries/x86/acldb.dll
diff --git a/AssetStudioGUI/Libraries/x86/fmod.dll b/AssetStudio.GUI/Libraries/x86/fmod.dll
similarity index 100%
rename from AssetStudioGUI/Libraries/x86/fmod.dll
rename to AssetStudio.GUI/Libraries/x86/fmod.dll
diff --git a/AssetStudioGUI/Libraries/x86/sracl.dll b/AssetStudio.GUI/Libraries/x86/sracl.dll
similarity index 100%
rename from AssetStudioGUI/Libraries/x86/sracl.dll
rename to AssetStudio.GUI/Libraries/x86/sracl.dll
diff --git a/AssetStudioGUI/AssetStudioGUIForm.Designer.cs b/AssetStudio.GUI/MainForm.Designer.cs
similarity index 99%
rename from AssetStudioGUI/AssetStudioGUIForm.Designer.cs
rename to AssetStudio.GUI/MainForm.Designer.cs
index 15a82f8..0204467 100644
--- a/AssetStudioGUI/AssetStudioGUIForm.Designer.cs
+++ b/AssetStudio.GUI/MainForm.Designer.cs
@@ -1,8 +1,8 @@
using System;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
- partial class AssetStudioGUIForm
+ partial class MainForm
{
///
/// Required designer variable.
@@ -31,7 +31,7 @@ namespace AssetStudioGUI
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AssetStudioGUIForm));
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
menuStrip1 = new System.Windows.Forms.MenuStrip();
fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
loadFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -96,6 +96,7 @@ namespace AssetStudioGUI
toolStripMenuItem11 = new System.Windows.Forms.ToolStripMenuItem();
toolStripMenuItem12 = new System.Windows.Forms.ToolStripMenuItem();
toolStripMenuItem13 = new System.Windows.Forms.ToolStripMenuItem();
+ sceneHierarchy = new System.Windows.Forms.ToolStripMenuItem();
filterTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
allToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
debugMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -171,7 +172,6 @@ namespace AssetStudioGUI
exportAnimatorwithselectedAnimationClipMenuItem = new System.Windows.Forms.ToolStripMenuItem();
goToSceneHierarchyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
showOriginalFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- sceneHierarchy = new System.Windows.Forms.ToolStripMenuItem();
menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
splitContainer1.Panel1.SuspendLayout();
@@ -587,21 +587,21 @@ namespace AssetStudioGUI
// toolStripMenuItem17
//
toolStripMenuItem17.Name = "toolStripMenuItem17";
- toolStripMenuItem17.Size = new System.Drawing.Size(180, 22);
+ toolStripMenuItem17.Size = new System.Drawing.Size(152, 22);
toolStripMenuItem17.Text = "All assets";
toolStripMenuItem17.Click += toolStripMenuItem17_Click;
//
// toolStripMenuItem24
//
toolStripMenuItem24.Name = "toolStripMenuItem24";
- toolStripMenuItem24.Size = new System.Drawing.Size(180, 22);
+ toolStripMenuItem24.Size = new System.Drawing.Size(152, 22);
toolStripMenuItem24.Text = "Selected assets";
toolStripMenuItem24.Click += toolStripMenuItem24_Click;
//
// toolStripMenuItem25
//
toolStripMenuItem25.Name = "toolStripMenuItem25";
- toolStripMenuItem25.Size = new System.Drawing.Size(180, 22);
+ toolStripMenuItem25.Size = new System.Drawing.Size(152, 22);
toolStripMenuItem25.Text = "Filtered assets";
toolStripMenuItem25.Click += toolStripMenuItem25_Click;
//
@@ -620,24 +620,31 @@ namespace AssetStudioGUI
// toolStripMenuItem11
//
toolStripMenuItem11.Name = "toolStripMenuItem11";
- toolStripMenuItem11.Size = new System.Drawing.Size(180, 22);
+ toolStripMenuItem11.Size = new System.Drawing.Size(152, 22);
toolStripMenuItem11.Text = "All assets";
toolStripMenuItem11.Click += toolStripMenuItem11_Click;
//
// toolStripMenuItem12
//
toolStripMenuItem12.Name = "toolStripMenuItem12";
- toolStripMenuItem12.Size = new System.Drawing.Size(180, 22);
+ toolStripMenuItem12.Size = new System.Drawing.Size(152, 22);
toolStripMenuItem12.Text = "Selected assets";
toolStripMenuItem12.Click += toolStripMenuItem12_Click;
//
// toolStripMenuItem13
//
toolStripMenuItem13.Name = "toolStripMenuItem13";
- toolStripMenuItem13.Size = new System.Drawing.Size(180, 22);
+ toolStripMenuItem13.Size = new System.Drawing.Size(152, 22);
toolStripMenuItem13.Text = "Filtered assets";
toolStripMenuItem13.Click += toolStripMenuItem13_Click;
//
+ // sceneHierarchy
+ //
+ sceneHierarchy.Name = "sceneHierarchy";
+ sceneHierarchy.Size = new System.Drawing.Size(266, 22);
+ sceneHierarchy.Text = "Scene hierarchy";
+ sceneHierarchy.Click += sceneHierarchy_Click;
+ //
// filterTypeToolStripMenuItem
//
filterTypeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { allToolStripMenuItem });
@@ -703,7 +710,7 @@ namespace AssetStudioGUI
enableFileLogging.CheckState = System.Windows.Forms.CheckState.Checked;
enableFileLogging.Name = "enableFileLogging";
enableFileLogging.Size = new System.Drawing.Size(191, 22);
- enableFileLogging.Text = "Enable File Logging";
+ enableFileLogging.Text = "Enable file logging";
enableFileLogging.CheckedChanged += enableFileLogging_CheckedChanged;
//
// enableVerbose
@@ -1337,22 +1344,7 @@ namespace AssetStudioGUI
showOriginalFileToolStripMenuItem.Visible = false;
showOriginalFileToolStripMenuItem.Click += showOriginalFileToolStripMenuItem_Click;
//
- // sceneHierarchy
- //
- sceneHierarchy.Name = "sceneHierarchy";
- sceneHierarchy.Size = new System.Drawing.Size(266, 22);
- sceneHierarchy.Text = "Scene hierarchy";
- sceneHierarchy.Click += sceneHierarchy_Click;
- //
- // enableFileLogging
- //
- this.enableFileLogging.CheckOnClick = true;
- this.enableFileLogging.Name = "enableFileLogging";
- this.enableFileLogging.Size = new System.Drawing.Size(191, 22);
- this.enableFileLogging.Text = "Enable file logging";
- this.enableFileLogging.CheckedChanged += new System.EventHandler(this.enableFileLogging_CheckedChanged);
- //
- // AssetStudioGUIForm
+ // MainForm
//
AllowDrop = true;
ClientSize = new System.Drawing.Size(1264, 681);
@@ -1362,11 +1354,11 @@ namespace AssetStudioGUI
KeyPreview = true;
MainMenuStrip = menuStrip1;
MinimumSize = new System.Drawing.Size(620, 372);
- Name = "AssetStudioGUIForm";
+ Name = "MainForm";
StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- Text = "AssetStudioGUI";
- DragDrop += AssetStudioGUIForm_DragDrop;
- DragEnter += AssetStudioGUIForm_DragEnter;
+ Text = "AssetStudio.GUI";
+ DragDrop += MainForm_DragDrop;
+ DragEnter += MainForm_DragEnter;
KeyDown += AssetStudioForm_KeyDown;
menuStrip1.ResumeLayout(false);
menuStrip1.PerformLayout();
diff --git a/AssetStudioGUI/AssetStudioGUIForm.cs b/AssetStudio.GUI/MainForm.cs
similarity index 97%
rename from AssetStudioGUI/AssetStudioGUIForm.cs
rename to AssetStudio.GUI/MainForm.cs
index c4cb9de..b1fb066 100644
--- a/AssetStudioGUI/AssetStudioGUIForm.cs
+++ b/AssetStudio.GUI/MainForm.cs
@@ -1,4 +1,4 @@
-using AssetStudio;
+
using Newtonsoft.Json;
using OpenTK.Graphics.OpenGL;
using System;
@@ -15,19 +15,15 @@ using System.Threading;
using System.Threading.Tasks;
using System.Timers;
using System.Windows.Forms;
-using static AssetStudioGUI.Studio;
-using Font = AssetStudio.Font;
-using Vector3 = OpenTK.Mathematics.Vector3;
-using Vector4 = OpenTK.Mathematics.Vector4;
-using Matrix4 = OpenTK.Mathematics.Matrix4;
+using static AssetStudio.GUI.Studio;
using OpenTK.Graphics;
using OpenTK.Mathematics;
using Newtonsoft.Json.Converters;
using System.Text.RegularExpressions;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
- partial class AssetStudioGUIForm : Form
+ partial class MainForm : Form
{
private AssetItem lastSelectedItem;
private AssetBrowser assetBrowser;
@@ -59,10 +55,10 @@ namespace AssetStudioGUI
private int uniformViewMatrix;
private int uniformProjMatrix;
private int vao;
- private Vector3[] vertexData;
- private Vector3[] normalData;
- private Vector3[] normal2Data;
- private Vector4[] colorData;
+ private OpenTK.Mathematics.Vector3[] vertexData;
+ private OpenTK.Mathematics.Vector3[] normalData;
+ private OpenTK.Mathematics.Vector3[] normal2Data;
+ private OpenTK.Mathematics.Vector4[] colorData;
private Matrix4 modelMatrixData;
private Matrix4 viewMatrixData;
private Matrix4 projMatrixData;
@@ -85,7 +81,7 @@ namespace AssetStudioGUI
private GUILogger logger;
- public AssetStudioGUIForm()
+ public MainForm()
{
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
InitializeComponent();
@@ -171,7 +167,7 @@ namespace AssetStudioGUI
}
}
}
- private void AssetStudioGUIForm_DragEnter(object sender, DragEventArgs e)
+ private void MainForm_DragEnter(object sender, DragEventArgs e)
{
if (e.Data.GetDataPresent(DataFormats.FileDrop))
{
@@ -179,7 +175,7 @@ namespace AssetStudioGUI
}
}
- private async void AssetStudioGUIForm_DragDrop(object sender, DragEventArgs e)
+ private async void MainForm_DragDrop(object sender, DragEventArgs e)
{
var paths = (string[])e.Data.GetData(DataFormats.FileDrop);
if (paths.Length > 0)
@@ -1145,7 +1141,7 @@ namespace AssetStudioGUI
{
count = 4;
}
- vertexData = new Vector3[m_Mesh.m_VertexCount];
+ vertexData = new OpenTK.Mathematics.Vector3[m_Mesh.m_VertexCount];
// Calculate Bounding
float[] min = new float[3];
float[] max = new float[3];
@@ -1161,14 +1157,15 @@ namespace AssetStudioGUI
min[i] = Math.Min(min[i], m_Mesh.m_Vertices[v * count + i]);
max[i] = Math.Max(max[i], m_Mesh.m_Vertices[v * count + i]);
}
- vertexData[v] = new Vector3(
+ vertexData[v] = new OpenTK.Mathematics.Vector3(
m_Mesh.m_Vertices[v * count],
m_Mesh.m_Vertices[v * count + 1],
m_Mesh.m_Vertices[v * count + 2]);
}
// Calculate modelMatrix
- Vector3 dist = Vector3.One, offset = Vector3.Zero;
+ var dist = OpenTK.Mathematics.Vector3.One;
+ var offset = OpenTK.Mathematics.Vector3.Zero;
for (int i = 0; i < 3; i++)
{
dist[i] = max[i] - min[i];
@@ -1193,10 +1190,10 @@ namespace AssetStudioGUI
count = 3;
else if (m_Mesh.m_Normals.Length == m_Mesh.m_VertexCount * 4)
count = 4;
- normalData = new Vector3[m_Mesh.m_VertexCount];
+ normalData = new OpenTK.Mathematics.Vector3[m_Mesh.m_VertexCount];
for (int n = 0; n < m_Mesh.m_VertexCount; n++)
{
- normalData[n] = new Vector3(
+ normalData[n] = new OpenTK.Mathematics.Vector3(
m_Mesh.m_Normals[n * count],
m_Mesh.m_Normals[n * count + 1],
m_Mesh.m_Normals[n * count + 2]);
@@ -1205,18 +1202,18 @@ namespace AssetStudioGUI
else
normalData = null;
// calculate normal by ourself
- normal2Data = new Vector3[m_Mesh.m_VertexCount];
+ normal2Data = new OpenTK.Mathematics.Vector3[m_Mesh.m_VertexCount];
int[] normalCalculatedCount = new int[m_Mesh.m_VertexCount];
for (int i = 0; i < m_Mesh.m_VertexCount; i++)
{
- normal2Data[i] = Vector3.Zero;
+ normal2Data[i] = OpenTK.Mathematics.Vector3.Zero;
normalCalculatedCount[i] = 0;
}
for (int i = 0; i < m_Mesh.m_Indices.Count; i = i + 3)
{
- Vector3 dir1 = vertexData[indiceData[i + 1]] - vertexData[indiceData[i]];
- Vector3 dir2 = vertexData[indiceData[i + 2]] - vertexData[indiceData[i]];
- Vector3 normal = Vector3.Cross(dir1, dir2);
+ var dir1 = vertexData[indiceData[i + 1]] - vertexData[indiceData[i]];
+ var dir2 = vertexData[indiceData[i + 2]] - vertexData[indiceData[i]];
+ var normal = OpenTK.Mathematics.Vector3.Cross(dir1, dir2);
normal.Normalize();
for (int j = 0; j < 3; j++)
{
@@ -1227,7 +1224,7 @@ namespace AssetStudioGUI
for (int i = 0; i < m_Mesh.m_VertexCount; i++)
{
if (normalCalculatedCount[i] == 0)
- normal2Data[i] = new Vector3(0, 1, 0);
+ normal2Data[i] = new OpenTK.Mathematics.Vector3(0, 1, 0);
else
normal2Data[i] /= normalCalculatedCount[i];
}
@@ -1235,10 +1232,10 @@ namespace AssetStudioGUI
#region Colors
if (m_Mesh.m_Colors != null && m_Mesh.m_Colors.Length == m_Mesh.m_VertexCount * 3)
{
- colorData = new Vector4[m_Mesh.m_VertexCount];
+ colorData = new OpenTK.Mathematics.Vector4[m_Mesh.m_VertexCount];
for (int c = 0; c < m_Mesh.m_VertexCount; c++)
{
- colorData[c] = new Vector4(
+ colorData[c] = new OpenTK.Mathematics.Vector4(
m_Mesh.m_Colors[c * 3],
m_Mesh.m_Colors[c * 3 + 1],
m_Mesh.m_Colors[c * 3 + 2],
@@ -1247,10 +1244,10 @@ namespace AssetStudioGUI
}
else if (m_Mesh.m_Colors != null && m_Mesh.m_Colors.Length == m_Mesh.m_VertexCount * 4)
{
- colorData = new Vector4[m_Mesh.m_VertexCount];
+ colorData = new OpenTK.Mathematics.Vector4[m_Mesh.m_VertexCount];
for (int c = 0; c < m_Mesh.m_VertexCount; c++)
{
- colorData[c] = new Vector4(
+ colorData[c] = new OpenTK.Mathematics.Vector4(
m_Mesh.m_Colors[c * 4],
m_Mesh.m_Colors[c * 4 + 1],
m_Mesh.m_Colors[c * 4 + 2],
@@ -1259,10 +1256,10 @@ namespace AssetStudioGUI
}
else
{
- colorData = new Vector4[m_Mesh.m_VertexCount];
+ colorData = new OpenTK.Mathematics.Vector4[m_Mesh.m_VertexCount];
for (int c = 0; c < m_Mesh.m_VertexCount; c++)
{
- colorData[c] = new Vector4(0.5f, 0.5f, 0.5f, 1.0f);
+ colorData[c] = new OpenTK.Mathematics.Vector4(0.5f, 0.5f, 0.5f, 1.0f);
}
}
#endregion
@@ -1303,14 +1300,14 @@ namespace AssetStudioGUI
{
viewMatrixData = Matrix4.CreateRotationY(-(float)Math.PI / 4) * Matrix4.CreateRotationX(-(float)Math.PI / 6);
#region Vertices
- vertexData = model.MeshList.SelectMany(x => x.VertexList).Select(x => new Vector3(x.Vertex.X, x.Vertex.Y, x.Vertex.Z)).ToArray();
+ vertexData = model.MeshList.SelectMany(x => x.VertexList).Select(x => new OpenTK.Mathematics.Vector3(x.Vertex.X, x.Vertex.Y, x.Vertex.Z)).ToArray();
// Calculate Bounding
- Vector3 min = vertexData.Aggregate(Vector3.ComponentMin);
- Vector3 max = vertexData.Aggregate(Vector3.ComponentMax);
+ var min = vertexData.Aggregate(OpenTK.Mathematics.Vector3.ComponentMin);
+ var max = vertexData.Aggregate(OpenTK.Mathematics.Vector3.ComponentMax);
// Calculate modelMatrix
- Vector3 dist = max - min;
- Vector3 offset = (max - min) / 2;
+ var dist = max - min;
+ var offset = (max - min) / 2;
float d = Math.Max(1e-5f, dist.Length);
modelMatrixData = Matrix4.CreateTranslation(-offset) * Matrix4.CreateScale(2f / d);
#endregion
@@ -1334,17 +1331,17 @@ namespace AssetStudioGUI
indiceData = indices.ToArray();
#endregion
#region Normals
- normalData = model.MeshList.SelectMany(x => x.VertexList).Select(x => new Vector3(x.Normal.X, x.Normal.Y, x.Normal.Z)).ToArray();
+ normalData = model.MeshList.SelectMany(x => x.VertexList).Select(x => new OpenTK.Mathematics.Vector3(x.Normal.X, x.Normal.Y, x.Normal.Z)).ToArray();
// calculate normal by ourself
- normal2Data = new Vector3[vertexData.Length];
+ normal2Data = new OpenTK.Mathematics.Vector3[vertexData.Length];
int[] normalCalculatedCount = new int[vertexData.Length];
- Array.Fill(normal2Data, Vector3.Zero);
+ Array.Fill(normal2Data, OpenTK.Mathematics.Vector3.Zero);
Array.Fill(normalCalculatedCount, 0);
for (int j = 0; j < indiceData.Length; j += 3)
{
- Vector3 dir1 = vertexData[indiceData[j + 1]] - vertexData[indiceData[j]];
- Vector3 dir2 = vertexData[indiceData[j + 2]] - vertexData[indiceData[j]];
- Vector3 normal = Vector3.Cross(dir1, dir2);
+ var dir1 = vertexData[indiceData[j + 1]] - vertexData[indiceData[j]];
+ var dir2 = vertexData[indiceData[j + 2]] - vertexData[indiceData[j]];
+ var normal = OpenTK.Mathematics.Vector3.Cross(dir1, dir2);
normal.Normalize();
for (int k = 0; k < 3; k++)
{
@@ -1355,13 +1352,13 @@ namespace AssetStudioGUI
for (int j = 0; j < vertexData.Length; j++)
{
if (normalCalculatedCount[j] == 0)
- normal2Data[j] = new Vector3(0, 1, 0);
+ normal2Data[j] = new OpenTK.Mathematics.Vector3(0, 1, 0);
else
normal2Data[j] /= normalCalculatedCount[j];
}
#endregion
#region Colors
- colorData = model.MeshList.SelectMany(x => x.VertexList).Select(x => new Vector4(x.Color.R, x.Color.G, x.Color.B, x.Color.A)).ToArray();
+ colorData = model.MeshList.SelectMany(x => x.VertexList).Select(x => new OpenTK.Mathematics.Vector4(x.Color.R, x.Color.G, x.Color.B, x.Color.A)).ToArray();
#endregion
glControl.Visible = true;
CreateVAO();
@@ -2690,24 +2687,24 @@ namespace AssetStudioGUI
GL.DeleteShader(address);
}
- private static void CreateVBO(out int vboAddress, Vector3[] data, int address)
+ private static void CreateVBO(out int vboAddress, OpenTK.Mathematics.Vector3[] data, int address)
{
GL.GenBuffers(1, out vboAddress);
GL.BindBuffer(BufferTarget.ArrayBuffer, vboAddress);
GL.BufferData(BufferTarget.ArrayBuffer,
- (IntPtr)(data.Length * Vector3.SizeInBytes),
+ (IntPtr)(data.Length * OpenTK.Mathematics.Vector3.SizeInBytes),
data,
BufferUsageHint.StaticDraw);
GL.VertexAttribPointer(address, 3, VertexAttribPointerType.Float, false, 0, 0);
GL.EnableVertexAttribArray(address);
}
- private static void CreateVBO(out int vboAddress, Vector4[] data, int address)
+ private static void CreateVBO(out int vboAddress, OpenTK.Mathematics.Vector4[] data, int address)
{
GL.GenBuffers(1, out vboAddress);
GL.BindBuffer(BufferTarget.ArrayBuffer, vboAddress);
GL.BufferData(BufferTarget.ArrayBuffer,
- (IntPtr)(data.Length * Vector4.SizeInBytes),
+ (IntPtr)(data.Length * OpenTK.Mathematics.Vector4.SizeInBytes),
data,
BufferUsageHint.StaticDraw);
GL.VertexAttribPointer(address, 4, VertexAttribPointerType.Float, false, 0, 0);
diff --git a/AssetStudioGUI/AssetStudioGUIForm.resx b/AssetStudio.GUI/MainForm.resx
similarity index 100%
rename from AssetStudioGUI/AssetStudioGUIForm.resx
rename to AssetStudio.GUI/MainForm.resx
index acb8534..5d03d27 100644
--- a/AssetStudioGUI/AssetStudioGUIForm.resx
+++ b/AssetStudio.GUI/MainForm.resx
@@ -120,9 +120,6 @@
312, 17
-
- 432, 17
-
abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWYZ
1234567890.:,;'\"(!?)+-*/=
@@ -141,6 +138,9 @@ The quick brown fox jumps over the lazy dog. 1234567890
The quick brown fox jumps over the lazy dog. 1234567890
+
+ 432, 17
+
553, 17
diff --git a/AssetStudioGUI/Program.cs b/AssetStudio.GUI/Program.cs
similarity index 86%
rename from AssetStudioGUI/Program.cs
rename to AssetStudio.GUI/Program.cs
index 0d085df..3391d56 100644
--- a/AssetStudioGUI/Program.cs
+++ b/AssetStudio.GUI/Program.cs
@@ -4,7 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
static class Program
{
@@ -17,7 +17,7 @@ namespace AssetStudioGUI
Application.SetHighDpiMode(HighDpiMode.SystemAware);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new AssetStudioGUIForm());
+ Application.Run(new MainForm());
}
}
}
\ No newline at end of file
diff --git a/AssetStudioGUI/Properties/Resources.Designer.cs b/AssetStudio.GUI/Properties/Resources.Designer.cs
similarity index 97%
rename from AssetStudioGUI/Properties/Resources.Designer.cs
rename to AssetStudio.GUI/Properties/Resources.Designer.cs
index 4c35f6a..ff89110 100644
--- a/AssetStudioGUI/Properties/Resources.Designer.cs
+++ b/AssetStudio.GUI/Properties/Resources.Designer.cs
@@ -8,7 +8,7 @@
//
//------------------------------------------------------------------------------
-namespace AssetStudioGUI.Properties {
+namespace AssetStudio.GUI.Properties {
using System;
@@ -39,7 +39,7 @@ namespace AssetStudioGUI.Properties {
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AssetStudioGUI.Properties.Resources", typeof(Resources).Assembly);
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AssetStudio.GUI.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
diff --git a/AssetStudioGUI/Properties/Resources.resx b/AssetStudio.GUI/Properties/Resources.resx
similarity index 100%
rename from AssetStudioGUI/Properties/Resources.resx
rename to AssetStudio.GUI/Properties/Resources.resx
diff --git a/AssetStudioGUI/Properties/Settings.Designer.cs b/AssetStudio.GUI/Properties/Settings.Designer.cs
similarity index 96%
rename from AssetStudioGUI/Properties/Settings.Designer.cs
rename to AssetStudio.GUI/Properties/Settings.Designer.cs
index b64438b..461e9ff 100644
--- a/AssetStudioGUI/Properties/Settings.Designer.cs
+++ b/AssetStudio.GUI/Properties/Settings.Designer.cs
@@ -8,11 +8,11 @@
//
//------------------------------------------------------------------------------
-namespace AssetStudioGUI.Properties {
+namespace AssetStudio.GUI.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.6.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.8.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -371,6 +371,18 @@ namespace AssetStudioGUI.Properties {
}
}
+ [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("False")]
@@ -430,6 +442,7 @@ namespace AssetStudioGUI.Properties {
this["enableModelPreview"] = value;
}
}
+
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("0")]
@@ -489,35 +502,5 @@ namespace AssetStudioGUI.Properties {
this["enableVerbose"] = 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("False")]
- public bool isFileLogging
- {
- get
- {
- return ((bool)(this["isFileLogging"]));
- }
- set
- {
- this["isFileLogging"] = value;
- }
- }
}
}
diff --git a/AssetStudioGUI/Properties/Settings.settings b/AssetStudio.GUI/Properties/Settings.settings
similarity index 98%
rename from AssetStudioGUI/Properties/Settings.settings
rename to AssetStudio.GUI/Properties/Settings.settings
index 29bd7c6..9664bff 100644
--- a/AssetStudioGUI/Properties/Settings.settings
+++ b/AssetStudio.GUI/Properties/Settings.settings
@@ -1,5 +1,5 @@
-
+
diff --git a/AssetStudioGUI/Resources/as.ico b/AssetStudio.GUI/Resources/as.ico
similarity index 100%
rename from AssetStudioGUI/Resources/as.ico
rename to AssetStudio.GUI/Resources/as.ico
diff --git a/AssetStudioGUI/Resources/preview.png b/AssetStudio.GUI/Resources/preview.png
similarity index 100%
rename from AssetStudioGUI/Resources/preview.png
rename to AssetStudio.GUI/Resources/preview.png
diff --git a/AssetStudioGUI/Studio.cs b/AssetStudio.GUI/Studio.cs
similarity index 99%
rename from AssetStudioGUI/Studio.cs
rename to AssetStudio.GUI/Studio.cs
index b638c35..c4040ef 100644
--- a/AssetStudioGUI/Studio.cs
+++ b/AssetStudio.GUI/Studio.cs
@@ -1,5 +1,4 @@
-using AssetStudio;
-using System;
+using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
@@ -8,11 +7,9 @@ using System.Linq;
using System.Threading;
using System.Windows.Forms;
using System.Xml;
-using System.Xml.Linq;
-using static AssetStudioGUI.Exporter;
-using Object = AssetStudio.Object;
+using static AssetStudio.GUI.Exporter;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
internal enum ExportType
{
diff --git a/AssetStudioGUI/UnityCNForm.Designer.cs b/AssetStudio.GUI/UnityCNForm.Designer.cs
similarity index 99%
rename from AssetStudioGUI/UnityCNForm.Designer.cs
rename to AssetStudio.GUI/UnityCNForm.Designer.cs
index 00816e8..e70add7 100644
--- a/AssetStudioGUI/UnityCNForm.Designer.cs
+++ b/AssetStudio.GUI/UnityCNForm.Designer.cs
@@ -1,4 +1,4 @@
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
partial class UnityCNForm
{
diff --git a/AssetStudioGUI/UnityCNForm.cs b/AssetStudio.GUI/UnityCNForm.cs
similarity index 99%
rename from AssetStudioGUI/UnityCNForm.cs
rename to AssetStudio.GUI/UnityCNForm.cs
index 50cc888..dc361e7 100644
--- a/AssetStudioGUI/UnityCNForm.cs
+++ b/AssetStudio.GUI/UnityCNForm.cs
@@ -4,7 +4,7 @@ using System.Collections.Generic;
using AssetStudio;
using System.Linq;
-namespace AssetStudioGUI
+namespace AssetStudio.GUI
{
public partial class UnityCNForm : Form
{
diff --git a/AssetStudioGUI/UnityCNForm.resx b/AssetStudio.GUI/UnityCNForm.resx
similarity index 100%
rename from AssetStudioGUI/UnityCNForm.resx
rename to AssetStudio.GUI/UnityCNForm.resx
diff --git a/AssetStudioUtility/ACL/ACL.cs b/AssetStudio.Utility/ACL/ACL.cs
similarity index 100%
rename from AssetStudioUtility/ACL/ACL.cs
rename to AssetStudio.Utility/ACL/ACL.cs
diff --git a/AssetStudioUtility/ACL/ACLExtensions.cs b/AssetStudio.Utility/ACL/ACLExtensions.cs
similarity index 100%
rename from AssetStudioUtility/ACL/ACLExtensions.cs
rename to AssetStudio.Utility/ACL/ACLExtensions.cs
diff --git a/AssetStudioUtility/AssemblyLoader.cs b/AssetStudio.Utility/AssemblyLoader.cs
similarity index 100%
rename from AssetStudioUtility/AssemblyLoader.cs
rename to AssetStudio.Utility/AssemblyLoader.cs
diff --git a/AssetStudioUtility/AssetStudioUtility.csproj b/AssetStudio.Utility/AssetStudio.Utility.csproj
similarity index 90%
rename from AssetStudioUtility/AssetStudioUtility.csproj
rename to AssetStudio.Utility/AssetStudio.Utility.csproj
index 9027ef0..d61cba9 100644
--- a/AssetStudioUtility/AssetStudioUtility.csproj
+++ b/AssetStudio.Utility/AssetStudio.Utility.csproj
@@ -19,7 +19,7 @@
-
+
diff --git a/AssetStudioUtility/AudioClipConverter.cs b/AssetStudio.Utility/AudioClipConverter.cs
similarity index 100%
rename from AssetStudioUtility/AudioClipConverter.cs
rename to AssetStudio.Utility/AudioClipConverter.cs
diff --git a/AssetStudioUtility/CSspv/Disassembler.cs b/AssetStudio.Utility/CSspv/Disassembler.cs
similarity index 100%
rename from AssetStudioUtility/CSspv/Disassembler.cs
rename to AssetStudio.Utility/CSspv/Disassembler.cs
diff --git a/AssetStudioUtility/CSspv/EnumValuesExtensions.cs b/AssetStudio.Utility/CSspv/EnumValuesExtensions.cs
similarity index 100%
rename from AssetStudioUtility/CSspv/EnumValuesExtensions.cs
rename to AssetStudio.Utility/CSspv/EnumValuesExtensions.cs
diff --git a/AssetStudioUtility/CSspv/Instruction.cs b/AssetStudio.Utility/CSspv/Instruction.cs
similarity index 100%
rename from AssetStudioUtility/CSspv/Instruction.cs
rename to AssetStudio.Utility/CSspv/Instruction.cs
diff --git a/AssetStudioUtility/CSspv/LICENSE b/AssetStudio.Utility/CSspv/LICENSE
similarity index 100%
rename from AssetStudioUtility/CSspv/LICENSE
rename to AssetStudio.Utility/CSspv/LICENSE
diff --git a/AssetStudioUtility/CSspv/Module.cs b/AssetStudio.Utility/CSspv/Module.cs
similarity index 100%
rename from AssetStudioUtility/CSspv/Module.cs
rename to AssetStudio.Utility/CSspv/Module.cs
diff --git a/AssetStudioUtility/CSspv/OperandType.cs b/AssetStudio.Utility/CSspv/OperandType.cs
similarity index 100%
rename from AssetStudioUtility/CSspv/OperandType.cs
rename to AssetStudio.Utility/CSspv/OperandType.cs
diff --git a/AssetStudioUtility/CSspv/ParsedInstruction.cs b/AssetStudio.Utility/CSspv/ParsedInstruction.cs
similarity index 100%
rename from AssetStudioUtility/CSspv/ParsedInstruction.cs
rename to AssetStudio.Utility/CSspv/ParsedInstruction.cs
diff --git a/AssetStudioUtility/CSspv/Reader.cs b/AssetStudio.Utility/CSspv/Reader.cs
similarity index 100%
rename from AssetStudioUtility/CSspv/Reader.cs
rename to AssetStudio.Utility/CSspv/Reader.cs
diff --git a/AssetStudioUtility/CSspv/SpirV.Core.Grammar.cs b/AssetStudio.Utility/CSspv/SpirV.Core.Grammar.cs
similarity index 100%
rename from AssetStudioUtility/CSspv/SpirV.Core.Grammar.cs
rename to AssetStudio.Utility/CSspv/SpirV.Core.Grammar.cs
diff --git a/AssetStudioUtility/CSspv/SpirV.Meta.cs b/AssetStudio.Utility/CSspv/SpirV.Meta.cs
similarity index 100%
rename from AssetStudioUtility/CSspv/SpirV.Meta.cs
rename to AssetStudio.Utility/CSspv/SpirV.Meta.cs
diff --git a/AssetStudioUtility/CSspv/Types.cs b/AssetStudio.Utility/CSspv/Types.cs
similarity index 100%
rename from AssetStudioUtility/CSspv/Types.cs
rename to AssetStudio.Utility/CSspv/Types.cs
diff --git a/AssetStudioUtility/ConsoleHelper.cs b/AssetStudio.Utility/ConsoleHelper.cs
similarity index 100%
rename from AssetStudioUtility/ConsoleHelper.cs
rename to AssetStudio.Utility/ConsoleHelper.cs
diff --git a/AssetStudioUtility/FMOD Studio API/fmod.cs b/AssetStudio.Utility/FMOD Studio API/fmod.cs
similarity index 100%
rename from AssetStudioUtility/FMOD Studio API/fmod.cs
rename to AssetStudio.Utility/FMOD Studio API/fmod.cs
diff --git a/AssetStudioUtility/FMOD Studio API/fmod_dsp.cs b/AssetStudio.Utility/FMOD Studio API/fmod_dsp.cs
similarity index 100%
rename from AssetStudioUtility/FMOD Studio API/fmod_dsp.cs
rename to AssetStudio.Utility/FMOD Studio API/fmod_dsp.cs
diff --git a/AssetStudioUtility/FMOD Studio API/fmod_errors.cs b/AssetStudio.Utility/FMOD Studio API/fmod_errors.cs
similarity index 100%
rename from AssetStudioUtility/FMOD Studio API/fmod_errors.cs
rename to AssetStudio.Utility/FMOD Studio API/fmod_errors.cs
diff --git a/AssetStudioUtility/FontHelper.cs b/AssetStudio.Utility/FontHelper.cs
similarity index 100%
rename from AssetStudioUtility/FontHelper.cs
rename to AssetStudio.Utility/FontHelper.cs
diff --git a/AssetStudioUtility/ImageExtensions.cs b/AssetStudio.Utility/ImageExtensions.cs
similarity index 100%
rename from AssetStudioUtility/ImageExtensions.cs
rename to AssetStudio.Utility/ImageExtensions.cs
diff --git a/AssetStudioUtility/ImageFormat.cs b/AssetStudio.Utility/ImageFormat.cs
similarity index 100%
rename from AssetStudioUtility/ImageFormat.cs
rename to AssetStudio.Utility/ImageFormat.cs
diff --git a/AssetStudioUtility/ModelConverter.cs b/AssetStudio.Utility/ModelConverter.cs
similarity index 100%
rename from AssetStudioUtility/ModelConverter.cs
rename to AssetStudio.Utility/ModelConverter.cs
diff --git a/AssetStudioUtility/ModelExporter.cs b/AssetStudio.Utility/ModelExporter.cs
similarity index 100%
rename from AssetStudioUtility/ModelExporter.cs
rename to AssetStudio.Utility/ModelExporter.cs
diff --git a/AssetStudioUtility/MonoBehaviourConverter.cs b/AssetStudio.Utility/MonoBehaviourConverter.cs
similarity index 100%
rename from AssetStudioUtility/MonoBehaviourConverter.cs
rename to AssetStudio.Utility/MonoBehaviourConverter.cs
diff --git a/AssetStudioUtility/MyAssemblyResolver.cs b/AssetStudio.Utility/MyAssemblyResolver.cs
similarity index 100%
rename from AssetStudioUtility/MyAssemblyResolver.cs
rename to AssetStudio.Utility/MyAssemblyResolver.cs
diff --git a/AssetStudioUtility/SerializedTypeHelper.cs b/AssetStudio.Utility/SerializedTypeHelper.cs
similarity index 100%
rename from AssetStudioUtility/SerializedTypeHelper.cs
rename to AssetStudio.Utility/SerializedTypeHelper.cs
diff --git a/AssetStudioUtility/ShaderConverter.cs b/AssetStudio.Utility/ShaderConverter.cs
similarity index 100%
rename from AssetStudioUtility/ShaderConverter.cs
rename to AssetStudio.Utility/ShaderConverter.cs
diff --git a/AssetStudioUtility/Smolv/OpData.cs b/AssetStudio.Utility/Smolv/OpData.cs
similarity index 100%
rename from AssetStudioUtility/Smolv/OpData.cs
rename to AssetStudio.Utility/Smolv/OpData.cs
diff --git a/AssetStudioUtility/Smolv/SmolvDecoder.cs b/AssetStudio.Utility/Smolv/SmolvDecoder.cs
similarity index 100%
rename from AssetStudioUtility/Smolv/SmolvDecoder.cs
rename to AssetStudio.Utility/Smolv/SmolvDecoder.cs
diff --git a/AssetStudioUtility/Smolv/SpvOp.cs b/AssetStudio.Utility/Smolv/SpvOp.cs
similarity index 100%
rename from AssetStudioUtility/Smolv/SpvOp.cs
rename to AssetStudio.Utility/Smolv/SpvOp.cs
diff --git a/AssetStudioUtility/SpirVShaderConverter.cs b/AssetStudio.Utility/SpirVShaderConverter.cs
similarity index 100%
rename from AssetStudioUtility/SpirVShaderConverter.cs
rename to AssetStudio.Utility/SpirVShaderConverter.cs
diff --git a/AssetStudioUtility/SpriteHelper.cs b/AssetStudio.Utility/SpriteHelper.cs
similarity index 100%
rename from AssetStudioUtility/SpriteHelper.cs
rename to AssetStudio.Utility/SpriteHelper.cs
diff --git a/AssetStudioUtility/Texture2DConverter.cs b/AssetStudio.Utility/Texture2DConverter.cs
similarity index 100%
rename from AssetStudioUtility/Texture2DConverter.cs
rename to AssetStudio.Utility/Texture2DConverter.cs
diff --git a/AssetStudioUtility/Texture2DExtensions.cs b/AssetStudio.Utility/Texture2DExtensions.cs
similarity index 100%
rename from AssetStudioUtility/Texture2DExtensions.cs
rename to AssetStudio.Utility/Texture2DExtensions.cs
diff --git a/AssetStudioUtility/TypeDefinitionConverter.cs b/AssetStudio.Utility/TypeDefinitionConverter.cs
similarity index 100%
rename from AssetStudioUtility/TypeDefinitionConverter.cs
rename to AssetStudio.Utility/TypeDefinitionConverter.cs
diff --git a/AssetStudioUtility/Unity.CecilTools/CecilUtils.cs b/AssetStudio.Utility/Unity.CecilTools/CecilUtils.cs
similarity index 100%
rename from AssetStudioUtility/Unity.CecilTools/CecilUtils.cs
rename to AssetStudio.Utility/Unity.CecilTools/CecilUtils.cs
diff --git a/AssetStudioUtility/Unity.CecilTools/ElementType.cs b/AssetStudio.Utility/Unity.CecilTools/ElementType.cs
similarity index 100%
rename from AssetStudioUtility/Unity.CecilTools/ElementType.cs
rename to AssetStudio.Utility/Unity.CecilTools/ElementType.cs
diff --git a/AssetStudioUtility/Unity.CecilTools/Extensions/MethodDefinitionExtensions.cs b/AssetStudio.Utility/Unity.CecilTools/Extensions/MethodDefinitionExtensions.cs
similarity index 100%
rename from AssetStudioUtility/Unity.CecilTools/Extensions/MethodDefinitionExtensions.cs
rename to AssetStudio.Utility/Unity.CecilTools/Extensions/MethodDefinitionExtensions.cs
diff --git a/AssetStudioUtility/Unity.CecilTools/Extensions/ResolutionExtensions.cs b/AssetStudio.Utility/Unity.CecilTools/Extensions/ResolutionExtensions.cs
similarity index 100%
rename from AssetStudioUtility/Unity.CecilTools/Extensions/ResolutionExtensions.cs
rename to AssetStudio.Utility/Unity.CecilTools/Extensions/ResolutionExtensions.cs
diff --git a/AssetStudioUtility/Unity.CecilTools/Extensions/TypeDefinitionExtensions.cs b/AssetStudio.Utility/Unity.CecilTools/Extensions/TypeDefinitionExtensions.cs
similarity index 100%
rename from AssetStudioUtility/Unity.CecilTools/Extensions/TypeDefinitionExtensions.cs
rename to AssetStudio.Utility/Unity.CecilTools/Extensions/TypeDefinitionExtensions.cs
diff --git a/AssetStudioUtility/Unity.CecilTools/Extensions/TypeReferenceExtensions.cs b/AssetStudio.Utility/Unity.CecilTools/Extensions/TypeReferenceExtensions.cs
similarity index 100%
rename from AssetStudioUtility/Unity.CecilTools/Extensions/TypeReferenceExtensions.cs
rename to AssetStudio.Utility/Unity.CecilTools/Extensions/TypeReferenceExtensions.cs
diff --git a/AssetStudioUtility/Unity.SerializationLogic/UnityEngineTypePredicates.cs b/AssetStudio.Utility/Unity.SerializationLogic/UnityEngineTypePredicates.cs
similarity index 100%
rename from AssetStudioUtility/Unity.SerializationLogic/UnityEngineTypePredicates.cs
rename to AssetStudio.Utility/Unity.SerializationLogic/UnityEngineTypePredicates.cs
diff --git a/AssetStudioUtility/Unity.SerializationLogic/UnitySerializationLogic.cs b/AssetStudio.Utility/Unity.SerializationLogic/UnitySerializationLogic.cs
similarity index 100%
rename from AssetStudioUtility/Unity.SerializationLogic/UnitySerializationLogic.cs
rename to AssetStudio.Utility/Unity.SerializationLogic/UnitySerializationLogic.cs
diff --git a/AssetStudioUtility/YAML/AnimationClipConverter.cs b/AssetStudio.Utility/YAML/AnimationClipConverter.cs
similarity index 100%
rename from AssetStudioUtility/YAML/AnimationClipConverter.cs
rename to AssetStudio.Utility/YAML/AnimationClipConverter.cs
diff --git a/AssetStudioUtility/YAML/AnimationClipExtensions.cs b/AssetStudio.Utility/YAML/AnimationClipExtensions.cs
similarity index 100%
rename from AssetStudioUtility/YAML/AnimationClipExtensions.cs
rename to AssetStudio.Utility/YAML/AnimationClipExtensions.cs
diff --git a/AssetStudioUtility/YAML/CustomCurveResolver.cs b/AssetStudio.Utility/YAML/CustomCurveResolver.cs
similarity index 100%
rename from AssetStudioUtility/YAML/CustomCurveResolver.cs
rename to AssetStudio.Utility/YAML/CustomCurveResolver.cs
diff --git a/AssetStudioUtility/YAML/MuscleHelper.cs b/AssetStudio.Utility/YAML/MuscleHelper.cs
similarity index 100%
rename from AssetStudioUtility/YAML/MuscleHelper.cs
rename to AssetStudio.Utility/YAML/MuscleHelper.cs
diff --git a/AssetStudio.sln b/AssetStudio.sln
index 4815e65..7884030 100644
--- a/AssetStudio.sln
+++ b/AssetStudio.sln
@@ -7,15 +7,15 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AssetStudio", "AssetStudio\
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AssetStudio.PInvoke", "AssetStudio.PInvoke\AssetStudio.PInvoke.csproj", "{0B2BE613-3049-4021-85D1-21C325F729F4}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AssetStudioFBXWrapper", "AssetStudioFBXWrapper\AssetStudioFBXWrapper.csproj", "{E301AFEA-84E7-4BCE-8D65-A2576D8D105B}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AssetStudio.FBXWrapper", "AssetStudio.FBXWrapper\AssetStudio.FBXWrapper.csproj", "{E301AFEA-84E7-4BCE-8D65-A2576D8D105B}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AssetStudioGUI", "AssetStudioGUI\AssetStudioGUI.csproj", "{29EAD018-1C67-497A-AB8E-727D595AD756}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AssetStudio.GUI", "AssetStudio.GUI\AssetStudio.GUI.csproj", "{29EAD018-1C67-497A-AB8E-727D595AD756}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AssetStudioUtility", "AssetStudioUtility\AssetStudioUtility.csproj", "{65EAFFA3-01D3-4EF5-B092-8B4647E9A1FF}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AssetStudio.Utility", "AssetStudio.Utility\AssetStudio.Utility.csproj", "{65EAFFA3-01D3-4EF5-B092-8B4647E9A1FF}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AssetStudioFBXNative", "AssetStudioFBXNative\AssetStudioFBXNative.vcxproj", "{11EA25A3-ED68-40EE-A9D0-7FDE3B583027}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AssetStudio.FBXNative", "AssetStudio.FBXNative\AssetStudio.FBXNative.vcxproj", "{11EA25A3-ED68-40EE-A9D0-7FDE3B583027}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AssetStudioCLI", "AssetStudioCLI\AssetStudioCLI.csproj", "{D35262CD-E063-4203-A9D2-C1BB82B6C598}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AssetStudio.CLI", "AssetStudio.CLI\AssetStudio.CLI.csproj", "{D35262CD-E063-4203-A9D2-C1BB82B6C598}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index 52f8e52..0000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-image: Visual Studio 2022
-
-shallow_clone: true
-clone_depth: 1
-cache:
- - '%APPVEYOR_BUILD_FOLDER%\AssetStudioFBXNative\obj'
- - '%LocalAppData%\NuGet\v3-cache' # NuGet v3
-
-environment:
- FBX_SDK: https://damassets.autodesk.net/content/dam/autodesk/www/adn/fbx/2020-3-2/fbx202032_fbxsdk_vs2019_win.exe
- File_NAME: Studio
- File_Format: zip
-
-install:
- - pwsh: appveyor DownloadFile $env:FBX_SDK && Start (Get-ChildItem ./'fbx*'.exe -Name) /S -Wait
-
-build_script:
- - msbuild -m -t:AssetStudioGUI:publish -t:AssetStudioCLI:publish -r -p:Configuration=Release -v:minimal AssetStudio.sln
-
-after_build:
- - ps: $env:TIME_STRING=(Get-Date -UFormat "%Y%m%d%H%M%S%a").ToString()
- - 7z a -y -mx9 %File_NAME%-%TIME_STRING%.%File_Format% %APPVEYOR_BUILD_FOLDER%\AssetStudioGUI\bin\Release\net6.0-windows\publish\
- - appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%\%File_NAME%-%TIME_STRING%.%File_Format%
-
-# artifacts:
-# - path: AssetStudioGUI\bin\Release\net6.0-windows\publish\
-# name: "%File_NAME%-%TIME_STRING%.%File_Format%"
-# type: zip