BaSs_HaXoR

PS3Punch CID Changer SOURCE - BuC-SHoTz

Jun 29th, 2014
505
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 38.93 KB | None | 0 0
  1. //Download: http://adf.ly/rt6V0
  2.  
  3. //Unpacked with SFX, dissasembled in ILSpy
  4.  
  5. using PS3Lib;
  6. using System;
  7. using System.Collections.Generic;
  8. using System.ComponentModel;
  9. using System.Drawing;
  10. using System.Linq;
  11. using System.Text;
  12. using System.Windows.Forms;
  13. namespace PS3_Punch_CID_Changer
  14. {
  15.     public class Form1 : Form
  16.     {
  17.         private PS3TMAPI.SNRESULT snr;
  18.         private int target;
  19.         private string ipaddr;
  20.         private uint processID;
  21.         public static PS3API PS3 = new PS3API(0);
  22.         private bool flag;
  23.         private IContainer components;
  24.         private Button buttonInstallPkg;
  25.         private TextBox textBox1;
  26.         private Button buttonSetCid;
  27.         private Label label1;
  28.         private Label extCID;
  29.         private Button buttonConnect;
  30.         private Label label2;
  31.         private Label label3;
  32.         private Panel panel1;
  33.         private Panel panel2;
  34.         private Label label5;
  35.         private TextBox textBox3;
  36.         private Label label4;
  37.         private Panel panel3;
  38.         private Button buttonSetPSID;
  39.         private Button buttonRefresh;
  40.         private Panel panel4;
  41.         private RadioButton radioButton2;
  42.         private RadioButton radioButton1;
  43.         private Label label7;
  44.         private Label label6;
  45.         private TextBox textBox5;
  46.         private Button button2;
  47.         private Button button1;
  48.         private TextBox textBox4;
  49.         private Panel panel5;
  50.         private TextBox textBoxSetBytes;
  51.         private Button buttonSetBytes;
  52.         private TextBox textBoxAddress;
  53.         public Form1()
  54.         {
  55.             this.InitializeComponent();
  56.         }
  57.         private void buttonInstallPkg_Click(object sender, EventArgs e)
  58.         {
  59.             this.snr = PS3TMAPI.InitTargetComms();
  60.             if (this.snr == PS3TMAPI.SNRESULT.SN_S_OK)
  61.             {
  62.                 this.snr = PS3TMAPI.PickTarget(base.Handle, out this.target);
  63.             }
  64.             if (this.snr == PS3TMAPI.SNRESULT.SN_S_OK)
  65.             {
  66.                 this.snr = PS3TMAPI.Connect(this.target, null);
  67.             }
  68.             PS3TMAPI.TCPIPConnectProperties tCPIPConnectProperties = new PS3TMAPI.TCPIPConnectProperties();
  69.             PS3TMAPI.GetConnectionInfo(this.target, out tCPIPConnectProperties);
  70.             this.ipaddr = tCPIPConnectProperties.IPAddress;
  71.             if (this.snr == PS3TMAPI.SNRESULT.SN_S_OK || this.snr == PS3TMAPI.SNRESULT.SN_S_NO_ACTION)
  72.             {
  73.                 PS3TMAPI.BootParameter bootParameter;
  74.                 PS3TMAPI.BootParameterMask bootMask;
  75.                 PS3TMAPI.ResetParameter resetParameter;
  76.                 PS3TMAPI.ResetParameterMask resetMask;
  77.                 PS3TMAPI.SystemParameter systemParameter;
  78.                 PS3TMAPI.SystemParameterMask systemMask;
  79.                 PS3TMAPI.GetResetParameters(this.target, out bootParameter, out bootMask, out resetParameter, out resetMask, out systemParameter, out systemMask);
  80.                 this.snr = PS3TMAPI.ResetEx(this.target, PS3TMAPI.BootParameter.DebugMode, bootMask, PS3TMAPI.ResetParameter.Soft, resetMask, systemParameter, systemMask);
  81.                 string text = Application.StartupPath + "\\XX0001-ENSTONEXX_00-00000000000CCAPIv2.00.pkg";
  82.                 byte[] bytes = Encoding.Default.GetBytes(text);
  83.                 text = Encoding.UTF8.GetString(bytes);
  84.                 this.snr = PS3TMAPI.InstallPackage(this.target, text);
  85.                 if (this.snr == PS3TMAPI.SNRESULT.SN_S_OK)
  86.                 {
  87.                     this.snr = PS3TMAPI.ResetEx(this.target, bootParameter, bootMask, resetParameter, resetMask, systemParameter, systemMask);
  88.                     if (this.snr == PS3TMAPI.SNRESULT.SN_S_OK)
  89.                     {
  90.                         PS3TMAPI.Exit();
  91.                         MessageBox.Show("Package Installed, Now Run CCAPI Installer From XMB.", "PKG Installed.", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
  92.                     }
  93.                 }
  94.             }
  95.         }
  96.         private void buttonSetCid_Click(object sender, EventArgs e)
  97.         {
  98.             if (this.IsValidHexString(this.textBox1.Text) && this.textBox1.Text.Length == 32)
  99.             {
  100.                 Form1.PS3.get_CCAPI().SetConsoleID(this.textBox1.Text);
  101.                 Form1.PS3.get_CCAPI().RingBuzzer(1);
  102.                 Form1.PS3.get_CCAPI().SetConsoleLed(2, 1);
  103.                 Form1.PS3.get_CCAPI().Notify(0, "CONSOLE ID SET:\n" + this.textBox1.Text.Substring(0, 16) + "    \n" + this.textBox1.Text.Substring(16, 16));
  104.                 Form1.PS3.get_CCAPI().SetConsoleLed(2, 0);
  105.                 return;
  106.             }
  107.             MessageBox.Show("Check Your Console ID. Wrong Length or Hex Chars.");
  108.         }
  109.         private new void Refresh()
  110.         {
  111.             byte[] array = new byte[16];
  112.             Form1.PS3.get_CCAPI().GetLv2Memory(9223372036858981040uL, array);
  113.             string text = BitConverter.ToString(array).Replace("-", " ");
  114.             byte[] array2 = new byte[16];
  115.             Form1.PS3.get_CCAPI().GetLv2Memory(9223372036859580196uL, array2);
  116.             string text2 = BitConverter.ToString(array2).Replace("-", " ");
  117.             this.label1.Text = text;
  118.             this.label2.Text = text2;
  119.             this.textBox1.Text = text.Replace(" ", "");
  120.             this.textBox3.Text = text2.Replace(" ", "");
  121.         }
  122.         private bool IsValidHexString(IEnumerable<char> hexString)
  123.         {
  124.             return (
  125.                 from currentCharacter in hexString
  126.                 select (currentCharacter >= '0' && currentCharacter <= '9') || (currentCharacter >= 'a' && currentCharacter <= 'f') || (currentCharacter >= 'A' && currentCharacter <= 'F')).All((bool isHexCharacter) => isHexCharacter);
  127.         }
  128.         private void buttonConnect_Click(object sender, EventArgs e)
  129.         {
  130.             Form1.PS3.ChangeAPI(0);
  131.             if (Form1.PS3.ConnectTarget(0))
  132.             {
  133.                 Form1.PS3.get_CCAPI().Notify(0, "CONNECTED    ");
  134.                 this.Refresh();
  135.             }
  136.         }
  137.         private void textBox1_KeyDown(object sender, KeyEventArgs e)
  138.         {
  139.             this.flag = (e.Control && e.KeyCode == Keys.V);
  140.         }
  141.         private void textBox3_KeyDown(object sender, KeyEventArgs e)
  142.         {
  143.             this.flag = (e.Control && e.KeyCode == Keys.V);
  144.         }
  145.         private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
  146.         {
  147.             e.KeyChar = char.ToUpper(e.KeyChar);
  148.             char keyChar = e.KeyChar;
  149.             e.Handled = (!Uri.IsHexDigit(e.KeyChar) && keyChar != '\b' && !this.flag);
  150.         }
  151.         private void textBox3_KeyPress(object sender, KeyPressEventArgs e)
  152.         {
  153.             e.KeyChar = char.ToUpper(e.KeyChar);
  154.             char keyChar = e.KeyChar;
  155.             e.Handled = (!Uri.IsHexDigit(e.KeyChar) && keyChar != '\b' && !this.flag);
  156.         }
  157.         private void buttonSetPSID_Click(object sender, EventArgs e)
  158.         {
  159.             if (this.IsValidHexString(this.textBox3.Text) && this.textBox3.Text.Length == 32)
  160.             {
  161.                 byte[] array = this.HexStringToByteArray(this.textBox3.Text);
  162.                 Form1.PS3.get_CCAPI().SetLv2Memory(9223372036859580196uL, array);
  163.                 Form1.PS3.get_CCAPI().RingBuzzer(1);
  164.                 Form1.PS3.get_CCAPI().SetConsoleLed(2, 1);
  165.                 Form1.PS3.get_CCAPI().Notify(0, "PSID SET:\n" + this.textBox3.Text.Substring(0, 16) + "    \n" + this.textBox3.Text.Substring(16, 16));
  166.                 Form1.PS3.get_CCAPI().SetConsoleLed(2, 0);
  167.                 return;
  168.             }
  169.             MessageBox.Show("Check Your PSID. Wrong Length or Hex Chars.");
  170.         }
  171.         private byte[] HexStringToByteArray(string hex)
  172.         {
  173.             return (
  174.                 from x in Enumerable.Range(0, hex.Length)
  175.                 where x % 2 == 0
  176.                 select Convert.ToByte(hex.Substring(x, 2), 16)).ToArray<byte>();
  177.         }
  178.         private void buttonRefresh_Click(object sender, EventArgs e)
  179.         {
  180.             byte[] array = new byte[16];
  181.             Form1.PS3.get_CCAPI().GetLv2Memory(9223372036858981040uL, array);
  182.             string text = BitConverter.ToString(array).Replace("-", " ");
  183.             byte[] array2 = new byte[16];
  184.             Form1.PS3.get_CCAPI().GetLv2Memory(9223372036859580196uL, array2);
  185.             string text2 = BitConverter.ToString(array2).Replace("-", " ");
  186.             this.label1.Text = text;
  187.             this.label2.Text = text2;
  188.         }
  189.         private void Form1_FormClosed(object sender, FormClosedEventArgs e)
  190.         {
  191.             Form1.PS3.get_CCAPI().DisconnectTarget();
  192.             PS3TMAPI.Exit();
  193.         }
  194.         private void buttonSetBytes_Click(object sender, EventArgs e)
  195.         {
  196.         }
  197.         protected override void Dispose(bool disposing)
  198.         {
  199.             if (disposing && this.components != null)
  200.             {
  201.                 this.components.Dispose();
  202.             }
  203.             base.Dispose(disposing);
  204.         }
  205.         private void InitializeComponent()
  206.         {
  207.             this.buttonInstallPkg = new System.Windows.Forms.Button();
  208.             this.textBox1 = new System.Windows.Forms.TextBox();
  209.             this.buttonSetCid = new System.Windows.Forms.Button();
  210.             this.label1 = new System.Windows.Forms.Label();
  211.             this.extCID = new System.Windows.Forms.Label();
  212.             this.buttonConnect = new System.Windows.Forms.Button();
  213.             this.label2 = new System.Windows.Forms.Label();
  214.             this.label3 = new System.Windows.Forms.Label();
  215.             this.panel1 = new System.Windows.Forms.Panel();
  216.             this.buttonRefresh = new System.Windows.Forms.Button();
  217.             this.panel2 = new System.Windows.Forms.Panel();
  218.             this.buttonSetPSID = new System.Windows.Forms.Button();
  219.             this.label5 = new System.Windows.Forms.Label();
  220.             this.textBox3 = new System.Windows.Forms.TextBox();
  221.             this.label4 = new System.Windows.Forms.Label();
  222.             this.panel3 = new System.Windows.Forms.Panel();
  223.             this.panel4 = new System.Windows.Forms.Panel();
  224.             this.radioButton2 = new System.Windows.Forms.RadioButton();
  225.             this.radioButton1 = new System.Windows.Forms.RadioButton();
  226.             this.label7 = new System.Windows.Forms.Label();
  227.             this.label6 = new System.Windows.Forms.Label();
  228.             this.textBox5 = new System.Windows.Forms.TextBox();
  229.             this.button2 = new System.Windows.Forms.Button();
  230.             this.button1 = new System.Windows.Forms.Button();
  231.             this.textBox4 = new System.Windows.Forms.TextBox();
  232.             this.panel5 = new System.Windows.Forms.Panel();
  233.             this.textBoxAddress = new System.Windows.Forms.TextBox();
  234.             this.textBoxSetBytes = new System.Windows.Forms.TextBox();
  235.             this.buttonSetBytes = new System.Windows.Forms.Button();
  236.             this.panel1.SuspendLayout();
  237.             this.panel2.SuspendLayout();
  238.             this.panel3.SuspendLayout();
  239.             this.panel4.SuspendLayout();
  240.             this.panel5.SuspendLayout();
  241.             this.SuspendLayout();
  242.             //
  243.             // buttonInstallPkg
  244.             //
  245.             this.buttonInstallPkg.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  246.             this.buttonInstallPkg.Location = new System.Drawing.Point(6, 6);
  247.             this.buttonInstallPkg.Name = "buttonInstallPkg";
  248.             this.buttonInstallPkg.Size = new System.Drawing.Size(332, 39);
  249.             this.buttonInstallPkg.TabIndex = 0;
  250.             this.buttonInstallPkg.Text = "INSTALL CCAPI PKG DEX ONLY";
  251.             this.buttonInstallPkg.UseVisualStyleBackColor = true;
  252.             this.buttonInstallPkg.Click += new System.EventHandler(this.buttonInstallPkg_Click);
  253.             //
  254.             // textBox1
  255.             //
  256.             this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  257.             this.textBox1.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  258.             this.textBox1.Location = new System.Drawing.Point(6, 26);
  259.             this.textBox1.MaxLength = 32;
  260.             this.textBox1.Name = "textBox1";
  261.             this.textBox1.Size = new System.Drawing.Size(332, 23);
  262.             this.textBox1.TabIndex = 1;
  263.             this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  264.             this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
  265.             this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
  266.             //
  267.             // buttonSetCid
  268.             //
  269.             this.buttonSetCid.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  270.             this.buttonSetCid.Location = new System.Drawing.Point(6, 102);
  271.             this.buttonSetCid.Name = "buttonSetCid";
  272.             this.buttonSetCid.Size = new System.Drawing.Size(163, 39);
  273.             this.buttonSetCid.TabIndex = 2;
  274.             this.buttonSetCid.Text = "SET CONSOLE ID";
  275.             this.buttonSetCid.UseVisualStyleBackColor = true;
  276.             this.buttonSetCid.Click += new System.EventHandler(this.buttonSetCid_Click);
  277.             //
  278.             // label1
  279.             //
  280.             this.label1.AutoSize = true;
  281.             this.label1.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  282.             this.label1.Location = new System.Drawing.Point(3, 19);
  283.             this.label1.Name = "label1";
  284.             this.label1.Size = new System.Drawing.Size(336, 15);
  285.             this.label1.TabIndex = 3;
  286.             this.label1.Text = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00";
  287.             //
  288.             // extCID
  289.             //
  290.             this.extCID.AutoSize = true;
  291.             this.extCID.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  292.             this.extCID.Location = new System.Drawing.Point(3, 6);
  293.             this.extCID.Name = "extCID";
  294.             this.extCID.Size = new System.Drawing.Size(181, 13);
  295.             this.extCID.TabIndex = 4;
  296.             this.extCID.Text = "Existing Console ID In Memory";
  297.             //
  298.             // buttonConnect
  299.             //
  300.             this.buttonConnect.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  301.             this.buttonConnect.Location = new System.Drawing.Point(6, 74);
  302.             this.buttonConnect.Name = "buttonConnect";
  303.             this.buttonConnect.Size = new System.Drawing.Size(164, 39);
  304.             this.buttonConnect.TabIndex = 5;
  305.             this.buttonConnect.Text = "CONNECT";
  306.             this.buttonConnect.UseVisualStyleBackColor = true;
  307.             this.buttonConnect.Click += new System.EventHandler(this.buttonConnect_Click);
  308.             //
  309.             // label2
  310.             //
  311.             this.label2.AutoSize = true;
  312.             this.label2.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  313.             this.label2.Location = new System.Drawing.Point(3, 56);
  314.             this.label2.Name = "label2";
  315.             this.label2.Size = new System.Drawing.Size(336, 15);
  316.             this.label2.TabIndex = 6;
  317.             this.label2.Text = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00";
  318.             //
  319.             // label3
  320.             //
  321.             this.label3.AutoSize = true;
  322.             this.label3.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  323.             this.label3.Location = new System.Drawing.Point(3, 43);
  324.             this.label3.Name = "label3";
  325.             this.label3.Size = new System.Drawing.Size(145, 13);
  326.             this.label3.TabIndex = 7;
  327.             this.label3.Text = "Existing PSID In Memory";
  328.             //
  329.             // panel1
  330.             //
  331.             this.panel1.BackColor = System.Drawing.Color.Silver;
  332.             this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  333.             this.panel1.Controls.Add(this.buttonRefresh);
  334.             this.panel1.Controls.Add(this.extCID);
  335.             this.panel1.Controls.Add(this.label1);
  336.             this.panel1.Controls.Add(this.buttonConnect);
  337.             this.panel1.Controls.Add(this.label3);
  338.             this.panel1.Controls.Add(this.label2);
  339.             this.panel1.Location = new System.Drawing.Point(12, 12);
  340.             this.panel1.Name = "panel1";
  341.             this.panel1.Size = new System.Drawing.Size(347, 120);
  342.             this.panel1.TabIndex = 9;
  343.             //
  344.             // buttonRefresh
  345.             //
  346.             this.buttonRefresh.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  347.             this.buttonRefresh.Location = new System.Drawing.Point(174, 74);
  348.             this.buttonRefresh.Name = "buttonRefresh";
  349.             this.buttonRefresh.Size = new System.Drawing.Size(164, 39);
  350.             this.buttonRefresh.TabIndex = 8;
  351.             this.buttonRefresh.Text = "REFRESH";
  352.             this.buttonRefresh.UseVisualStyleBackColor = true;
  353.             this.buttonRefresh.Click += new System.EventHandler(this.buttonRefresh_Click);
  354.             //
  355.             // panel2
  356.             //
  357.             this.panel2.BackColor = System.Drawing.Color.Silver;
  358.             this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  359.             this.panel2.Controls.Add(this.buttonSetPSID);
  360.             this.panel2.Controls.Add(this.label5);
  361.             this.panel2.Controls.Add(this.textBox3);
  362.             this.panel2.Controls.Add(this.label4);
  363.             this.panel2.Controls.Add(this.buttonSetCid);
  364.             this.panel2.Controls.Add(this.textBox1);
  365.             this.panel2.Location = new System.Drawing.Point(13, 139);
  366.             this.panel2.Name = "panel2";
  367.             this.panel2.Size = new System.Drawing.Size(346, 150);
  368.             this.panel2.TabIndex = 10;
  369.             //
  370.             // buttonSetPSID
  371.             //
  372.             this.buttonSetPSID.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  373.             this.buttonSetPSID.Location = new System.Drawing.Point(174, 102);
  374.             this.buttonSetPSID.Name = "buttonSetPSID";
  375.             this.buttonSetPSID.Size = new System.Drawing.Size(163, 39);
  376.             this.buttonSetPSID.TabIndex = 14;
  377.             this.buttonSetPSID.Text = "SET PSID";
  378.             this.buttonSetPSID.UseVisualStyleBackColor = true;
  379.             this.buttonSetPSID.Click += new System.EventHandler(this.buttonSetPSID_Click);
  380.             //
  381.             // label5
  382.             //
  383.             this.label5.AutoSize = true;
  384.             this.label5.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  385.             this.label5.Location = new System.Drawing.Point(3, 57);
  386.             this.label5.Name = "label5";
  387.             this.label5.Size = new System.Drawing.Size(31, 13);
  388.             this.label5.TabIndex = 13;
  389.             this.label5.Text = "PSID";
  390.             //
  391.             // textBox3
  392.             //
  393.             this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  394.             this.textBox3.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  395.             this.textBox3.Location = new System.Drawing.Point(6, 73);
  396.             this.textBox3.MaxLength = 32;
  397.             this.textBox3.Name = "textBox3";
  398.             this.textBox3.Size = new System.Drawing.Size(332, 23);
  399.             this.textBox3.TabIndex = 12;
  400.             this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  401.             this.textBox3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox3_KeyDown);
  402.             this.textBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox3_KeyPress);
  403.             //
  404.             // label4
  405.             //
  406.             this.label4.AutoSize = true;
  407.             this.label4.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  408.             this.label4.Location = new System.Drawing.Point(3, 10);
  409.             this.label4.Name = "label4";
  410.             this.label4.Size = new System.Drawing.Size(67, 13);
  411.             this.label4.TabIndex = 11;
  412.             this.label4.Text = "Console ID";
  413.             //
  414.             // panel3
  415.             //
  416.             this.panel3.BackColor = System.Drawing.Color.Silver;
  417.             this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  418.             this.panel3.Controls.Add(this.buttonInstallPkg);
  419.             this.panel3.Location = new System.Drawing.Point(13, 296);
  420.             this.panel3.Name = "panel3";
  421.             this.panel3.Size = new System.Drawing.Size(346, 54);
  422.             this.panel3.TabIndex = 11;
  423.             //
  424.             // panel4
  425.             //
  426.             this.panel4.BackColor = System.Drawing.Color.Silver;
  427.             this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  428.             this.panel4.Controls.Add(this.radioButton2);
  429.             this.panel4.Controls.Add(this.radioButton1);
  430.             this.panel4.Controls.Add(this.label7);
  431.             this.panel4.Controls.Add(this.label6);
  432.             this.panel4.Controls.Add(this.textBox5);
  433.             this.panel4.Controls.Add(this.button2);
  434.             this.panel4.Controls.Add(this.button1);
  435.             this.panel4.Controls.Add(this.textBox4);
  436.             this.panel4.Location = new System.Drawing.Point(388, 12);
  437.             this.panel4.Name = "panel4";
  438.             this.panel4.Size = new System.Drawing.Size(346, 165);
  439.             this.panel4.TabIndex = 12;
  440.             //
  441.             // radioButton2
  442.             //
  443.             this.radioButton2.AutoSize = true;
  444.             this.radioButton2.Location = new System.Drawing.Point(174, 7);
  445.             this.radioButton2.Name = "radioButton2";
  446.             this.radioButton2.Size = new System.Drawing.Size(44, 17);
  447.             this.radioButton2.TabIndex = 21;
  448.             this.radioButton2.TabStop = true;
  449.             this.radioButton2.Text = "LV2";
  450.             this.radioButton2.UseVisualStyleBackColor = true;
  451.             //
  452.             // radioButton1
  453.             //
  454.             this.radioButton1.AutoSize = true;
  455.             this.radioButton1.Location = new System.Drawing.Point(124, 7);
  456.             this.radioButton1.Name = "radioButton1";
  457.             this.radioButton1.Size = new System.Drawing.Size(44, 17);
  458.             this.radioButton1.TabIndex = 20;
  459.             this.radioButton1.TabStop = true;
  460.             this.radioButton1.Text = "LV1";
  461.             this.radioButton1.UseVisualStyleBackColor = true;
  462.             //
  463.             // label7
  464.             //
  465.             this.label7.AutoSize = true;
  466.             this.label7.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  467.             this.label7.Location = new System.Drawing.Point(4, 114);
  468.             this.label7.Name = "label7";
  469.             this.label7.Size = new System.Drawing.Size(37, 13);
  470.             this.label7.TabIndex = 19;
  471.             this.label7.Text = "Bytes";
  472.             //
  473.             // label6
  474.             //
  475.             this.label6.AutoSize = true;
  476.             this.label6.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  477.             this.label6.Location = new System.Drawing.Point(4, 72);
  478.             this.label6.Name = "label6";
  479.             this.label6.Size = new System.Drawing.Size(49, 13);
  480.             this.label6.TabIndex = 18;
  481.             this.label6.Text = "Address";
  482.             //
  483.             // textBox5
  484.             //
  485.             this.textBox5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  486.             this.textBox5.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  487.             this.textBox5.Location = new System.Drawing.Point(7, 130);
  488.             this.textBox5.MaxLength = 32;
  489.             this.textBox5.Name = "textBox5";
  490.             this.textBox5.Size = new System.Drawing.Size(331, 23);
  491.             this.textBox5.TabIndex = 17;
  492.             this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  493.             //
  494.             // button2
  495.             //
  496.             this.button2.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  497.             this.button2.Location = new System.Drawing.Point(174, 30);
  498.             this.button2.Name = "button2";
  499.             this.button2.Size = new System.Drawing.Size(164, 39);
  500.             this.button2.TabIndex = 16;
  501.             this.button2.Text = "POKE";
  502.             this.button2.UseVisualStyleBackColor = true;
  503.             //
  504.             // button1
  505.             //
  506.             this.button1.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  507.             this.button1.Location = new System.Drawing.Point(7, 30);
  508.             this.button1.Name = "button1";
  509.             this.button1.Size = new System.Drawing.Size(164, 39);
  510.             this.button1.TabIndex = 15;
  511.             this.button1.Text = "PEEK";
  512.             this.button1.UseVisualStyleBackColor = true;
  513.             //
  514.             // textBox4
  515.             //
  516.             this.textBox4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  517.             this.textBox4.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  518.             this.textBox4.Location = new System.Drawing.Point(7, 88);
  519.             this.textBox4.MaxLength = 32;
  520.             this.textBox4.Name = "textBox4";
  521.             this.textBox4.Size = new System.Drawing.Size(331, 23);
  522.             this.textBox4.TabIndex = 14;
  523.             this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  524.             //
  525.             // panel5
  526.             //
  527.             this.panel5.BackColor = System.Drawing.Color.Silver;
  528.             this.panel5.Controls.Add(this.textBoxAddress);
  529.             this.panel5.Controls.Add(this.textBoxSetBytes);
  530.             this.panel5.Controls.Add(this.buttonSetBytes);
  531.             this.panel5.Location = new System.Drawing.Point(388, 183);
  532.             this.panel5.Name = "panel5";
  533.             this.panel5.Size = new System.Drawing.Size(346, 167);
  534.             this.panel5.TabIndex = 13;
  535.             //
  536.             // textBoxAddress
  537.             //
  538.             this.textBoxAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  539.             this.textBoxAddress.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  540.             this.textBoxAddress.Location = new System.Drawing.Point(8, 43);
  541.             this.textBoxAddress.MaxLength = 32;
  542.             this.textBoxAddress.Name = "textBoxAddress";
  543.             this.textBoxAddress.Size = new System.Drawing.Size(164, 23);
  544.             this.textBoxAddress.TabIndex = 20;
  545.             this.textBoxAddress.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  546.             //
  547.             // textBoxSetBytes
  548.             //
  549.             this.textBoxSetBytes.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  550.             this.textBoxSetBytes.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  551.             this.textBoxSetBytes.Location = new System.Drawing.Point(8, 72);
  552.             this.textBoxSetBytes.MaxLength = 32;
  553.             this.textBoxSetBytes.Name = "textBoxSetBytes";
  554.             this.textBoxSetBytes.Size = new System.Drawing.Size(164, 23);
  555.             this.textBoxSetBytes.TabIndex = 19;
  556.             this.textBoxSetBytes.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  557.             //
  558.             // buttonSetBytes
  559.             //
  560.             this.buttonSetBytes.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  561.             this.buttonSetBytes.Location = new System.Drawing.Point(175, 64);
  562.             this.buttonSetBytes.Name = "buttonSetBytes";
  563.             this.buttonSetBytes.Size = new System.Drawing.Size(164, 39);
  564.             this.buttonSetBytes.TabIndex = 18;
  565.             this.buttonSetBytes.Text = "SET BYTES";
  566.             this.buttonSetBytes.UseVisualStyleBackColor = true;
  567.             this.buttonSetBytes.Click += new System.EventHandler(this.buttonSetBytes_Click);
  568.             //
  569.             // Form1
  570.             //
  571.             this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
  572.             this.ClientSize = new System.Drawing.Size(371, 364);
  573.             this.Controls.Add(this.panel5);
  574.             this.Controls.Add(this.panel4);
  575.             this.Controls.Add(this.panel3);
  576.             this.Controls.Add(this.panel2);
  577.             this.Controls.Add(this.panel1);
  578.             this.MaximizeBox = false;
  579.             this.MaximumSize = new System.Drawing.Size(387, 403);
  580.             this.MinimumSize = new System.Drawing.Size(387, 403);
  581.             this.Name = "Form1";
  582.             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  583.             this.Text = "PS3 Punch DEX ITA 4.50 [BH]";
  584.             this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
  585.             this.panel1.ResumeLayout(false);
  586.             this.panel1.PerformLayout();
  587.             this.panel2.ResumeLayout(false);
  588.             this.panel2.PerformLayout();
  589.             this.panel3.ResumeLayout(false);
  590.             this.panel4.ResumeLayout(false);
  591.             this.panel4.PerformLayout();
  592.             this.panel5.ResumeLayout(false);
  593.             this.panel5.PerformLayout();
  594.             this.ResumeLayout(false);
  595.  
  596.         }
  597.     }
  598. }
  599. /*
  600.      
  601.           _____                    _____                    _____                    _____                    _____                    _____                                           _______                   _____          
  602.          /\    \                  /\    \                  /\    \                  /\    \                  /\    \                  /\    \                 ______                  /::\    \                 /\    \        
  603.         /::\    \                /::\    \                /::\    \                /::\    \                /::\____\                /::\    \               |::|   |                /::::\    \               /::\    \        
  604.        /::::\    \              /::::\    \              /::::\    \              /::::\    \              /:::/    /               /::::\    \              |::|   |               /::::::\    \             /::::\    \      
  605.       /::::::\    \            /::::::\    \            /::::::\    \            /::::::\    \            /:::/    /               /::::::\    \             |::|   |              /::::::::\    \           /::::::\    \      
  606.      /:::/\:::\    \          /:::/\:::\    \          /:::/\:::\    \          /:::/\:::\    \          /:::/    /               /:::/\:::\    \            |::|   |             /:::/~~\:::\    \         /:::/\:::\    \    
  607.     /:::/__\:::\    \        /:::/__\:::\    \        /:::/__\:::\    \        /:::/__\:::\    \        /:::/____/               /:::/__\:::\    \           |::|   |            /:::/    \:::\    \       /:::/__\:::\    \    
  608.    /::::\   \:::\    \      /::::\   \:::\    \       \:::\   \:::\    \       \:::\   \:::\    \      /::::\    \              /::::\   \:::\    \          |::|   |           /:::/    / \:::\    \     /::::\   \:::\    \  
  609.   /::::::\   \:::\    \    /::::::\   \:::\    \    ___\:::\   \:::\    \    ___\:::\   \:::\    \    /::::::\    \   _____    /::::::\   \:::\    \         |::|   |          /:::/____/   \:::\____\   /::::::\   \:::\    \  
  610.  /:::/\:::\   \:::\ ___\  /:::/\:::\   \:::\    \  /\   \:::\   \:::\    \  /\   \:::\   \:::\    \  /:::/\:::\    \ /\    \  /:::/\:::\   \:::\    \  ______|::|___|___ ____ |:::|    |     |:::|    | /:::/\:::\   \:::\____\
  611. /:::/__\:::\   \:::|    |/:::/  \:::\   \:::\____\/::\   \:::\   \:::\____\/::\   \:::\   \:::\____\/:::/  \:::\    /::\____\/:::/  \:::\   \:::\____\|:::::::::::::::::|    ||:::|____|     |:::|    |/:::/  \:::\   \:::|    |
  612. \:::\   \:::\  /:::|____|\::/    \:::\  /:::/    /\:::\   \:::\   \::/    /\:::\   \:::\   \::/    /\::/    \:::\  /:::/    /\::/    \:::\  /:::/    /|:::::::::::::::::|____| \:::\    \   /:::/    / \::/   |::::\  /:::|____|
  613.  \:::\   \:::\/:::/    /  \/____/ \:::\/:::/    /  \:::\   \:::\   \/____/  \:::\   \:::\   \/____/  \/____/ \:::\/:::/    /  \/____/ \:::\/:::/    /  ~~~~~~|::|~~~|~~~        \:::\    \ /:::/    /   \/____|:::::\/:::/    /
  614.   \:::\   \::::::/    /            \::::::/    /    \:::\   \:::\    \       \:::\   \:::\    \               \::::::/    /            \::::::/    /         |::|   |            \:::\    /:::/    /          |:::::::::/    /  
  615.    \:::\   \::::/    /              \::::/    /      \:::\   \:::\____\       \:::\   \:::\____\               \::::/    /              \::::/    /          |::|   |             \:::\__/:::/    /           |::|\::::/    /  
  616.     \:::\  /:::/    /               /:::/    /        \:::\  /:::/    /        \:::\  /:::/    /               /:::/    /               /:::/    /           |::|   |              \::::::::/    /            |::| \::/____/    
  617.      \:::\/:::/    /               /:::/    /          \:::\/:::/    /          \:::\/:::/    /               /:::/    /               /:::/    /            |::|   |               \::::::/    /             |::|  ~|          
  618.       \::::::/    /               /:::/    /            \::::::/    /            \::::::/    /               /:::/    /               /:::/    /             |::|   |                \::::/    /              |::|   |          
  619.        \::::/    /               /:::/    /              \::::/    /              \::::/    /               /:::/    /               /:::/    /              |::|   |                 \::/____/               \::|   |          
  620.         \::/____/                \::/    /                \::/    /                \::/    /                \::/    /                \::/    /               |::|___|                  ~~                      \:|   |          
  621.          ~~                       \/____/                  \/____/                  \/____/                  \/____/                  \/____/                 ~~                                                \|___|                                                                                                                                                                                                                                    
  622.  
  623.                                                                                                                                                                                                    
  624.                                                                                                                                                                                                    
  625.      OOOOOOOOO                                                                       SSSSSSSSSSSSSSS                                                                                              
  626.    OO:::::::::OO                                                                   SS:::::::::::::::S                                                                                              
  627.  OO:::::::::::::OO                                                                S:::::SSSSSS::::::S                                                                                              
  628. O:::::::OOO:::::::O                                                               S:::::S     SSSSSSS                                                                                              
  629. O::::::O   O::::::Oppppp   ppppppppp       eeeeeeeeeeee    nnnn  nnnnnnnn         S:::::S               ooooooooooo   uuuuuu    uuuuuu rrrrr   rrrrrrrrr       cccccccccccccccc    eeeeeeeeeeee    
  630. 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  
  631. O:::::O     O:::::Op:::::::::::::::::p  e::::::eeeee:::::een::::::::::::::nn       S::::SSSS         o:::::::::::::::ou::::u    u::::u r:::::::::::::::::r  c:::::::::::::::::c e::::::eeeee:::::ee
  632. 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
  633. 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
  634. 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
  635. 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  
  636. 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          
  637. O:::::::OOO:::::::O p:::::ppppp:::::::pe::::::::e            n::::n    n::::n     SSSSSSS     S:::::So:::::ooooo:::::ou:::::::::::::::uur:::::r            c:::::::cccccc:::::ce::::::::e          
  638.  OO:::::::::::::OO  p::::::::::::::::p  e::::::::eeeeeeee    n::::n    n::::n     S::::::SSSSSS:::::So:::::::::::::::o u:::::::::::::::ur:::::r             c:::::::::::::::::c e::::::::eeeeeeee  
  639.    OO:::::::::OO    p::::::::::::::pp    ee:::::::::::::e    n::::n    n::::n     S:::::::::::::::SS  oo:::::::::::oo   uu::::::::uu:::ur:::::r              cc:::::::::::::::c  ee:::::::::::::e  
  640.      OOOOOOOOO      p::::::pppppppp        eeeeeeeeeeeeee    nnnnnn    nnnnnn      SSSSSSSSSSSSSSS      ooooooooooo       uuuuuuuu  uuuurrrrrrr                cccccccccccccccc    eeeeeeeeeeeeee  
  641.                     p:::::p                                                                                                                                                                        
  642.                     p:::::p                                                                                                                                                                        
  643.                    p:::::::p                                                                                                                                                                      
  644.                    p:::::::p                                                                                                                                                                      
  645.                    p:::::::p                                                                                                                                                                      
  646.                    ppppppppp                                                                                                                                                                      
  647.                                                                                                                                                                                                    
  648.  
  649. Yb        dP 8           w      .d88b.                       w  w          dP"Yb
  650.  Yb  db  dP  8d8b. .d88 w8ww    YPwww. .d88b .d8b 8   8 8d8b w w8ww Yb  dP "  d8
  651.   YbdPYbdP   8P Y8 8  8  8          d8 8.dP' 8    8b d8 8P   8  8    YbdP    dP  
  652.    YP  YP    8   8 `Y88  Y8P    `Y88P' `Y88P `Y8P `Y8P8 8    8  Y8P   dP     w  
  653.                                                                      dP      x  
  654.      */
Add Comment
Please, Sign In to add comment