1.0 release
UI changes Code cleanup Updater change
This commit is contained in:
@@ -8,8 +8,13 @@
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Platforms>AnyCPU;x64</Platforms>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ApplicationIcon>Luma_icon.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="Luma_icon.ico" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="Properties\Resources.Designer.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
|
||||
BIN
BMGEditor/Luma_icon.ico
Normal file
BIN
BMGEditor/Luma_icon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 262 KiB |
@@ -8,10 +8,9 @@ namespace BMGEditor
|
||||
public static class Variables
|
||||
{
|
||||
public const string softwareName = "Luma";
|
||||
public const string softwareVersion = "v0.7.1";
|
||||
public const UInt64 softwareInternalVersion = 71;
|
||||
public const UInt64 build = 1; //Getting ready for 1.0
|
||||
public const bool isBeta = true;
|
||||
public const string softwareVersion = "v1.0";
|
||||
public const UInt64 build = 1;
|
||||
public const bool isBeta = false;
|
||||
}
|
||||
internal static class Program
|
||||
{
|
||||
@@ -20,19 +19,18 @@ namespace BMGEditor
|
||||
{
|
||||
ApplicationConfiguration.Initialize();
|
||||
Bcsv.PopulateHashtable();
|
||||
CheckUpdates();
|
||||
Application.Run(new MainForm());
|
||||
Application.Run(new BMGEditForm());
|
||||
}
|
||||
|
||||
static readonly HttpClient wrClient = new HttpClient();
|
||||
public static async void CheckUpdates()
|
||||
{
|
||||
const string verCheckURL = "https://bussun.github.io/res/checks/luma/upre1";
|
||||
/*if (Variables.isBeta)
|
||||
* const string verCheckURL = "https://bussun.github.io/res/checks/luma/ub";
|
||||
*else
|
||||
* const string verCheckURL = "https://bussun.github.io/res/chacks/luma/u";
|
||||
*/ //Getting ready for 1.0
|
||||
string verCheckURL;
|
||||
if (Variables.isBeta)
|
||||
verCheckURL = "https://bussun.github.io/res/checks/luma/ub";
|
||||
else
|
||||
verCheckURL = "https://bussun.github.io/res/checks/luma/u";
|
||||
|
||||
Stream wrAnswer;
|
||||
|
||||
try
|
||||
@@ -45,22 +43,12 @@ namespace BMGEditor
|
||||
{
|
||||
UInt64 wrAnswerVersion = UInt64.Parse(wrAnswerContent);
|
||||
|
||||
if (wrAnswerVersion == 100)
|
||||
MessageBox.Show("The 1.0 release is available !!", "1.0 Available, upgrade now !");
|
||||
else if (wrAnswerVersion > Variables.softwareInternalVersion)
|
||||
MessageBox.Show("New version available", "Update available", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
else if (wrAnswerVersion == Variables.softwareInternalVersion)
|
||||
MessageBox.Show("Luma is up to date.", "No update available", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
else
|
||||
MessageBox.Show("Woah, you got a developpement version !", "The most up to date ever (for now)", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
||||
/* if (wrAnswerVersion > Variables.build)
|
||||
if (wrAnswerVersion > Variables.build)
|
||||
MessageBox.Show("New version available", "Update available", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
else if (wrAnswerVersion == Variables.build)
|
||||
MessageBox.Show("Luma is up to date.", "No update available", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
else
|
||||
MessageBox.Show("Woah, you got a developpement version !", "The most up to date ever (for now)", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
*/ //Getting ready for 1.0
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
20
BMGEditor/UI/BMGEditForm.Designer.cs
generated
20
BMGEditor/UI/BMGEditForm.Designer.cs
generated
@@ -39,6 +39,7 @@
|
||||
this.openEntryBtn = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.newEntryBtn = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.openBCSVBtn = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.openFlowEditorBtn = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.deleteEntryBtn = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.entriesListBox = new System.Windows.Forms.ListBox();
|
||||
this.openARCDialog = new System.Windows.Forms.OpenFileDialog();
|
||||
@@ -76,7 +77,7 @@
|
||||
//
|
||||
this.openArcFileBtn.Name = "openArcFileBtn";
|
||||
this.openArcFileBtn.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
|
||||
this.openArcFileBtn.Size = new System.Drawing.Size(180, 22);
|
||||
this.openArcFileBtn.Size = new System.Drawing.Size(146, 22);
|
||||
this.openArcFileBtn.Text = "Open";
|
||||
this.openArcFileBtn.Click += new System.EventHandler(this.openArcFileBtn_Click);
|
||||
//
|
||||
@@ -84,14 +85,14 @@
|
||||
//
|
||||
this.saveFileBtn.Name = "saveFileBtn";
|
||||
this.saveFileBtn.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
|
||||
this.saveFileBtn.Size = new System.Drawing.Size(180, 22);
|
||||
this.saveFileBtn.Size = new System.Drawing.Size(146, 22);
|
||||
this.saveFileBtn.Text = "Save";
|
||||
this.saveFileBtn.Click += new System.EventHandler(this.saveBMGbtn_Click);
|
||||
//
|
||||
// openSettingsBtn
|
||||
//
|
||||
this.openSettingsBtn.Name = "openSettingsBtn";
|
||||
this.openSettingsBtn.Size = new System.Drawing.Size(180, 22);
|
||||
this.openSettingsBtn.Size = new System.Drawing.Size(146, 22);
|
||||
this.openSettingsBtn.Text = "About";
|
||||
this.openSettingsBtn.Click += new System.EventHandler(this.openSettingsBtn_Click);
|
||||
//
|
||||
@@ -99,7 +100,7 @@
|
||||
//
|
||||
this.quitBtn.Name = "quitBtn";
|
||||
this.quitBtn.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q)));
|
||||
this.quitBtn.Size = new System.Drawing.Size(180, 22);
|
||||
this.quitBtn.Size = new System.Drawing.Size(146, 22);
|
||||
this.quitBtn.Text = "Quit";
|
||||
this.quitBtn.Click += new System.EventHandler(this.quitBtn_Click);
|
||||
//
|
||||
@@ -110,6 +111,7 @@
|
||||
this.openEntryBtn,
|
||||
this.newEntryBtn,
|
||||
this.openBCSVBtn,
|
||||
this.openFlowEditorBtn,
|
||||
this.deleteEntryBtn});
|
||||
this.editBtn.Image = ((System.Drawing.Image)(resources.GetObject("editBtn.Image")));
|
||||
this.editBtn.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
@@ -142,6 +144,13 @@
|
||||
this.openBCSVBtn.Text = "Open BCSV [DEBUG ONLY]";
|
||||
this.openBCSVBtn.Click += new System.EventHandler(this.openBCSVBtn_Click);
|
||||
//
|
||||
// openFlowEditorBtn
|
||||
//
|
||||
this.openFlowEditorBtn.Enabled = false;
|
||||
this.openFlowEditorBtn.Name = "openFlowEditorBtn";
|
||||
this.openFlowEditorBtn.Size = new System.Drawing.Size(238, 22);
|
||||
this.openFlowEditorBtn.Text = "Open flow editor";
|
||||
//
|
||||
// deleteEntryBtn
|
||||
//
|
||||
this.deleteEntryBtn.Name = "deleteEntryBtn";
|
||||
@@ -175,8 +184,10 @@
|
||||
this.ClientSize = new System.Drawing.Size(700, 338);
|
||||
this.Controls.Add(this.entriesListBox);
|
||||
this.Controls.Add(this.toolStrip);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.Name = "BMGEditForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "BMGEditForm";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BMGEditForm_FormClosing);
|
||||
this.toolStrip.ResumeLayout(false);
|
||||
@@ -201,5 +212,6 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem openSettingsBtn;
|
||||
private System.Windows.Forms.ToolStripMenuItem openBCSVBtn;
|
||||
private System.Windows.Forms.OpenFileDialog openARCDialog;
|
||||
private System.Windows.Forms.ToolStripMenuItem openFlowEditorBtn;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
43
BMGEditor/UI/BcsvEditorForm.Designer.cs
generated
43
BMGEditor/UI/BcsvEditorForm.Designer.cs
generated
@@ -31,8 +31,8 @@
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BcsvEditorForm));
|
||||
this.tsToolbar = new System.Windows.Forms.ToolStrip();
|
||||
this.btnSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.dgvBcsv = new System.Windows.Forms.DataGridView();
|
||||
this.sortBtn = new System.Windows.Forms.ToolStripButton();
|
||||
this.dgvBcsv = new System.Windows.Forms.DataGridView();
|
||||
this.tsToolbar.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvBcsv)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
@@ -45,7 +45,7 @@
|
||||
this.sortBtn});
|
||||
this.tsToolbar.Location = new System.Drawing.Point(0, 0);
|
||||
this.tsToolbar.Name = "tsToolbar";
|
||||
this.tsToolbar.Size = new System.Drawing.Size(1039, 27);
|
||||
this.tsToolbar.Size = new System.Drawing.Size(909, 25);
|
||||
this.tsToolbar.TabIndex = 0;
|
||||
this.tsToolbar.Text = "toolStrip1";
|
||||
//
|
||||
@@ -56,43 +56,44 @@
|
||||
this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
|
||||
this.btnSave.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(44, 24);
|
||||
this.btnSave.Size = new System.Drawing.Size(35, 22);
|
||||
this.btnSave.Text = "Save";
|
||||
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
||||
//
|
||||
// dgvBcsv
|
||||
//
|
||||
this.dgvBcsv.AllowUserToResizeRows = false;
|
||||
this.dgvBcsv.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
this.dgvBcsv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvBcsv.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvBcsv.Location = new System.Drawing.Point(0, 27);
|
||||
this.dgvBcsv.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.dgvBcsv.MultiSelect = false;
|
||||
this.dgvBcsv.Name = "dgvBcsv";
|
||||
this.dgvBcsv.RowHeadersWidth = 51;
|
||||
this.dgvBcsv.Size = new System.Drawing.Size(1039, 731);
|
||||
this.dgvBcsv.TabIndex = 1;
|
||||
//
|
||||
// sortBtn
|
||||
//
|
||||
this.sortBtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
||||
this.sortBtn.Image = ((System.Drawing.Image)(resources.GetObject("sortBtn.Image")));
|
||||
this.sortBtn.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.sortBtn.Name = "sortBtn";
|
||||
this.sortBtn.Size = new System.Drawing.Size(40, 24);
|
||||
this.sortBtn.Size = new System.Drawing.Size(32, 22);
|
||||
this.sortBtn.Text = "Sort";
|
||||
this.sortBtn.ToolTipText = "Sort";
|
||||
this.sortBtn.Click += new System.EventHandler(this.sortBtn_Click);
|
||||
//
|
||||
// dgvBcsv
|
||||
//
|
||||
this.dgvBcsv.AllowUserToResizeRows = false;
|
||||
this.dgvBcsv.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
this.dgvBcsv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvBcsv.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvBcsv.Location = new System.Drawing.Point(0, 25);
|
||||
this.dgvBcsv.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.dgvBcsv.MultiSelect = false;
|
||||
this.dgvBcsv.Name = "dgvBcsv";
|
||||
this.dgvBcsv.RowHeadersWidth = 51;
|
||||
this.dgvBcsv.Size = new System.Drawing.Size(909, 543);
|
||||
this.dgvBcsv.TabIndex = 1;
|
||||
//
|
||||
// BcsvEditorForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1039, 758);
|
||||
this.ClientSize = new System.Drawing.Size(909, 568);
|
||||
this.Controls.Add(this.dgvBcsv);
|
||||
this.Controls.Add(this.tsToolbar);
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.Name = "BcsvEditorForm";
|
||||
this.Text = "Entries Editor";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BcsvEditorForm_FormClosing);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
133
BMGEditor/UI/MainForm.Designer.cs
generated
133
BMGEditor/UI/MainForm.Designer.cs
generated
@@ -1,133 +0,0 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace BMGEditor
|
||||
{
|
||||
partial class MainForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.openFileBtn = new System.Windows.Forms.Button();
|
||||
this.openTextEditorBtn = new System.Windows.Forms.Button();
|
||||
this.openARCFileDialog = new System.Windows.Forms.OpenFileDialog();
|
||||
this.aboutBtn = new System.Windows.Forms.Button();
|
||||
this.openTextEditorEmptyBtn = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// openFileBtn
|
||||
//
|
||||
this.openFileBtn.Enabled = false;
|
||||
this.openFileBtn.Location = new System.Drawing.Point(98, 59);
|
||||
this.openFileBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.openFileBtn.Name = "openFileBtn";
|
||||
this.openFileBtn.Size = new System.Drawing.Size(82, 22);
|
||||
this.openFileBtn.TabIndex = 0;
|
||||
this.openFileBtn.Text = "Open file";
|
||||
this.openFileBtn.UseVisualStyleBackColor = true;
|
||||
this.openFileBtn.Click += new System.EventHandler(this.openFileBtn_Click);
|
||||
//
|
||||
// openTextEditorBtn
|
||||
//
|
||||
this.openTextEditorBtn.Enabled = false;
|
||||
this.openTextEditorBtn.Location = new System.Drawing.Point(12, 59);
|
||||
this.openTextEditorBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.openTextEditorBtn.Name = "openTextEditorBtn";
|
||||
this.openTextEditorBtn.Size = new System.Drawing.Size(82, 22);
|
||||
this.openTextEditorBtn.TabIndex = 2;
|
||||
this.openTextEditorBtn.Text = "Text edit";
|
||||
this.openTextEditorBtn.UseVisualStyleBackColor = true;
|
||||
this.openTextEditorBtn.Click += new System.EventHandler(this.openTextEditorBtn_Click);
|
||||
//
|
||||
// openARCFileDialog
|
||||
//
|
||||
this.openARCFileDialog.FileName = "Message.arc";
|
||||
this.openARCFileDialog.Filter = "Nintendo archive files|*.arc";
|
||||
//
|
||||
// aboutBtn
|
||||
//
|
||||
this.aboutBtn.Location = new System.Drawing.Point(167, 11);
|
||||
this.aboutBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.aboutBtn.Name = "aboutBtn";
|
||||
this.aboutBtn.Size = new System.Drawing.Size(89, 22);
|
||||
this.aboutBtn.TabIndex = 4;
|
||||
this.aboutBtn.Text = "About";
|
||||
this.aboutBtn.UseVisualStyleBackColor = true;
|
||||
this.aboutBtn.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// openTextEditorEmptyBtn
|
||||
//
|
||||
this.openTextEditorEmptyBtn.Location = new System.Drawing.Point(10, 11);
|
||||
this.openTextEditorEmptyBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.openTextEditorEmptyBtn.Name = "openTextEditorEmptyBtn";
|
||||
this.openTextEditorEmptyBtn.Size = new System.Drawing.Size(151, 22);
|
||||
this.openTextEditorEmptyBtn.TabIndex = 5;
|
||||
this.openTextEditorEmptyBtn.Text = "Text edit [without ARC]";
|
||||
this.openTextEditorEmptyBtn.UseVisualStyleBackColor = true;
|
||||
this.openTextEditorEmptyBtn.Click += new System.EventHandler(this.openTextEditorEmptyBtn_Click);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(20, 42);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(160, 15);
|
||||
this.label1.TabIndex = 6;
|
||||
this.label1.Text = "These buttons will be deleted";
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(284, 92);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.openTextEditorEmptyBtn);
|
||||
this.Controls.Add(this.aboutBtn);
|
||||
this.Controls.Add(this.openTextEditorBtn);
|
||||
this.Controls.Add(this.openFileBtn);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "MainForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "MainForm";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Button openFileBtn;
|
||||
private Button openTextEditorBtn;
|
||||
private OpenFileDialog openARCFileDialog;
|
||||
private Button aboutBtn;
|
||||
private Button openTextEditorEmptyBtn;
|
||||
private Label label1;
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace BMGEditor
|
||||
{
|
||||
public partial class MainForm : Form
|
||||
{
|
||||
RarcFilesystem arc;
|
||||
bool arcOpen = false;
|
||||
|
||||
public MainForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
Text = $"{Variables.softwareName} {Variables.softwareVersion}";
|
||||
if (Variables.isBeta) this.Text += " [BETA]";
|
||||
}
|
||||
|
||||
private void openBcsvEditorBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
Form bcsvEdit = new BcsvEditorForm(arc);
|
||||
bcsvEdit.Show();
|
||||
}
|
||||
|
||||
private void openFileBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (arcOpen) {
|
||||
MessageBox.Show("Please close the current file first.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
string fileName;
|
||||
if (openARCFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
fileName = openARCFileDialog.FileName;
|
||||
arc = new RarcFilesystem(new ExternalFile(fileName, false));
|
||||
if (arc.FileExists($"{arc.rootName}/message.bmg") && arc.FileExists($"{arc.rootName}/messageid.tbl"))
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(
|
||||
"Selected archive doesn\'t contain all the required files. Please check your file.",
|
||||
"Error while loading file",
|
||||
MessageBoxButtons.OK,
|
||||
MessageBoxIcon.Error);
|
||||
arc.Close();
|
||||
return;
|
||||
}
|
||||
openTextEditorBtn.Enabled = true;
|
||||
arcOpen = true;
|
||||
}
|
||||
else
|
||||
return;
|
||||
}
|
||||
|
||||
private void closeFileBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
arc.Close();
|
||||
arcOpen = false;
|
||||
openTextEditorBtn.Enabled = false;
|
||||
}
|
||||
|
||||
private void openTextEditorBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
Form bmgEdit = new BMGEditForm(arc);
|
||||
bmgEdit.Show();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
Form aboutForm = new PreferencesAbout();
|
||||
aboutForm.Show();
|
||||
}
|
||||
|
||||
private void openTextEditorEmptyBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
Form bmgEdit = new BMGEditForm();
|
||||
bmgEdit.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
<root>
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="openARCFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
28
BMGEditor/UI/NewEntryForm.Designer.cs
generated
28
BMGEditor/UI/NewEntryForm.Designer.cs
generated
@@ -28,6 +28,7 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NewEntryForm));
|
||||
this.createEntryBtn = new System.Windows.Forms.Button();
|
||||
this.newEntryNameTxtBox = new System.Windows.Forms.TextBox();
|
||||
this.groupBox = new System.Windows.Forms.GroupBox();
|
||||
@@ -37,9 +38,10 @@
|
||||
//
|
||||
// createEntryBtn
|
||||
//
|
||||
this.createEntryBtn.Location = new System.Drawing.Point(193, 56);
|
||||
this.createEntryBtn.Location = new System.Drawing.Point(169, 42);
|
||||
this.createEntryBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.createEntryBtn.Name = "createEntryBtn";
|
||||
this.createEntryBtn.Size = new System.Drawing.Size(94, 29);
|
||||
this.createEntryBtn.Size = new System.Drawing.Size(82, 22);
|
||||
this.createEntryBtn.TabIndex = 0;
|
||||
this.createEntryBtn.Text = "Create";
|
||||
this.createEntryBtn.UseVisualStyleBackColor = true;
|
||||
@@ -47,26 +49,30 @@
|
||||
//
|
||||
// newEntryNameTxtBox
|
||||
//
|
||||
this.newEntryNameTxtBox.Location = new System.Drawing.Point(6, 26);
|
||||
this.newEntryNameTxtBox.Location = new System.Drawing.Point(5, 20);
|
||||
this.newEntryNameTxtBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.newEntryNameTxtBox.Name = "newEntryNameTxtBox";
|
||||
this.newEntryNameTxtBox.Size = new System.Drawing.Size(125, 27);
|
||||
this.newEntryNameTxtBox.Size = new System.Drawing.Size(110, 23);
|
||||
this.newEntryNameTxtBox.TabIndex = 1;
|
||||
//
|
||||
// groupBox
|
||||
//
|
||||
this.groupBox.Controls.Add(this.newEntryNameTxtBox);
|
||||
this.groupBox.Location = new System.Drawing.Point(12, 12);
|
||||
this.groupBox.Location = new System.Drawing.Point(10, 9);
|
||||
this.groupBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.groupBox.Name = "groupBox";
|
||||
this.groupBox.Size = new System.Drawing.Size(168, 74);
|
||||
this.groupBox.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.groupBox.Size = new System.Drawing.Size(147, 56);
|
||||
this.groupBox.TabIndex = 2;
|
||||
this.groupBox.TabStop = false;
|
||||
this.groupBox.Text = "Entry name";
|
||||
//
|
||||
// cancelBtn
|
||||
//
|
||||
this.cancelBtn.Location = new System.Drawing.Point(193, 21);
|
||||
this.cancelBtn.Location = new System.Drawing.Point(169, 16);
|
||||
this.cancelBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cancelBtn.Name = "cancelBtn";
|
||||
this.cancelBtn.Size = new System.Drawing.Size(94, 29);
|
||||
this.cancelBtn.Size = new System.Drawing.Size(82, 22);
|
||||
this.cancelBtn.TabIndex = 3;
|
||||
this.cancelBtn.Text = "Cancel";
|
||||
this.cancelBtn.UseVisualStyleBackColor = true;
|
||||
@@ -74,12 +80,14 @@
|
||||
//
|
||||
// NewEntryForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(299, 111);
|
||||
this.ClientSize = new System.Drawing.Size(262, 83);
|
||||
this.Controls.Add(this.cancelBtn);
|
||||
this.Controls.Add(this.groupBox);
|
||||
this.Controls.Add(this.createEntryBtn);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.Name = "NewEntryForm";
|
||||
this.Text = "NewEntryForm";
|
||||
this.groupBox.ResumeLayout(false);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
2
BMGEditor/UI/PreferencesAbout.Designer.cs
generated
2
BMGEditor/UI/PreferencesAbout.Designer.cs
generated
@@ -121,7 +121,7 @@
|
||||
this.Name = "PreferencesAbout";
|
||||
this.ShowIcon = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "PreferencesAbout";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace BMGEditor
|
||||
InitializeComponent();
|
||||
Text = "About this software";
|
||||
label3.Text = $"Version: {Variables.softwareVersion}";
|
||||
label4.Text = $"Build number: {Variables.softwareInternalVersion}";
|
||||
label4.Text = $"Build number: {Variables.build}";
|
||||
}
|
||||
|
||||
private void closeFormBtn_Click(object sender, EventArgs e)
|
||||
|
||||
329
BMGEditor/UI/TextEntryEditorForm.Designer.cs
generated
329
BMGEditor/UI/TextEntryEditorForm.Designer.cs
generated
@@ -28,46 +28,47 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextEntryEditorForm));
|
||||
this.tabControl = new System.Windows.Forms.TabControl();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.entryNoGroup = new System.Windows.Forms.GroupBox();
|
||||
this.entryNoTextBox = new System.Windows.Forms.TextBox();
|
||||
this.entryNameGroup = new System.Windows.Forms.GroupBox();
|
||||
this.entryNameTxtBox = new System.Windows.Forms.TextBox();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.entryTextTxtBox = new System.Windows.Forms.RichTextBox();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.entryNameGroup = new System.Windows.Forms.GroupBox();
|
||||
this.entryNameTxtBox = new System.Windows.Forms.TextBox();
|
||||
this.entryNoGroup = new System.Windows.Forms.GroupBox();
|
||||
this.entryNoTextBox = new System.Windows.Forms.TextBox();
|
||||
this.unk1ValueGroup = new System.Windows.Forms.GroupBox();
|
||||
this.cameraOptGroup = new System.Windows.Forms.GroupBox();
|
||||
this.sndEffectOptGroup = new System.Windows.Forms.GroupBox();
|
||||
this.unk2ValueGroup = new System.Windows.Forms.GroupBox();
|
||||
this.msgTriggerGroup = new System.Windows.Forms.GroupBox();
|
||||
this.msgLayoutGroup = new System.Windows.Forms.GroupBox();
|
||||
this.msgAreaGroup = new System.Windows.Forms.GroupBox();
|
||||
this.unk1ValueUpDown = new System.Windows.Forms.NumericUpDown();
|
||||
this.cameraOptGroup = new System.Windows.Forms.GroupBox();
|
||||
this.cameraOptUpDown = new System.Windows.Forms.NumericUpDown();
|
||||
this.sndEffectOptGroup = new System.Windows.Forms.GroupBox();
|
||||
this.sndEffectOptUpDown = new System.Windows.Forms.NumericUpDown();
|
||||
this.unk2ValueGroup = new System.Windows.Forms.GroupBox();
|
||||
this.unk2ValueUpDown = new System.Windows.Forms.NumericUpDown();
|
||||
this.msgTriggerGroup = new System.Windows.Forms.GroupBox();
|
||||
this.msgTriggerCombo = new System.Windows.Forms.ComboBox();
|
||||
this.msgLayoutGroup = new System.Windows.Forms.GroupBox();
|
||||
this.msgLayoutCombo = new System.Windows.Forms.ComboBox();
|
||||
this.msgAreaGroup = new System.Windows.Forms.GroupBox();
|
||||
this.msgAreaCombo = new System.Windows.Forms.ComboBox();
|
||||
this.tabControl.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
this.tabPage2.SuspendLayout();
|
||||
this.flowLayoutPanel1.SuspendLayout();
|
||||
this.entryNoGroup.SuspendLayout();
|
||||
this.entryNameGroup.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
this.entryNoGroup.SuspendLayout();
|
||||
this.unk1ValueGroup.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.unk1ValueUpDown)).BeginInit();
|
||||
this.cameraOptGroup.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cameraOptUpDown)).BeginInit();
|
||||
this.sndEffectOptGroup.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.sndEffectOptUpDown)).BeginInit();
|
||||
this.unk2ValueGroup.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.unk2ValueUpDown)).BeginInit();
|
||||
this.msgTriggerGroup.SuspendLayout();
|
||||
this.msgLayoutGroup.SuspendLayout();
|
||||
this.msgAreaGroup.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.unk1ValueUpDown)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cameraOptUpDown)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.sndEffectOptUpDown)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.unk2ValueUpDown)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tabControl
|
||||
@@ -77,18 +78,42 @@
|
||||
this.tabControl.Cursor = System.Windows.Forms.Cursors.Default;
|
||||
this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabControl.Location = new System.Drawing.Point(0, 0);
|
||||
this.tabControl.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.tabControl.Name = "tabControl";
|
||||
this.tabControl.SelectedIndex = 0;
|
||||
this.tabControl.Size = new System.Drawing.Size(800, 450);
|
||||
this.tabControl.Size = new System.Drawing.Size(700, 338);
|
||||
this.tabControl.TabIndex = 1;
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
this.tabPage1.Controls.Add(this.entryTextTxtBox);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPage1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.tabPage1.Size = new System.Drawing.Size(692, 310);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "Text";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// entryTextTxtBox
|
||||
//
|
||||
this.entryTextTxtBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.entryTextTxtBox.Location = new System.Drawing.Point(3, 2);
|
||||
this.entryTextTxtBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.entryTextTxtBox.Name = "entryTextTxtBox";
|
||||
this.entryTextTxtBox.Size = new System.Drawing.Size(686, 306);
|
||||
this.entryTextTxtBox.TabIndex = 7;
|
||||
this.entryTextTxtBox.Text = "";
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.Controls.Add(this.flowLayoutPanel1);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 29);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPage2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage2.Size = new System.Drawing.Size(792, 417);
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.tabPage2.Size = new System.Drawing.Size(692, 310);
|
||||
this.tabPage2.TabIndex = 1;
|
||||
this.tabPage2.Text = "Properties";
|
||||
this.tabPage2.UseVisualStyleBackColor = true;
|
||||
@@ -105,35 +130,20 @@
|
||||
this.flowLayoutPanel1.Controls.Add(this.msgLayoutGroup);
|
||||
this.flowLayoutPanel1.Controls.Add(this.msgAreaGroup);
|
||||
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3);
|
||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 2);
|
||||
this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(786, 411);
|
||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(686, 306);
|
||||
this.flowLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
// entryNoGroup
|
||||
//
|
||||
this.entryNoGroup.Controls.Add(this.entryNoTextBox);
|
||||
this.entryNoGroup.Location = new System.Drawing.Point(196, 3);
|
||||
this.entryNoGroup.Name = "entryNoGroup";
|
||||
this.entryNoGroup.Size = new System.Drawing.Size(187, 66);
|
||||
this.entryNoGroup.TabIndex = 1;
|
||||
this.entryNoGroup.TabStop = false;
|
||||
this.entryNoGroup.Text = "Entry number";
|
||||
//
|
||||
// entryNoTextBox
|
||||
//
|
||||
this.entryNoTextBox.Enabled = false;
|
||||
this.entryNoTextBox.Location = new System.Drawing.Point(6, 26);
|
||||
this.entryNoTextBox.Name = "entryNoTextBox";
|
||||
this.entryNoTextBox.Size = new System.Drawing.Size(167, 27);
|
||||
this.entryNoTextBox.TabIndex = 0;
|
||||
//
|
||||
// entryNameGroup
|
||||
//
|
||||
this.entryNameGroup.Controls.Add(this.entryNameTxtBox);
|
||||
this.entryNameGroup.Location = new System.Drawing.Point(3, 3);
|
||||
this.entryNameGroup.Location = new System.Drawing.Point(3, 2);
|
||||
this.entryNameGroup.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.entryNameGroup.Name = "entryNameGroup";
|
||||
this.entryNameGroup.Size = new System.Drawing.Size(187, 66);
|
||||
this.entryNameGroup.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.entryNameGroup.Size = new System.Drawing.Size(164, 50);
|
||||
this.entryNameGroup.TabIndex = 0;
|
||||
this.entryNameGroup.TabStop = false;
|
||||
this.entryNameGroup.Text = "Entry name";
|
||||
@@ -141,153 +151,149 @@
|
||||
// entryNameTxtBox
|
||||
//
|
||||
this.entryNameTxtBox.Enabled = false;
|
||||
this.entryNameTxtBox.Location = new System.Drawing.Point(6, 26);
|
||||
this.entryNameTxtBox.Location = new System.Drawing.Point(5, 20);
|
||||
this.entryNameTxtBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.entryNameTxtBox.Name = "entryNameTxtBox";
|
||||
this.entryNameTxtBox.Size = new System.Drawing.Size(167, 27);
|
||||
this.entryNameTxtBox.Size = new System.Drawing.Size(147, 23);
|
||||
this.entryNameTxtBox.TabIndex = 0;
|
||||
//
|
||||
// tabPage1
|
||||
// entryNoGroup
|
||||
//
|
||||
this.tabPage1.Controls.Add(this.entryTextTxtBox);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 29);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage1.Size = new System.Drawing.Size(792, 417);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "Text";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
this.entryNoGroup.Controls.Add(this.entryNoTextBox);
|
||||
this.entryNoGroup.Location = new System.Drawing.Point(173, 2);
|
||||
this.entryNoGroup.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.entryNoGroup.Name = "entryNoGroup";
|
||||
this.entryNoGroup.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.entryNoGroup.Size = new System.Drawing.Size(164, 50);
|
||||
this.entryNoGroup.TabIndex = 1;
|
||||
this.entryNoGroup.TabStop = false;
|
||||
this.entryNoGroup.Text = "Entry number";
|
||||
//
|
||||
// entryTextTxtBox
|
||||
// entryNoTextBox
|
||||
//
|
||||
this.entryTextTxtBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.entryTextTxtBox.Location = new System.Drawing.Point(3, 3);
|
||||
this.entryTextTxtBox.Name = "entryTextTxtBox";
|
||||
this.entryTextTxtBox.Size = new System.Drawing.Size(786, 411);
|
||||
this.entryTextTxtBox.TabIndex = 7;
|
||||
this.entryTextTxtBox.Text = "";
|
||||
this.entryNoTextBox.Enabled = false;
|
||||
this.entryNoTextBox.Location = new System.Drawing.Point(5, 20);
|
||||
this.entryNoTextBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.entryNoTextBox.Name = "entryNoTextBox";
|
||||
this.entryNoTextBox.Size = new System.Drawing.Size(147, 23);
|
||||
this.entryNoTextBox.TabIndex = 0;
|
||||
//
|
||||
// unk1ValueGroup
|
||||
//
|
||||
this.unk1ValueGroup.Controls.Add(this.unk1ValueUpDown);
|
||||
this.unk1ValueGroup.Location = new System.Drawing.Point(389, 3);
|
||||
this.unk1ValueGroup.Location = new System.Drawing.Point(343, 2);
|
||||
this.unk1ValueGroup.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.unk1ValueGroup.Name = "unk1ValueGroup";
|
||||
this.unk1ValueGroup.Size = new System.Drawing.Size(187, 66);
|
||||
this.unk1ValueGroup.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.unk1ValueGroup.Size = new System.Drawing.Size(164, 50);
|
||||
this.unk1ValueGroup.TabIndex = 2;
|
||||
this.unk1ValueGroup.TabStop = false;
|
||||
this.unk1ValueGroup.Text = "Unknown value 1";
|
||||
//
|
||||
// cameraOptGroup
|
||||
//
|
||||
this.cameraOptGroup.Controls.Add(this.cameraOptUpDown);
|
||||
this.cameraOptGroup.Location = new System.Drawing.Point(582, 3);
|
||||
this.cameraOptGroup.Name = "cameraOptGroup";
|
||||
this.cameraOptGroup.Size = new System.Drawing.Size(187, 66);
|
||||
this.cameraOptGroup.TabIndex = 2;
|
||||
this.cameraOptGroup.TabStop = false;
|
||||
this.cameraOptGroup.Text = "Camera";
|
||||
//
|
||||
// sndEffectOptGroup
|
||||
//
|
||||
this.sndEffectOptGroup.Controls.Add(this.sndEffectOptUpDown);
|
||||
this.sndEffectOptGroup.Location = new System.Drawing.Point(3, 75);
|
||||
this.sndEffectOptGroup.Name = "sndEffectOptGroup";
|
||||
this.sndEffectOptGroup.Size = new System.Drawing.Size(187, 66);
|
||||
this.sndEffectOptGroup.TabIndex = 2;
|
||||
this.sndEffectOptGroup.TabStop = false;
|
||||
this.sndEffectOptGroup.Text = "Sound effect";
|
||||
//
|
||||
// unk2ValueGroup
|
||||
//
|
||||
this.unk2ValueGroup.Controls.Add(this.unk2ValueUpDown);
|
||||
this.unk2ValueGroup.Location = new System.Drawing.Point(196, 75);
|
||||
this.unk2ValueGroup.Name = "unk2ValueGroup";
|
||||
this.unk2ValueGroup.Size = new System.Drawing.Size(187, 66);
|
||||
this.unk2ValueGroup.TabIndex = 3;
|
||||
this.unk2ValueGroup.TabStop = false;
|
||||
this.unk2ValueGroup.Text = "Unknown value 2";
|
||||
//
|
||||
// msgTriggerGroup
|
||||
//
|
||||
this.msgTriggerGroup.Controls.Add(this.msgTriggerCombo);
|
||||
this.msgTriggerGroup.Location = new System.Drawing.Point(389, 75);
|
||||
this.msgTriggerGroup.Name = "msgTriggerGroup";
|
||||
this.msgTriggerGroup.Size = new System.Drawing.Size(187, 66);
|
||||
this.msgTriggerGroup.TabIndex = 4;
|
||||
this.msgTriggerGroup.TabStop = false;
|
||||
this.msgTriggerGroup.Text = "Message trigger";
|
||||
//
|
||||
// msgLayoutGroup
|
||||
//
|
||||
this.msgLayoutGroup.Controls.Add(this.msgLayoutCombo);
|
||||
this.msgLayoutGroup.Location = new System.Drawing.Point(582, 75);
|
||||
this.msgLayoutGroup.Name = "msgLayoutGroup";
|
||||
this.msgLayoutGroup.Size = new System.Drawing.Size(187, 66);
|
||||
this.msgLayoutGroup.TabIndex = 5;
|
||||
this.msgLayoutGroup.TabStop = false;
|
||||
this.msgLayoutGroup.Text = "Message layout";
|
||||
//
|
||||
// msgAreaGroup
|
||||
//
|
||||
this.msgAreaGroup.Controls.Add(this.msgAreaCombo);
|
||||
this.msgAreaGroup.Location = new System.Drawing.Point(3, 147);
|
||||
this.msgAreaGroup.Name = "msgAreaGroup";
|
||||
this.msgAreaGroup.Size = new System.Drawing.Size(187, 66);
|
||||
this.msgAreaGroup.TabIndex = 6;
|
||||
this.msgAreaGroup.TabStop = false;
|
||||
this.msgAreaGroup.Text = "Message area";
|
||||
//
|
||||
// unk1ValueUpDown
|
||||
//
|
||||
this.unk1ValueUpDown.Hexadecimal = true;
|
||||
this.unk1ValueUpDown.Location = new System.Drawing.Point(6, 27);
|
||||
this.unk1ValueUpDown.Location = new System.Drawing.Point(5, 20);
|
||||
this.unk1ValueUpDown.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.unk1ValueUpDown.Maximum = new decimal(new int[] {
|
||||
255,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.unk1ValueUpDown.Name = "unk1ValueUpDown";
|
||||
this.unk1ValueUpDown.Size = new System.Drawing.Size(167, 27);
|
||||
this.unk1ValueUpDown.Size = new System.Drawing.Size(146, 23);
|
||||
this.unk1ValueUpDown.TabIndex = 0;
|
||||
//
|
||||
// cameraOptGroup
|
||||
//
|
||||
this.cameraOptGroup.Controls.Add(this.cameraOptUpDown);
|
||||
this.cameraOptGroup.Location = new System.Drawing.Point(513, 2);
|
||||
this.cameraOptGroup.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cameraOptGroup.Name = "cameraOptGroup";
|
||||
this.cameraOptGroup.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cameraOptGroup.Size = new System.Drawing.Size(164, 50);
|
||||
this.cameraOptGroup.TabIndex = 2;
|
||||
this.cameraOptGroup.TabStop = false;
|
||||
this.cameraOptGroup.Text = "Camera";
|
||||
//
|
||||
// cameraOptUpDown
|
||||
//
|
||||
this.cameraOptUpDown.Hexadecimal = true;
|
||||
this.cameraOptUpDown.Location = new System.Drawing.Point(6, 26);
|
||||
this.cameraOptUpDown.Location = new System.Drawing.Point(5, 20);
|
||||
this.cameraOptUpDown.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cameraOptUpDown.Maximum = new decimal(new int[] {
|
||||
255,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.cameraOptUpDown.Name = "cameraOptUpDown";
|
||||
this.cameraOptUpDown.Size = new System.Drawing.Size(167, 27);
|
||||
this.cameraOptUpDown.Size = new System.Drawing.Size(146, 23);
|
||||
this.cameraOptUpDown.TabIndex = 1;
|
||||
//
|
||||
// sndEffectOptGroup
|
||||
//
|
||||
this.sndEffectOptGroup.Controls.Add(this.sndEffectOptUpDown);
|
||||
this.sndEffectOptGroup.Location = new System.Drawing.Point(3, 56);
|
||||
this.sndEffectOptGroup.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.sndEffectOptGroup.Name = "sndEffectOptGroup";
|
||||
this.sndEffectOptGroup.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.sndEffectOptGroup.Size = new System.Drawing.Size(164, 50);
|
||||
this.sndEffectOptGroup.TabIndex = 2;
|
||||
this.sndEffectOptGroup.TabStop = false;
|
||||
this.sndEffectOptGroup.Text = "Sound effect";
|
||||
//
|
||||
// sndEffectOptUpDown
|
||||
//
|
||||
this.sndEffectOptUpDown.Hexadecimal = true;
|
||||
this.sndEffectOptUpDown.Location = new System.Drawing.Point(6, 26);
|
||||
this.sndEffectOptUpDown.Location = new System.Drawing.Point(5, 20);
|
||||
this.sndEffectOptUpDown.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.sndEffectOptUpDown.Maximum = new decimal(new int[] {
|
||||
255,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.sndEffectOptUpDown.Name = "sndEffectOptUpDown";
|
||||
this.sndEffectOptUpDown.Size = new System.Drawing.Size(167, 27);
|
||||
this.sndEffectOptUpDown.Size = new System.Drawing.Size(146, 23);
|
||||
this.sndEffectOptUpDown.TabIndex = 1;
|
||||
//
|
||||
// unk2ValueGroup
|
||||
//
|
||||
this.unk2ValueGroup.Controls.Add(this.unk2ValueUpDown);
|
||||
this.unk2ValueGroup.Location = new System.Drawing.Point(173, 56);
|
||||
this.unk2ValueGroup.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.unk2ValueGroup.Name = "unk2ValueGroup";
|
||||
this.unk2ValueGroup.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.unk2ValueGroup.Size = new System.Drawing.Size(164, 50);
|
||||
this.unk2ValueGroup.TabIndex = 3;
|
||||
this.unk2ValueGroup.TabStop = false;
|
||||
this.unk2ValueGroup.Text = "Unknown value 2";
|
||||
//
|
||||
// unk2ValueUpDown
|
||||
//
|
||||
this.unk2ValueUpDown.Hexadecimal = true;
|
||||
this.unk2ValueUpDown.Location = new System.Drawing.Point(6, 26);
|
||||
this.unk2ValueUpDown.Location = new System.Drawing.Point(5, 20);
|
||||
this.unk2ValueUpDown.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.unk2ValueUpDown.Maximum = new decimal(new int[] {
|
||||
255,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.unk2ValueUpDown.Name = "unk2ValueUpDown";
|
||||
this.unk2ValueUpDown.Size = new System.Drawing.Size(167, 27);
|
||||
this.unk2ValueUpDown.Size = new System.Drawing.Size(146, 23);
|
||||
this.unk2ValueUpDown.TabIndex = 1;
|
||||
//
|
||||
// msgTriggerGroup
|
||||
//
|
||||
this.msgTriggerGroup.Controls.Add(this.msgTriggerCombo);
|
||||
this.msgTriggerGroup.Location = new System.Drawing.Point(343, 56);
|
||||
this.msgTriggerGroup.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.msgTriggerGroup.Name = "msgTriggerGroup";
|
||||
this.msgTriggerGroup.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.msgTriggerGroup.Size = new System.Drawing.Size(164, 50);
|
||||
this.msgTriggerGroup.TabIndex = 4;
|
||||
this.msgTriggerGroup.TabStop = false;
|
||||
this.msgTriggerGroup.Text = "Message trigger";
|
||||
//
|
||||
// msgTriggerCombo
|
||||
//
|
||||
this.msgTriggerCombo.FormattingEnabled = true;
|
||||
@@ -297,11 +303,24 @@
|
||||
"Auto",
|
||||
"Unknown",
|
||||
"None"});
|
||||
this.msgTriggerCombo.Location = new System.Drawing.Point(6, 26);
|
||||
this.msgTriggerCombo.Location = new System.Drawing.Point(5, 20);
|
||||
this.msgTriggerCombo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.msgTriggerCombo.Name = "msgTriggerCombo";
|
||||
this.msgTriggerCombo.Size = new System.Drawing.Size(167, 28);
|
||||
this.msgTriggerCombo.Size = new System.Drawing.Size(147, 23);
|
||||
this.msgTriggerCombo.TabIndex = 0;
|
||||
//
|
||||
// msgLayoutGroup
|
||||
//
|
||||
this.msgLayoutGroup.Controls.Add(this.msgLayoutCombo);
|
||||
this.msgLayoutGroup.Location = new System.Drawing.Point(513, 56);
|
||||
this.msgLayoutGroup.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.msgLayoutGroup.Name = "msgLayoutGroup";
|
||||
this.msgLayoutGroup.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.msgLayoutGroup.Size = new System.Drawing.Size(164, 50);
|
||||
this.msgLayoutGroup.TabIndex = 5;
|
||||
this.msgLayoutGroup.TabStop = false;
|
||||
this.msgLayoutGroup.Text = "Message layout";
|
||||
//
|
||||
// msgLayoutCombo
|
||||
//
|
||||
this.msgLayoutCombo.FormattingEnabled = true;
|
||||
@@ -309,50 +328,66 @@
|
||||
"Default",
|
||||
"Reading a sign",
|
||||
"Information"});
|
||||
this.msgLayoutCombo.Location = new System.Drawing.Point(6, 25);
|
||||
this.msgLayoutCombo.Location = new System.Drawing.Point(5, 19);
|
||||
this.msgLayoutCombo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.msgLayoutCombo.Name = "msgLayoutCombo";
|
||||
this.msgLayoutCombo.Size = new System.Drawing.Size(167, 28);
|
||||
this.msgLayoutCombo.Size = new System.Drawing.Size(147, 23);
|
||||
this.msgLayoutCombo.TabIndex = 1;
|
||||
//
|
||||
// msgAreaGroup
|
||||
//
|
||||
this.msgAreaGroup.Controls.Add(this.msgAreaCombo);
|
||||
this.msgAreaGroup.Location = new System.Drawing.Point(3, 110);
|
||||
this.msgAreaGroup.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.msgAreaGroup.Name = "msgAreaGroup";
|
||||
this.msgAreaGroup.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.msgAreaGroup.Size = new System.Drawing.Size(164, 50);
|
||||
this.msgAreaGroup.TabIndex = 6;
|
||||
this.msgAreaGroup.TabStop = false;
|
||||
this.msgAreaGroup.Text = "Message area";
|
||||
//
|
||||
// msgAreaCombo
|
||||
//
|
||||
this.msgAreaCombo.FormattingEnabled = true;
|
||||
this.msgAreaCombo.Items.AddRange(new object[] {
|
||||
"0x00 (Unknown)",
|
||||
"0xFF (Unknown)"});
|
||||
this.msgAreaCombo.Location = new System.Drawing.Point(6, 26);
|
||||
this.msgAreaCombo.Location = new System.Drawing.Point(5, 20);
|
||||
this.msgAreaCombo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.msgAreaCombo.Name = "msgAreaCombo";
|
||||
this.msgAreaCombo.Size = new System.Drawing.Size(167, 28);
|
||||
this.msgAreaCombo.Size = new System.Drawing.Size(147, 23);
|
||||
this.msgAreaCombo.TabIndex = 2;
|
||||
//
|
||||
// TextEntryEditorForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.ClientSize = new System.Drawing.Size(700, 338);
|
||||
this.Controls.Add(this.tabControl);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.Name = "TextEntryEditorForm";
|
||||
this.Text = "TextEntryEditorForm";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TextEntryEditorForm_FormClosing);
|
||||
this.tabControl.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
this.tabPage2.ResumeLayout(false);
|
||||
this.flowLayoutPanel1.ResumeLayout(false);
|
||||
this.entryNoGroup.ResumeLayout(false);
|
||||
this.entryNoGroup.PerformLayout();
|
||||
this.entryNameGroup.ResumeLayout(false);
|
||||
this.entryNameGroup.PerformLayout();
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
this.entryNoGroup.ResumeLayout(false);
|
||||
this.entryNoGroup.PerformLayout();
|
||||
this.unk1ValueGroup.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.unk1ValueUpDown)).EndInit();
|
||||
this.cameraOptGroup.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.cameraOptUpDown)).EndInit();
|
||||
this.sndEffectOptGroup.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.sndEffectOptUpDown)).EndInit();
|
||||
this.unk2ValueGroup.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.unk2ValueUpDown)).EndInit();
|
||||
this.msgTriggerGroup.ResumeLayout(false);
|
||||
this.msgLayoutGroup.ResumeLayout(false);
|
||||
this.msgAreaGroup.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.unk1ValueUpDown)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cameraOptUpDown)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.sndEffectOptUpDown)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.unk2ValueUpDown)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user