Entralink forest can now be fully viewed.

This commit is contained in:
suloku 2016-03-07 18:11:46 +01:00
parent b5b943d877
commit c8962d24d7
7 changed files with 2659 additions and 0 deletions

View File

@ -50,10 +50,15 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Editors\Text.cs" />
<Compile Include="Editors\Dumper.cs" />
<Compile Include="Editors\Dumper.Designer.cs">
<DependentUpon>Dumper.cs</DependentUpon>
</Compile>
<Compile Include="Editors\Entralink.cs" />
<Compile Include="Editors\Entralink.Designer.cs">
<DependentUpon>Entralink.cs</DependentUpon>
</Compile>
<Compile Include="Editors\Grotto.cs" />
<Compile Include="Editors\Grotto.Designer.cs">
<DependentUpon>Grotto.cs</DependentUpon>
@ -87,6 +92,9 @@
<EmbeddedResource Include="Editors\Dumper.resx">
<DependentUpon>Dumper.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Editors\Entralink.resx">
<DependentUpon>Entralink.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Editors\Grotto.resx">
<DependentUpon>Grotto.cs</DependentUpon>
</EmbeddedResource>

933
BW_tool/Editors/Entralink.Designer.cs generated Normal file
View File

@ -0,0 +1,933 @@
/*
* Created by SharpDevelop.
* User: suloku
* Date: 05/03/2016
* Time: 11:00
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace BW_tool
{
partial class Entralink
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.RadioButton check8r;
private System.Windows.Forms.RadioButton check8c;
private System.Windows.Forms.RadioButton check8l;
private System.Windows.Forms.RadioButton check7r;
private System.Windows.Forms.RadioButton check7c;
private System.Windows.Forms.RadioButton check7l;
private System.Windows.Forms.RadioButton check6r;
private System.Windows.Forms.RadioButton check6c;
private System.Windows.Forms.RadioButton check6l;
private System.Windows.Forms.RadioButton check5r;
private System.Windows.Forms.RadioButton check5c;
private System.Windows.Forms.RadioButton check5l;
private System.Windows.Forms.RadioButton check9r;
private System.Windows.Forms.RadioButton check9c;
private System.Windows.Forms.RadioButton check9l;
private System.Windows.Forms.RadioButton check4r;
private System.Windows.Forms.RadioButton check4c;
private System.Windows.Forms.RadioButton check4l;
private System.Windows.Forms.RadioButton check3r;
private System.Windows.Forms.RadioButton check3c;
private System.Windows.Forms.RadioButton check3l;
private System.Windows.Forms.RadioButton check2r;
private System.Windows.Forms.RadioButton check2c;
private System.Windows.Forms.RadioButton check2l;
private System.Windows.Forms.RadioButton check1r;
private System.Windows.Forms.RadioButton check1c;
private System.Windows.Forms.RadioButton check1l;
private System.Windows.Forms.RadioButton checkdeep;
private System.Windows.Forms.ComboBox spbox1;
private System.Windows.Forms.ComboBox move1box;
private System.Windows.Forms.ComboBox genderbox1;
private System.Windows.Forms.NumericUpDown formbox1;
private System.Windows.Forms.ComboBox unlock9;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.NumericUpDown animbox1;
private System.Windows.Forms.ComboBox unlock8box;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.NumericUpDown slot;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.Label label21;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.Label label23;
private System.Windows.Forms.Label label24;
private System.Windows.Forms.Label label25;
private System.Windows.Forms.Label label26;
private System.Windows.Forms.Label label27;
private System.Windows.Forms.GroupBox groupBox1;
/// <summary>
/// Disposes resources used by the form.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
}
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
this.check9r = new System.Windows.Forms.RadioButton();
this.check9c = new System.Windows.Forms.RadioButton();
this.check9l = new System.Windows.Forms.RadioButton();
this.checkdeep = new System.Windows.Forms.RadioButton();
this.check8r = new System.Windows.Forms.RadioButton();
this.check8c = new System.Windows.Forms.RadioButton();
this.check8l = new System.Windows.Forms.RadioButton();
this.check7r = new System.Windows.Forms.RadioButton();
this.check7c = new System.Windows.Forms.RadioButton();
this.check7l = new System.Windows.Forms.RadioButton();
this.check6r = new System.Windows.Forms.RadioButton();
this.check6c = new System.Windows.Forms.RadioButton();
this.check6l = new System.Windows.Forms.RadioButton();
this.check5r = new System.Windows.Forms.RadioButton();
this.check5c = new System.Windows.Forms.RadioButton();
this.check5l = new System.Windows.Forms.RadioButton();
this.check4r = new System.Windows.Forms.RadioButton();
this.check4c = new System.Windows.Forms.RadioButton();
this.check4l = new System.Windows.Forms.RadioButton();
this.check3r = new System.Windows.Forms.RadioButton();
this.check3c = new System.Windows.Forms.RadioButton();
this.check3l = new System.Windows.Forms.RadioButton();
this.check2r = new System.Windows.Forms.RadioButton();
this.check2c = new System.Windows.Forms.RadioButton();
this.check2l = new System.Windows.Forms.RadioButton();
this.check1r = new System.Windows.Forms.RadioButton();
this.check1c = new System.Windows.Forms.RadioButton();
this.check1l = new System.Windows.Forms.RadioButton();
this.spbox1 = new System.Windows.Forms.ComboBox();
this.move1box = new System.Windows.Forms.ComboBox();
this.genderbox1 = new System.Windows.Forms.ComboBox();
this.formbox1 = new System.Windows.Forms.NumericUpDown();
this.label1 = new System.Windows.Forms.Label();
this.animbox1 = new System.Windows.Forms.NumericUpDown();
this.unlock8box = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.slot = new System.Windows.Forms.NumericUpDown();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.label17 = new System.Windows.Forms.Label();
this.label18 = new System.Windows.Forms.Label();
this.label19 = new System.Windows.Forms.Label();
this.label20 = new System.Windows.Forms.Label();
this.label21 = new System.Windows.Forms.Label();
this.label22 = new System.Windows.Forms.Label();
this.label23 = new System.Windows.Forms.Label();
this.label24 = new System.Windows.Forms.Label();
this.label25 = new System.Windows.Forms.Label();
this.label26 = new System.Windows.Forms.Label();
this.label27 = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label2 = new System.Windows.Forms.Label();
this.unlock9 = new System.Windows.Forms.ComboBox();
((System.ComponentModel.ISupportInitialize)(this.formbox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.animbox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.slot)).BeginInit();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// check9r
//
this.check9r.Appearance = System.Windows.Forms.Appearance.Button;
this.check9r.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check9r.Location = new System.Drawing.Point(140, 40);
this.check9r.Name = "check9r";
this.check9r.Size = new System.Drawing.Size(61, 24);
this.check9r.TabIndex = 17;
this.check9r.Text = "9 Right";
this.check9r.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check9r.UseVisualStyleBackColor = true;
this.check9r.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check9c
//
this.check9c.Appearance = System.Windows.Forms.Appearance.Button;
this.check9c.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check9c.Location = new System.Drawing.Point(73, 40);
this.check9c.Name = "check9c";
this.check9c.Size = new System.Drawing.Size(61, 24);
this.check9c.TabIndex = 16;
this.check9c.Text = "9 Center";
this.check9c.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check9c.UseVisualStyleBackColor = true;
this.check9c.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check9l
//
this.check9l.Appearance = System.Windows.Forms.Appearance.Button;
this.check9l.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check9l.Location = new System.Drawing.Point(6, 40);
this.check9l.Name = "check9l";
this.check9l.Size = new System.Drawing.Size(61, 24);
this.check9l.TabIndex = 15;
this.check9l.Text = "9 Left";
this.check9l.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check9l.UseVisualStyleBackColor = true;
this.check9l.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// checkdeep
//
this.checkdeep.Appearance = System.Windows.Forms.Appearance.Button;
this.checkdeep.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.checkdeep.Location = new System.Drawing.Point(73, 10);
this.checkdeep.Name = "checkdeep";
this.checkdeep.Size = new System.Drawing.Size(61, 24);
this.checkdeep.TabIndex = 27;
this.checkdeep.Text = "Deep";
this.checkdeep.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.checkdeep.UseVisualStyleBackColor = true;
this.checkdeep.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check8r
//
this.check8r.Appearance = System.Windows.Forms.Appearance.Button;
this.check8r.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check8r.Location = new System.Drawing.Point(140, 70);
this.check8r.Name = "check8r";
this.check8r.Size = new System.Drawing.Size(61, 24);
this.check8r.TabIndex = 30;
this.check8r.Text = "8 Right";
this.check8r.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check8r.UseVisualStyleBackColor = true;
this.check8r.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check8c
//
this.check8c.Appearance = System.Windows.Forms.Appearance.Button;
this.check8c.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check8c.Location = new System.Drawing.Point(73, 70);
this.check8c.Name = "check8c";
this.check8c.Size = new System.Drawing.Size(61, 24);
this.check8c.TabIndex = 29;
this.check8c.Text = "8 Center";
this.check8c.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check8c.UseVisualStyleBackColor = true;
this.check8c.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check8l
//
this.check8l.Appearance = System.Windows.Forms.Appearance.Button;
this.check8l.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check8l.Location = new System.Drawing.Point(6, 70);
this.check8l.Name = "check8l";
this.check8l.Size = new System.Drawing.Size(61, 24);
this.check8l.TabIndex = 28;
this.check8l.Text = "8 Left";
this.check8l.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check8l.UseVisualStyleBackColor = true;
this.check8l.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check7r
//
this.check7r.Appearance = System.Windows.Forms.Appearance.Button;
this.check7r.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check7r.Location = new System.Drawing.Point(140, 100);
this.check7r.Name = "check7r";
this.check7r.Size = new System.Drawing.Size(61, 24);
this.check7r.TabIndex = 33;
this.check7r.Text = "7 Right";
this.check7r.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check7r.UseVisualStyleBackColor = true;
this.check7r.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check7c
//
this.check7c.Appearance = System.Windows.Forms.Appearance.Button;
this.check7c.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check7c.Location = new System.Drawing.Point(73, 100);
this.check7c.Name = "check7c";
this.check7c.Size = new System.Drawing.Size(61, 24);
this.check7c.TabIndex = 32;
this.check7c.Text = "7 Center";
this.check7c.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check7c.UseVisualStyleBackColor = true;
this.check7c.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check7l
//
this.check7l.Appearance = System.Windows.Forms.Appearance.Button;
this.check7l.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check7l.Location = new System.Drawing.Point(6, 100);
this.check7l.Name = "check7l";
this.check7l.Size = new System.Drawing.Size(61, 24);
this.check7l.TabIndex = 31;
this.check7l.Text = "7 Left";
this.check7l.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check7l.UseVisualStyleBackColor = true;
this.check7l.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check6r
//
this.check6r.Appearance = System.Windows.Forms.Appearance.Button;
this.check6r.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check6r.Location = new System.Drawing.Point(140, 130);
this.check6r.Name = "check6r";
this.check6r.Size = new System.Drawing.Size(61, 24);
this.check6r.TabIndex = 36;
this.check6r.Text = "6 Right";
this.check6r.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check6r.UseVisualStyleBackColor = true;
this.check6r.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check6c
//
this.check6c.Appearance = System.Windows.Forms.Appearance.Button;
this.check6c.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check6c.Location = new System.Drawing.Point(73, 130);
this.check6c.Name = "check6c";
this.check6c.Size = new System.Drawing.Size(61, 24);
this.check6c.TabIndex = 35;
this.check6c.Text = "6 Center";
this.check6c.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check6c.UseVisualStyleBackColor = true;
this.check6c.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check6l
//
this.check6l.Appearance = System.Windows.Forms.Appearance.Button;
this.check6l.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check6l.Location = new System.Drawing.Point(6, 130);
this.check6l.Name = "check6l";
this.check6l.Size = new System.Drawing.Size(61, 24);
this.check6l.TabIndex = 34;
this.check6l.Text = "6 Left";
this.check6l.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check6l.UseVisualStyleBackColor = true;
this.check6l.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check5r
//
this.check5r.Appearance = System.Windows.Forms.Appearance.Button;
this.check5r.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check5r.Location = new System.Drawing.Point(140, 160);
this.check5r.Name = "check5r";
this.check5r.Size = new System.Drawing.Size(61, 24);
this.check5r.TabIndex = 39;
this.check5r.Text = "5 Right";
this.check5r.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check5r.UseVisualStyleBackColor = true;
this.check5r.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check5c
//
this.check5c.Appearance = System.Windows.Forms.Appearance.Button;
this.check5c.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check5c.Location = new System.Drawing.Point(73, 160);
this.check5c.Name = "check5c";
this.check5c.Size = new System.Drawing.Size(61, 24);
this.check5c.TabIndex = 38;
this.check5c.Text = "5 Center";
this.check5c.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check5c.UseVisualStyleBackColor = true;
this.check5c.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check5l
//
this.check5l.Appearance = System.Windows.Forms.Appearance.Button;
this.check5l.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check5l.Location = new System.Drawing.Point(6, 160);
this.check5l.Name = "check5l";
this.check5l.Size = new System.Drawing.Size(61, 24);
this.check5l.TabIndex = 37;
this.check5l.Text = "5 Left";
this.check5l.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check5l.UseVisualStyleBackColor = true;
this.check5l.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check4r
//
this.check4r.Appearance = System.Windows.Forms.Appearance.Button;
this.check4r.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check4r.Location = new System.Drawing.Point(140, 190);
this.check4r.Name = "check4r";
this.check4r.Size = new System.Drawing.Size(61, 24);
this.check4r.TabIndex = 42;
this.check4r.Text = "4 Right";
this.check4r.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check4r.UseVisualStyleBackColor = true;
this.check4r.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check4c
//
this.check4c.Appearance = System.Windows.Forms.Appearance.Button;
this.check4c.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check4c.Location = new System.Drawing.Point(73, 190);
this.check4c.Name = "check4c";
this.check4c.Size = new System.Drawing.Size(61, 24);
this.check4c.TabIndex = 41;
this.check4c.Text = "4 Center";
this.check4c.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check4c.UseVisualStyleBackColor = true;
this.check4c.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check4l
//
this.check4l.Appearance = System.Windows.Forms.Appearance.Button;
this.check4l.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check4l.Location = new System.Drawing.Point(6, 190);
this.check4l.Name = "check4l";
this.check4l.Size = new System.Drawing.Size(61, 24);
this.check4l.TabIndex = 40;
this.check4l.Text = "4 Left";
this.check4l.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check4l.UseVisualStyleBackColor = true;
this.check4l.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check3r
//
this.check3r.Appearance = System.Windows.Forms.Appearance.Button;
this.check3r.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check3r.Location = new System.Drawing.Point(140, 220);
this.check3r.Name = "check3r";
this.check3r.Size = new System.Drawing.Size(61, 24);
this.check3r.TabIndex = 45;
this.check3r.Text = "3 Right";
this.check3r.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check3r.UseVisualStyleBackColor = true;
this.check3r.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check3c
//
this.check3c.Appearance = System.Windows.Forms.Appearance.Button;
this.check3c.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check3c.Location = new System.Drawing.Point(73, 220);
this.check3c.Name = "check3c";
this.check3c.Size = new System.Drawing.Size(61, 24);
this.check3c.TabIndex = 44;
this.check3c.Text = "3 Center";
this.check3c.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check3c.UseVisualStyleBackColor = true;
this.check3c.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check3l
//
this.check3l.Appearance = System.Windows.Forms.Appearance.Button;
this.check3l.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check3l.Location = new System.Drawing.Point(6, 220);
this.check3l.Name = "check3l";
this.check3l.Size = new System.Drawing.Size(61, 24);
this.check3l.TabIndex = 43;
this.check3l.Text = "3 Left";
this.check3l.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check3l.UseVisualStyleBackColor = true;
this.check3l.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check2r
//
this.check2r.Appearance = System.Windows.Forms.Appearance.Button;
this.check2r.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check2r.Location = new System.Drawing.Point(140, 250);
this.check2r.Name = "check2r";
this.check2r.Size = new System.Drawing.Size(61, 24);
this.check2r.TabIndex = 48;
this.check2r.Text = "2 Right";
this.check2r.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check2r.UseVisualStyleBackColor = true;
this.check2r.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check2c
//
this.check2c.Appearance = System.Windows.Forms.Appearance.Button;
this.check2c.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check2c.Location = new System.Drawing.Point(73, 250);
this.check2c.Name = "check2c";
this.check2c.Size = new System.Drawing.Size(61, 24);
this.check2c.TabIndex = 47;
this.check2c.Text = "2 Center";
this.check2c.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check2c.UseVisualStyleBackColor = true;
this.check2c.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check2l
//
this.check2l.Appearance = System.Windows.Forms.Appearance.Button;
this.check2l.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check2l.Location = new System.Drawing.Point(6, 250);
this.check2l.Name = "check2l";
this.check2l.Size = new System.Drawing.Size(61, 24);
this.check2l.TabIndex = 46;
this.check2l.Text = "2 Left";
this.check2l.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check2l.UseVisualStyleBackColor = true;
this.check2l.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check1r
//
this.check1r.Appearance = System.Windows.Forms.Appearance.Button;
this.check1r.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check1r.Location = new System.Drawing.Point(140, 280);
this.check1r.Name = "check1r";
this.check1r.Size = new System.Drawing.Size(61, 24);
this.check1r.TabIndex = 51;
this.check1r.Text = "1 Right";
this.check1r.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check1r.UseVisualStyleBackColor = true;
this.check1r.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check1c
//
this.check1c.Appearance = System.Windows.Forms.Appearance.Button;
this.check1c.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check1c.Location = new System.Drawing.Point(73, 280);
this.check1c.Name = "check1c";
this.check1c.Size = new System.Drawing.Size(61, 24);
this.check1c.TabIndex = 50;
this.check1c.Text = "1 Center";
this.check1c.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check1c.UseVisualStyleBackColor = true;
this.check1c.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// check1l
//
this.check1l.Appearance = System.Windows.Forms.Appearance.Button;
this.check1l.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.check1l.Location = new System.Drawing.Point(6, 280);
this.check1l.Name = "check1l";
this.check1l.Size = new System.Drawing.Size(61, 24);
this.check1l.TabIndex = 49;
this.check1l.Text = "1 Left";
this.check1l.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.check1l.UseVisualStyleBackColor = true;
this.check1l.CheckedChanged += new System.EventHandler(this.areaChanged);
//
// spbox1
//
this.spbox1.FormattingEnabled = true;
this.spbox1.Items.AddRange(TEXT.pkmlist);
this.spbox1.Location = new System.Drawing.Point(297, 58);
this.spbox1.Name = "spbox1";
this.spbox1.Size = new System.Drawing.Size(121, 21);
this.spbox1.TabIndex = 190;
//
// move1box
//
this.move1box.Items.AddRange(TEXT.movelist);
this.move1box.Location = new System.Drawing.Point(424, 58);
this.move1box.Name = "move1box";
this.move1box.Size = new System.Drawing.Size(121, 21);
this.move1box.TabIndex = 53;
//
// genderbox1
//
this.genderbox1.FormattingEnabled = true;
this.genderbox1.Items.AddRange(new object[] {
"Male",
"Female",
"Genderless"});
this.genderbox1.Location = new System.Drawing.Point(551, 58);
this.genderbox1.Name = "genderbox1";
this.genderbox1.Size = new System.Drawing.Size(66, 21);
this.genderbox1.TabIndex = 54;
//
// formbox1
//
this.formbox1.Location = new System.Drawing.Point(623, 58);
this.formbox1.Name = "formbox1";
this.formbox1.Size = new System.Drawing.Size(41, 20);
this.formbox1.TabIndex = 62;
//
// label1
//
this.label1.Location = new System.Drawing.Point(12, 333);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(98, 15);
this.label1.TabIndex = 63;
this.label1.Text = "Area 9:";
//
// animbox1
//
this.animbox1.Location = new System.Drawing.Point(670, 59);
this.animbox1.Name = "animbox1";
this.animbox1.Size = new System.Drawing.Size(41, 20);
this.animbox1.TabIndex = 65;
//
// unlock8box
//
this.unlock8box.FormattingEnabled = true;
this.unlock8box.Items.AddRange(new object[] {
"Areas 1 & 2",
"Area 3",
"Area 4",
"Area 5",
"Area 6",
"Area 7",
"Area 8"});
this.unlock8box.Location = new System.Drawing.Point(12, 393);
this.unlock8box.Name = "unlock8box";
this.unlock8box.Size = new System.Drawing.Size(125, 21);
this.unlock8box.TabIndex = 66;
this.unlock8box.SelectedIndexChanged += new System.EventHandler(this.Unlock8boxSelectedIndexChanged);
//
// label3
//
this.label3.Location = new System.Drawing.Point(297, 42);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(121, 12);
this.label3.TabIndex = 67;
this.label3.Text = "Species";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label4
//
this.label4.Location = new System.Drawing.Point(424, 42);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(121, 12);
this.label4.TabIndex = 68;
this.label4.Text = "Move";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label5
//
this.label5.Location = new System.Drawing.Point(551, 43);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(66, 12);
this.label5.TabIndex = 69;
this.label5.Text = "Gender";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label6
//
this.label6.Location = new System.Drawing.Point(623, 42);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(41, 12);
this.label6.TabIndex = 70;
this.label6.Text = "Form";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label7
//
this.label7.Location = new System.Drawing.Point(670, 42);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(41, 12);
this.label7.TabIndex = 71;
this.label7.Text = "Anim";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// slot
//
this.slot.Location = new System.Drawing.Point(211, 38);
this.slot.Maximum = new decimal(new int[] {
19,
0,
0,
0});
this.slot.Name = "slot";
this.slot.Size = new System.Drawing.Size(60, 20);
this.slot.TabIndex = 72;
this.slot.ValueChanged += new System.EventHandler(this.SlotValueChanged);
//
// label8
//
this.label8.Location = new System.Drawing.Point(211, 61);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(47, 18);
this.label8.TabIndex = 168;
this.label8.Text = "Slot 00:";
//
// label9
//
this.label9.Location = new System.Drawing.Point(211, 90);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(47, 18);
this.label9.TabIndex = 169;
this.label9.Text = "Slot 01:";
//
// label10
//
this.label10.Location = new System.Drawing.Point(209, 140);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(47, 18);
this.label10.TabIndex = 171;
this.label10.Text = "Slot 03:";
//
// label11
//
this.label11.Location = new System.Drawing.Point(210, 114);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(47, 18);
this.label11.TabIndex = 170;
this.label11.Text = "Slot 02:";
//
// label12
//
this.label12.Location = new System.Drawing.Point(210, 194);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(47, 18);
this.label12.TabIndex = 173;
this.label12.Text = "Slot 05:";
//
// label13
//
this.label13.Location = new System.Drawing.Point(211, 168);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(47, 18);
this.label13.TabIndex = 172;
this.label13.Text = "Slot 04:";
//
// label14
//
this.label14.Location = new System.Drawing.Point(210, 248);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(47, 18);
this.label14.TabIndex = 175;
this.label14.Text = "Slot 07:";
//
// label15
//
this.label15.Location = new System.Drawing.Point(211, 222);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(47, 18);
this.label15.TabIndex = 174;
this.label15.Text = "Slot 06:";
//
// label16
//
this.label16.Location = new System.Drawing.Point(210, 463);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(47, 18);
this.label16.TabIndex = 183;
this.label16.Text = "Slot 15:";
//
// label17
//
this.label17.Location = new System.Drawing.Point(211, 437);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(47, 18);
this.label17.TabIndex = 182;
this.label17.Text = "Slot 14:";
//
// label18
//
this.label18.Location = new System.Drawing.Point(210, 409);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(47, 18);
this.label18.TabIndex = 181;
this.label18.Text = "Slot 13:";
//
// label19
//
this.label19.Location = new System.Drawing.Point(211, 383);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(47, 18);
this.label19.TabIndex = 180;
this.label19.Text = "Slot 12:";
//
// label20
//
this.label20.Location = new System.Drawing.Point(209, 355);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(47, 18);
this.label20.TabIndex = 179;
this.label20.Text = "Slot 11:";
//
// label21
//
this.label21.Location = new System.Drawing.Point(210, 329);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(47, 18);
this.label21.TabIndex = 178;
this.label21.Text = "Slot 10:";
//
// label22
//
this.label22.Location = new System.Drawing.Point(210, 302);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(47, 18);
this.label22.TabIndex = 177;
this.label22.Text = "Slot 09:";
//
// label23
//
this.label23.Location = new System.Drawing.Point(211, 276);
this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(47, 18);
this.label23.TabIndex = 176;
this.label23.Text = "Slot 08:";
//
// label24
//
this.label24.Location = new System.Drawing.Point(210, 545);
this.label24.Name = "label24";
this.label24.Size = new System.Drawing.Size(47, 18);
this.label24.TabIndex = 186;
this.label24.Text = "Slot 18:";
//
// label25
//
this.label25.Location = new System.Drawing.Point(211, 519);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(47, 18);
this.label25.TabIndex = 185;
this.label25.Text = "Slot 17:";
//
// label26
//
this.label26.Location = new System.Drawing.Point(210, 491);
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(47, 18);
this.label26.TabIndex = 184;
this.label26.Text = "Slot 16:";
//
// label27
//
this.label27.Location = new System.Drawing.Point(211, 572);
this.label27.Name = "label27";
this.label27.Size = new System.Drawing.Size(47, 18);
this.label27.TabIndex = 187;
this.label27.Text = "Slot 19:";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.check1r);
this.groupBox1.Controls.Add(this.check1c);
this.groupBox1.Controls.Add(this.check1l);
this.groupBox1.Controls.Add(this.check2r);
this.groupBox1.Controls.Add(this.check2c);
this.groupBox1.Controls.Add(this.check2l);
this.groupBox1.Controls.Add(this.check3r);
this.groupBox1.Controls.Add(this.check3c);
this.groupBox1.Controls.Add(this.check3l);
this.groupBox1.Controls.Add(this.check4r);
this.groupBox1.Controls.Add(this.check4c);
this.groupBox1.Controls.Add(this.check4l);
this.groupBox1.Controls.Add(this.check5r);
this.groupBox1.Controls.Add(this.check5c);
this.groupBox1.Controls.Add(this.check5l);
this.groupBox1.Controls.Add(this.check6r);
this.groupBox1.Controls.Add(this.check6c);
this.groupBox1.Controls.Add(this.check6l);
this.groupBox1.Controls.Add(this.check7r);
this.groupBox1.Controls.Add(this.check7c);
this.groupBox1.Controls.Add(this.check7l);
this.groupBox1.Controls.Add(this.check8r);
this.groupBox1.Controls.Add(this.check8c);
this.groupBox1.Controls.Add(this.check8l);
this.groupBox1.Controls.Add(this.checkdeep);
this.groupBox1.Controls.Add(this.check9r);
this.groupBox1.Controls.Add(this.check9c);
this.groupBox1.Controls.Add(this.check9l);
this.groupBox1.Location = new System.Drawing.Point(3, 14);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(207, 313);
this.groupBox1.TabIndex = 189;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Areas";
//
// label2
//
this.label2.Location = new System.Drawing.Point(12, 375);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(98, 15);
this.label2.TabIndex = 64;
this.label2.Text = "Unlocked Areas:";
//
// unlock9
//
this.unlock9.FormattingEnabled = true;
this.unlock9.Items.AddRange(new object[] {
"Locked",
"Unlocked"});
this.unlock9.Location = new System.Drawing.Point(12, 351);
this.unlock9.Name = "unlock9";
this.unlock9.Size = new System.Drawing.Size(121, 21);
this.unlock9.TabIndex = 191;
this.unlock9.SelectedIndexChanged += new System.EventHandler(this.Unlock9SelectedIndexChanged);
//
// Entralink
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(723, 596);
this.Controls.Add(this.unlock9);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.label27);
this.Controls.Add(this.label24);
this.Controls.Add(this.label25);
this.Controls.Add(this.label26);
this.Controls.Add(this.label16);
this.Controls.Add(this.label17);
this.Controls.Add(this.label18);
this.Controls.Add(this.label19);
this.Controls.Add(this.label20);
this.Controls.Add(this.label21);
this.Controls.Add(this.label22);
this.Controls.Add(this.label23);
this.Controls.Add(this.label14);
this.Controls.Add(this.label15);
this.Controls.Add(this.label12);
this.Controls.Add(this.label13);
this.Controls.Add(this.label10);
this.Controls.Add(this.label11);
this.Controls.Add(this.label9);
this.Controls.Add(this.label8);
this.Controls.Add(this.slot);
this.Controls.Add(this.label7);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.unlock8box);
this.Controls.Add(this.animbox1);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.formbox1);
this.Controls.Add(this.genderbox1);
this.Controls.Add(this.move1box);
this.Controls.Add(this.spbox1);
this.Name = "Entralink";
this.Text = "Entralink Forest";
((System.ComponentModel.ISupportInitialize)(this.formbox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.animbox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.slot)).EndInit();
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
}
}

View File

@ -0,0 +1,339 @@
/*
* Created by SharpDevelop.
* User: suloku
* Date: 05/03/2016
* Time: 11:00
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Collections.Generic;
namespace BW_tool
{
/// <summary>
/// Description of Entralink.
/// </summary>
public partial class Entralink : Form
{
FOREST forest;
List<RadioButton> checkboxlist = new List<RadioButton>();
public Entralink()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
checkboxlist.Add(checkdeep);
checkboxlist.Add(check9c);
checkboxlist.Add(check9l);
checkboxlist.Add(check9r);
checkboxlist.Add(check1c);
checkboxlist.Add(check1l);
checkboxlist.Add(check1r);
checkboxlist.Add(check2c);
checkboxlist.Add(check2l);
checkboxlist.Add(check2r);
checkboxlist.Add(check3c);
checkboxlist.Add(check3l);
checkboxlist.Add(check3r);
checkboxlist.Add(check4c);
checkboxlist.Add(check4l);
checkboxlist.Add(check4r);
checkboxlist.Add(check5c);
checkboxlist.Add(check5l);
checkboxlist.Add(check5r);
checkboxlist.Add(check6c);
checkboxlist.Add(check6l);
checkboxlist.Add(check6r);
checkboxlist.Add(check7c);
checkboxlist.Add(check7l);
checkboxlist.Add(check7r);
checkboxlist.Add(check8c);
checkboxlist.Add(check8l);
checkboxlist.Add(check8r);
forest = new FOREST(MainForm.save.B2W2? MainForm.save.getBlockDec(60) : MainForm.save.getBlockDec(61));
unlock8box.SelectedIndex = forest.Unlock8;
unlock9.SelectedIndex = forest.Unlock9;
forest.Area = 4;
forest.Indexpkm = 0;
slot.Value = forest.Indexpkm;
slot.Maximum = 19;
check1c.Checked = true;
updateslot();
updatearea();
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}
void updatearea()
{
int i = 0;
foreach (RadioButton item in checkboxlist)
{
if (forest.Unlock9 == 1 && (i > 0 && i <4))
{
item.Enabled = true;
}
else if (forest.Unlock9 == 0 && (i > 0 && i <4))
{
item.Enabled = false;
}
switch (forest.Unlock8)
{
case 0x0:
if (i > 3 && i < 10 )
item.Enabled = true;
else if (i>9)
item.Enabled = false;
break;
case 0x1:
if (i > 9 && i <13)
item.Enabled = true;
else if (i>=13)
item.Enabled = false;
break;
case 0x2:
if (i > 9 && i <16)
item.Enabled = true;
else if (i>=16)
item.Enabled = false;
break;
case 0x3:
if (i > 9 && i < 19)
item.Enabled = true;
else if (i>=19)
item.Enabled = false;
break;
case 0x4:
if (i > 9 && i <22)
item.Enabled = true;
else if (i>=22)
item.Enabled = false;
break;
case 0x5:
if (i > 9 && i <25)
item.Enabled = true;
else if (i>=25)
item.Enabled = false;
break;
case 0x6:
if (i > 9 && i <28)
item.Enabled = true;
else if (i>=28)
//We should never reach this point
MessageBox.Show("Updatearea error 1");
break;
default:
MessageBox.Show("Updatearea error 2");
break;
}
i++;
}
i = 0;
foreach (RadioButton item in checkboxlist)
{
if (item.Checked)
{
forest.Area = i;
}
i++;
}
if (forest.Area > 0 && forest.Area < 4)
slot.Maximum = 9;
else
slot.Maximum = 19;
forest.Indexpkm = 0;
slot.Value = forest.Indexpkm;
}
void updateslot()
{
spbox1.SelectedIndex = forest.Species;
move1box.SelectedIndex = forest.Move;
genderbox1.SelectedIndex = forest.Gender;
formbox1.Value = forest.Form;
animbox1.Value = forest.Animation;
}
void SlotValueChanged(object sender, EventArgs e)
{
forest.Indexpkm = (int)slot.Value;
updateslot();
}
void areaChanged(object sender, EventArgs e)
{
updatearea();
updateslot();
}
void Unlock8boxSelectedIndexChanged(object sender, EventArgs e)
{
forest.Unlock8 = (byte)unlock8box.SelectedIndex;
updatearea();
updateslot();
}
void Unlock9SelectedIndexChanged(object sender, EventArgs e)
{
forest.Unlock9 = (byte)unlock9.SelectedIndex;
updatearea();
updateslot();
}
public class FOREST
{
internal int Size = MainForm.save.B2W2? MainForm.save.getBlockLength(60) : MainForm.save.getBlockLength(61);
public byte[] Data;
public FOREST(byte[] data = null)
{
Data = data ?? new byte[Size];
}
private int area = 4;
private int indexpkm = 0;
private int total_areas = (9*3)+1;
private int area_size = 0x50;
private int deep_area_size = 0x28;
private int pkmnsize = 4;
public int Area {
get { return area; }
set { if ((value >= 0) && (value < total_areas)){ area = value;} } }
public int Indexpkm {
get { return indexpkm; }
set { if ((value >= 0) && (value < 20)){ indexpkm = (int)(value);} } }
public byte Unlock9 {
get { return Data[0x848]; }
set { Data[0x848] = value; } }
public byte Unlock8 {
get { return Data[0x849]; }
set { Data[0x849] = value; } }
internal int get_pkmoffset()
{
if (area == 0) //Deepest area
{ if (indexpkm > 19) return -1;
return indexpkm*pkmnsize;
}
else if(area > 0 && area < 4) //Area 9 ony holds 10 pokes
{
if (indexpkm > 9) return -1;
return area_size + (indexpkm*pkmnsize) + deep_area_size*area - deep_area_size;
}
else if(area > 3 && area < 28) //Areas 1-8
{
if (indexpkm > 19) return -1;
return area_size + (deep_area_size*3) + ((area-4)*area_size) + (indexpkm*pkmnsize);
}else
return -1;
}
/*
Pokemon Structure (4 bytes)
Bits
00-10 Species
11-20 Special Move
21-22 Gender (0 -> male, 1 -> female, 2 -> genderless)
23-27 Form
28-31 Animation (only even numbers allowed, last bit makes Pokemon invisible)
*/
private int species;
private int move;
private int gender;
private int form;
private int animation;
public int Species {
get { return (int)(BitConverter.ToInt32(Data, get_pkmoffset()) & 0x7FF) ; }
set { species = value; } }
public int Move {
get { return (int)((BitConverter.ToInt32(Data, get_pkmoffset()) & 0x1FF800) >> 11); }
set { move = value; } }
public int Gender {
get { return (int)((BitConverter.ToInt32(Data, get_pkmoffset()) & 0x600000) >> 21); }
set { gender = value; } }
public int Form {
get { return (int)((BitConverter.ToInt32(Data, get_pkmoffset()) & 0xF800000) >> 23); }
set { form = value; } }
public int Animation {
get { return (int)((BitConverter.ToInt32(Data, get_pkmoffset()) & 0xF0000000) >> 27); }
set { animation = value; } }
private UInt32 build_pkm()
{
return (UInt32) ( ((species & 0x1F) << 11) | ((move & 0x0F) << 7) | (gender & 0x7F) | ((form & 0x0F) << 7) | ((animation & 0x0F) << 7) );
}
public void set_pkm()
{
Array.Copy(BitConverter.GetBytes(build_pkm()), 0, Data, get_pkmoffset(), 4);
}
}
}
}
/* Structure gathered by BlackShark
General Structure
0x000 encrypted data
0x84C initial encryption seed
0x850 update counter
0x852 checksum from 0x000 to 0x84F (CRC16-CCITT)
Decrypted Data Structure (0x000 - 0x84B)
20 Pokemon in each area from 1 - 8 as well as in the deepest area.
10 Pokemon in 9th area.
So they let you store a total of 530 Pokemon there!
0x000 Deepest Area
0x050 9th Area center
0x078 9th Area left
0x0A0 9th Area right
0x0C8 1st Area center
0x118 1st Area left
0x168 1st Area right
0x1B8 2nd Area center
0x208 2nd Area left
0x258 2nd Area right
0x2A8 3rd Area center
0x2F8 3rd Area left
0x348 3rd Area right
0x398 4th Area center
0x3E8 4th Area left
0x438 4th Area right
0x488 5th Area center
0x4D8 5th Area left
0x528 5th Area right
0x578 6th Area center
0x5C8 6th Area left
0x618 6th Area right
0x668 7th Area center
0x6B8 7th Area left
0x708 7th Area right
0x758 8th Area center
0x7A8 8th Area left
0x7F8 8th Area right
0x848 Unlock Area 9 (0x01 to unlock)
0x849 Unlock Areas 3 - 8 (0x00 - 0x06, any higher value will corrupt your forest!) (Area 1 & 2 and the deepest Area are unlocked by default -> 0x00)
0x84A 0x00
0x84B 0x00
Pokemon Structure (4 bytes)
Bits
00-10 Species
11-20 Special Move
21-22 Gender (0 -> male, 1 -> female, 2 -> genderless)
23-27 Form
28-31 Animation (only even numbers allowed, last bit makes Pokemon invisible)
*/

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<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>
</root>

1237
BW_tool/Editors/Text.cs Normal file

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,7 @@ namespace BW_tool
private System.Windows.Forms.Button grotto_but;
private System.Windows.Forms.Button trainer_records_but;
private System.Windows.Forms.Button medal_but;
private System.Windows.Forms.Button forest_but;
/// <summary>
/// Disposes resources used by the form.
@ -56,6 +57,7 @@ namespace BW_tool
this.grotto_but = new System.Windows.Forms.Button();
this.trainer_records_but = new System.Windows.Forms.Button();
this.medal_but = new System.Windows.Forms.Button();
this.forest_but = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// loadsave_but
@ -160,11 +162,23 @@ namespace BW_tool
this.medal_but.UseVisualStyleBackColor = true;
this.medal_but.Click += new System.EventHandler(this.Medal_butClick);
//
// forest_but
//
this.forest_but.Enabled = false;
this.forest_but.Location = new System.Drawing.Point(158, 78);
this.forest_but.Name = "forest_but";
this.forest_but.Size = new System.Drawing.Size(140, 23);
this.forest_but.TabIndex = 10;
this.forest_but.Text = "Entralink Forest";
this.forest_but.UseVisualStyleBackColor = true;
this.forest_but.Click += new System.EventHandler(this.Forest_butClick);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(503, 147);
this.Controls.Add(this.forest_but);
this.Controls.Add(this.medal_but);
this.Controls.Add(this.trainer_records_but);
this.Controls.Add(this.grotto_but);

View File

@ -64,6 +64,7 @@ namespace BW_tool
grotto_but.Enabled = true;
trainer_records_but.Enabled = true;
medal_but.Enabled = true;
forest_but.Enabled = true;
}
else if (save.BW)
{
@ -76,6 +77,7 @@ namespace BW_tool
grotto_but.Enabled = false;
trainer_records_but.Enabled = false;
medal_but.Enabled = false;
forest_but.Enabled = true;
}
else versiontext.Text = "Invalid file";
@ -90,6 +92,7 @@ namespace BW_tool
grotto_but.Enabled = false;
trainer_records_but.Enabled = false;
medal_but.Enabled = false;
forest_but.Enabled = false;
}
}
void Save_butClick(object sender, EventArgs e)
@ -130,5 +133,10 @@ namespace BW_tool
Form medals = new Medals();
medals.ShowDialog();
}
void Forest_butClick(object sender, EventArgs e)
{
Form forest = new Entralink();
forest.ShowDialog();
}
}
}