Fix banner editor parse json button missing

This commit is contained in:
2022-09-08 12:34:24 +08:00
parent 746254c348
commit 5f2755f5bb
5 changed files with 1417 additions and 1921 deletions

View File

@ -30,10 +30,10 @@ namespace GrasscutterTools.Forms
private void InitializeComponent() private void InitializeComponent()
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormGachaBannerEditor2)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormGachaBannerEditor2));
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Legend legend2 = new System.Windows.Forms.DataVisualization.Charting.Legend(); System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series4 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
this.GrpBannerValues = new System.Windows.Forms.GroupBox(); this.GrpBannerValues = new System.Windows.Forms.GroupBox();
this.ChkAutoStripRateUpFromFallback = new System.Windows.Forms.CheckBox(); this.ChkAutoStripRateUpFromFallback = new System.Windows.Forms.CheckBox();
this.LblOptions = new System.Windows.Forms.Label(); this.LblOptions = new System.Windows.Forms.Label();
@ -107,6 +107,7 @@ namespace GrasscutterTools.Forms
// //
// GrpBannerValues // GrpBannerValues
// //
resources.ApplyResources(this.GrpBannerValues, "GrpBannerValues");
this.GrpBannerValues.Controls.Add(this.ChkAutoStripRateUpFromFallback); this.GrpBannerValues.Controls.Add(this.ChkAutoStripRateUpFromFallback);
this.GrpBannerValues.Controls.Add(this.LblOptions); this.GrpBannerValues.Controls.Add(this.LblOptions);
this.GrpBannerValues.Controls.Add(this.ChkRemoveC6FormPool); this.GrpBannerValues.Controls.Add(this.ChkRemoveC6FormPool);
@ -137,7 +138,6 @@ namespace GrasscutterTools.Forms
this.GrpBannerValues.Controls.Add(this.LblCostItem); this.GrpBannerValues.Controls.Add(this.LblCostItem);
this.GrpBannerValues.Controls.Add(this.LblPrefabPath); this.GrpBannerValues.Controls.Add(this.LblPrefabPath);
this.GrpBannerValues.Controls.Add(this.RbCostItem223); this.GrpBannerValues.Controls.Add(this.RbCostItem223);
resources.ApplyResources(this.GrpBannerValues, "GrpBannerValues");
this.GrpBannerValues.Name = "GrpBannerValues"; this.GrpBannerValues.Name = "GrpBannerValues";
this.GrpBannerValues.TabStop = false; this.GrpBannerValues.TabStop = false;
// //
@ -181,9 +181,9 @@ namespace GrasscutterTools.Forms
// //
// CmbPrefab // CmbPrefab
// //
resources.ApplyResources(this.CmbPrefab, "CmbPrefab");
this.CmbPrefab.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CmbPrefab.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.CmbPrefab.FormattingEnabled = true; this.CmbPrefab.FormattingEnabled = true;
resources.ApplyResources(this.CmbPrefab, "CmbPrefab");
this.CmbPrefab.Name = "CmbPrefab"; this.CmbPrefab.Name = "CmbPrefab";
// //
// LblEventChance4Tip // LblEventChance4Tip
@ -313,13 +313,13 @@ namespace GrasscutterTools.Forms
// //
// CmbBannerType // CmbBannerType
// //
resources.ApplyResources(this.CmbBannerType, "CmbBannerType");
this.CmbBannerType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CmbBannerType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.CmbBannerType.FormattingEnabled = true; this.CmbBannerType.FormattingEnabled = true;
this.CmbBannerType.Items.AddRange(new object[] { this.CmbBannerType.Items.AddRange(new object[] {
resources.GetString("CmbBannerType.Items"), resources.GetString("CmbBannerType.Items"),
resources.GetString("CmbBannerType.Items1"), resources.GetString("CmbBannerType.Items1"),
resources.GetString("CmbBannerType.Items2")}); resources.GetString("CmbBannerType.Items2")});
resources.ApplyResources(this.CmbBannerType, "CmbBannerType");
this.CmbBannerType.Name = "CmbBannerType"; this.CmbBannerType.Name = "CmbBannerType";
// //
// LblSortIdTip // LblSortIdTip
@ -366,11 +366,11 @@ namespace GrasscutterTools.Forms
// //
// ListFallbackItems // ListFallbackItems
// //
resources.ApplyResources(this.ListFallbackItems, "ListFallbackItems");
this.ListFallbackItems.CheckBoxes = true; this.ListFallbackItems.CheckBoxes = true;
this.ListFallbackItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.ListFallbackItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.ColFallbackId, this.ColFallbackId,
this.ColFallbackName}); this.ColFallbackName});
resources.ApplyResources(this.ListFallbackItems, "ListFallbackItems");
this.ListFallbackItems.FullRowSelect = true; this.ListFallbackItems.FullRowSelect = true;
this.ListFallbackItems.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { this.ListFallbackItems.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] {
((System.Windows.Forms.ListViewGroup)(resources.GetObject("ListFallbackItems.Groups"))), ((System.Windows.Forms.ListViewGroup)(resources.GetObject("ListFallbackItems.Groups"))),
@ -394,18 +394,18 @@ namespace GrasscutterTools.Forms
// //
// GrpUpPool // GrpUpPool
// //
this.GrpUpPool.Controls.Add(this.ListUpItems);
resources.ApplyResources(this.GrpUpPool, "GrpUpPool"); resources.ApplyResources(this.GrpUpPool, "GrpUpPool");
this.GrpUpPool.Controls.Add(this.ListUpItems);
this.GrpUpPool.Name = "GrpUpPool"; this.GrpUpPool.Name = "GrpUpPool";
this.GrpUpPool.TabStop = false; this.GrpUpPool.TabStop = false;
// //
// ListUpItems // ListUpItems
// //
resources.ApplyResources(this.ListUpItems, "ListUpItems");
this.ListUpItems.CheckBoxes = true; this.ListUpItems.CheckBoxes = true;
this.ListUpItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.ListUpItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.ColUpId, this.ColUpId,
this.ColUpName}); this.ColUpName});
resources.ApplyResources(this.ListUpItems, "ListUpItems");
this.ListUpItems.FullRowSelect = true; this.ListUpItems.FullRowSelect = true;
this.ListUpItems.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { this.ListUpItems.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] {
((System.Windows.Forms.ListViewGroup)(resources.GetObject("ListUpItems.Groups"))), ((System.Windows.Forms.ListViewGroup)(resources.GetObject("ListUpItems.Groups"))),
@ -455,12 +455,12 @@ namespace GrasscutterTools.Forms
// //
// GrpWeights // GrpWeights
// //
resources.ApplyResources(this.GrpWeights, "GrpWeights");
this.GrpWeights.Controls.Add(this.LnkWeightHelp); this.GrpWeights.Controls.Add(this.LnkWeightHelp);
this.GrpWeights.Controls.Add(this.TxtWeight4); this.GrpWeights.Controls.Add(this.TxtWeight4);
this.GrpWeights.Controls.Add(this.TxtWeight5); this.GrpWeights.Controls.Add(this.TxtWeight5);
this.GrpWeights.Controls.Add(this.LblWeight4); this.GrpWeights.Controls.Add(this.LblWeight4);
this.GrpWeights.Controls.Add(this.LblWeight5); this.GrpWeights.Controls.Add(this.LblWeight5);
resources.ApplyResources(this.GrpWeights, "GrpWeights");
this.GrpWeights.Name = "GrpWeights"; this.GrpWeights.Name = "GrpWeights";
this.GrpWeights.TabStop = false; this.GrpWeights.TabStop = false;
// //
@ -493,11 +493,11 @@ namespace GrasscutterTools.Forms
// //
// GrpBalance // GrpBalance
// //
resources.ApplyResources(this.GrpBalance, "GrpBalance");
this.GrpBalance.Controls.Add(this.TxtPoolWeight4); this.GrpBalance.Controls.Add(this.TxtPoolWeight4);
this.GrpBalance.Controls.Add(this.TxtPoolWeight5); this.GrpBalance.Controls.Add(this.TxtPoolWeight5);
this.GrpBalance.Controls.Add(this.LblPoolWeight4); this.GrpBalance.Controls.Add(this.LblPoolWeight4);
this.GrpBalance.Controls.Add(this.LblPoolWeight5); this.GrpBalance.Controls.Add(this.LblPoolWeight5);
resources.ApplyResources(this.GrpBalance, "GrpBalance");
this.GrpBalance.Name = "GrpBalance"; this.GrpBalance.Name = "GrpBalance";
this.GrpBalance.TabStop = false; this.GrpBalance.TabStop = false;
// //
@ -530,36 +530,36 @@ namespace GrasscutterTools.Forms
// //
// ChartWeights // ChartWeights
// //
chartArea2.AxisX.Minimum = 0D;
chartArea2.AxisY.Maximum = 100D;
chartArea2.AxisY.Minimum = 0D;
chartArea2.AxisY.Title = "%";
chartArea2.Name = "ChartArea1";
this.ChartWeights.ChartAreas.Add(chartArea2);
resources.ApplyResources(this.ChartWeights, "ChartWeights"); resources.ApplyResources(this.ChartWeights, "ChartWeights");
legend2.Name = "Legend1"; chartArea1.AxisX.Minimum = 0D;
this.ChartWeights.Legends.Add(legend2); chartArea1.AxisY.Maximum = 100D;
chartArea1.AxisY.Minimum = 0D;
chartArea1.AxisY.Title = "%";
chartArea1.Name = "ChartArea1";
this.ChartWeights.ChartAreas.Add(chartArea1);
legend1.Name = "Legend1";
this.ChartWeights.Legends.Add(legend1);
this.ChartWeights.Name = "ChartWeights"; this.ChartWeights.Name = "ChartWeights";
series3.ChartArea = "ChartArea1"; series1.ChartArea = "ChartArea1";
series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line; series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
series3.Color = System.Drawing.Color.OrangeRed; series1.Color = System.Drawing.Color.OrangeRed;
series3.Label = "(#VALX, #VAL)"; series1.Label = "(#VALX, #VAL)";
series3.Legend = "Legend1"; series1.Legend = "Legend1";
series3.LegendText = "5*"; series1.LegendText = "5*";
series3.Name = "SeriesWeight5"; series1.Name = "SeriesWeight5";
series3.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Int32; series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Int32;
series3.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double; series1.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
series4.ChartArea = "ChartArea1"; series2.ChartArea = "ChartArea1";
series4.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line; series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
series4.Color = System.Drawing.Color.Purple; series2.Color = System.Drawing.Color.Purple;
series4.Label = "(#VALX, #VAL)"; series2.Label = "(#VALX, #VAL)";
series4.Legend = "Legend1"; series2.Legend = "Legend1";
series4.LegendText = "4*"; series2.LegendText = "4*";
series4.Name = "SeriesWeight4"; series2.Name = "SeriesWeight4";
series4.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Int32; series2.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Int32;
series4.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double; series2.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
this.ChartWeights.Series.Add(series3); this.ChartWeights.Series.Add(series1);
this.ChartWeights.Series.Add(series4); this.ChartWeights.Series.Add(series2);
// //
// FormGachaBannerEditor2 // FormGachaBannerEditor2
// //

View File

@ -372,7 +372,7 @@
<value>Gen Json</value> <value>Gen Json</value>
</data> </data>
<data name="BtnParse.Location" type="System.Drawing.Point, System.Drawing"> <data name="BtnParse.Location" type="System.Drawing.Point, System.Drawing">
<value>209, 512</value> <value>409, 201</value>
</data> </data>
<data name="BtnParse.Size" type="System.Drawing.Size, System.Drawing"> <data name="BtnParse.Size" type="System.Drawing.Size, System.Drawing">
<value>85, 23</value> <value>85, 23</value>

File diff suppressed because it is too large Load Diff

View File

@ -396,7 +396,7 @@
<value>Сген. Json</value> <value>Сген. Json</value>
</data> </data>
<data name="BtnParse.Location" type="System.Drawing.Point, System.Drawing"> <data name="BtnParse.Location" type="System.Drawing.Point, System.Drawing">
<value>209, 512</value> <value>409, 201</value>
</data> </data>
<data name="BtnParse.Size" type="System.Drawing.Size, System.Drawing"> <data name="BtnParse.Size" type="System.Drawing.Size, System.Drawing">
<value>85, 23</value> <value>85, 23</value>

View File

@ -165,9 +165,6 @@
<data name="GrpBannerValues.Text" xml:space="preserve"> <data name="GrpBannerValues.Text" xml:space="preserve">
<value>卡池參數</value> <value>卡池參數</value>
</data> </data>
<data name="GrpFallbackPool.Text" xml:space="preserve">
<value>基礎池</value>
</data>
<data name="ListFallbackItems.Groups" mimetype="application/x-microsoft.net.object.binary.base64"> <data name="ListFallbackItems.Groups" mimetype="application/x-microsoft.net.object.binary.base64">
<value> <value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
@ -228,6 +225,9 @@
dAEAAAAHdmFsdWVfXwAIAgAAAAAAAAAKBgUAAAAHR3JvdXBXMws= dAEAAAAHdmFsdWVfXwAIAgAAAAAAAAAKBgUAAAAHR3JvdXBXMws=
</value> </value>
</data> </data>
<data name="GrpFallbackPool.Text" xml:space="preserve">
<value>基礎池</value>
</data>
<data name="ListUpItems.Groups" mimetype="application/x-microsoft.net.object.binary.base64"> <data name="ListUpItems.Groups" mimetype="application/x-microsoft.net.object.binary.base64">
<value> <value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
@ -268,9 +268,6 @@
dAEAAAAHdmFsdWVfXwAIAgAAAAAAAAAKBgUAAAAJR3JvdXBVcFc0Cw== dAEAAAAHdmFsdWVfXwAIAgAAAAAAAAAKBgUAAAAJR3JvdXBVcFc0Cw==
</value> </value>
</data> </data>
<data name="GrpWeights.Text" xml:space="preserve">
<value>卡池權重與保底機制</value>
</data>
<data name="LnkWeightHelp.Text" xml:space="preserve"> <data name="LnkWeightHelp.Text" xml:space="preserve">
<value>幫助</value> <value>幫助</value>
</data> </data>
@ -280,8 +277,8 @@
<data name="LblWeight5.Text" xml:space="preserve"> <data name="LblWeight5.Text" xml:space="preserve">
<value>5星權重</value> <value>5星權重</value>
</data> </data>
<data name="GrpBalance.Text" xml:space="preserve"> <data name="GrpWeights.Text" xml:space="preserve">
<value>角色和武器平衡機制(僅混合池有效)</value> <value>卡池權重與保底機制</value>
</data> </data>
<data name="LblPoolWeight4.Text" xml:space="preserve"> <data name="LblPoolWeight4.Text" xml:space="preserve">
<value>4星池權重</value> <value>4星池權重</value>
@ -289,6 +286,9 @@
<data name="LblPoolWeight5.Text" xml:space="preserve"> <data name="LblPoolWeight5.Text" xml:space="preserve">
<value>5星池權重</value> <value>5星池權重</value>
</data> </data>
<data name="GrpBalance.Text" xml:space="preserve">
<value>角色和武器平衡機制(僅混合池有效)</value>
</data>
<data name="GrpWeightChart.Text" xml:space="preserve"> <data name="GrpWeightChart.Text" xml:space="preserve">
<value>權重圖表</value> <value>權重圖表</value>
</data> </data>