Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Download: http://adf.ly/rt6V0
- //Unpacked with SFX, dissasembled in ILSpy
- using PS3Lib;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- namespace PS3_Punch_CID_Changer
- {
- public class Form1 : Form
- {
- private PS3TMAPI.SNRESULT snr;
- private int target;
- private string ipaddr;
- private uint processID;
- public static PS3API PS3 = new PS3API(0);
- private bool flag;
- private IContainer components;
- private Button buttonInstallPkg;
- private TextBox textBox1;
- private Button buttonSetCid;
- private Label label1;
- private Label extCID;
- private Button buttonConnect;
- private Label label2;
- private Label label3;
- private Panel panel1;
- private Panel panel2;
- private Label label5;
- private TextBox textBox3;
- private Label label4;
- private Panel panel3;
- private Button buttonSetPSID;
- private Button buttonRefresh;
- private Panel panel4;
- private RadioButton radioButton2;
- private RadioButton radioButton1;
- private Label label7;
- private Label label6;
- private TextBox textBox5;
- private Button button2;
- private Button button1;
- private TextBox textBox4;
- private Panel panel5;
- private TextBox textBoxSetBytes;
- private Button buttonSetBytes;
- private TextBox textBoxAddress;
- public Form1()
- {
- this.InitializeComponent();
- }
- private void buttonInstallPkg_Click(object sender, EventArgs e)
- {
- this.snr = PS3TMAPI.InitTargetComms();
- if (this.snr == PS3TMAPI.SNRESULT.SN_S_OK)
- {
- this.snr = PS3TMAPI.PickTarget(base.Handle, out this.target);
- }
- if (this.snr == PS3TMAPI.SNRESULT.SN_S_OK)
- {
- this.snr = PS3TMAPI.Connect(this.target, null);
- }
- PS3TMAPI.TCPIPConnectProperties tCPIPConnectProperties = new PS3TMAPI.TCPIPConnectProperties();
- PS3TMAPI.GetConnectionInfo(this.target, out tCPIPConnectProperties);
- this.ipaddr = tCPIPConnectProperties.IPAddress;
- if (this.snr == PS3TMAPI.SNRESULT.SN_S_OK || this.snr == PS3TMAPI.SNRESULT.SN_S_NO_ACTION)
- {
- PS3TMAPI.BootParameter bootParameter;
- PS3TMAPI.BootParameterMask bootMask;
- PS3TMAPI.ResetParameter resetParameter;
- PS3TMAPI.ResetParameterMask resetMask;
- PS3TMAPI.SystemParameter systemParameter;
- PS3TMAPI.SystemParameterMask systemMask;
- PS3TMAPI.GetResetParameters(this.target, out bootParameter, out bootMask, out resetParameter, out resetMask, out systemParameter, out systemMask);
- this.snr = PS3TMAPI.ResetEx(this.target, PS3TMAPI.BootParameter.DebugMode, bootMask, PS3TMAPI.ResetParameter.Soft, resetMask, systemParameter, systemMask);
- string text = Application.StartupPath + "\\XX0001-ENSTONEXX_00-00000000000CCAPIv2.00.pkg";
- byte[] bytes = Encoding.Default.GetBytes(text);
- text = Encoding.UTF8.GetString(bytes);
- this.snr = PS3TMAPI.InstallPackage(this.target, text);
- if (this.snr == PS3TMAPI.SNRESULT.SN_S_OK)
- {
- this.snr = PS3TMAPI.ResetEx(this.target, bootParameter, bootMask, resetParameter, resetMask, systemParameter, systemMask);
- if (this.snr == PS3TMAPI.SNRESULT.SN_S_OK)
- {
- PS3TMAPI.Exit();
- MessageBox.Show("Package Installed, Now Run CCAPI Installer From XMB.", "PKG Installed.", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
- }
- }
- }
- }
- private void buttonSetCid_Click(object sender, EventArgs e)
- {
- if (this.IsValidHexString(this.textBox1.Text) && this.textBox1.Text.Length == 32)
- {
- Form1.PS3.get_CCAPI().SetConsoleID(this.textBox1.Text);
- Form1.PS3.get_CCAPI().RingBuzzer(1);
- Form1.PS3.get_CCAPI().SetConsoleLed(2, 1);
- Form1.PS3.get_CCAPI().Notify(0, "CONSOLE ID SET:\n" + this.textBox1.Text.Substring(0, 16) + " \n" + this.textBox1.Text.Substring(16, 16));
- Form1.PS3.get_CCAPI().SetConsoleLed(2, 0);
- return;
- }
- MessageBox.Show("Check Your Console ID. Wrong Length or Hex Chars.");
- }
- private new void Refresh()
- {
- byte[] array = new byte[16];
- Form1.PS3.get_CCAPI().GetLv2Memory(9223372036858981040uL, array);
- string text = BitConverter.ToString(array).Replace("-", " ");
- byte[] array2 = new byte[16];
- Form1.PS3.get_CCAPI().GetLv2Memory(9223372036859580196uL, array2);
- string text2 = BitConverter.ToString(array2).Replace("-", " ");
- this.label1.Text = text;
- this.label2.Text = text2;
- this.textBox1.Text = text.Replace(" ", "");
- this.textBox3.Text = text2.Replace(" ", "");
- }
- private bool IsValidHexString(IEnumerable<char> hexString)
- {
- return (
- from currentCharacter in hexString
- select (currentCharacter >= '0' && currentCharacter <= '9') || (currentCharacter >= 'a' && currentCharacter <= 'f') || (currentCharacter >= 'A' && currentCharacter <= 'F')).All((bool isHexCharacter) => isHexCharacter);
- }
- private void buttonConnect_Click(object sender, EventArgs e)
- {
- Form1.PS3.ChangeAPI(0);
- if (Form1.PS3.ConnectTarget(0))
- {
- Form1.PS3.get_CCAPI().Notify(0, "CONNECTED ");
- this.Refresh();
- }
- }
- private void textBox1_KeyDown(object sender, KeyEventArgs e)
- {
- this.flag = (e.Control && e.KeyCode == Keys.V);
- }
- private void textBox3_KeyDown(object sender, KeyEventArgs e)
- {
- this.flag = (e.Control && e.KeyCode == Keys.V);
- }
- private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
- {
- e.KeyChar = char.ToUpper(e.KeyChar);
- char keyChar = e.KeyChar;
- e.Handled = (!Uri.IsHexDigit(e.KeyChar) && keyChar != '\b' && !this.flag);
- }
- private void textBox3_KeyPress(object sender, KeyPressEventArgs e)
- {
- e.KeyChar = char.ToUpper(e.KeyChar);
- char keyChar = e.KeyChar;
- e.Handled = (!Uri.IsHexDigit(e.KeyChar) && keyChar != '\b' && !this.flag);
- }
- private void buttonSetPSID_Click(object sender, EventArgs e)
- {
- if (this.IsValidHexString(this.textBox3.Text) && this.textBox3.Text.Length == 32)
- {
- byte[] array = this.HexStringToByteArray(this.textBox3.Text);
- Form1.PS3.get_CCAPI().SetLv2Memory(9223372036859580196uL, array);
- Form1.PS3.get_CCAPI().RingBuzzer(1);
- Form1.PS3.get_CCAPI().SetConsoleLed(2, 1);
- Form1.PS3.get_CCAPI().Notify(0, "PSID SET:\n" + this.textBox3.Text.Substring(0, 16) + " \n" + this.textBox3.Text.Substring(16, 16));
- Form1.PS3.get_CCAPI().SetConsoleLed(2, 0);
- return;
- }
- MessageBox.Show("Check Your PSID. Wrong Length or Hex Chars.");
- }
- private byte[] HexStringToByteArray(string hex)
- {
- return (
- from x in Enumerable.Range(0, hex.Length)
- where x % 2 == 0
- select Convert.ToByte(hex.Substring(x, 2), 16)).ToArray<byte>();
- }
- private void buttonRefresh_Click(object sender, EventArgs e)
- {
- byte[] array = new byte[16];
- Form1.PS3.get_CCAPI().GetLv2Memory(9223372036858981040uL, array);
- string text = BitConverter.ToString(array).Replace("-", " ");
- byte[] array2 = new byte[16];
- Form1.PS3.get_CCAPI().GetLv2Memory(9223372036859580196uL, array2);
- string text2 = BitConverter.ToString(array2).Replace("-", " ");
- this.label1.Text = text;
- this.label2.Text = text2;
- }
- private void Form1_FormClosed(object sender, FormClosedEventArgs e)
- {
- Form1.PS3.get_CCAPI().DisconnectTarget();
- PS3TMAPI.Exit();
- }
- private void buttonSetBytes_Click(object sender, EventArgs e)
- {
- }
- protected override void Dispose(bool disposing)
- {
- if (disposing && this.components != null)
- {
- this.components.Dispose();
- }
- base.Dispose(disposing);
- }
- private void InitializeComponent()
- {
- this.buttonInstallPkg = new System.Windows.Forms.Button();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.buttonSetCid = new System.Windows.Forms.Button();
- this.label1 = new System.Windows.Forms.Label();
- this.extCID = new System.Windows.Forms.Label();
- this.buttonConnect = new System.Windows.Forms.Button();
- this.label2 = new System.Windows.Forms.Label();
- this.label3 = new System.Windows.Forms.Label();
- this.panel1 = new System.Windows.Forms.Panel();
- this.buttonRefresh = new System.Windows.Forms.Button();
- this.panel2 = new System.Windows.Forms.Panel();
- this.buttonSetPSID = new System.Windows.Forms.Button();
- this.label5 = new System.Windows.Forms.Label();
- this.textBox3 = new System.Windows.Forms.TextBox();
- this.label4 = new System.Windows.Forms.Label();
- this.panel3 = new System.Windows.Forms.Panel();
- this.panel4 = new System.Windows.Forms.Panel();
- this.radioButton2 = new System.Windows.Forms.RadioButton();
- this.radioButton1 = new System.Windows.Forms.RadioButton();
- this.label7 = new System.Windows.Forms.Label();
- this.label6 = new System.Windows.Forms.Label();
- this.textBox5 = new System.Windows.Forms.TextBox();
- this.button2 = new System.Windows.Forms.Button();
- this.button1 = new System.Windows.Forms.Button();
- this.textBox4 = new System.Windows.Forms.TextBox();
- this.panel5 = new System.Windows.Forms.Panel();
- this.textBoxAddress = new System.Windows.Forms.TextBox();
- this.textBoxSetBytes = new System.Windows.Forms.TextBox();
- this.buttonSetBytes = new System.Windows.Forms.Button();
- this.panel1.SuspendLayout();
- this.panel2.SuspendLayout();
- this.panel3.SuspendLayout();
- this.panel4.SuspendLayout();
- this.panel5.SuspendLayout();
- this.SuspendLayout();
- //
- // buttonInstallPkg
- //
- this.buttonInstallPkg.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonInstallPkg.Location = new System.Drawing.Point(6, 6);
- this.buttonInstallPkg.Name = "buttonInstallPkg";
- this.buttonInstallPkg.Size = new System.Drawing.Size(332, 39);
- this.buttonInstallPkg.TabIndex = 0;
- this.buttonInstallPkg.Text = "INSTALL CCAPI PKG DEX ONLY";
- this.buttonInstallPkg.UseVisualStyleBackColor = true;
- this.buttonInstallPkg.Click += new System.EventHandler(this.buttonInstallPkg_Click);
- //
- // textBox1
- //
- this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.textBox1.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.textBox1.Location = new System.Drawing.Point(6, 26);
- this.textBox1.MaxLength = 32;
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(332, 23);
- this.textBox1.TabIndex = 1;
- this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
- this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
- //
- // buttonSetCid
- //
- this.buttonSetCid.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonSetCid.Location = new System.Drawing.Point(6, 102);
- this.buttonSetCid.Name = "buttonSetCid";
- this.buttonSetCid.Size = new System.Drawing.Size(163, 39);
- this.buttonSetCid.TabIndex = 2;
- this.buttonSetCid.Text = "SET CONSOLE ID";
- this.buttonSetCid.UseVisualStyleBackColor = true;
- this.buttonSetCid.Click += new System.EventHandler(this.buttonSetCid_Click);
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(3, 19);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(336, 15);
- this.label1.TabIndex = 3;
- this.label1.Text = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00";
- //
- // extCID
- //
- this.extCID.AutoSize = true;
- this.extCID.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.extCID.Location = new System.Drawing.Point(3, 6);
- this.extCID.Name = "extCID";
- this.extCID.Size = new System.Drawing.Size(181, 13);
- this.extCID.TabIndex = 4;
- this.extCID.Text = "Existing Console ID In Memory";
- //
- // buttonConnect
- //
- this.buttonConnect.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonConnect.Location = new System.Drawing.Point(6, 74);
- this.buttonConnect.Name = "buttonConnect";
- this.buttonConnect.Size = new System.Drawing.Size(164, 39);
- this.buttonConnect.TabIndex = 5;
- this.buttonConnect.Text = "CONNECT";
- this.buttonConnect.UseVisualStyleBackColor = true;
- this.buttonConnect.Click += new System.EventHandler(this.buttonConnect_Click);
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(3, 56);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(336, 15);
- this.label2.TabIndex = 6;
- this.label2.Text = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00";
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label3.Location = new System.Drawing.Point(3, 43);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(145, 13);
- this.label3.TabIndex = 7;
- this.label3.Text = "Existing PSID In Memory";
- //
- // panel1
- //
- this.panel1.BackColor = System.Drawing.Color.Silver;
- this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.panel1.Controls.Add(this.buttonRefresh);
- this.panel1.Controls.Add(this.extCID);
- this.panel1.Controls.Add(this.label1);
- this.panel1.Controls.Add(this.buttonConnect);
- this.panel1.Controls.Add(this.label3);
- this.panel1.Controls.Add(this.label2);
- this.panel1.Location = new System.Drawing.Point(12, 12);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(347, 120);
- this.panel1.TabIndex = 9;
- //
- // buttonRefresh
- //
- this.buttonRefresh.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonRefresh.Location = new System.Drawing.Point(174, 74);
- this.buttonRefresh.Name = "buttonRefresh";
- this.buttonRefresh.Size = new System.Drawing.Size(164, 39);
- this.buttonRefresh.TabIndex = 8;
- this.buttonRefresh.Text = "REFRESH";
- this.buttonRefresh.UseVisualStyleBackColor = true;
- this.buttonRefresh.Click += new System.EventHandler(this.buttonRefresh_Click);
- //
- // panel2
- //
- this.panel2.BackColor = System.Drawing.Color.Silver;
- this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.panel2.Controls.Add(this.buttonSetPSID);
- this.panel2.Controls.Add(this.label5);
- this.panel2.Controls.Add(this.textBox3);
- this.panel2.Controls.Add(this.label4);
- this.panel2.Controls.Add(this.buttonSetCid);
- this.panel2.Controls.Add(this.textBox1);
- this.panel2.Location = new System.Drawing.Point(13, 139);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(346, 150);
- this.panel2.TabIndex = 10;
- //
- // buttonSetPSID
- //
- this.buttonSetPSID.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonSetPSID.Location = new System.Drawing.Point(174, 102);
- this.buttonSetPSID.Name = "buttonSetPSID";
- this.buttonSetPSID.Size = new System.Drawing.Size(163, 39);
- this.buttonSetPSID.TabIndex = 14;
- this.buttonSetPSID.Text = "SET PSID";
- this.buttonSetPSID.UseVisualStyleBackColor = true;
- this.buttonSetPSID.Click += new System.EventHandler(this.buttonSetPSID_Click);
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label5.Location = new System.Drawing.Point(3, 57);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(31, 13);
- this.label5.TabIndex = 13;
- this.label5.Text = "PSID";
- //
- // textBox3
- //
- this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.textBox3.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.textBox3.Location = new System.Drawing.Point(6, 73);
- this.textBox3.MaxLength = 32;
- this.textBox3.Name = "textBox3";
- this.textBox3.Size = new System.Drawing.Size(332, 23);
- this.textBox3.TabIndex = 12;
- this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.textBox3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox3_KeyDown);
- this.textBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox3_KeyPress);
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label4.Location = new System.Drawing.Point(3, 10);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(67, 13);
- this.label4.TabIndex = 11;
- this.label4.Text = "Console ID";
- //
- // panel3
- //
- this.panel3.BackColor = System.Drawing.Color.Silver;
- this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.panel3.Controls.Add(this.buttonInstallPkg);
- this.panel3.Location = new System.Drawing.Point(13, 296);
- this.panel3.Name = "panel3";
- this.panel3.Size = new System.Drawing.Size(346, 54);
- this.panel3.TabIndex = 11;
- //
- // panel4
- //
- this.panel4.BackColor = System.Drawing.Color.Silver;
- this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.panel4.Controls.Add(this.radioButton2);
- this.panel4.Controls.Add(this.radioButton1);
- this.panel4.Controls.Add(this.label7);
- this.panel4.Controls.Add(this.label6);
- this.panel4.Controls.Add(this.textBox5);
- this.panel4.Controls.Add(this.button2);
- this.panel4.Controls.Add(this.button1);
- this.panel4.Controls.Add(this.textBox4);
- this.panel4.Location = new System.Drawing.Point(388, 12);
- this.panel4.Name = "panel4";
- this.panel4.Size = new System.Drawing.Size(346, 165);
- this.panel4.TabIndex = 12;
- //
- // radioButton2
- //
- this.radioButton2.AutoSize = true;
- this.radioButton2.Location = new System.Drawing.Point(174, 7);
- this.radioButton2.Name = "radioButton2";
- this.radioButton2.Size = new System.Drawing.Size(44, 17);
- this.radioButton2.TabIndex = 21;
- this.radioButton2.TabStop = true;
- this.radioButton2.Text = "LV2";
- this.radioButton2.UseVisualStyleBackColor = true;
- //
- // radioButton1
- //
- this.radioButton1.AutoSize = true;
- this.radioButton1.Location = new System.Drawing.Point(124, 7);
- this.radioButton1.Name = "radioButton1";
- this.radioButton1.Size = new System.Drawing.Size(44, 17);
- this.radioButton1.TabIndex = 20;
- this.radioButton1.TabStop = true;
- this.radioButton1.Text = "LV1";
- this.radioButton1.UseVisualStyleBackColor = true;
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label7.Location = new System.Drawing.Point(4, 114);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(37, 13);
- this.label7.TabIndex = 19;
- this.label7.Text = "Bytes";
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label6.Location = new System.Drawing.Point(4, 72);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(49, 13);
- this.label6.TabIndex = 18;
- this.label6.Text = "Address";
- //
- // textBox5
- //
- this.textBox5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.textBox5.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.textBox5.Location = new System.Drawing.Point(7, 130);
- this.textBox5.MaxLength = 32;
- this.textBox5.Name = "textBox5";
- this.textBox5.Size = new System.Drawing.Size(331, 23);
- this.textBox5.TabIndex = 17;
- this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- //
- // button2
- //
- this.button2.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.button2.Location = new System.Drawing.Point(174, 30);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(164, 39);
- this.button2.TabIndex = 16;
- this.button2.Text = "POKE";
- this.button2.UseVisualStyleBackColor = true;
- //
- // button1
- //
- this.button1.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.button1.Location = new System.Drawing.Point(7, 30);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(164, 39);
- this.button1.TabIndex = 15;
- this.button1.Text = "PEEK";
- this.button1.UseVisualStyleBackColor = true;
- //
- // textBox4
- //
- this.textBox4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.textBox4.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.textBox4.Location = new System.Drawing.Point(7, 88);
- this.textBox4.MaxLength = 32;
- this.textBox4.Name = "textBox4";
- this.textBox4.Size = new System.Drawing.Size(331, 23);
- this.textBox4.TabIndex = 14;
- this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- //
- // panel5
- //
- this.panel5.BackColor = System.Drawing.Color.Silver;
- this.panel5.Controls.Add(this.textBoxAddress);
- this.panel5.Controls.Add(this.textBoxSetBytes);
- this.panel5.Controls.Add(this.buttonSetBytes);
- this.panel5.Location = new System.Drawing.Point(388, 183);
- this.panel5.Name = "panel5";
- this.panel5.Size = new System.Drawing.Size(346, 167);
- this.panel5.TabIndex = 13;
- //
- // textBoxAddress
- //
- this.textBoxAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.textBoxAddress.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.textBoxAddress.Location = new System.Drawing.Point(8, 43);
- this.textBoxAddress.MaxLength = 32;
- this.textBoxAddress.Name = "textBoxAddress";
- this.textBoxAddress.Size = new System.Drawing.Size(164, 23);
- this.textBoxAddress.TabIndex = 20;
- this.textBoxAddress.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- //
- // textBoxSetBytes
- //
- this.textBoxSetBytes.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.textBoxSetBytes.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.textBoxSetBytes.Location = new System.Drawing.Point(8, 72);
- this.textBoxSetBytes.MaxLength = 32;
- this.textBoxSetBytes.Name = "textBoxSetBytes";
- this.textBoxSetBytes.Size = new System.Drawing.Size(164, 23);
- this.textBoxSetBytes.TabIndex = 19;
- this.textBoxSetBytes.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- //
- // buttonSetBytes
- //
- this.buttonSetBytes.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonSetBytes.Location = new System.Drawing.Point(175, 64);
- this.buttonSetBytes.Name = "buttonSetBytes";
- this.buttonSetBytes.Size = new System.Drawing.Size(164, 39);
- this.buttonSetBytes.TabIndex = 18;
- this.buttonSetBytes.Text = "SET BYTES";
- this.buttonSetBytes.UseVisualStyleBackColor = true;
- this.buttonSetBytes.Click += new System.EventHandler(this.buttonSetBytes_Click);
- //
- // Form1
- //
- this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.ClientSize = new System.Drawing.Size(371, 364);
- this.Controls.Add(this.panel5);
- this.Controls.Add(this.panel4);
- this.Controls.Add(this.panel3);
- this.Controls.Add(this.panel2);
- this.Controls.Add(this.panel1);
- this.MaximizeBox = false;
- this.MaximumSize = new System.Drawing.Size(387, 403);
- this.MinimumSize = new System.Drawing.Size(387, 403);
- this.Name = "Form1";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "PS3 Punch DEX ITA 4.50 [BH]";
- this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.panel2.ResumeLayout(false);
- this.panel2.PerformLayout();
- this.panel3.ResumeLayout(false);
- this.panel4.ResumeLayout(false);
- this.panel4.PerformLayout();
- this.panel5.ResumeLayout(false);
- this.panel5.PerformLayout();
- this.ResumeLayout(false);
- }
- }
- }
- /*
- _____ _____ _____ _____ _____ _____ _______ _____
- /\ \ /\ \ /\ \ /\ \ /\ \ /\ \ ______ /::\ \ /\ \
- /::\ \ /::\ \ /::\ \ /::\ \ /::\____\ /::\ \ |::| | /::::\ \ /::\ \
- /::::\ \ /::::\ \ /::::\ \ /::::\ \ /:::/ / /::::\ \ |::| | /::::::\ \ /::::\ \
- /::::::\ \ /::::::\ \ /::::::\ \ /::::::\ \ /:::/ / /::::::\ \ |::| | /::::::::\ \ /::::::\ \
- /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/ / /:::/\:::\ \ |::| | /:::/~~\:::\ \ /:::/\:::\ \
- /:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/____/ /:::/__\:::\ \ |::| | /:::/ \:::\ \ /:::/__\:::\ \
- /::::\ \:::\ \ /::::\ \:::\ \ \:::\ \:::\ \ \:::\ \:::\ \ /::::\ \ /::::\ \:::\ \ |::| | /:::/ / \:::\ \ /::::\ \:::\ \
- /::::::\ \:::\ \ /::::::\ \:::\ \ ___\:::\ \:::\ \ ___\:::\ \:::\ \ /::::::\ \ _____ /::::::\ \:::\ \ |::| | /:::/____/ \:::\____\ /::::::\ \:::\ \
- /:::/\:::\ \:::\ ___\ /:::/\:::\ \:::\ \ /\ \:::\ \:::\ \ /\ \:::\ \:::\ \ /:::/\:::\ \ /\ \ /:::/\:::\ \:::\ \ ______|::|___|___ ____ |:::| | |:::| | /:::/\:::\ \:::\____\
- /:::/__\:::\ \:::| |/:::/ \:::\ \:::\____\/::\ \:::\ \:::\____\/::\ \:::\ \:::\____\/:::/ \:::\ /::\____\/:::/ \:::\ \:::\____\|:::::::::::::::::| ||:::|____| |:::| |/:::/ \:::\ \:::| |
- \:::\ \:::\ /:::|____|\::/ \:::\ /:::/ /\:::\ \:::\ \::/ /\:::\ \:::\ \::/ /\::/ \:::\ /:::/ /\::/ \:::\ /:::/ /|:::::::::::::::::|____| \:::\ \ /:::/ / \::/ |::::\ /:::|____|
- \:::\ \:::\/:::/ / \/____/ \:::\/:::/ / \:::\ \:::\ \/____/ \:::\ \:::\ \/____/ \/____/ \:::\/:::/ / \/____/ \:::\/:::/ / ~~~~~~|::|~~~|~~~ \:::\ \ /:::/ / \/____|:::::\/:::/ /
- \:::\ \::::::/ / \::::::/ / \:::\ \:::\ \ \:::\ \:::\ \ \::::::/ / \::::::/ / |::| | \:::\ /:::/ / |:::::::::/ /
- \:::\ \::::/ / \::::/ / \:::\ \:::\____\ \:::\ \:::\____\ \::::/ / \::::/ / |::| | \:::\__/:::/ / |::|\::::/ /
- \:::\ /:::/ / /:::/ / \:::\ /:::/ / \:::\ /:::/ / /:::/ / /:::/ / |::| | \::::::::/ / |::| \::/____/
- \:::\/:::/ / /:::/ / \:::\/:::/ / \:::\/:::/ / /:::/ / /:::/ / |::| | \::::::/ / |::| ~|
- \::::::/ / /:::/ / \::::::/ / \::::::/ / /:::/ / /:::/ / |::| | \::::/ / |::| |
- \::::/ / /:::/ / \::::/ / \::::/ / /:::/ / /:::/ / |::| | \::/____/ \::| |
- \::/____/ \::/ / \::/ / \::/ / \::/ / \::/ / |::|___| ~~ \:| |
- ~~ \/____/ \/____/ \/____/ \/____/ \/____/ ~~ \|___|
- OOOOOOOOO SSSSSSSSSSSSSSS
- OO:::::::::OO SS:::::::::::::::S
- OO:::::::::::::OO S:::::SSSSSS::::::S
- O:::::::OOO:::::::O S:::::S SSSSSSS
- O::::::O O::::::Oppppp ppppppppp eeeeeeeeeeee nnnn nnnnnnnn S:::::S ooooooooooo uuuuuu uuuuuu rrrrr rrrrrrrrr cccccccccccccccc eeeeeeeeeeee
- O:::::O O:::::Op::::ppp:::::::::p ee::::::::::::ee n:::nn::::::::nn S:::::S oo:::::::::::oo u::::u u::::u r::::rrr:::::::::r cc:::::::::::::::c ee::::::::::::ee
- O:::::O O:::::Op:::::::::::::::::p e::::::eeeee:::::een::::::::::::::nn S::::SSSS o:::::::::::::::ou::::u u::::u r:::::::::::::::::r c:::::::::::::::::c e::::::eeeee:::::ee
- O:::::O O:::::Opp::::::ppppp::::::pe::::::e e:::::enn:::::::::::::::n SS::::::SSSSS o:::::ooooo:::::ou::::u u::::u rr::::::rrrrr::::::rc:::::::cccccc:::::ce::::::e e:::::e
- O:::::O O:::::O p:::::p p:::::pe:::::::eeeee::::::e n:::::nnnn:::::n SSS::::::::SS o::::o o::::ou::::u u::::u r:::::r r:::::rc::::::c ccccccce:::::::eeeee::::::e
- O:::::O O:::::O p:::::p p:::::pe:::::::::::::::::e n::::n n::::n SSSSSS::::S o::::o o::::ou::::u u::::u r:::::r rrrrrrrc:::::c e:::::::::::::::::e
- O:::::O O:::::O p:::::p p:::::pe::::::eeeeeeeeeee n::::n n::::n S:::::So::::o o::::ou::::u u::::u r:::::r c:::::c e::::::eeeeeeeeeee
- O::::::O O::::::O p:::::p p::::::pe:::::::e n::::n n::::n S:::::So::::o o::::ou:::::uuuu:::::u r:::::r c::::::c ccccccce:::::::e
- O:::::::OOO:::::::O p:::::ppppp:::::::pe::::::::e n::::n n::::n SSSSSSS S:::::So:::::ooooo:::::ou:::::::::::::::uur:::::r c:::::::cccccc:::::ce::::::::e
- OO:::::::::::::OO p::::::::::::::::p e::::::::eeeeeeee n::::n n::::n S::::::SSSSSS:::::So:::::::::::::::o u:::::::::::::::ur:::::r c:::::::::::::::::c e::::::::eeeeeeee
- OO:::::::::OO p::::::::::::::pp ee:::::::::::::e n::::n n::::n S:::::::::::::::SS oo:::::::::::oo uu::::::::uu:::ur:::::r cc:::::::::::::::c ee:::::::::::::e
- OOOOOOOOO p::::::pppppppp eeeeeeeeeeeeee nnnnnn nnnnnn SSSSSSSSSSSSSSS ooooooooooo uuuuuuuu uuuurrrrrrr cccccccccccccccc eeeeeeeeeeeeee
- p:::::p
- p:::::p
- p:::::::p
- p:::::::p
- p:::::::p
- ppppppppp
- Yb dP 8 w .d88b. w w dP"Yb
- Yb db dP 8d8b. .d88 w8ww YPwww. .d88b .d8b 8 8 8d8b w w8ww Yb dP " d8
- YbdPYbdP 8P Y8 8 8 8 d8 8.dP' 8 8b d8 8P 8 8 YbdP dP
- YP YP 8 8 `Y88 Y8P `Y88P' `Y88P `Y8P `Y8P8 8 8 Y8P dP w
- dP x
- */
Add Comment
Please, Sign In to add comment