this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;\r
this.label2.Location = new System.Drawing.Point(6, 94);\r
this.label2.Name = "label2";\r
- this.label2.Size = new System.Drawing.Size(476, 178);\r
+ this.label2.Size = new System.Drawing.Size(476, 177);\r
this.label2.TabIndex = 8;\r
this.label2.Text = "Drop TSO File Here!";\r
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;\r
this.tabPage1.Controls.Add(this.label2);\r
this.tabPage1.Controls.Add(this.button1);\r
this.tabPage1.Controls.Add(this.tbPath);\r
- this.tabPage1.Location = new System.Drawing.Point(4, 21);\r
+ this.tabPage1.Location = new System.Drawing.Point(4, 22);\r
this.tabPage1.Name = "tabPage1";\r
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);\r
- this.tabPage1.Size = new System.Drawing.Size(488, 275);\r
+ this.tabPage1.Size = new System.Drawing.Size(488, 274);\r
this.tabPage1.TabIndex = 0;\r
this.tabPage1.Text = "Tso->Mqo";\r
// \r
this.tabPage2.Controls.Add(this.bRefMqoIn);\r
this.tabPage2.Controls.Add(this.tbMqoIn);\r
this.tabPage2.Controls.Add(this.label3);\r
- this.tabPage2.Location = new System.Drawing.Point(4, 21);\r
+ this.tabPage2.Location = new System.Drawing.Point(4, 22);\r
this.tabPage2.Name = "tabPage2";\r
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);\r
- this.tabPage2.Size = new System.Drawing.Size(488, 275);\r
+ this.tabPage2.Size = new System.Drawing.Size(488, 274);\r
this.tabPage2.TabIndex = 1;\r
this.tabPage2.Text = "Mqo->Tso";\r
// \r
this.tabPage3.Controls.Add(this.bMergeAdd);\r
this.tabPage3.Controls.Add(this.label8);\r
this.tabPage3.Controls.Add(this.tvMerge);\r
- this.tabPage3.Location = new System.Drawing.Point(4, 21);\r
+ this.tabPage3.Location = new System.Drawing.Point(4, 22);\r
this.tabPage3.Name = "tabPage3";\r
- this.tabPage3.Size = new System.Drawing.Size(488, 275);\r
+ this.tabPage3.Size = new System.Drawing.Size(488, 274);\r
this.tabPage3.TabIndex = 2;\r
this.tabPage3.Text = "Merge";\r
// \r
private void OpenMQOFile(string f)\r
{\r
TsoGenerator gen = new TsoGenerator();\r
+ TSOGenerateConfig config = new TSOGenerateConfig();\r
+ config.materialconfig = cbShowMaterials.Checked;\r
\r
if(rbAutoBone.Checked)\r
{\r
- TSOGenerateConfig config = new TSOGenerateConfig();\r
- config.materialconfig = cbShowMaterials.Checked;\r
-\r
gen.GenerateAutoBone(f, tbTso.Text, tbTsoEx.Text, config);\r
} else\r
if(rb1Bone.Checked)\r
{\r
- TSOGenerateConfig config = new TSOGenerateConfig();\r
- config.materialconfig = cbShowMaterials.Checked;\r
-\r
foreach(ListViewItem i in lvObject.Items)\r
{\r
if(i.SubItems[1].Text == "")\r
MessageBox.Show(e.ToString());\r
}\r
}\r
-}
\ No newline at end of file
+}\r
switch(e.ChangedItem.Label)\r
{\r
case "テクスチャ:カラー": item.SubItems[1].Text= e.ChangedItem.Value.ToString(); break;\r
- case "ã\83\86ã\82¯ã\82¹ã\83\81ã\83£ï¼\9aã\82·ã\82§ã\83¼ã\83\87ィング": item.SubItems[2].Text= e.ChangedItem.Value.ToString(); break;\r
+ case "ã\83\86ã\82¯ã\82¹ã\83\81ã\83£ï¼\9aã\82·ã\82§ã\83¼ã\83\86ィング": item.SubItems[2].Text= e.ChangedItem.Value.ToString(); break;\r
case "シェーダー設定ファイル": item.SubItems[3].Text= e.ChangedItem.Value.ToString(); break;\r
}\r
}\r
foreach(ImportEffectInfo i in effects) i.PostLoad(this);\r
foreach(ImportTextureInfo i in textures) i.PostLoad(this);\r
foreach(ImportMaterialInfo i in materials) i.PostLoad(this);\r
-\r
}\r
\r
public ImportEffectInfo GetEffect(string name)\r
\r
public class TSOMaterialCode : Dictionary<string, TSOParameter>\r
{\r
-\r
public TSOMaterialCode(string code)\r
: this(code.Split('\r', '\n'))\r
{\r
TSOParameter p = this[index];\r
p.Value = value;\r
}\r
- \r
+\r
public TSOMaterialCode(string[] code)\r
{\r
foreach(string i in code)\r
<WarningLevel>4</WarningLevel>\r
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>\r
</PropertyGroup>\r
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">\r
- <DebugSymbols>true</DebugSymbols>\r
- <OutputPath>bin\x64\Debug\</OutputPath>\r
- <DefineConstants>DEBUG;TRACE</DefineConstants>\r
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>\r
- <DebugType>full</DebugType>\r
- <PlatformTarget>x64</PlatformTarget>\r
- <ErrorReport>prompt</ErrorReport>\r
- </PropertyGroup>\r
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">\r
- <OutputPath>bin\x64\Release\</OutputPath>\r
- <DefineConstants>TRACE</DefineConstants>\r
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>\r
- <Optimize>true</Optimize>\r
- <DebugType>pdbonly</DebugType>\r
- <PlatformTarget>x64</PlatformTarget>\r
- <ErrorReport>prompt</ErrorReport>\r
- </PropertyGroup>\r
<ItemGroup>\r
<Reference Include="System" />\r
<Reference Include="System.Data" />\r
Global\r
GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
Debug|Any CPU = Debug|Any CPU\r
- Debug|x64 = Debug|x64\r
Release|Any CPU = Release|Any CPU\r
- Release|x64 = Release|x64\r
EndGlobalSection\r
GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
{C0DE49DD-78AB-4517-8234-7331DEF93472}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
{C0DE49DD-78AB-4517-8234-7331DEF93472}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
- {C0DE49DD-78AB-4517-8234-7331DEF93472}.Debug|x64.ActiveCfg = Debug|x64\r
- {C0DE49DD-78AB-4517-8234-7331DEF93472}.Debug|x64.Build.0 = Debug|x64\r
{C0DE49DD-78AB-4517-8234-7331DEF93472}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
{C0DE49DD-78AB-4517-8234-7331DEF93472}.Release|Any CPU.Build.0 = Release|Any CPU\r
- {C0DE49DD-78AB-4517-8234-7331DEF93472}.Release|x64.ActiveCfg = Release|x64\r
- {C0DE49DD-78AB-4517-8234-7331DEF93472}.Release|x64.Build.0 = Release|x64\r
EndGlobalSection\r
GlobalSection(SolutionProperties) = preSolution\r
HideSolutionNode = FALSE\r