diff --git a/PS5 NOR Modifier/Form1.Designer.cs b/PS5 NOR Modifier/Form1.Designer.cs deleted file mode 100644 index 3889d30..0000000 --- a/PS5 NOR Modifier/Form1.Designer.cs +++ /dev/null @@ -1,843 +0,0 @@ -namespace PS5_NOR_Modifier -{ - partial class Form1 - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.label1 = new System.Windows.Forms.Label(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.label2 = new System.Windows.Forms.Label(); - this.pictureBox2 = new System.Windows.Forms.PictureBox(); - this.label4 = new System.Windows.Forms.Label(); - this.label5 = new System.Windows.Forms.Label(); - this.fileLocationBox = new System.Windows.Forms.TextBox(); - this.browseFileButton = new System.Windows.Forms.Button(); - this.label6 = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.label9 = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.serialNumber = new System.Windows.Forms.Label(); - this.modelInfo = new System.Windows.Forms.Label(); - this.fileSizeInfo = new System.Windows.Forms.Label(); - this.statusStrip1 = new System.Windows.Forms.StatusStrip(); - this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); - this.label8 = new System.Windows.Forms.Label(); - this.boardVariant = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); - this.convertToDigitalEditionButton = new System.Windows.Forms.Button(); - this.boardVariantSelectionBox = new System.Windows.Forms.ComboBox(); - this.label12 = new System.Windows.Forms.Label(); - this.label13 = new System.Windows.Forms.Label(); - this.serialNumberTextbox = new System.Windows.Forms.TextBox(); - this.label14 = new System.Windows.Forms.Label(); - this.boardModelSelectionBox = new System.Windows.Forms.ComboBox(); - this.label15 = new System.Windows.Forms.Label(); - this.label16 = new System.Windows.Forms.Label(); - this.macAddressInfo = new System.Windows.Forms.Label(); - this.LANMacAddressInfo = new System.Windows.Forms.Label(); - this.label18 = new System.Windows.Forms.Label(); - this.moboSerialInfo = new System.Windows.Forms.Label(); - this.label19 = new System.Windows.Forms.Label(); - this.label17 = new System.Windows.Forms.Label(); - this.wifiMacAddressTextbox = new System.Windows.Forms.TextBox(); - this.lanMacAddressTextbox = new System.Windows.Forms.TextBox(); - this.label20 = new System.Windows.Forms.Label(); - this.tabControl1 = new System.Windows.Forms.TabControl(); - this.tabPage1 = new System.Windows.Forms.TabPage(); - this.tabPage2 = new System.Windows.Forms.TabPage(); - this.btnSendCommand = new System.Windows.Forms.Button(); - this.txtCustomCommand = new System.Windows.Forms.TextBox(); - this.label24 = new System.Windows.Forms.Label(); - this.chkUseOffline = new System.Windows.Forms.CheckBox(); - this.btnDownloadDatabase = new System.Windows.Forms.Button(); - this.btnRefreshPorts = new System.Windows.Forms.Button(); - this.button3 = new System.Windows.Forms.Button(); - this.txtUARTOutput = new System.Windows.Forms.TextBox(); - this.label22 = new System.Windows.Forms.Label(); - this.btnClearErrorCodes = new System.Windows.Forms.Button(); - this.label21 = new System.Windows.Forms.Label(); - this.button1 = new System.Windows.Forms.Button(); - this.comboComPorts = new System.Windows.Forms.ComboBox(); - this.btnDisconnectCom = new System.Windows.Forms.Button(); - this.btnConnectCom = new System.Windows.Forms.Button(); - this.label3 = new System.Windows.Forms.Label(); - this.label23 = new System.Windows.Forms.Label(); - this.label25 = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); - this.statusStrip1.SuspendLayout(); - this.tabControl1.SuspendLayout(); - this.tabPage1.SuspendLayout(); - this.tabPage2.SuspendLayout(); - this.SuspendLayout(); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(8, 84); - this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(768, 45); - this.label1.TabIndex = 0; - this.label1.Text = resources.GetString("label1.Text"); - this.label1.Click += new System.EventHandler(this.label1_Click); - // - // pictureBox1 - // - this.pictureBox1.Image = global::PS5_NOR_Modifier.Properties.Resources.PS5_Nor_Logo; - this.pictureBox1.Location = new System.Drawing.Point(8, 7); - this.pictureBox1.Margin = new System.Windows.Forms.Padding(2); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(117, 75); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 1; - this.pictureBox1.TabStop = false; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Font = new System.Drawing.Font("Segoe UI", 22F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.label2.Location = new System.Drawing.Point(140, 7); - this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(277, 41); - this.label2.TabIndex = 2; - this.label2.Text = "PS5 NOR Modifier"; - // - // pictureBox2 - // - this.pictureBox2.Image = global::PS5_NOR_Modifier.Properties.Resources.Paypal_128; - this.pictureBox2.Location = new System.Drawing.Point(8, 459); - this.pictureBox2.Margin = new System.Windows.Forms.Padding(2); - this.pictureBox2.Name = "pictureBox2"; - this.pictureBox2.Size = new System.Drawing.Size(45, 38); - this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox2.TabIndex = 4; - this.pictureBox2.TabStop = false; - this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click); - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(65, 459); - this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(702, 30); - this.label4.TabIndex = 5; - this.label4.Text = resources.GetString("label4.Text"); - this.label4.Click += new System.EventHandler(this.label4_Click); - // - // label5 - // - this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(5, 3); - this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(102, 15); - this.label5.TabIndex = 6; - this.label5.Text = "Select NOR Dump"; - // - // fileLocationBox - // - this.fileLocationBox.Location = new System.Drawing.Point(5, 20); - this.fileLocationBox.Margin = new System.Windows.Forms.Padding(2); - this.fileLocationBox.Name = "fileLocationBox"; - this.fileLocationBox.Size = new System.Drawing.Size(717, 23); - this.fileLocationBox.TabIndex = 7; - // - // browseFileButton - // - this.browseFileButton.Location = new System.Drawing.Point(727, 19); - this.browseFileButton.Margin = new System.Windows.Forms.Padding(2); - this.browseFileButton.Name = "browseFileButton"; - this.browseFileButton.Size = new System.Drawing.Size(78, 20); - this.browseFileButton.TabIndex = 8; - this.browseFileButton.Text = "Browse"; - this.browseFileButton.UseVisualStyleBackColor = true; - this.browseFileButton.Click += new System.EventHandler(this.browseFileButton_Click); - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.label6.Location = new System.Drawing.Point(5, 49); - this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(87, 15); - this.label6.TabIndex = 9; - this.label6.Text = "Dump Results:"; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(5, 72); - this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(85, 15); - this.label7.TabIndex = 10; - this.label7.Text = "Serial Number:"; - // - // label9 - // - this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(5, 159); - this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(66, 15); - this.label9.TabIndex = 12; - this.label9.Text = "PS5 Model:"; - // - // label10 - // - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(5, 189); - this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(51, 15); - this.label10.TabIndex = 13; - this.label10.Text = "File Size:"; - // - // serialNumber - // - this.serialNumber.AutoSize = true; - this.serialNumber.Location = new System.Drawing.Point(124, 72); - this.serialNumber.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.serialNumber.Name = "serialNumber"; - this.serialNumber.Size = new System.Drawing.Size(16, 15); - this.serialNumber.TabIndex = 14; - this.serialNumber.Text = "..."; - // - // modelInfo - // - this.modelInfo.AutoSize = true; - this.modelInfo.Location = new System.Drawing.Point(124, 159); - this.modelInfo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.modelInfo.Name = "modelInfo"; - this.modelInfo.Size = new System.Drawing.Size(16, 15); - this.modelInfo.TabIndex = 16; - this.modelInfo.Text = "..."; - // - // fileSizeInfo - // - this.fileSizeInfo.AutoSize = true; - this.fileSizeInfo.Location = new System.Drawing.Point(124, 189); - this.fileSizeInfo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.fileSizeInfo.Name = "fileSizeInfo"; - this.fileSizeInfo.Size = new System.Drawing.Size(16, 15); - this.fileSizeInfo.TabIndex = 17; - this.fileSizeInfo.Text = "..."; - // - // statusStrip1 - // - this.statusStrip1.ImageScalingSize = new System.Drawing.Size(24, 24); - this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripStatusLabel1}); - this.statusStrip1.Location = new System.Drawing.Point(0, 535); - this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 10, 0); - this.statusStrip1.Size = new System.Drawing.Size(847, 22); - this.statusStrip1.TabIndex = 18; - this.statusStrip1.Text = "statusStrip1"; - // - // toolStripStatusLabel1 - // - this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; - this.toolStripStatusLabel1.Size = new System.Drawing.Size(135, 17); - this.toolStripStatusLabel1.Text = "Status: Waiting for input"; - // - // label8 - // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(5, 130); - this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(80, 15); - this.label8.TabIndex = 20; - this.label8.Text = "Board Variant:"; - // - // boardVariant - // - this.boardVariant.AutoSize = true; - this.boardVariant.Location = new System.Drawing.Point(124, 130); - this.boardVariant.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.boardVariant.Name = "boardVariant"; - this.boardVariant.Size = new System.Drawing.Size(16, 15); - this.boardVariant.TabIndex = 21; - this.boardVariant.Text = "..."; - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.label11.Location = new System.Drawing.Point(393, 49); - this.label11.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(84, 15); - this.label11.TabIndex = 22; - this.label11.Text = "Modify Values"; - // - // convertToDigitalEditionButton - // - this.convertToDigitalEditionButton.Location = new System.Drawing.Point(655, 221); - this.convertToDigitalEditionButton.Margin = new System.Windows.Forms.Padding(2); - this.convertToDigitalEditionButton.Name = "convertToDigitalEditionButton"; - this.convertToDigitalEditionButton.Size = new System.Drawing.Size(150, 46); - this.convertToDigitalEditionButton.TabIndex = 23; - this.convertToDigitalEditionButton.Text = "Save New\r\nBIOS Information"; - this.convertToDigitalEditionButton.UseVisualStyleBackColor = true; - this.convertToDigitalEditionButton.Click += new System.EventHandler(this.convertToDigitalEditionButton_Click); - // - // boardVariantSelectionBox - // - this.boardVariantSelectionBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.boardVariantSelectionBox.FormattingEnabled = true; - this.boardVariantSelectionBox.Items.AddRange(new object[] { - "CFI-1000A", - "CFI-1000A01", - "CFI-1000B", - "CFI-1002A", - "CFI-1008A", - "CFI-1014A", - "CFI-1015A", - "CFI-1015B", - "CFI-1016A", - "CFI-1018A", - "CFI-1100A01", - "CFI-1102A", - "CFI-1108A", - "CFI-1109A", - "CFI-1114A", - "CFI-1115A", - "CFI-1116A", - "CFI-1118A", - "CFI-1208A", - "CFI-1215A", - "CFI-1216A", - "DFI-T1000AA", - "DFI-D1000AA"}); - this.boardVariantSelectionBox.Location = new System.Drawing.Point(507, 98); - this.boardVariantSelectionBox.Margin = new System.Windows.Forms.Padding(2); - this.boardVariantSelectionBox.Name = "boardVariantSelectionBox"; - this.boardVariantSelectionBox.Size = new System.Drawing.Size(298, 23); - this.boardVariantSelectionBox.TabIndex = 29; - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(393, 72); - this.label12.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(85, 15); - this.label12.TabIndex = 30; - this.label12.Text = "Serial Number:"; - // - // label13 - // - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(393, 100); - this.label13.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(80, 15); - this.label13.TabIndex = 31; - this.label13.Text = "Board Variant:"; - // - // serialNumberTextbox - // - this.serialNumberTextbox.Location = new System.Drawing.Point(507, 70); - this.serialNumberTextbox.Margin = new System.Windows.Forms.Padding(2); - this.serialNumberTextbox.Name = "serialNumberTextbox"; - this.serialNumberTextbox.Size = new System.Drawing.Size(298, 23); - this.serialNumberTextbox.TabIndex = 32; - // - // label14 - // - this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(393, 129); - this.label14.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(66, 15); - this.label14.TabIndex = 33; - this.label14.Text = "PS5 Model:"; - // - // boardModelSelectionBox - // - this.boardModelSelectionBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.boardModelSelectionBox.FormattingEnabled = true; - this.boardModelSelectionBox.Items.AddRange(new object[] { - "Digital Edition", - "Disc Edition"}); - this.boardModelSelectionBox.Location = new System.Drawing.Point(507, 127); - this.boardModelSelectionBox.Margin = new System.Windows.Forms.Padding(2); - this.boardModelSelectionBox.Name = "boardModelSelectionBox"; - this.boardModelSelectionBox.Size = new System.Drawing.Size(298, 23); - this.boardModelSelectionBox.TabIndex = 34; - // - // label15 - // - this.label15.AutoSize = true; - this.label15.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.label15.Location = new System.Drawing.Point(65, 495); - this.label15.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(387, 21); - this.label15.TabIndex = 35; - this.label15.Text = "This project is sponsored by www.consolefix.shop"; - this.label15.Click += new System.EventHandler(this.label15_Click); - // - // label16 - // - this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(5, 221); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(104, 15); - this.label16.TabIndex = 36; - this.label16.Text = "WiFi Mac Address:"; - // - // macAddressInfo - // - this.macAddressInfo.AutoSize = true; - this.macAddressInfo.Location = new System.Drawing.Point(124, 221); - this.macAddressInfo.Name = "macAddressInfo"; - this.macAddressInfo.Size = new System.Drawing.Size(16, 15); - this.macAddressInfo.TabIndex = 37; - this.macAddressInfo.Text = "..."; - // - // LANMacAddressInfo - // - this.LANMacAddressInfo.AutoSize = true; - this.LANMacAddressInfo.Location = new System.Drawing.Point(124, 252); - this.LANMacAddressInfo.Name = "LANMacAddressInfo"; - this.LANMacAddressInfo.Size = new System.Drawing.Size(16, 15); - this.LANMacAddressInfo.TabIndex = 39; - this.LANMacAddressInfo.Text = "..."; - // - // label18 - // - this.label18.AutoSize = true; - this.label18.Location = new System.Drawing.Point(5, 252); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(104, 15); - this.label18.TabIndex = 38; - this.label18.Text = "LAN Mac Address:"; - // - // moboSerialInfo - // - this.moboSerialInfo.AutoSize = true; - this.moboSerialInfo.Location = new System.Drawing.Point(124, 101); - this.moboSerialInfo.Name = "moboSerialInfo"; - this.moboSerialInfo.Size = new System.Drawing.Size(16, 15); - this.moboSerialInfo.TabIndex = 41; - this.moboSerialInfo.Text = "..."; - // - // label19 - // - this.label19.AutoSize = true; - this.label19.Location = new System.Drawing.Point(5, 101); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(111, 15); - this.label19.TabIndex = 40; - this.label19.Text = "Motherboard Serial:"; - // - // label17 - // - this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(393, 159); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(108, 15); - this.label17.TabIndex = 42; - this.label17.Text = "WiFi MAC Address:"; - // - // wifiMacAddressTextbox - // - this.wifiMacAddressTextbox.Enabled = false; - this.wifiMacAddressTextbox.Location = new System.Drawing.Point(507, 156); - this.wifiMacAddressTextbox.Name = "wifiMacAddressTextbox"; - this.wifiMacAddressTextbox.Size = new System.Drawing.Size(298, 23); - this.wifiMacAddressTextbox.TabIndex = 43; - // - // lanMacAddressTextbox - // - this.lanMacAddressTextbox.Enabled = false; - this.lanMacAddressTextbox.Location = new System.Drawing.Point(507, 185); - this.lanMacAddressTextbox.Name = "lanMacAddressTextbox"; - this.lanMacAddressTextbox.Size = new System.Drawing.Size(298, 23); - this.lanMacAddressTextbox.TabIndex = 44; - // - // label20 - // - this.label20.AutoSize = true; - this.label20.Location = new System.Drawing.Point(393, 188); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(104, 15); - this.label20.TabIndex = 45; - this.label20.Text = "LAN Mac Address:"; - // - // tabControl1 - // - this.tabControl1.Controls.Add(this.tabPage1); - this.tabControl1.Controls.Add(this.tabPage2); - this.tabControl1.Location = new System.Drawing.Point(12, 132); - this.tabControl1.Name = "tabControl1"; - this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(821, 311); - this.tabControl1.TabIndex = 46; - // - // tabPage1 - // - this.tabPage1.Controls.Add(this.label5); - this.tabPage1.Controls.Add(this.label20); - this.tabPage1.Controls.Add(this.fileLocationBox); - this.tabPage1.Controls.Add(this.lanMacAddressTextbox); - this.tabPage1.Controls.Add(this.browseFileButton); - this.tabPage1.Controls.Add(this.wifiMacAddressTextbox); - this.tabPage1.Controls.Add(this.label6); - this.tabPage1.Controls.Add(this.label17); - this.tabPage1.Controls.Add(this.label7); - this.tabPage1.Controls.Add(this.moboSerialInfo); - this.tabPage1.Controls.Add(this.label9); - this.tabPage1.Controls.Add(this.label19); - this.tabPage1.Controls.Add(this.label10); - this.tabPage1.Controls.Add(this.LANMacAddressInfo); - this.tabPage1.Controls.Add(this.serialNumber); - this.tabPage1.Controls.Add(this.label18); - this.tabPage1.Controls.Add(this.modelInfo); - this.tabPage1.Controls.Add(this.macAddressInfo); - this.tabPage1.Controls.Add(this.fileSizeInfo); - this.tabPage1.Controls.Add(this.label16); - this.tabPage1.Controls.Add(this.label8); - this.tabPage1.Controls.Add(this.boardVariant); - this.tabPage1.Controls.Add(this.boardModelSelectionBox); - this.tabPage1.Controls.Add(this.label11); - this.tabPage1.Controls.Add(this.label14); - this.tabPage1.Controls.Add(this.convertToDigitalEditionButton); - this.tabPage1.Controls.Add(this.serialNumberTextbox); - this.tabPage1.Controls.Add(this.boardVariantSelectionBox); - this.tabPage1.Controls.Add(this.label13); - this.tabPage1.Controls.Add(this.label12); - this.tabPage1.Location = new System.Drawing.Point(4, 24); - this.tabPage1.Name = "tabPage1"; - this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(813, 283); - this.tabPage1.TabIndex = 0; - this.tabPage1.Text = "NOR Modifier"; - this.tabPage1.UseVisualStyleBackColor = true; - // - // tabPage2 - // - this.tabPage2.Controls.Add(this.label25); - this.tabPage2.Controls.Add(this.btnSendCommand); - this.tabPage2.Controls.Add(this.txtCustomCommand); - this.tabPage2.Controls.Add(this.label24); - this.tabPage2.Controls.Add(this.chkUseOffline); - this.tabPage2.Controls.Add(this.btnDownloadDatabase); - this.tabPage2.Controls.Add(this.btnRefreshPorts); - this.tabPage2.Controls.Add(this.button3); - this.tabPage2.Controls.Add(this.txtUARTOutput); - this.tabPage2.Controls.Add(this.label22); - this.tabPage2.Controls.Add(this.btnClearErrorCodes); - this.tabPage2.Controls.Add(this.label21); - this.tabPage2.Controls.Add(this.button1); - this.tabPage2.Controls.Add(this.comboComPorts); - this.tabPage2.Controls.Add(this.btnDisconnectCom); - this.tabPage2.Controls.Add(this.btnConnectCom); - this.tabPage2.Controls.Add(this.label3); - this.tabPage2.Location = new System.Drawing.Point(4, 24); - this.tabPage2.Name = "tabPage2"; - this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(813, 283); - this.tabPage2.TabIndex = 1; - this.tabPage2.Text = "UART Communication"; - this.tabPage2.UseVisualStyleBackColor = true; - // - // btnSendCommand - // - this.btnSendCommand.Location = new System.Drawing.Point(732, 125); - this.btnSendCommand.Name = "btnSendCommand"; - this.btnSendCommand.Size = new System.Drawing.Size(75, 23); - this.btnSendCommand.TabIndex = 16; - this.btnSendCommand.Text = "Send"; - this.btnSendCommand.UseVisualStyleBackColor = true; - this.btnSendCommand.Click += new System.EventHandler(this.btnSendCommand_Click); - // - // txtCustomCommand - // - this.txtCustomCommand.Location = new System.Drawing.Point(610, 96); - this.txtCustomCommand.Name = "txtCustomCommand"; - this.txtCustomCommand.Size = new System.Drawing.Size(197, 23); - this.txtCustomCommand.TabIndex = 15; - this.txtCustomCommand.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtCustomCommand_KeyPress); - // - // label24 - // - this.label24.AutoSize = true; - this.label24.Location = new System.Drawing.Point(610, 78); - this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(186, 15); - this.label24.TabIndex = 14; - this.label24.Text = "Send custom command via UART:"; - // - // chkUseOffline - // - this.chkUseOffline.AutoSize = true; - this.chkUseOffline.Location = new System.Drawing.Point(472, 47); - this.chkUseOffline.Name = "chkUseOffline"; - this.chkUseOffline.Size = new System.Drawing.Size(132, 19); - this.chkUseOffline.TabIndex = 13; - this.chkUseOffline.Text = "Use offline database"; - this.chkUseOffline.UseVisualStyleBackColor = true; - // - // btnDownloadDatabase - // - this.btnDownloadDatabase.Location = new System.Drawing.Point(310, 44); - this.btnDownloadDatabase.Name = "btnDownloadDatabase"; - this.btnDownloadDatabase.Size = new System.Drawing.Size(156, 23); - this.btnDownloadDatabase.TabIndex = 12; - this.btnDownloadDatabase.Text = "Download Error Database"; - this.btnDownloadDatabase.UseVisualStyleBackColor = true; - this.btnDownloadDatabase.Click += new System.EventHandler(this.btnDownloadDatabase_Click); - // - // btnRefreshPorts - // - this.btnRefreshPorts.Location = new System.Drawing.Point(515, 13); - this.btnRefreshPorts.Name = "btnRefreshPorts"; - this.btnRefreshPorts.Size = new System.Drawing.Size(89, 23); - this.btnRefreshPorts.TabIndex = 11; - this.btnRefreshPorts.Text = "Refresh Ports"; - this.btnRefreshPorts.UseVisualStyleBackColor = true; - this.btnRefreshPorts.Click += new System.EventHandler(this.btnRefreshPorts_Click); - // - // button3 - // - this.button3.Location = new System.Drawing.Point(448, 254); - this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(156, 23); - this.button3.TabIndex = 10; - this.button3.Text = "Clear Output Window"; - this.button3.UseVisualStyleBackColor = true; - this.button3.Click += new System.EventHandler(this.button3_Click); - // - // txtUARTOutput - // - this.txtUARTOutput.Location = new System.Drawing.Point(73, 78); - this.txtUARTOutput.Multiline = true; - this.txtUARTOutput.Name = "txtUARTOutput"; - this.txtUARTOutput.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtUARTOutput.Size = new System.Drawing.Size(531, 170); - this.txtUARTOutput.TabIndex = 9; - // - // label22 - // - this.label22.AutoSize = true; - this.label22.Location = new System.Drawing.Point(6, 78); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(48, 15); - this.label22.TabIndex = 8; - this.label22.Text = "Output:"; - // - // btnClearErrorCodes - // - this.btnClearErrorCodes.Location = new System.Drawing.Point(186, 44); - this.btnClearErrorCodes.Name = "btnClearErrorCodes"; - this.btnClearErrorCodes.Size = new System.Drawing.Size(118, 23); - this.btnClearErrorCodes.TabIndex = 7; - this.btnClearErrorCodes.Text = "Clear Error Codes"; - this.btnClearErrorCodes.UseVisualStyleBackColor = true; - this.btnClearErrorCodes.Click += new System.EventHandler(this.btnClearErrorCodes_Click); - // - // label21 - // - this.label21.AutoSize = true; - this.label21.Location = new System.Drawing.Point(6, 48); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(52, 15); - this.label21.TabIndex = 6; - this.label21.Text = "Options:"; - // - // button1 - // - this.button1.Location = new System.Drawing.Point(73, 44); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(107, 23); - this.button1.TabIndex = 5; - this.button1.Text = "Get Error Codes"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // comboComPorts - // - this.comboComPorts.FormattingEnabled = true; - this.comboComPorts.Location = new System.Drawing.Point(73, 13); - this.comboComPorts.Name = "comboComPorts"; - this.comboComPorts.Size = new System.Drawing.Size(274, 23); - this.comboComPorts.TabIndex = 4; - // - // btnDisconnectCom - // - this.btnDisconnectCom.Location = new System.Drawing.Point(434, 13); - this.btnDisconnectCom.Name = "btnDisconnectCom"; - this.btnDisconnectCom.Size = new System.Drawing.Size(75, 23); - this.btnDisconnectCom.TabIndex = 3; - this.btnDisconnectCom.Text = "Disconnect"; - this.btnDisconnectCom.UseVisualStyleBackColor = true; - this.btnDisconnectCom.Click += new System.EventHandler(this.btnDisconnectCom_Click); - // - // btnConnectCom - // - this.btnConnectCom.Location = new System.Drawing.Point(353, 12); - this.btnConnectCom.Name = "btnConnectCom"; - this.btnConnectCom.Size = new System.Drawing.Size(75, 23); - this.btnConnectCom.TabIndex = 2; - this.btnConnectCom.Text = "Connect"; - this.btnConnectCom.UseVisualStyleBackColor = true; - this.btnConnectCom.Click += new System.EventHandler(this.btnConnectCom_Click); - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(6, 16); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(61, 15); - this.label3.TabIndex = 0; - this.label3.Text = "Com Port:"; - // - // label23 - // - this.label23.AutoSize = true; - this.label23.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point); - this.label23.Location = new System.Drawing.Point(193, 48); - this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(215, 15); - this.label23.TabIndex = 47; - this.label23.Text = "and UART stuff too... BwE can SUCK IT!"; - // - // label25 - // - this.label25.AutoSize = true; - this.label25.Location = new System.Drawing.Point(610, 151); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(198, 105); - this.label25.TabIndex = 17; - this.label25.Text = resources.GetString("label25.Text"); - // - // Form1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackColor = System.Drawing.Color.White; - this.ClientSize = new System.Drawing.Size(847, 557); - this.Controls.Add(this.label23); - this.Controls.Add(this.tabControl1); - this.Controls.Add(this.label15); - this.Controls.Add(this.statusStrip1); - this.Controls.Add(this.label4); - this.Controls.Add(this.pictureBox2); - this.Controls.Add(this.label2); - this.Controls.Add(this.pictureBox1); - this.Controls.Add(this.label1); - this.Margin = new System.Windows.Forms.Padding(2); - this.Name = "Form1"; - this.Text = "PS5 NOR Modifier"; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); - this.Load += new System.EventHandler(this.Form1_Load); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); - this.statusStrip1.ResumeLayout(false); - this.statusStrip1.PerformLayout(); - this.tabControl1.ResumeLayout(false); - this.tabPage1.ResumeLayout(false); - this.tabPage1.PerformLayout(); - this.tabPage2.ResumeLayout(false); - this.tabPage2.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private Label label1; - private PictureBox pictureBox1; - private Label label2; - private PictureBox pictureBox2; - private Label label4; - private Label label5; - private TextBox fileLocationBox; - private Button browseFileButton; - private Label label6; - private Label label7; - private Label label9; - private Label label10; - private Label serialNumber; - private Label modelInfo; - private Label fileSizeInfo; - private StatusStrip statusStrip1; - private ToolStripStatusLabel toolStripStatusLabel1; - private Label label8; - private Label boardVariant; - private Label label11; - private Button convertToDigitalEditionButton; - private ComboBox boardVariantSelectionBox; - private Label label12; - private Label label13; - private TextBox serialNumberTextbox; - private Label label14; - private ComboBox boardModelSelectionBox; - private Label label15; - private Label label16; - private Label macAddressInfo; - private Label LANMacAddressInfo; - private Label label18; - private Label moboSerialInfo; - private Label label19; - private Label label17; - private TextBox wifiMacAddressTextbox; - private TextBox lanMacAddressTextbox; - private Label label20; - private TabControl tabControl1; - private TabPage tabPage1; - private TabPage tabPage2; - private Button button3; - private TextBox txtUARTOutput; - private Label label22; - private Button btnClearErrorCodes; - private Label label21; - private Button button1; - private ComboBox comboComPorts; - private Button btnDisconnectCom; - private Button btnConnectCom; - private Label label3; - private Button btnRefreshPorts; - private Label label23; - private Button btnDownloadDatabase; - private CheckBox chkUseOffline; - private Button btnSendCommand; - private TextBox txtCustomCommand; - private Label label24; - private Label label25; - } -} \ No newline at end of file diff --git a/PS5 NOR Modifier/Form1.cs b/PS5 NOR Modifier/Form1.cs deleted file mode 100644 index 8f6dec8..0000000 --- a/PS5 NOR Modifier/Form1.cs +++ /dev/null @@ -1,1159 +0,0 @@ -using System.Diagnostics; -using System.Globalization; -using System.IO; -using System.Runtime.InteropServices; -using System.Text; -using System.Text.RegularExpressions; -using System.Windows.Forms; -using System.IO.Ports; -using System; -using System.Threading; -using System.Collections.Generic; -using static System.Windows.Forms.LinkLabel; -using static System.Windows.Forms.VisualStyles.VisualStyleElement; -using System.Net; -using System.Xml; -using System.Security.Policy; - -namespace PS5_NOR_Modifier -{ - public partial class Form1 : Form - { - - public Form1() - { - InitializeComponent(); - } - - static string CalculateChecksum(string str) - { - int sum = 0; - foreach (char c in str) - { - sum += (int)c; - } - return str + ":" + (sum & 0xFF).ToString("X2"); - } - - private void throwError(string errmsg) - { - MessageBox.Show(errmsg, "An Error Has Occurred", MessageBoxButtons.OK, MessageBoxIcon.Warning); - } - - // We want this app to work offline, so let's declare where the local "offline" database will be stored - string localDatabaseFile = "errorDB.xml"; - - static SerialPort UARTSerial = new SerialPort(); - - /// - /// With thanks to @jjxtra on Github. The code has already been created and there's no need to reinvent the wheel is there? - /// - #region Hex Code - - private static IEnumerable PatternAt(byte[] source, byte[] pattern) - { - for (int i = 0; i < source.Length; i++) - { - if (source.Skip(i).Take(pattern.Length).SequenceEqual(pattern)) - { - yield return i; - } - } - } - - private static byte[] ConvertHexStringToByteArray(string hexString) - { - if (hexString.Length % 2 != 0) - { - throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, "The binary key cannot have an odd number of digits: {0}", hexString)); - } - - byte[] data = new byte[hexString.Length / 2]; - for (int index = 0; index < data.Length; index++) - { - string byteValue = hexString.Substring(index * 2, 2); - data[index] = byte.Parse(byteValue, NumberStyles.HexNumber, CultureInfo.InvariantCulture); - } - - return data; - } - - #endregion - - private void Form1_Load(object sender, EventArgs e) - { - // Upon first launch, we need to get a list of COM ports available for UART - string[] ports = SerialPort.GetPortNames(); - comboComPorts.Items.Clear(); - comboComPorts.Items.AddRange(ports); - comboComPorts.SelectedIndex = 0; - btnConnectCom.Enabled = true; - btnDisconnectCom.Enabled = false; - } - - // Declare offsets to detect console version - long offsetOne = 0x1c7010; - long offsetTwo = 0x1c7030; - long WiFiMacOffset = 0x1C73C0; - string? WiFiMacValue = null; - long LANMacOffset = 0x1C4020; - string? LANMacValue = null; - string? offsetOneValue = null; - string? offsetTwoValue = null; - long serialOffset = 0x1c7210; - string? serialValue = null; - long variantOffset = 0x1c7226; - string? variantValue = null; - long moboSerialOffset = 0x1C7200; - string? moboSerialValue = null; - - private async Task DownloadDatabaseAsync() - { - // Define the URL - string url = "http://uartcodes.com/xml.php"; // Update with your URL - - // Define the file path to save the XML - - try - { - // Create a WebClient instance - using (HttpClient client = new()) - { - // Download the XML data from the URL - string xmlData = await client.GetStringAsync(url); - - // Create an XmlDocument instance and load the XML data - XmlDocument xmlDoc = new XmlDocument(); - xmlDoc.LoadXml(xmlData); - - // Save the XML data to a file - xmlDoc.Save(localDatabaseFile); - - MessageBox.Show("The most recent offline database has been updated successfully.", "Offline Database Updated!", MessageBoxButtons.OK, MessageBoxIcon.Information); - } - } - catch (Exception ex) - { - Console.WriteLine("Error: " + ex.Message); - } - } - - /// - /// We need to be able to send the error code we received from the console and fetch an XML result back from the server - /// Once we have a result from the server, parse the XML data and output it in an easy to understand format for the user - /// - /// - /// - async Task ParseErrorsAsync(string ErrorCode) - { - // If the user has opted to parse errors with an offline database, run the parse offline function - if (chkUseOffline.Checked == true) - { - return ParseErrorsOffline(ErrorCode); - } - else - { - // The user wants to use the online version. Proceed at will - - // Define the URL with the error code parameter - string url = "http://uartcodes.com/xml.php?errorCode=" + ErrorCode; - - string results = ""; - - try - { - string response = ""; - // Create a WebClient instance to send the request - using (HttpClient client = new()) - { - // Send the request and retrieve the response as a string - response = await client.GetStringAsync(url); - } - // Load the XML response into an XmlDocument - XmlDocument xmlDoc = new XmlDocument(); - xmlDoc.LoadXml(response); - - - // Get the root node - XmlNode? root = xmlDoc.DocumentElement; - if (root is null) { - throw new Exception("Error reading the file"); - } - - // Check if the root node is - if (root.Name == "errorCodes") - { - // Loop through each errorCode node - foreach (XmlNode errorCodeNode in root.ChildNodes) - { - // Check if the node is - if (errorCodeNode.Name == "errorCode") - { - // Get ErrorCode and Description - string errorCode = errorCodeNode.SelectSingleNode("ErrorCode")?.InnerText ?? ""; - string description = errorCodeNode.SelectSingleNode("Description")?.InnerText??""; - - // Output the results - results = "Error code: " - + errorCode - + Environment.NewLine - + "Description: " - + description; - } - } - } - else - { - results = "Error code: " - + ErrorCode - + Environment.NewLine - + "An error occurred while fetching a result for this error. Please try again!"; - } - } - catch (Exception ex) - { - results = "Error code: " - + ErrorCode - + Environment.NewLine - + ex.Message; - } - return results; - } - } - - string ParseErrorsOffline(string errorCode) - { - string results = ""; - - try - { - // Check if the XML file exists - if (File.Exists(localDatabaseFile)) - { - // Load the XML file - XmlDocument xmlDoc = new XmlDocument(); - xmlDoc.Load(localDatabaseFile); - - // Get the root node - XmlNode? root = xmlDoc.DocumentElement; - if (root is null) return results; - - // Check if the root node is - if (root.Name == "errorCodes") - { - // Loop through each errorCode node - foreach (XmlNode errorCodeNode in root.ChildNodes) - { - // Check if the node is - if (errorCodeNode.Name == "errorCode") - { - // Get ErrorCode and Description - string errorCodeValue = errorCodeNode.SelectSingleNode("ErrorCode")?.InnerText??""; - string description = errorCodeNode.SelectSingleNode("Description")?.InnerText??""; - - // Check if the current error code matches the requested error code - if (errorCodeValue == errorCode) - { - // Output the results - results = "Error code: " + errorCodeValue + Environment.NewLine + "Description: " + description; - break; // Exit the loop after finding the matching error code - } - } - } - } - else - { - results = "Error: Invalid XML database file. Please reconfigure the application, redownload the offline database, or uncheck the option to use the offline database."; - } - } - else - { - results = "Error: Local XML file not found."; - } - } - catch (Exception ex) - { - results = "Error: " + ex.Message; - } - - return results; - } - - string HexStringToString(string hexString) - { - if (hexString == null || (hexString.Length & 1) == 1) - { - throw new ArgumentException(); - } - var sb = new StringBuilder(); - for (var i = 0; i < hexString.Length; i += 2) - { - var hexChar = hexString.Substring(i, 2); - sb.Append((char)Convert.ToByte(hexChar, 16)); - } - return sb.ToString(); - } - - /// - /// Lauinches a URL in a new window using the default browser... - /// - /// The URL you want to launch - private void OpenUrl(string url) - { - try - { - Process.Start(url); - } - catch - { - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { - url = url.Replace("&", "^&"); - Process.Start(new ProcessStartInfo(url) { UseShellExecute = true }); - } - else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) - { - Process.Start("xdg-open", url); - } - else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) - { - Process.Start("open", url); - } - else - { - throw; - } - } - } - - private void ResetAppFields() - { - fileLocationBox.Text = ""; - serialNumber.Text = "..."; - boardVariant.Text = "..."; - modelInfo.Text = "..."; - fileSizeInfo.Text = "..."; - serialNumberTextbox.Text = ""; - toolStripStatusLabel1.Text = "Status: Waiting for input"; - } - - #region Donations - - /// - /// If you modify this app, please leave my credits in, otherwise a little kitten will cry! - /// - /// - /// - private void label4_Click(object sender, EventArgs e) - { - OpenUrl("https://www.streamelements.com/thecod3r/tip"); - } - - private void pictureBox2_Click(object sender, EventArgs e) - { - OpenUrl("https://www.streamelements.com/thecod3r/tip"); - } - - - #endregion - - private void browseFileButton_Click(object sender, EventArgs e) - { - OpenFileDialog fileDialogBox = new OpenFileDialog(); - fileDialogBox.Title = "Open NOR BIN File"; - fileDialogBox.Filter = "PS5 BIN Files|*.bin"; - - if (fileDialogBox.ShowDialog() == DialogResult.OK) - { - if(fileDialogBox.CheckFileExists == false) - { - throwError("The file you selected could not be found. Please check the file exists and is a valid BIN file."); - } - else - { - if(!fileDialogBox.SafeFileName.EndsWith(".bin")) - { - throwError("The file you selected is not a valid. Please ensure the file you are choosing is a correct BIN file and try again."); - } - else - { - // Let's load simple information first, before loading BIN specific data - fileLocationBox.Text = ""; - // Get the path selected and print it into the path box - string selectedPath = fileDialogBox.FileName; - toolStripStatusLabel1.Text = "Status: Selected file " + selectedPath; - fileLocationBox.Text = selectedPath; - - // Get file length and show in bytes and MB - long length = new System.IO.FileInfo(selectedPath).Length; - fileSizeInfo.Text = length.ToString() + " bytes (" + length / 1024 / 1024 + "MB)"; - - #region Extract PS5 Version - - try - { - BinaryReader reader = new BinaryReader(new FileStream(fileDialogBox.FileName, FileMode.Open)); - //Set the position of the reader - reader.BaseStream.Position = offsetOne; - //Read the offset - offsetOneValue = BitConverter.ToString(reader.ReadBytes(12)).Replace("-", null); - reader.Close(); - } - catch - { - // Obviously this value is invalid, so null the value and move on - offsetOneValue = null; - } - - try - { - BinaryReader reader = new BinaryReader(new FileStream(fileDialogBox.FileName, FileMode.Open)); - //Set the position of the reader - reader.BaseStream.Position = offsetOne; - //Read the offset - offsetTwoValue = BitConverter.ToString(reader.ReadBytes(12)).Replace("-", null); - reader.Close(); - } - catch - { - // Obviously this value is invalid, so null the value and move on - offsetTwoValue = null; - } - - - if(offsetOneValue?.Contains("22020101")??false) - { - modelInfo.Text = "Disc Edition"; - } - else - { - if(offsetTwoValue?.Contains("22030101") ?? false) - { - modelInfo.Text = "Digital Edition"; - } - else - { - modelInfo.Text = "Unknown"; - } - } - - #endregion - - #region Extract Motherboard Serial Number - - try - { - BinaryReader reader = new BinaryReader(new FileStream(fileDialogBox.FileName, FileMode.Open)); - //Set the position of the reader - reader.BaseStream.Position = moboSerialOffset; - //Read the offset - moboSerialValue = BitConverter.ToString(reader.ReadBytes(16)).Replace("-", null); - reader.Close(); - } - catch - { - // Obviously this value is invalid, so null the value and move on - moboSerialValue = null; - } - - - - if(moboSerialValue != null) - { - moboSerialInfo.Text = HexStringToString(moboSerialValue); - } - else - { - moboSerialInfo.Text = "Unknown"; - } - - #endregion - - #region Extract Board Serial Number - - try - { - BinaryReader reader = new BinaryReader(new FileStream(fileDialogBox.FileName, FileMode.Open)); - //Set the position of the reader - reader.BaseStream.Position = serialOffset; - //Read the offset - serialValue = BitConverter.ToString(reader.ReadBytes(17)).Replace("-", null); - reader.Close(); - } - catch - { - // Obviously this value is invalid, so null the value and move on - serialValue = null; - } - - - - if (serialValue != null) - { - serialNumber.Text = HexStringToString(serialValue); - serialNumberTextbox.Text = HexStringToString(serialValue); - - } - else - { - serialNumber.Text = "Unknown"; - } - - #endregion - - #region Extract WiFi Mac Address - - try - { - BinaryReader reader = new BinaryReader(new FileStream(fileDialogBox.FileName, FileMode.Open)); - //Set the position of the reader - reader.BaseStream.Position = WiFiMacOffset; - //Read the offset - WiFiMacValue = BitConverter.ToString(reader.ReadBytes(6)); - reader.Close(); - } - catch - { - // Obviously this value is invalid, so null the value and move on - WiFiMacValue = null; - } - - if (WiFiMacValue != null) - { - macAddressInfo.Text = WiFiMacValue; - wifiMacAddressTextbox.Text = WiFiMacValue; - } - else - { - macAddressInfo.Text = "Unknown"; - wifiMacAddressTextbox.Text = ""; - } - - #endregion - - #region Extract LAN Mac Address - - try - { - BinaryReader reader = new BinaryReader(new FileStream(fileDialogBox.FileName, FileMode.Open)); - //Set the position of the reader - reader.BaseStream.Position = LANMacOffset; - //Read the offset - LANMacValue = BitConverter.ToString(reader.ReadBytes(6)); - reader.Close(); - } - catch - { - // Obviously this value is invalid, so null the value and move on - LANMacValue = null; - } - - if (LANMacValue != null) - { - LANMacAddressInfo.Text = LANMacValue; - lanMacAddressTextbox.Text = LANMacValue; - } - else - { - LANMacAddressInfo.Text = "Unknown"; - lanMacAddressTextbox.Text = ""; - } - - #endregion - - #region Extract Board Variant - - try - { - BinaryReader reader = new BinaryReader(new FileStream(fileDialogBox.FileName, FileMode.Open)); - //Set the position of the reader - reader.BaseStream.Position = variantOffset; - //Read the offset - variantValue = BitConverter.ToString(reader.ReadBytes(19)).Replace("-", null).Replace("FF", null); - reader.Close(); - } - catch - { - // Obviously this value is invalid, so null the value and move on - variantValue = null; - } - - - - if (variantValue != null) - { - boardVariant.Text = HexStringToString(variantValue); - } - else - { - boardVariant.Text = "Unknown"; - } - - boardVariant.Text += boardVariant.Text switch { - _ when boardVariant.Text.EndsWith("00A") || boardVariant.Text.EndsWith("00B") => " - Japan", - _ when boardVariant.Text.EndsWith("01A") || boardVariant.Text.EndsWith("01B") || - boardVariant.Text.EndsWith("15A") || boardVariant.Text.EndsWith("15B") => " - US, Canada, (North America)", - _ when boardVariant.Text.EndsWith("02A") || boardVariant.Text.EndsWith("02B") => " - Australia / New Zealand, (Oceania)", - _ when boardVariant.Text.EndsWith("03A") || boardVariant.Text.EndsWith("03B") => " - United Kingdom / Ireland", - _ when boardVariant.Text.EndsWith("04A") || boardVariant.Text.EndsWith("04B") => " - Europe / Middle East / Africa", - _ when boardVariant.Text.EndsWith("05A") || boardVariant.Text.EndsWith("05B") => " - South Korea", - _ when boardVariant.Text.EndsWith("06A") || boardVariant.Text.EndsWith("06B") => " - Southeast Asia / Hong Kong", - _ when boardVariant.Text.EndsWith("07A") || boardVariant.Text.EndsWith("07B") => " - Taiwan", - _ when boardVariant.Text.EndsWith("08A") || boardVariant.Text.EndsWith("08B") => " - Russia, Ukraine, India, Central Asia", - _ when boardVariant.Text.EndsWith("09A") || boardVariant.Text.EndsWith("09B") => " - Mainland China", - _ when boardVariant.Text.EndsWith("11A") || boardVariant.Text.EndsWith("11B") || - boardVariant.Text.EndsWith("14A") || boardVariant.Text.EndsWith("14B") - => " - Mexico, Central America, South America", - _ when boardVariant.Text.EndsWith("16A") || boardVariant.Text.EndsWith("16B") => " - Europe / Middle East / Africa", - _ when boardVariant.Text.EndsWith("18A") || boardVariant.Text.EndsWith("18B") => " - Singapore, Korea, Asia", - _=> " - Unknown Region" - }; - #endregion - } - } - } - } - - private void convertToDigitalEditionButton_Click(object sender, EventArgs e) - { - - string fileNameToLookFor = ""; - bool errorShownAlready = false; - - if (modelInfo.Text == "" || modelInfo.Text == "...") - { - // No valid BIN file seems to have been selected - throwError("Please select a valid BIOS file first..."); - errorShownAlready = true; - } - else - { - if(boardModelSelectionBox.Text == "") - { - throwError("Please select a valid board model before saving new BIOS information!"); - errorShownAlready = true; - } - else - { - if(boardVariantSelectionBox.Text == "") - { - throwError("Please select a valid board variant before saving new BIOS information!"); - errorShownAlready = true; - } - else - { - SaveFileDialog saveBox = new SaveFileDialog(); - saveBox.Title = "Save NOR BIN File"; - saveBox.Filter = "PS5 BIN Files|*.bin"; - - if (saveBox.ShowDialog() == DialogResult.OK) - { - // First create a copy of the old BIOS file - byte[] existingFile = File.ReadAllBytes(fileLocationBox.Text); - string newFile = saveBox.FileName; - - File.WriteAllBytes(newFile, existingFile); - - fileNameToLookFor = saveBox.FileName; - - #region Set the new model info - if (modelInfo.Text == "Disc Edition") - { - try - { - - if (boardModelSelectionBox.Text == "Digital Edition") - - { - - byte[] find = ConvertHexStringToByteArray(Regex.Replace("22020101", "0x|[ ,]", string.Empty).Normalize().Trim()); - byte[] replace = ConvertHexStringToByteArray(Regex.Replace("22030101", "0x|[ ,]", string.Empty).Normalize().Trim()); - if (find.Length != replace.Length) - { - throwError("The length of the old hex value does not match the length of the new hex value!"); - errorShownAlready = true; - } - byte[] bytes = File.ReadAllBytes(newFile); - foreach (int index in PatternAt(bytes, find)) - { - for (int i = index, replaceIndex = 0; i < bytes.Length && replaceIndex < replace.Length; i++, replaceIndex++) - { - bytes[i] = replace[replaceIndex]; - } - File.WriteAllBytes(newFile, bytes); - } - } - - } - catch - { - throwError("An error occurred while saving your BIOS file"); - errorShownAlready = true; - } - } - else - { - if(modelInfo.Text == "Digital Edition") - { - try - { - - if (boardModelSelectionBox.Text == "Disc Edition") - - { - - byte[] find = ConvertHexStringToByteArray(Regex.Replace("22030101", "0x|[ ,]", string.Empty).Normalize().Trim()); - byte[] replace = ConvertHexStringToByteArray(Regex.Replace("22020101", "0x|[ ,]", string.Empty).Normalize().Trim()); - if (find.Length != replace.Length) - { - throwError("The length of the old hex value does not match the length of the new hex value!"); - errorShownAlready = true; - } - byte[] bytes = File.ReadAllBytes(newFile); - foreach (int index in PatternAt(bytes, find)) - { - for (int i = index, replaceIndex = 0; i < bytes.Length && replaceIndex < replace.Length; i++, replaceIndex++) - { - bytes[i] = replace[replaceIndex]; - } - File.WriteAllBytes(newFile, bytes); - } - } - - } - catch - { - throwError("An error occurred while saving your BIOS file"); - errorShownAlready = true; - } - } - } - #endregion - - #region Set the new board variant - - try - { - byte[] oldVariant = Encoding.UTF8.GetBytes(boardVariant.Text); - string oldVariantHex = Convert.ToHexString(oldVariant); - - byte[] newVariantSelection = Encoding.UTF8.GetBytes(boardVariantSelectionBox.Text); - string newVariantHex = Convert.ToHexString(newVariantSelection); - - byte[] find = ConvertHexStringToByteArray(Regex.Replace(oldVariantHex, "0x|[ ,]", string.Empty).Normalize().Trim()); - byte[] replace = ConvertHexStringToByteArray(Regex.Replace(newVariantHex, "0x|[ ,]", string.Empty).Normalize().Trim()); - - byte[] bytes = File.ReadAllBytes(newFile); - foreach (int index in PatternAt(bytes, find)) - { - for (int i = index, replaceIndex = 0; i < bytes.Length && replaceIndex < replace.Length; i++, replaceIndex++) - { - bytes[i] = replace[replaceIndex]; - } - File.WriteAllBytes(newFile, bytes); - } - - } - catch(System.ArgumentException ex) - { - throwError(ex.Message.ToString()); - errorShownAlready = true; - } - - #endregion - - #region Change Serial Number - - try - { - - byte[] oldSerial = Encoding.UTF8.GetBytes(serialNumber.Text); - string oldSerialHex = Convert.ToHexString(oldSerial); - - byte[] newSerial = Encoding.UTF8.GetBytes(serialNumberTextbox.Text); - string newSerialHex = Convert.ToHexString(newSerial); - - byte[] find = ConvertHexStringToByteArray(Regex.Replace(oldSerialHex, "0x|[ ,]", string.Empty).Normalize().Trim()); - byte[] replace = ConvertHexStringToByteArray(Regex.Replace(newSerialHex, "0x|[ ,]", string.Empty).Normalize().Trim()); - - byte[] bytes = File.ReadAllBytes(newFile); - foreach (int index in PatternAt(bytes, find)) - { - for (int i = index, replaceIndex = 0; i < bytes.Length && replaceIndex < replace.Length; i++, replaceIndex++) - { - bytes[i] = replace[replaceIndex]; - } - File.WriteAllBytes(newFile, bytes); - } - - } - catch (System.ArgumentException ex) - { - throwError(ex.Message.ToString()); - errorShownAlready = true; - } - - #endregion - } - else - { - throwError("Save operation cancelled!"); - errorShownAlready = true; - } - } - } - } - - if(File.Exists(fileNameToLookFor) && errorShownAlready == false) - { - // Reset everything and show message - ResetAppFields(); - MessageBox.Show("A new BIOS file was successfully created. Please load the new BIOS file to verify the information you entered before installing onto your motherboard. Remember this software was created by TheCod3r with nothing but love. Why not show some love back by dropping me a small donation to say thanks ;).", "All done!", MessageBoxButtons.OK, MessageBoxIcon.Information); - } - - } - - private void label15_Click(object sender, EventArgs e) - { - OpenUrl("https://www.consolefix.shop"); - } - - private void label1_Click(object sender, EventArgs e) - { - - } - - private void btnRefreshPorts_Click(object sender, EventArgs e) - { - // When the "refresh ports" button is pressed, we need to refresh the list of available COM ports for UART - string[] ports = SerialPort.GetPortNames(); - comboComPorts.Items.Clear(); - comboComPorts.Items.AddRange(ports); - comboComPorts.SelectedIndex = 0; - btnConnectCom.Enabled = true; - btnDisconnectCom.Enabled = false; - } - - private void btnConnectCom_Click(object sender, EventArgs e) - { - // Let's try and connect to the UART reader - btnConnectCom.Enabled = false; - - if (comboComPorts.Text != "") - { - - try - { - // Set port to selected port - UARTSerial.PortName = comboComPorts.Text; - // Set the BAUD rate to 115200 - UARTSerial.BaudRate = 115200; - // Enable RTS - UARTSerial.RtsEnable = true; - // Open the COM port - UARTSerial.Open(); - btnDisconnectCom.Enabled = true; - toolStripStatusLabel1.Text = "Connected to UART via COM port " + comboComPorts.Text + " at a BAUD rate of 115200."; - } - catch (Exception ex) - { - MessageBox.Show(ex.Message, "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Error); - btnConnectCom.Enabled = true; - btnDisconnectCom.Enabled = false; - toolStripStatusLabel1.Text = "Could not connect to UART. Please try again!"; - } - - } - else - { - MessageBox.Show("Please select a COM port from the ports list to establish a connection.", "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Error); - btnConnectCom.Enabled = true; - btnDisconnectCom.Enabled = false; - toolStripStatusLabel1.Text = "Could not connect to UART. Please try again!"; - } - } - - private void btnDisconnectCom_Click(object sender, EventArgs e) - { - // Let's close the COM port - try - { - if(UARTSerial.IsOpen == true) - { - UARTSerial.Close(); - btnConnectCom.Enabled = true; - btnDisconnectCom.Enabled = false; - toolStripStatusLabel1.Text = "Disconnected from UART..."; - } - } - catch(Exception ex) - { - MessageBox.Show(ex.Message, "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Error); - toolStripStatusLabel1.Text = "An error occurred while disconnecting from UART. Please try again..."; - } - } - - /// - /// Read error codes from UART - /// - /// - /// - private async void button1_Click(object sender, EventArgs e) - { - // Let's read the error codes from UART - txtUARTOutput.Text = ""; - - if (UARTSerial.IsOpen == true) - { - try - { - - List UARTLines = new(); - - for (var i = 0; i <= 10; i++) - { - var command = $"errlog {i}"; - var checksum = CalculateChecksum(command); - UARTSerial.WriteLine(checksum); - do - { - var line = UARTSerial.ReadLine(); - if (!string.Equals($"{command}:{checksum:X2}", line, StringComparison.InvariantCultureIgnoreCase)) - { - UARTLines.Add(line); - } - } while (UARTSerial.BytesToRead != 0); - - foreach (var l in UARTLines) - { - var split = l.Split(' '); - if (!split.Any()) continue; - switch (split[0]) - { - case "NG": - break; - case "OK": - var errorCode = split[2]; - // Now that the error code has been isolated from the rest of the junk sent by the system - // let's check it against the database. The error server will need to return XML results - string errorResult = await ParseErrorsAsync(errorCode); - if (!txtUARTOutput.Text.Contains(errorResult)) - { - txtUARTOutput.AppendText(errorResult + Environment.NewLine); - } - break; - } - } - } - } - catch (Exception ex) - { - MessageBox.Show(ex.Message, "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Error); - toolStripStatusLabel1.Text = "An error occurred while reading error codes from UART. Please try again..."; - } - } - else - { - MessageBox.Show("Please connect to UART before attempting to read the error codes.", "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Warning); - } - } - - // If the app is closed before UART is terminated, we need to at least try to close the COM port gracefully first - private void Form1_FormClosing(object sender, FormClosingEventArgs e) - { - if(UARTSerial.IsOpen == true) - { - try - { - UARTSerial.Close(); - } - catch(Exception ex) - { - MessageBox.Show(ex.Message, "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Error); - } - } - - } - - /// - /// Clear the UART output window - /// - /// - /// - private void button3_Click(object sender, EventArgs e) - { - txtUARTOutput.Text = ""; - } - - /// - /// When the user clicks on the download error database button, show a confirmation first and then if they click yes, - /// continue to download the latest database from the update server - /// - /// - /// - private async void btnDownloadDatabase_Click(object sender, EventArgs e) - { - DialogResult result = MessageBox.Show("Downloading the error database will overwrite any existing offline database you currently have. Are you sure you would like to do this?", "Are you sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Question); - - // Check if user wants to proceed - if (result == DialogResult.Yes) - { - // Call the function to download and save the XML data - await DownloadDatabaseAsync(); - } - else - { - // Do nothing. The user cancelled the request// The user cancelled - } - } - - /// - /// The user can clear the error codes from the console if required but let's make sure they actually want to do - /// that by showing a confirmation dialog first. If the click yes, send the UART command and wipe the codes from - /// the console. This action cannot be undone! - /// - /// - /// - private void btnClearErrorCodes_Click(object sender, EventArgs e) - { - DialogResult result = MessageBox.Show("This will clear error codes from the console by sending the \"errlog clear\" command. Are you sure you would like to proceed? This action cannot be undone!", "Are you sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Question); - - if(result == DialogResult.Yes) - { - // Let's read the error codes from UART - txtUARTOutput.Text = ""; - - if (UARTSerial.IsOpen == true) - { - try - { - - List UARTLines = new(); - - var command = "errlog clear"; - var checksum = CalculateChecksum(command); - UARTSerial.WriteLine(checksum); - do - { - var line = UARTSerial.ReadLine(); - if (!string.Equals($"{command}:{checksum:X2}", line, StringComparison.InvariantCultureIgnoreCase)) - { - UARTLines.Add(line); - } - } while (UARTSerial.BytesToRead != 0); - - foreach (var l in UARTLines) - { - var split = l.Split(' '); - if (!split.Any()) continue; - switch (split[0]) - { - case "NG": - if (!txtUARTOutput.Text.Contains("FAIL")) - { - txtUARTOutput.AppendText("Response: FAIL" + Environment.NewLine + "Information: An error occurred while clearing the error logs from the system. Please try again..."); - } - break; - case "OK": - if (!txtUARTOutput.Text.Contains("SUCCESS")) - { - txtUARTOutput.AppendText("Response: SUCCESS" + Environment.NewLine + "Information: All error codes cleared successfully"); - } - break; - } - } - } - catch (Exception ex) - { - MessageBox.Show(ex.Message, "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Error); - toolStripStatusLabel1.Text = "An error occurred while attempting to send a UART command. Please try again..."; - } - } - else - { - MessageBox.Show("Please connect to UART before attempting to send commands.", "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Warning); - } - } - else - { - // Do nothing. The user cancelled the request - } - } - - /// - /// Sometimes the user might want to send a custom command. Let them do that here! - /// - /// - /// - private void btnSendCommand_Click(object sender, EventArgs e) - { - if (txtCustomCommand.Text != "") - { - // Let's read the error codes from UART - txtUARTOutput.Text = ""; - - if (UARTSerial.IsOpen == true) - { - try - { - - List UARTLines = new(); - - var checksum = CalculateChecksum(txtCustomCommand.Text); - UARTSerial.WriteLine(checksum); - do - { - var line = UARTSerial.ReadLine(); - if (!string.Equals($"{txtCustomCommand.Text}:{checksum:X2}", line, StringComparison.InvariantCultureIgnoreCase)) - { - UARTLines.Add(line); - } - } while (UARTSerial.BytesToRead != 0); - - foreach (var l in UARTLines) - { - var split = l.Split(' '); - if (!split.Any()) continue; - switch (split[0]) - { - case "NG": - txtUARTOutput.Text = "ERROR: " + l; - break; - case "OK": - txtUARTOutput.Text = "SUCCESS: " + l; - break; - } - } - } - catch (Exception ex) - { - MessageBox.Show(ex.Message, "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Error); - toolStripStatusLabel1.Text = "An error occurred while reading error codes from UART. Please try again..."; - } - } - else - { - MessageBox.Show("Please connect to UART before attempting to send commands.", "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Warning); - } - } - else - { - MessageBox.Show("Please enter a command to send via UART.", "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Warning); - } - } - - /// - /// If the user presses the enter key while using the custom command box, handle it by programmatically pressing the - /// send button. This is more of a convenience thing really! - /// - /// - /// - private void txtCustomCommand_KeyPress(object sender, KeyPressEventArgs e) - { - if(e.KeyChar == (char)Keys.Enter) - { - btnSendCommand.PerformClick(); - } - } - } -} \ No newline at end of file diff --git a/PS5 NOR Modifier/MainForm.Designer.cs b/PS5 NOR Modifier/MainForm.Designer.cs new file mode 100644 index 0000000..e6f7901 --- /dev/null +++ b/PS5 NOR Modifier/MainForm.Designer.cs @@ -0,0 +1,817 @@ +namespace PS5_NOR_Modifier; + +public sealed partial class MainForm : Form +{ + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); + infoBoxLabel = new Label(); + pictureBox1 = new PictureBox(); + applicationTitleLabel = new Label(); + donateImageButton = new PictureBox(); + donateInfoLabel = new Label(); + selectNorDumpLabel = new Label(); + fileLocationBox = new TextBox(); + browseFileButton = new Button(); + dumpResultsLabel = new Label(); + serialNumberLabel = new Label(); + ps5ModelLabel = new Label(); + fileSizeLabel = new Label(); + serialNumber = new Label(); + modelInfo = new Label(); + fileSizeInfo = new Label(); + statusStrip = new StatusStrip(); + toolStripStatusLabel = new ToolStripStatusLabel(); + boardVariantLabel = new Label(); + boardVariant = new Label(); + label11 = new Label(); + convertToDigitalEditionButton = new Button(); + boardVariantSelectionBox = new ComboBox(); + serialNumberInputLabel = new Label(); + boardVariantInputLabel = new Label(); + serialNumberTextbox = new TextBox(); + ps5ModelInputLabel = new Label(); + boardModelSelectionBox = new ComboBox(); + sponsorLabel = new Label(); + wifiMacAddressLabel = new Label(); + macAddressInfo = new Label(); + LANMacAddressInfo = new Label(); + lanMacAddress = new Label(); + moboSerialInfo = new Label(); + motherboardSerialLabel = new Label(); + wifiMacAddressInputLabel = new Label(); + wifiMacAddressTextbox = new TextBox(); + lanMacAddressTextbox = new TextBox(); + lanMacAddressInputLabel = new Label(); + consoleOptionsTabControl = new TabControl(); + norModifierTabPage = new TabPage(); + uartCommunicationTabPage = new TabPage(); + uartInfoLabel = new Label(); + btnSendCommand = new Button(); + txtCustomCommand = new TextBox(); + sendUartCommandLabel = new Label(); + chkUseOffline = new CheckBox(); + btnDownloadDatabase = new Button(); + btnRefreshPorts = new Button(); + btnClearOutput = new Button(); + txtUARTOutput = new TextBox(); + label22 = new Label(); + btnClearErrorCodes = new Button(); + label21 = new Label(); + btnGetErrorCodes = new Button(); + comboComPorts = new ComboBox(); + btnDisconnectCom = new Button(); + btnConnectCom = new Button(); + comPortLabel = new Label(); + label23 = new Label(); + ((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)donateImageButton).BeginInit(); + statusStrip.SuspendLayout(); + consoleOptionsTabControl.SuspendLayout(); + norModifierTabPage.SuspendLayout(); + uartCommunicationTabPage.SuspendLayout(); + SuspendLayout(); + // + // infoBoxLabel + // + infoBoxLabel.AutoSize = true; + infoBoxLabel.Location = new Point(11, 140); + infoBoxLabel.Name = "infoBoxLabel"; + infoBoxLabel.Size = new Size(1158, 75); + infoBoxLabel.TabIndex = 0; + infoBoxLabel.Text = resources.GetString("infoBoxLabel.Text"); + // + // pictureBox1 + // + pictureBox1.Image = Properties.Resources.PS5_Nor_Logo; + pictureBox1.Location = new Point(11, 12); + pictureBox1.Name = "pictureBox1"; + pictureBox1.Size = new Size(167, 125); + pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage; + pictureBox1.TabIndex = 1; + pictureBox1.TabStop = false; + // + // applicationTitleLabel + // + applicationTitleLabel.AutoSize = true; + applicationTitleLabel.Font = new Font("Segoe UI", 22F, FontStyle.Bold, GraphicsUnit.Point); + applicationTitleLabel.Location = new Point(200, 12); + applicationTitleLabel.Name = "applicationTitleLabel"; + applicationTitleLabel.Size = new Size(404, 60); + applicationTitleLabel.TabIndex = 2; + applicationTitleLabel.Text = "PS5 NOR Modifier"; + // + // donateImageButton + // + donateImageButton.Image = Properties.Resources.Paypal_128; + donateImageButton.Location = new Point(11, 765); + donateImageButton.Name = "donateImageButton"; + donateImageButton.Size = new Size(64, 63); + donateImageButton.SizeMode = PictureBoxSizeMode.StretchImage; + donateImageButton.TabIndex = 4; + donateImageButton.TabStop = false; + donateImageButton.Click += donateImageButton_Click; + // + // donateInfoLabel + // + donateInfoLabel.AutoSize = true; + donateInfoLabel.Location = new Point(93, 765); + donateInfoLabel.Name = "donateInfoLabel"; + donateInfoLabel.Size = new Size(1053, 50); + donateInfoLabel.TabIndex = 5; + donateInfoLabel.Text = resources.GetString("donateInfoLabel.Text"); + donateInfoLabel.Click += donateInfoLabel_Click; + // + // selectNorDumpLabel + // + selectNorDumpLabel.AutoSize = true; + selectNorDumpLabel.Location = new Point(7, 5); + selectNorDumpLabel.Name = "selectNorDumpLabel"; + selectNorDumpLabel.Size = new Size(156, 25); + selectNorDumpLabel.TabIndex = 6; + selectNorDumpLabel.Text = "Select NOR Dump"; + // + // fileLocationBox + // + fileLocationBox.Location = new Point(7, 33); + fileLocationBox.Name = "fileLocationBox"; + fileLocationBox.Size = new Size(1023, 31); + fileLocationBox.TabIndex = 7; + // + // browseFileButton + // + browseFileButton.Location = new Point(1039, 32); + browseFileButton.Name = "browseFileButton"; + browseFileButton.Size = new Size(111, 33); + browseFileButton.TabIndex = 8; + browseFileButton.Text = "Browse"; + browseFileButton.UseVisualStyleBackColor = true; + browseFileButton.Click += browseFileButton_Click; + // + // dumpResultsLabel + // + dumpResultsLabel.AutoSize = true; + dumpResultsLabel.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); + dumpResultsLabel.Location = new Point(7, 82); + dumpResultsLabel.Name = "dumpResultsLabel"; + dumpResultsLabel.Size = new Size(134, 25); + dumpResultsLabel.TabIndex = 9; + dumpResultsLabel.Text = "Dump Results:"; + // + // serialNumberLabel + // + serialNumberLabel.AutoSize = true; + serialNumberLabel.Location = new Point(7, 120); + serialNumberLabel.Name = "serialNumberLabel"; + serialNumberLabel.Size = new Size(128, 25); + serialNumberLabel.TabIndex = 10; + serialNumberLabel.Text = "Serial Number:"; + // + // ps5ModelLabel + // + ps5ModelLabel.AutoSize = true; + ps5ModelLabel.Location = new Point(7, 265); + ps5ModelLabel.Name = "ps5ModelLabel"; + ps5ModelLabel.Size = new Size(102, 25); + ps5ModelLabel.TabIndex = 12; + ps5ModelLabel.Text = "PS5 Model:"; + // + // fileSizeLabel + // + fileSizeLabel.AutoSize = true; + fileSizeLabel.Location = new Point(7, 315); + fileSizeLabel.Name = "fileSizeLabel"; + fileSizeLabel.Size = new Size(78, 25); + fileSizeLabel.TabIndex = 13; + fileSizeLabel.Text = "File Size:"; + // + // serialNumber + // + serialNumber.AutoSize = true; + serialNumber.Location = new Point(177, 120); + serialNumber.Name = "serialNumber"; + serialNumber.Size = new Size(24, 25); + serialNumber.TabIndex = 14; + serialNumber.Text = "..."; + // + // modelInfo + // + modelInfo.AutoSize = true; + modelInfo.Location = new Point(177, 265); + modelInfo.Name = "modelInfo"; + modelInfo.Size = new Size(24, 25); + modelInfo.TabIndex = 16; + modelInfo.Text = "..."; + // + // fileSizeInfo + // + fileSizeInfo.AutoSize = true; + fileSizeInfo.Location = new Point(177, 315); + fileSizeInfo.Name = "fileSizeInfo"; + fileSizeInfo.Size = new Size(24, 25); + fileSizeInfo.TabIndex = 17; + fileSizeInfo.Text = "..."; + // + // statusStrip + // + statusStrip.ImageScalingSize = new Size(24, 24); + statusStrip.Items.AddRange(new ToolStripItem[] { toolStripStatusLabel }); + statusStrip.Location = new Point(0, 896); + statusStrip.Name = "statusStrip"; + statusStrip.Size = new Size(1210, 32); + statusStrip.TabIndex = 18; + statusStrip.Text = "statusStrip1"; + // + // toolStripStatusLabel + // + toolStripStatusLabel.Name = "toolStripStatusLabel"; + toolStripStatusLabel.Size = new Size(203, 25); + toolStripStatusLabel.Text = "Status: Waiting for input"; + // + // boardVariantLabel + // + boardVariantLabel.AutoSize = true; + boardVariantLabel.Location = new Point(7, 217); + boardVariantLabel.Name = "boardVariantLabel"; + boardVariantLabel.Size = new Size(122, 25); + boardVariantLabel.TabIndex = 20; + boardVariantLabel.Text = "Board Variant:"; + // + // boardVariant + // + boardVariant.AutoSize = true; + boardVariant.Location = new Point(177, 217); + boardVariant.Name = "boardVariant"; + boardVariant.Size = new Size(24, 25); + boardVariant.TabIndex = 21; + boardVariant.Text = "..."; + // + // label11 + // + label11.AutoSize = true; + label11.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); + label11.Location = new Point(561, 82); + label11.Name = "label11"; + label11.Size = new Size(133, 25); + label11.TabIndex = 22; + label11.Text = "Modify Values"; + // + // convertToDigitalEditionButton + // + convertToDigitalEditionButton.Location = new Point(936, 368); + convertToDigitalEditionButton.Name = "convertToDigitalEditionButton"; + convertToDigitalEditionButton.Size = new Size(214, 77); + convertToDigitalEditionButton.TabIndex = 23; + convertToDigitalEditionButton.Text = "Save New\r\nBIOS Information"; + convertToDigitalEditionButton.UseVisualStyleBackColor = true; + convertToDigitalEditionButton.Click += convertToDigitalEditionButton_Click; + // + // boardVariantSelectionBox + // + boardVariantSelectionBox.DropDownStyle = ComboBoxStyle.DropDownList; + boardVariantSelectionBox.FormattingEnabled = true; + boardVariantSelectionBox.Items.AddRange(new object[] { "CFI-1000A", "CFI-1000A01", "CFI-1000B", "CFI-1002A", "CFI-1008A", "CFI-1014A", "CFI-1015A", "CFI-1015B", "CFI-1016A", "CFI-1018A", "CFI-1100A01", "CFI-1102A", "CFI-1108A", "CFI-1109A", "CFI-1114A", "CFI-1115A", "CFI-1116A", "CFI-1118A", "CFI-1208A", "CFI-1215A", "CFI-1216A", "DFI-T1000AA", "DFI-D1000AA" }); + boardVariantSelectionBox.Location = new Point(724, 163); + boardVariantSelectionBox.Name = "boardVariantSelectionBox"; + boardVariantSelectionBox.Size = new Size(424, 33); + boardVariantSelectionBox.TabIndex = 29; + // + // serialNumberInputLabel + // + serialNumberInputLabel.AutoSize = true; + serialNumberInputLabel.Location = new Point(561, 120); + serialNumberInputLabel.Name = "serialNumberInputLabel"; + serialNumberInputLabel.Size = new Size(128, 25); + serialNumberInputLabel.TabIndex = 30; + serialNumberInputLabel.Text = "Serial Number:"; + // + // boardVariantInputLabel + // + boardVariantInputLabel.AutoSize = true; + boardVariantInputLabel.Location = new Point(561, 167); + boardVariantInputLabel.Name = "boardVariantInputLabel"; + boardVariantInputLabel.Size = new Size(122, 25); + boardVariantInputLabel.TabIndex = 31; + boardVariantInputLabel.Text = "Board Variant:"; + // + // serialNumberTextbox + // + serialNumberTextbox.Location = new Point(724, 117); + serialNumberTextbox.Name = "serialNumberTextbox"; + serialNumberTextbox.Size = new Size(424, 31); + serialNumberTextbox.TabIndex = 32; + // + // ps5ModelInputLabel + // + ps5ModelInputLabel.AutoSize = true; + ps5ModelInputLabel.Location = new Point(561, 215); + ps5ModelInputLabel.Name = "ps5ModelInputLabel"; + ps5ModelInputLabel.Size = new Size(102, 25); + ps5ModelInputLabel.TabIndex = 33; + ps5ModelInputLabel.Text = "PS5 Model:"; + // + // boardModelSelectionBox + // + boardModelSelectionBox.DropDownStyle = ComboBoxStyle.DropDownList; + boardModelSelectionBox.FormattingEnabled = true; + boardModelSelectionBox.Items.AddRange(new object[] { "Digital Edition", "Disc Edition" }); + boardModelSelectionBox.Location = new Point(724, 212); + boardModelSelectionBox.Name = "boardModelSelectionBox"; + boardModelSelectionBox.Size = new Size(424, 33); + boardModelSelectionBox.TabIndex = 34; + // + // sponsorLabel + // + sponsorLabel.AutoSize = true; + sponsorLabel.Font = new Font("Segoe UI", 12F, FontStyle.Bold, GraphicsUnit.Point); + sponsorLabel.Location = new Point(93, 825); + sponsorLabel.Name = "sponsorLabel"; + sponsorLabel.Size = new Size(584, 32); + sponsorLabel.TabIndex = 35; + sponsorLabel.Text = "This project is sponsored by www.consolefix.shop"; + sponsorLabel.Click += sponsorLabel_Click; + // + // wifiMacAddressLabel + // + wifiMacAddressLabel.AutoSize = true; + wifiMacAddressLabel.Location = new Point(7, 368); + wifiMacAddressLabel.Margin = new Padding(4, 0, 4, 0); + wifiMacAddressLabel.Name = "wifiMacAddressLabel"; + wifiMacAddressLabel.Size = new Size(158, 25); + wifiMacAddressLabel.TabIndex = 36; + wifiMacAddressLabel.Text = "WiFi Mac Address:"; + // + // macAddressInfo + // + macAddressInfo.AutoSize = true; + macAddressInfo.Location = new Point(177, 368); + macAddressInfo.Margin = new Padding(4, 0, 4, 0); + macAddressInfo.Name = "macAddressInfo"; + macAddressInfo.Size = new Size(24, 25); + macAddressInfo.TabIndex = 37; + macAddressInfo.Text = "..."; + // + // LANMacAddressInfo + // + LANMacAddressInfo.AutoSize = true; + LANMacAddressInfo.Location = new Point(177, 420); + LANMacAddressInfo.Margin = new Padding(4, 0, 4, 0); + LANMacAddressInfo.Name = "LANMacAddressInfo"; + LANMacAddressInfo.Size = new Size(24, 25); + LANMacAddressInfo.TabIndex = 39; + LANMacAddressInfo.Text = "..."; + // + // lanMacAddress + // + lanMacAddress.AutoSize = true; + lanMacAddress.Location = new Point(7, 420); + lanMacAddress.Margin = new Padding(4, 0, 4, 0); + lanMacAddress.Name = "lanMacAddress"; + lanMacAddress.Size = new Size(158, 25); + lanMacAddress.TabIndex = 38; + lanMacAddress.Text = "LAN Mac Address:"; + // + // moboSerialInfo + // + moboSerialInfo.AutoSize = true; + moboSerialInfo.Location = new Point(177, 168); + moboSerialInfo.Margin = new Padding(4, 0, 4, 0); + moboSerialInfo.Name = "moboSerialInfo"; + moboSerialInfo.Size = new Size(24, 25); + moboSerialInfo.TabIndex = 41; + moboSerialInfo.Text = "..."; + // + // motherboardSerialLabel + // + motherboardSerialLabel.AutoSize = true; + motherboardSerialLabel.Location = new Point(7, 168); + motherboardSerialLabel.Margin = new Padding(4, 0, 4, 0); + motherboardSerialLabel.Name = "motherboardSerialLabel"; + motherboardSerialLabel.Size = new Size(169, 25); + motherboardSerialLabel.TabIndex = 40; + motherboardSerialLabel.Text = "Motherboard Serial:"; + // + // wifiMacAddressInputLabel + // + wifiMacAddressInputLabel.AutoSize = true; + wifiMacAddressInputLabel.Location = new Point(561, 265); + wifiMacAddressInputLabel.Margin = new Padding(4, 0, 4, 0); + wifiMacAddressInputLabel.Name = "wifiMacAddressInputLabel"; + wifiMacAddressInputLabel.Size = new Size(164, 25); + wifiMacAddressInputLabel.TabIndex = 42; + wifiMacAddressInputLabel.Text = "WiFi MAC Address:"; + // + // wifiMacAddressTextbox + // + wifiMacAddressTextbox.Enabled = false; + wifiMacAddressTextbox.Location = new Point(724, 260); + wifiMacAddressTextbox.Margin = new Padding(4, 5, 4, 5); + wifiMacAddressTextbox.Name = "wifiMacAddressTextbox"; + wifiMacAddressTextbox.Size = new Size(424, 31); + wifiMacAddressTextbox.TabIndex = 43; + // + // lanMacAddressTextbox + // + lanMacAddressTextbox.Enabled = false; + lanMacAddressTextbox.Location = new Point(724, 308); + lanMacAddressTextbox.Margin = new Padding(4, 5, 4, 5); + lanMacAddressTextbox.Name = "lanMacAddressTextbox"; + lanMacAddressTextbox.Size = new Size(424, 31); + lanMacAddressTextbox.TabIndex = 44; + // + // lanMacAddressInputLabel + // + lanMacAddressInputLabel.AutoSize = true; + lanMacAddressInputLabel.Location = new Point(561, 313); + lanMacAddressInputLabel.Margin = new Padding(4, 0, 4, 0); + lanMacAddressInputLabel.Name = "lanMacAddressInputLabel"; + lanMacAddressInputLabel.Size = new Size(158, 25); + lanMacAddressInputLabel.TabIndex = 45; + lanMacAddressInputLabel.Text = "LAN Mac Address:"; + // + // consoleOptionsTabControl + // + consoleOptionsTabControl.Controls.Add(norModifierTabPage); + consoleOptionsTabControl.Controls.Add(uartCommunicationTabPage); + consoleOptionsTabControl.Location = new Point(17, 220); + consoleOptionsTabControl.Margin = new Padding(4, 5, 4, 5); + consoleOptionsTabControl.Name = "consoleOptionsTabControl"; + consoleOptionsTabControl.SelectedIndex = 0; + consoleOptionsTabControl.Size = new Size(1173, 518); + consoleOptionsTabControl.TabIndex = 46; + // + // norModifierTabPage + // + norModifierTabPage.Controls.Add(selectNorDumpLabel); + norModifierTabPage.Controls.Add(lanMacAddressInputLabel); + norModifierTabPage.Controls.Add(fileLocationBox); + norModifierTabPage.Controls.Add(lanMacAddressTextbox); + norModifierTabPage.Controls.Add(browseFileButton); + norModifierTabPage.Controls.Add(wifiMacAddressTextbox); + norModifierTabPage.Controls.Add(dumpResultsLabel); + norModifierTabPage.Controls.Add(wifiMacAddressInputLabel); + norModifierTabPage.Controls.Add(serialNumberLabel); + norModifierTabPage.Controls.Add(moboSerialInfo); + norModifierTabPage.Controls.Add(ps5ModelLabel); + norModifierTabPage.Controls.Add(motherboardSerialLabel); + norModifierTabPage.Controls.Add(fileSizeLabel); + norModifierTabPage.Controls.Add(LANMacAddressInfo); + norModifierTabPage.Controls.Add(serialNumber); + norModifierTabPage.Controls.Add(lanMacAddress); + norModifierTabPage.Controls.Add(modelInfo); + norModifierTabPage.Controls.Add(macAddressInfo); + norModifierTabPage.Controls.Add(fileSizeInfo); + norModifierTabPage.Controls.Add(wifiMacAddressLabel); + norModifierTabPage.Controls.Add(boardVariantLabel); + norModifierTabPage.Controls.Add(boardVariant); + norModifierTabPage.Controls.Add(boardModelSelectionBox); + norModifierTabPage.Controls.Add(label11); + norModifierTabPage.Controls.Add(ps5ModelInputLabel); + norModifierTabPage.Controls.Add(convertToDigitalEditionButton); + norModifierTabPage.Controls.Add(serialNumberTextbox); + norModifierTabPage.Controls.Add(boardVariantSelectionBox); + norModifierTabPage.Controls.Add(boardVariantInputLabel); + norModifierTabPage.Controls.Add(serialNumberInputLabel); + norModifierTabPage.Location = new Point(4, 34); + norModifierTabPage.Margin = new Padding(4, 5, 4, 5); + norModifierTabPage.Name = "norModifierTabPage"; + norModifierTabPage.Padding = new Padding(4, 5, 4, 5); + norModifierTabPage.Size = new Size(1165, 480); + norModifierTabPage.TabIndex = 0; + norModifierTabPage.Text = "NOR Modifier"; + norModifierTabPage.UseVisualStyleBackColor = true; + // + // uartCommunicationTabPage + // + uartCommunicationTabPage.Controls.Add(uartInfoLabel); + uartCommunicationTabPage.Controls.Add(btnSendCommand); + uartCommunicationTabPage.Controls.Add(txtCustomCommand); + uartCommunicationTabPage.Controls.Add(sendUartCommandLabel); + uartCommunicationTabPage.Controls.Add(chkUseOffline); + uartCommunicationTabPage.Controls.Add(btnDownloadDatabase); + uartCommunicationTabPage.Controls.Add(btnRefreshPorts); + uartCommunicationTabPage.Controls.Add(btnClearOutput); + uartCommunicationTabPage.Controls.Add(txtUARTOutput); + uartCommunicationTabPage.Controls.Add(label22); + uartCommunicationTabPage.Controls.Add(btnClearErrorCodes); + uartCommunicationTabPage.Controls.Add(label21); + uartCommunicationTabPage.Controls.Add(btnGetErrorCodes); + uartCommunicationTabPage.Controls.Add(comboComPorts); + uartCommunicationTabPage.Controls.Add(btnDisconnectCom); + uartCommunicationTabPage.Controls.Add(btnConnectCom); + uartCommunicationTabPage.Controls.Add(comPortLabel); + uartCommunicationTabPage.Location = new Point(4, 34); + uartCommunicationTabPage.Margin = new Padding(4, 5, 4, 5); + uartCommunicationTabPage.Name = "uartCommunicationTabPage"; + uartCommunicationTabPage.Padding = new Padding(4, 5, 4, 5); + uartCommunicationTabPage.Size = new Size(1165, 480); + uartCommunicationTabPage.TabIndex = 1; + uartCommunicationTabPage.Text = "UART Communication"; + uartCommunicationTabPage.UseVisualStyleBackColor = true; + // + // uartInfoLabel + // + uartInfoLabel.AutoSize = true; + uartInfoLabel.Location = new Point(871, 252); + uartInfoLabel.Margin = new Padding(4, 0, 4, 0); + uartInfoLabel.Name = "uartInfoLabel"; + uartInfoLabel.Size = new Size(300, 175); + uartInfoLabel.TabIndex = 17; + uartInfoLabel.Text = resources.GetString("uartInfoLabel.Text"); + // + // btnSendCommand + // + btnSendCommand.Location = new Point(1046, 208); + btnSendCommand.Margin = new Padding(4, 5, 4, 5); + btnSendCommand.Name = "btnSendCommand"; + btnSendCommand.Size = new Size(107, 38); + btnSendCommand.TabIndex = 16; + btnSendCommand.Text = "Send"; + btnSendCommand.UseVisualStyleBackColor = true; + btnSendCommand.Click += btnSendCommand_Click; + // + // txtCustomCommand + // + txtCustomCommand.Location = new Point(871, 160); + txtCustomCommand.Margin = new Padding(4, 5, 4, 5); + txtCustomCommand.Name = "txtCustomCommand"; + txtCustomCommand.Size = new Size(280, 31); + txtCustomCommand.TabIndex = 15; + txtCustomCommand.KeyPress += txtCustomCommand_KeyPress; + // + // sendUartCommandLabel + // + sendUartCommandLabel.AutoSize = true; + sendUartCommandLabel.Location = new Point(871, 130); + sendUartCommandLabel.Margin = new Padding(4, 0, 4, 0); + sendUartCommandLabel.Name = "sendUartCommandLabel"; + sendUartCommandLabel.Size = new Size(281, 25); + sendUartCommandLabel.TabIndex = 14; + sendUartCommandLabel.Text = "Send custom command via UART:"; + // + // chkUseOffline + // + chkUseOffline.AutoSize = true; + chkUseOffline.Location = new Point(674, 78); + chkUseOffline.Margin = new Padding(4, 5, 4, 5); + chkUseOffline.Name = "chkUseOffline"; + chkUseOffline.Size = new Size(199, 29); + chkUseOffline.TabIndex = 13; + chkUseOffline.Text = "Use offline database"; + chkUseOffline.UseVisualStyleBackColor = true; + // + // btnDownloadDatabase + // + btnDownloadDatabase.Location = new Point(443, 73); + btnDownloadDatabase.Margin = new Padding(4, 5, 4, 5); + btnDownloadDatabase.Name = "btnDownloadDatabase"; + btnDownloadDatabase.Size = new Size(223, 38); + btnDownloadDatabase.TabIndex = 12; + btnDownloadDatabase.Text = "Download Error Database"; + btnDownloadDatabase.UseVisualStyleBackColor = true; + btnDownloadDatabase.Click += btnDownloadDatabase_Click; + // + // btnRefreshPorts + // + btnRefreshPorts.Location = new Point(736, 22); + btnRefreshPorts.Margin = new Padding(4, 5, 4, 5); + btnRefreshPorts.Name = "btnRefreshPorts"; + btnRefreshPorts.Size = new Size(127, 38); + btnRefreshPorts.TabIndex = 11; + btnRefreshPorts.Text = "Refresh Ports"; + btnRefreshPorts.UseVisualStyleBackColor = true; + btnRefreshPorts.Click += btnRefreshPorts_Click; + // + // btnClearOutput + // + btnClearOutput.Location = new Point(640, 423); + btnClearOutput.Margin = new Padding(4, 5, 4, 5); + btnClearOutput.Name = "btnClearOutput"; + btnClearOutput.Size = new Size(223, 38); + btnClearOutput.TabIndex = 10; + btnClearOutput.Text = "Clear Output Window"; + btnClearOutput.UseVisualStyleBackColor = true; + btnClearOutput.Click += btnClearOutput_Click; + // + // txtUARTOutput + // + txtUARTOutput.Location = new Point(104, 130); + txtUARTOutput.Margin = new Padding(4, 5, 4, 5); + txtUARTOutput.Multiline = true; + txtUARTOutput.Name = "txtUARTOutput"; + txtUARTOutput.ScrollBars = ScrollBars.Vertical; + txtUARTOutput.Size = new Size(757, 281); + txtUARTOutput.TabIndex = 9; + // + // label22 + // + label22.AutoSize = true; + label22.Location = new Point(9, 130); + label22.Margin = new Padding(4, 0, 4, 0); + label22.Name = "label22"; + label22.Size = new Size(73, 25); + label22.TabIndex = 8; + label22.Text = "Output:"; + // + // btnClearErrorCodes + // + btnClearErrorCodes.Location = new Point(266, 73); + btnClearErrorCodes.Margin = new Padding(4, 5, 4, 5); + btnClearErrorCodes.Name = "btnClearErrorCodes"; + btnClearErrorCodes.Size = new Size(169, 38); + btnClearErrorCodes.TabIndex = 7; + btnClearErrorCodes.Text = "Clear Error Codes"; + btnClearErrorCodes.UseVisualStyleBackColor = true; + btnClearErrorCodes.Click += btnClearErrorCodes_Click; + // + // label21 + // + label21.AutoSize = true; + label21.Location = new Point(9, 80); + label21.Margin = new Padding(4, 0, 4, 0); + label21.Name = "label21"; + label21.Size = new Size(80, 25); + label21.TabIndex = 6; + label21.Text = "Options:"; + // + // btnGetErrorCodes + // + btnGetErrorCodes.Location = new Point(104, 73); + btnGetErrorCodes.Margin = new Padding(4, 5, 4, 5); + btnGetErrorCodes.Name = "btnGetErrorCodes"; + btnGetErrorCodes.Size = new Size(153, 38); + btnGetErrorCodes.TabIndex = 5; + btnGetErrorCodes.Text = "Get Error Codes"; + btnGetErrorCodes.UseVisualStyleBackColor = true; + btnGetErrorCodes.Click += BtnGetErrorCodes_Click; + // + // comboComPorts + // + comboComPorts.FormattingEnabled = true; + comboComPorts.Location = new Point(104, 22); + comboComPorts.Margin = new Padding(4, 5, 4, 5); + comboComPorts.Name = "comboComPorts"; + comboComPorts.Size = new Size(390, 33); + comboComPorts.TabIndex = 4; + // + // btnDisconnectCom + // + btnDisconnectCom.Location = new Point(620, 22); + btnDisconnectCom.Margin = new Padding(4, 5, 4, 5); + btnDisconnectCom.Name = "btnDisconnectCom"; + btnDisconnectCom.Size = new Size(107, 38); + btnDisconnectCom.TabIndex = 3; + btnDisconnectCom.Text = "Disconnect"; + btnDisconnectCom.UseVisualStyleBackColor = true; + btnDisconnectCom.Click += btnDisconnectCom_Click; + // + // btnConnectCom + // + btnConnectCom.Location = new Point(504, 20); + btnConnectCom.Margin = new Padding(4, 5, 4, 5); + btnConnectCom.Name = "btnConnectCom"; + btnConnectCom.Size = new Size(107, 38); + btnConnectCom.TabIndex = 2; + btnConnectCom.Text = "Connect"; + btnConnectCom.UseVisualStyleBackColor = true; + btnConnectCom.Click += btnConnectCom_Click; + // + // comPortLabel + // + comPortLabel.AutoSize = true; + comPortLabel.Location = new Point(9, 27); + comPortLabel.Margin = new Padding(4, 0, 4, 0); + comPortLabel.Name = "comPortLabel"; + comPortLabel.Size = new Size(91, 25); + comPortLabel.TabIndex = 0; + comPortLabel.Text = "Com Port:"; + // + // label23 + // + label23.AutoSize = true; + label23.Font = new Font("Segoe UI Semibold", 9F, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point); + label23.Location = new Point(276, 80); + label23.Margin = new Padding(4, 0, 4, 0); + label23.Name = "label23"; + label23.Size = new Size(324, 25); + label23.TabIndex = 47; + label23.Text = "and UART stuff too... BwE can SUCK IT!"; + // + // MainForm + // + AutoScaleDimensions = new SizeF(10F, 25F); + AutoScaleMode = AutoScaleMode.Font; + BackColor = Color.White; + ClientSize = new Size(1210, 928); + Controls.Add(label23); + Controls.Add(consoleOptionsTabControl); + Controls.Add(sponsorLabel); + Controls.Add(statusStrip); + Controls.Add(donateInfoLabel); + Controls.Add(donateImageButton); + Controls.Add(applicationTitleLabel); + Controls.Add(pictureBox1); + Controls.Add(infoBoxLabel); + Name = "MainForm"; + Text = "PS5 NOR Modifier"; + FormClosing += MainForm_FormClosing; + Load += MainForm_Load; + ((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit(); + ((System.ComponentModel.ISupportInitialize)donateImageButton).EndInit(); + statusStrip.ResumeLayout(false); + statusStrip.PerformLayout(); + consoleOptionsTabControl.ResumeLayout(false); + norModifierTabPage.ResumeLayout(false); + norModifierTabPage.PerformLayout(); + uartCommunicationTabPage.ResumeLayout(false); + uartCommunicationTabPage.PerformLayout(); + ResumeLayout(false); + PerformLayout(); + } + + #endregion + + private Label infoBoxLabel; + private PictureBox pictureBox1; + private Label applicationTitleLabel; + private PictureBox donateImageButton; + private Label donateInfoLabel; + private Label selectNorDumpLabel; + private TextBox fileLocationBox; + private Button browseFileButton; + private Label dumpResultsLabel; + private Label serialNumberLabel; + private Label ps5ModelLabel; + private Label fileSizeLabel; + private Label serialNumber; + private Label modelInfo; + private Label fileSizeInfo; + private StatusStrip statusStrip; + private ToolStripStatusLabel toolStripStatusLabel; + private Label boardVariantLabel; + private Label boardVariant; + private Label label11; + private Button convertToDigitalEditionButton; + private ComboBox boardVariantSelectionBox; + private Label serialNumberInputLabel; + private Label boardVariantInputLabel; + private TextBox serialNumberTextbox; + private Label ps5ModelInputLabel; + private ComboBox boardModelSelectionBox; + private Label sponsorLabel; + private Label wifiMacAddressLabel; + private Label macAddressInfo; + private Label LANMacAddressInfo; + private Label lanMacAddress; + private Label moboSerialInfo; + private Label motherboardSerialLabel; + private Label wifiMacAddressInputLabel; + private TextBox wifiMacAddressTextbox; + private TextBox lanMacAddressTextbox; + private Label lanMacAddressInputLabel; + private TabControl consoleOptionsTabControl; + private TabPage norModifierTabPage; + private TabPage uartCommunicationTabPage; + private Button btnClearOutput; + private TextBox txtUARTOutput; + private Label label22; + private Button btnClearErrorCodes; + private Label label21; + private Button btnGetErrorCodes; + private ComboBox comboComPorts; + private Button btnDisconnectCom; + private Button btnConnectCom; + private Label comPortLabel; + private Button btnRefreshPorts; + private Label label23; + private Button btnDownloadDatabase; + private CheckBox chkUseOffline; + private Button btnSendCommand; + private TextBox txtCustomCommand; + private Label sendUartCommandLabel; + private Label uartInfoLabel; +} \ No newline at end of file diff --git a/PS5 NOR Modifier/MainForm.cs b/PS5 NOR Modifier/MainForm.cs new file mode 100644 index 0000000..b7729a4 --- /dev/null +++ b/PS5 NOR Modifier/MainForm.cs @@ -0,0 +1,687 @@ +using System.Diagnostics; +using System.Runtime.InteropServices; +using System.IO.Ports; +using System.Xml; + +namespace PS5_NOR_Modifier; + +public sealed partial class MainForm : Form +{ + // We want this app to work offline, so let's declare where the local "offline" database will be stored + private const string localDatabaseFile = "errorDB.xml"; + + private static readonly SerialPort UARTSerial = new (); + + private readonly CancellationTokenSource errorsCTSource = new (); + + public MainForm() + { + InitializeComponent(); + } + + private void MainForm_Load(object sender, EventArgs e) + { + // Upon first launch, we need to get a list of COM ports available for UART + string[] ports = SerialPort.GetPortNames(); + comboComPorts.Items.Clear(); + comboComPorts.Items.AddRange(ports); + comboComPorts.SelectedIndex = 0; + btnConnectCom.Enabled = true; + btnDisconnectCom.Enabled = false; + } + + private async Task DownloadDatabaseAsync(CancellationToken cancellationToken) + { + // Define the URL + string url = "http://uartcodes.com/xml.php"; // Update with your URL + + // Define the file path to save the XML + + try + { + // Create a WebClient instance + using (HttpClient client = new()) + { + // Download the XML data from the URL + string xmlData = await client.GetStringAsync(url, cancellationToken) + .ConfigureAwait(false); + + // Create an XmlDocument instance and load the XML data + XmlDocument xmlDoc = new XmlDocument(); + xmlDoc.LoadXml(xmlData); + + // Save the XML data to a file + xmlDoc.Save(localDatabaseFile); + + MessageBox.Show("The most recent offline database has been updated successfully.", "Offline Database Updated!", MessageBoxButtons.OK, MessageBoxIcon.Information); + } + } + catch (Exception ex) + { + Console.WriteLine("Error: " + ex.Message); + } + } + + /// + /// We need to be able to send the error code we received from the console and fetch an XML result back from the server + /// Once we have a result from the server, parse the XML data and output it in an easy to understand format for the user + /// + /// + /// + private async Task ParseErrorsAsync(string ErrorCode, CancellationToken cancellationToken) + { + // If the user has opted to parse errors with an offline database, run the parse offline function + if (chkUseOffline.Checked) + return ParseErrorsOffline(ErrorCode); + + // The user wants to use the online version. Proceed at will + // Define the URL with the error code parameter + string url = "http://uartcodes.com/xml.php?errorCode=" + ErrorCode; + + string results = string.Empty; + + try + { + string response = string.Empty; + // Create a WebClient instance to send the request + using (HttpClient client = new()) + { + // Send the request and retrieve the response as a string + response = await client.GetStringAsync(url, cancellationToken) + .ConfigureAwait(false); + } + // Load the XML response into an XmlDocument + XmlDocument xmlDoc = new XmlDocument(); + xmlDoc.LoadXml(response); + + + // Get the root node + XmlNode? root = xmlDoc.DocumentElement; + if (root is null) + throw new Exception("Error reading the file"); + + // Check if the root node is + if (root.Name != "errorCodes") + throw new Exception("Error code: " + + ErrorCode + + Environment.NewLine + + "An error occurred while fetching a result for this error. Please try again!"); + + // Loop through each errorCode node + foreach (XmlNode errorCodeNode in root.ChildNodes) + { + // Check if the node is + if (errorCodeNode.Name != "errorCode") + continue; + + // Get ErrorCode and Description + string errorCode = errorCodeNode.SelectSingleNode("ErrorCode")?.InnerText ?? string.Empty; + string description = errorCodeNode.SelectSingleNode("Description")?.InnerText ?? string.Empty; + + // Output the results + results = "Error code: " + + errorCode + + Environment.NewLine + + "Description: " + + description; + } + } + + catch (Exception ex) + { + results = "Error code: " + + ErrorCode + + Environment.NewLine + + ex.Message; + } + + return results; + } + + private string ParseErrorsOffline(string errorCode) + { + string results = string.Empty; + + try + { + // Check if the XML file exists + if (!File.Exists(localDatabaseFile)) + { + results = "Error: Local XML file not found."; + return results; + } + + // Load the XML file + XmlDocument xmlDoc = new XmlDocument(); + xmlDoc.Load(localDatabaseFile); + + // Get the root node + XmlNode? root = xmlDoc.DocumentElement; + if (root is null) return results; + + // Check if the root node is + if (root.Name != "errorCodes") + { + results = "Error: Invalid XML database file. Please reconfigure the application, redownload the offline database, or uncheck the option to use the offline database."; + return results; + } + + // Loop through each errorCode node + foreach (XmlNode errorCodeNode in root.ChildNodes) + { + // Check if the node is + if (errorCodeNode.Name != "errorCode") + continue; + + // Get ErrorCode and Description + string errorCodeValue = errorCodeNode.SelectSingleNode("ErrorCode")?.InnerText ?? string.Empty; + string description = errorCodeNode.SelectSingleNode("Description")?.InnerText ?? string.Empty; + + // Check if the current error code matches the requested error code + if (errorCodeValue == errorCode) + { + // Output the results + results = "Error code: " + errorCodeValue + Environment.NewLine + "Description: " + description; + break; // Exit the loop after finding the matching error code + } + } + + } + catch (Exception ex) + { + results = "Error: " + ex.Message; + } + + return results; + } + + /// + /// Lauinches a URL in a new window using the default browser... + /// + /// The URL you want to launch + private void OpenUrl(string url) + { + try + { + Process.Start(url); + } + catch + { + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + { + url = url.Replace("&", "^&"); + Process.Start(new ProcessStartInfo(url) { UseShellExecute = true }); + } + else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) + { + Process.Start("xdg-open", url); + } + else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) + { + Process.Start("open", url); + } + else + { + throw; + } + } + } + + private void ResetAppFields() + { + fileLocationBox.Text = string.Empty; + serialNumber.Text = "..."; + boardVariant.Text = "..."; + modelInfo.Text = "..."; + fileSizeInfo.Text = "..."; + serialNumberTextbox.Text = string.Empty; + toolStripStatusLabel.Text = "Status: Waiting for input"; + } + + #region Donations + + /// + /// If you modify this app, please leave my credits in, otherwise a little kitten will cry! + /// + /// + /// + private void donateInfoLabel_Click(object sender, EventArgs e) + { + OpenUrl("https://www.streamelements.com/thecod3r/tip"); + } + + private void donateImageButton_Click(object sender, EventArgs e) + { + OpenUrl("https://www.streamelements.com/thecod3r/tip"); + } + + + #endregion + + + private void browseFileButton_Click(object sender, EventArgs e) + { + Utilities.TryCatchErrors(() => + { + OpenFileDialog fileDialogBox = new OpenFileDialog(); + fileDialogBox.Title = "Open NOR BIN File"; + fileDialogBox.Filter = "PS5 BIN Files|*.bin"; + + if (fileDialogBox.ShowDialog() != DialogResult.OK) + return; + + if (!fileDialogBox.CheckFileExists) + throw new Exception("The file you selected could not be found. Please check the file exists and is a valid BIN file."); + + if (!fileDialogBox.SafeFileName.EndsWith(".bin")) + throw new Exception("The file you selected is not a valid. Please ensure the file you are choosing is a correct BIN file and try again."); + + // Let's load simple information first, before loading BIN specific data + fileLocationBox.Text = string.Empty; + + // Get the path selected and print it into the path box + string selectedPath = fileDialogBox.FileName; + toolStripStatusLabel.Text = "Status: Selected file " + selectedPath; + fileLocationBox.Text = selectedPath; + + // Get file length and show in bytes and MB + long length = new FileInfo(selectedPath).Length; + fileSizeInfo.Text = length.ToString() + " bytes (" + length / 1024 / 1024 + "MB)"; + + var binaryReader = new BinaryReader(new FileStream(fileDialogBox.FileName, FileMode.Open)); + + modelInfo.Text = Utilities.ExtractPS5Version(binaryReader); + moboSerialInfo.Text = Utilities.ExtractMotherboardSerialNumber(binaryReader); + + string breakfastSerial = Utilities.ExtractBoardSerialNumber(binaryReader); + serialNumber.Text = breakfastSerial; + serialNumberTextbox.Text = breakfastSerial; + + string macMillersAddress = Utilities.ExtractWiFiMacAddress(binaryReader); + macAddressInfo.Text = macMillersAddress; + wifiMacAddressTextbox.Text = macMillersAddress != "Unknown" ? macMillersAddress : string.Empty; + + string lanAddress = Utilities.ExtractLANMacAddress(binaryReader); + LANMacAddressInfo.Text = lanAddress; + lanMacAddressTextbox.Text = lanAddress != "Unknown" ? lanAddress : string.Empty; + + boardVariant.Text = Utilities.ExtractBoardVariant(binaryReader, closeReader: true); + }); + } + + private void convertToDigitalEditionButton_Click(object sender, EventArgs e) + { + Utilities.TryCatchErrors(() => + { + string fileNameToLookFor = string.Empty; + + if (modelInfo.Text == string.Empty || modelInfo.Text == "...") + // No valid BIN file seems to have been selected + throw new Exception("Please select a valid BIOS file first..."); + + + if (boardModelSelectionBox.Text == string.Empty) + throw new Exception("Please select a valid board model before saving new BIOS information!"); + + + if (boardVariantSelectionBox.Text == string.Empty) + throw new Exception("Please select a valid board variant before saving new BIOS information!"); + + SaveFileDialog saveBox = new SaveFileDialog(); + saveBox.Title = "Save NOR BIN File"; + saveBox.Filter = "PS5 BIN Files|*.bin"; + + if (saveBox.ShowDialog() != DialogResult.OK) + throw new Exception("Save operation cancelled!"); + + // First create a copy of the old BIOS file + byte[] existingFile = File.ReadAllBytes(fileLocationBox.Text); + string newFile = saveBox.FileName; + + File.WriteAllBytes(newFile, existingFile); + + fileNameToLookFor = saveBox.FileName; + + if (!Utilities.PlaystationModelLookup.Keys.Contains(modelInfo.Text)) + throw new Exception("Unknown Console Model Type!"); + + if (!Utilities.PlaystationModelLookup.Keys.Contains(boardModelSelectionBox.Text)) + throw new Exception("Unknown Console Model Type!"); + + Utilities.SetNewModelInfo(fileNameToLookFor, Utilities.PlaystationModelLookup[modelInfo.Text], Utilities.PlaystationModelLookup[boardModelSelectionBox.Text]); + Utilities.SetBoardVariant(fileNameToLookFor, boardVariant.Text, boardModelSelectionBox.Text); + Utilities.ChangeSerialNumber(fileNameToLookFor, serialNumber.Text, serialNumberInputLabel.Text); + + if (!File.Exists(fileNameToLookFor)) + throw new Exception("Failed to write new information to file!"); + + // Reset everything and show message + ResetAppFields(); + MessageBox.Show + ( + "A new BIOS file was successfully created. Please load the new BIOS file to verify the information you entered before installing onto your motherboard. " + + "Remember this software was created by TheCod3r with nothing but love. " + + "Why not show some love back by dropping me a small donation to say thanks ;).", + "All done!", + MessageBoxButtons.OK, + MessageBoxIcon.Information + ); + }); + } + + private void sponsorLabel_Click(object sender, EventArgs e) + { + OpenUrl("https://www.consolefix.shop"); + } + + private void btnRefreshPorts_Click(object sender, EventArgs e) + { + // When the "refresh ports" button is pressed, we need to refresh the list of available COM ports for UART + string[] ports = SerialPort.GetPortNames(); + comboComPorts.Items.Clear(); + comboComPorts.Items.AddRange(ports); + comboComPorts.SelectedIndex = 0; + btnConnectCom.Enabled = true; + btnDisconnectCom.Enabled = false; + } + + private void btnConnectCom_Click(object sender, EventArgs e) + { + // Let's close the COM port + Utilities.TryCatchErrors(() => + { + // Let's try and connect to the UART reader + btnConnectCom.Enabled = false; + + if (comboComPorts.Text == string.Empty) + throw new Exception("Please select a COM port from the ports list to establish a connection."); + + // Set port to selected port + UARTSerial.PortName = comboComPorts.Text; + // Set the BAUD rate to 115200 + UARTSerial.BaudRate = 115200; + // Enable RTS + UARTSerial.RtsEnable = true; + + // Open the COM port + UARTSerial.Open(); + btnDisconnectCom.Enabled = true; + toolStripStatusLabel.Text = "Connected to UART via COM port " + comboComPorts.Text + " at a BAUD rate of 115200."; + }, + + (_) => + { + btnConnectCom.Enabled = true; + btnDisconnectCom.Enabled = false; + toolStripStatusLabel.Text = "Could not connect to UART. Please try again!"; + }); + + } + + private void btnDisconnectCom_Click(object sender, EventArgs e) + { + // Let's close the COM port + Utilities.TryCatchErrors(() => + { + if (!UARTSerial.IsOpen) + throw new Exception("Please connect to UART before attempting to read the error codes."); + + UARTSerial.Close(); + btnConnectCom.Enabled = true; + btnDisconnectCom.Enabled = false; + toolStripStatusLabel.Text = "Disconnected from UART..."; + }, + + (_) => toolStripStatusLabel.Text = "An error occurred while disconnecting from UART. Please try again..."); + } + + /// + /// Read error codes from UART + /// + /// + /// + private void BtnGetErrorCodes_Click(object sender, EventArgs e) + { + _ = Utilities.TryCatchErrorsAsync + ( + GetErrorCodesAsync(errorsCTSource.Token), + (Exception ex) => toolStripStatusLabel.Text = "An error occurred while reading error codes from UART. Please try again..." + ).ConfigureAwait(false); + } + + // You should generally avoid async voids when possible, let the task manager worry about the thread contexts. + private async Task GetErrorCodesAsync(CancellationToken cancellationToken) + { + // Let's read the error codes from UART + txtUARTOutput.Text = string.Empty; + + if (!UARTSerial.IsOpen) + throw new Exception("Please connect to UART before attempting to read the error codes."); + + List UARTLines = new(); + + for (var i = 0; i <= 10; i++) + { + var command = $"errlog {i}"; + var checksum = Utilities.CalculateChecksum(command); + UARTSerial.WriteLine(checksum); + do + { + var line = UARTSerial.ReadLine(); + if (!string.Equals($"{command}:{checksum:X2}", line, StringComparison.InvariantCultureIgnoreCase)) + { + UARTLines.Add(line); + } + } while (UARTSerial.BytesToRead != 0); + + foreach (var l in UARTLines) + { + var split = l.Split(' '); + if (!split.Any()) continue; + switch (split[0]) + { + case "NG": + break; + case "OK": + var errorCode = split[2]; + // Now that the error code has been isolated from the rest of the junk sent by the system + // let's check it against the database. The error server will need to return XML results + string errorResult = await ParseErrorsAsync(errorCode, cancellationToken) + .ConfigureAwait(true); // Explicitly return to this thread context, just to be safe might not be needed. + + if (!txtUARTOutput.Text.Contains(errorResult)) + { + txtUARTOutput.AppendText(errorResult + Environment.NewLine); + } + break; + } + } + } + } + + // If the app is closed before UART is terminated, we need to at least try to close the COM port gracefully first + private void MainForm_FormClosing(object sender, FormClosingEventArgs e) + { + errorsCTSource.Cancel(); + + if (!UARTSerial.IsOpen) + return; + + Utilities.TryCatchErrors(() => + UARTSerial.Close()); + } + + /// + /// Clear the UART output window + /// + /// + /// + private void btnClearOutput_Click(object sender, EventArgs e) + { + txtUARTOutput.Text = string.Empty; + } + + /// + /// When the user clicks on the download error database button, show a confirmation first and then if they click yes, + /// continue to download the latest database from the update server + /// + /// + /// + private void btnDownloadDatabase_Click(object sender, EventArgs e) + { + DialogResult result = MessageBox.Show("Downloading the error database will overwrite any existing offline database you currently have. Are you sure you would like to do this?", "Are you sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Question); + + // Check if user wants to proceed + if (result != DialogResult.Yes) + return; + + // Call the function to download and save the XML data + _ = DownloadDatabaseAsync(errorsCTSource.Token) + .ConfigureAwait(false); + + } + + /// + /// The user can clear the error codes from the console if required but let's make sure they actually want to do + /// that by showing a confirmation dialog first. If the click yes, send the UART command and wipe the codes from + /// the console. This action cannot be undone! + /// + /// + /// + private void btnClearErrorCodes_Click(object sender, EventArgs e) + { + DialogResult result = MessageBox.Show("This will clear error codes from the console by sending the \"errlog clear\" command. Are you sure you would like to proceed? This action cannot be undone!", "Are you sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Question); + + if (result != DialogResult.Yes) + return; + + // Let's read the error codes from UART + txtUARTOutput.Text = string.Empty; + + if (!UARTSerial.IsOpen) + { + MessageBox.Show("Please connect to UART before attempting to send commands.", "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Warning); + return; + } + + try + { + + List UARTLines = new(); + + var command = "errlog clear"; + var checksum = Utilities.CalculateChecksum(command); + UARTSerial.WriteLine(checksum); + do + { + var line = UARTSerial.ReadLine(); + if (!string.Equals($"{command}:{checksum:X2}", line, StringComparison.InvariantCultureIgnoreCase)) + { + UARTLines.Add(line); + } + } while (UARTSerial.BytesToRead != 0); + + foreach (var l in UARTLines) + { + var split = l.Split(' '); + if (!split.Any()) continue; + switch (split[0]) + { + case "NG": + if (!txtUARTOutput.Text.Contains("FAIL")) + { + txtUARTOutput.AppendText("Response: FAIL" + Environment.NewLine + "Information: An error occurred while clearing the error logs from the system. Please try again..."); + } + break; + case "OK": + if (!txtUARTOutput.Text.Contains("SUCCESS")) + { + txtUARTOutput.AppendText("Response: SUCCESS" + Environment.NewLine + "Information: All error codes cleared successfully"); + } + break; + } + } + } + + catch (Exception ex) + { + MessageBox.Show(ex.Message, "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Error); + toolStripStatusLabel.Text = "An error occurred while attempting to send a UART command. Please try again..."; + } + } + + /// + /// Sometimes the user might want to send a custom command. Let them do that here! + /// + /// + /// + private void btnSendCommand_Click(object sender, EventArgs e) + { + if (txtCustomCommand.Text == string.Empty) + MessageBox.Show("Please connect to UART before attempting to send commands.", "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Warning); + + // Let's read the error codes from UART + txtUARTOutput.Text = string.Empty; + + if (!UARTSerial.IsOpen) + { + MessageBox.Show("Please enter a command to send via UART.", "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Warning); + + return; + } + + try + { + + List UARTLines = new(); + + var checksum = Utilities.CalculateChecksum(txtCustomCommand.Text); + UARTSerial.WriteLine(checksum); + do + { + + var line = UARTSerial.ReadLine(); + if (!string.Equals($"{txtCustomCommand.Text}:{checksum:X2}", line, StringComparison.InvariantCultureIgnoreCase)) + { + UARTLines.Add(line); + } + + } while (UARTSerial.BytesToRead != 0); + + foreach (var l in UARTLines) + { + var split = l.Split(' '); + if (!split.Any()) continue; + switch (split[0]) + { + case "NG": + txtUARTOutput.Text = "ERROR: " + l; + break; + case "OK": + txtUARTOutput.Text = "SUCCESS: " + l; + break; + } + } + } + + catch (Exception ex) + { + MessageBox.Show(ex.Message, "An error occurred...", MessageBoxButtons.OK, MessageBoxIcon.Error); + toolStripStatusLabel.Text = "An error occurred while reading error codes from UART. Please try again..."; + } + } + + /// + /// If the user presses the enter key while using the custom command box, handle it by programmatically pressing the + /// send button. This is more of a convenience thing really! + /// + /// + /// + private void txtCustomCommand_KeyPress(object sender, KeyPressEventArgs e) + { + if (e.KeyChar == (char)Keys.Enter) + { + btnSendCommand.PerformClick(); + } + } +} \ No newline at end of file diff --git a/PS5 NOR Modifier/Form1.resx b/PS5 NOR Modifier/MainForm.resx similarity index 53% rename from PS5 NOR Modifier/Form1.resx rename to PS5 NOR Modifier/MainForm.resx index 0184f73..39c7f6b 100644 --- a/PS5 NOR Modifier/Form1.resx +++ b/PS5 NOR Modifier/MainForm.resx @@ -1,81 +1,141 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - The PS5 NOR modifier is a Windows GUI tool created by TheCod3r to make rewriting NOR flash rom files quickly and easily. -TheCod3r is a hardware technician and amatuer software developer who spends a lot of time on research and development for the PS5, -Xbox Series consoles etc. Remember that this takes time, so if you find any value in my software, please consider supporting me with a donation. - - - Please consider supporting my work and time with a small donation. Your contribution will make my wallet happy and help feed my -coffee addiction! Click here to donate to me. Even a dollar helps :) Don't forget to subscribe to me on YouTube too! - - - 17, 17 - - - You can send custom commands -with UART using this feature. Note -that any command entered here -will return unparsed results. Please -also be sure to know what you are -doing as sending unsafe commands -can damage your device. - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + The PS5 NOR modifier is a Windows GUI tool created by TheCod3r to make rewriting NOR flash rom files quickly and easily. +TheCod3r is a hardware technician and amatuer software developer who spends a lot of time on research and development for the PS5, +Xbox Series consoles etc. Remember that this takes time, so if you find any value in my software, please consider supporting me with a donation. + + + Please consider supporting my work and time with a small donation. Your contribution will make my wallet happy and help feed my +coffee addiction! Click here to donate to me. Even a dollar helps :) Don't forget to subscribe to me on YouTube too! + + + 17, 17 + + + You can send custom commands +with UART using this feature. Note +that any command entered here +will return unparsed results. Please +also be sure to know what you are +doing as sending unsafe commands +can damage your device. + \ No newline at end of file diff --git a/PS5 NOR Modifier/PS5 NOR Modifier.csproj b/PS5 NOR Modifier/PS5 NOR Modifier.csproj index 811a503..c284910 100644 --- a/PS5 NOR Modifier/PS5 NOR Modifier.csproj +++ b/PS5 NOR Modifier/PS5 NOR Modifier.csproj @@ -14,19 +14,19 @@ - none + full - none + full - none + full - none + full diff --git a/PS5 NOR Modifier/PS5 NOR Modifier.csproj.user b/PS5 NOR Modifier/PS5 NOR Modifier.csproj.user index 834d222..94b3cf7 100644 --- a/PS5 NOR Modifier/PS5 NOR Modifier.csproj.user +++ b/PS5 NOR Modifier/PS5 NOR Modifier.csproj.user @@ -4,7 +4,7 @@ <_LastSelectedProfileId>C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\Properties\PublishProfiles\FolderProfile.pubxml - + Form diff --git a/PS5 NOR Modifier/Program.cs b/PS5 NOR Modifier/Program.cs index 62a6e6b..ae22a3f 100644 --- a/PS5 NOR Modifier/Program.cs +++ b/PS5 NOR Modifier/Program.cs @@ -11,7 +11,7 @@ static void Main() // To customize application configuration such as set high DPI settings or default font, // see https://aka.ms/applicationconfiguration. ApplicationConfiguration.Initialize(); - Application.Run(new Form1()); + Application.Run(new MainForm()); } } } \ No newline at end of file diff --git a/PS5 NOR Modifier/Utilities.cs b/PS5 NOR Modifier/Utilities.cs new file mode 100644 index 0000000..974db55 --- /dev/null +++ b/PS5 NOR Modifier/Utilities.cs @@ -0,0 +1,333 @@ +using System.Text; +using System.Globalization; +using System.Text.RegularExpressions; + +namespace PS5_NOR_Modifier; + +public enum PlaystationFiveModel +{ + DiscEdition, + DigitalEdition +} + +public static class Utilities +{ + // Declare offsets to detect console version + private const long ps5VersionOffsetOne = 0x1c7010; + private const long ps5VersionOffsetTwo = 0x1c7030; + private const int ps5VersionOffsetLength = 12; + + private const long WiFiMacOffset = 0x1C73C0; + private const long LANMacOffset = 0x1C4020; + private const int macAddressLength = 6; + + private const long serialOffset = 0x1c7210; + private const long moboSerialOffset = 0x1C7200; + public const int serialLength = 17; + + private const long variantOffset = 0x1c7226; + private const int variantOffsetLength = 19; + + public static readonly Dictionary PlaystationModelLookup = new () + { + { "Disc Edition", PlaystationFiveModel.DigitalEdition }, + { "Digital Edition", PlaystationFiveModel.DiscEdition } + }; + + public static void TryCatchErrors(in Action action, in Action? catchAction = null) + { + try + { + action(); + } + + catch (Exception ex) + { + ThrowError(ex.Message); + catchAction?.Invoke(ex); + } + } + + public static async Task TryCatchErrorsAsync(Task asyncAction, Action? catchAction = null) + { + try + { + await asyncAction; + } + + catch (Exception ex) + { + ThrowError(ex.Message); + catchAction?.Invoke(ex); + } + } + + public static void ThrowError(in string errmsg) + { + MessageBox.Show(errmsg, "An Error Has Occurred", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + + /// + /// With thanks to @jjxtra on Github. The code has already been created and there's no need to reinvent the wheel is there? + /// + #region Hex Code + + public static IEnumerable PatternAt(byte[] source, byte[] pattern) + { + for (int i = 0; i < source.Length; i++) + { + if (source.Skip(i).Take(pattern.Length).SequenceEqual(pattern)) + { + yield return i; + } + } + } + + public static byte[] ConvertHexStringToByteArray(in string hexString) + { + if (hexString.Length % 2 != 0) + { + throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, "The binary key cannot have an odd number of digits: {0}", hexString)); + } + + byte[] data = new byte[hexString.Length / 2]; + for (int index = 0; index < data.Length; index++) + { + string byteValue = hexString.Substring(index * 2, 2); + data[index] = byte.Parse(byteValue, NumberStyles.HexNumber, CultureInfo.InvariantCulture); + } + + return data; + } + + #endregion + + public static string HexStringToString(in string hexString) + { + if (hexString == null || (hexString.Length & 1) == 1) + { + throw new ArgumentException(); + } + var sb = new StringBuilder(); + for (var i = 0; i < hexString.Length; i += 2) + { + var hexChar = hexString.Substring(i, 2); + sb.Append((char)Convert.ToByte(hexChar, 16)); + } + return sb.ToString(); + } + + public static string CalculateChecksum(in string str) + { + int sum = 0; + foreach (char c in str) + { + sum += (int)c; + } + return str + ":" + (sum & 0xFF).ToString("X2"); + } + + public static void ChangeSerialNumber(in string fileName, in string currentSerialNumber, in string newSerialNumber) + { + byte[] oldSerial = Encoding.UTF8.GetBytes(currentSerialNumber); + string oldSerialHex = Convert.ToHexString(oldSerial); + + byte[] newSerial = Encoding.UTF8.GetBytes(newSerialNumber); + string newSerialHex = Convert.ToHexString(newSerial); + + byte[] find = Utilities.ConvertHexStringToByteArray(Regex.Replace(oldSerialHex, "0x|[ ,]", string.Empty).Normalize().Trim()); + byte[] replace = Utilities.ConvertHexStringToByteArray(Regex.Replace(newSerialHex, "0x|[ ,]", string.Empty).Normalize().Trim()); + + byte[] bytes = File.ReadAllBytes(fileName); + foreach (int index in Utilities.PatternAt(bytes, find)) + { + for (int i = index, replaceIndex = 0; i < bytes.Length && replaceIndex < replace.Length; i++, replaceIndex++) + { + bytes[i] = replace[replaceIndex]; + } + File.WriteAllBytes(fileName, bytes); + } + } + + public static void SetBoardVariant(in string fileName, in string currentBoardVariant, in string newBoardVariant) + { + if (currentBoardVariant == newBoardVariant) + return; + + byte[] oldVariant = Encoding.UTF8.GetBytes(currentBoardVariant); + string oldVariantHex = Convert.ToHexString(oldVariant); + + byte[] newVariantSelection = Encoding.UTF8.GetBytes(newBoardVariant); + string newVariantHex = Convert.ToHexString(newVariantSelection); + + byte[] find = Utilities.ConvertHexStringToByteArray(Regex.Replace(oldVariantHex, "0x|[ ,]", string.Empty).Normalize().Trim()); + byte[] replace = Utilities.ConvertHexStringToByteArray(Regex.Replace(newVariantHex, "0x|[ ,]", string.Empty).Normalize().Trim()); + + byte[] bytes = File.ReadAllBytes(fileName); + foreach (int index in Utilities.PatternAt(bytes, find)) + { + for (int i = index, replaceIndex = 0; i < bytes.Length && replaceIndex < replace.Length; i++, replaceIndex++) + { + bytes[i] = replace[replaceIndex]; + } + File.WriteAllBytes(fileName, bytes); + } + } + + public static void SetNewModelInfo(string fileName, in PlaystationFiveModel currentModel, in PlaystationFiveModel newModel) + { + if (currentModel == newModel) + return; + + string find = string.Empty; + string replace = string.Empty; + + if (currentModel == PlaystationFiveModel.DiscEdition) + { + find = "22020101"; + replace = "22030101"; + } + + else if (currentModel == PlaystationFiveModel.DigitalEdition) + { + find = "22030101"; + replace = "22020101"; + } + + Utilities.TryCatchErrors(() => + { + byte[] findBytes = Utilities.ConvertHexStringToByteArray(Regex.Replace(find, "0x|[ ,]", string.Empty).Normalize().Trim()); + byte[] replaceBytes = Utilities.ConvertHexStringToByteArray(Regex.Replace(replace, "0x|[ ,]", string.Empty).Normalize().Trim()); + if (find.Length != replace.Length) + throw new Exception("The length of the old hex value does not match the length of the new hex value!"); + + byte[] bytes = File.ReadAllBytes(fileName); + foreach (int index in Utilities.PatternAt(bytes, findBytes)) + { + for (int i = index, replaceIndex = 0; i < bytes.Length && replaceIndex < replace.Length; i++, replaceIndex++) + { + bytes[i] = replaceBytes[replaceIndex]; + } + File.WriteAllBytes(fileName, bytes); + } + + }, + (_) => ThrowError("An error occurred while saving your BIOS file")); + } + + public static string? TryReadValueAtFileStreamOffset(in BinaryReader fileBinaryReader, in long offset, in int length, in bool closeReader = false) + { + string? value = null; + + try + { + if (!fileBinaryReader.BaseStream.CanRead) + throw new Exception("fileBinaryReader is unable to read file stream!"); + + fileBinaryReader.BaseStream.Position = offset; + value = BitConverter.ToString(fileBinaryReader.ReadBytes(length)); + + if (closeReader) + fileBinaryReader.Close(); + } + + catch + { + return value; + } + + return value; + } + + public static string ExtractPS5Version(in BinaryReader reader, in bool closeReader = false) + { + // File stream offset one + string? ps5VersionOffsetOneValue = TryReadValueAtFileStreamOffset(reader, ps5VersionOffsetOne, ps5VersionOffsetLength)?.Replace("-", null); + + // File stream offset two + string? ps5VersionOffsetTwoValue = TryReadValueAtFileStreamOffset(reader, ps5VersionOffsetTwo, ps5VersionOffsetLength, closeReader)?.Replace("-", null); + + if (ps5VersionOffsetOneValue?.Contains("22020101") ?? false) + return "Disc Edition"; + + if (ps5VersionOffsetTwoValue?.Contains("22030101") ?? false) + return "Digital Edition"; + + return "Unknown"; + } + + public static string ExtractMotherboardSerialNumber(in BinaryReader reader, in bool closeReader = false) + { + string? moboSerialValue = TryReadValueAtFileStreamOffset(reader, moboSerialOffset, serialLength, closeReader)?.Replace("-", null); + + if (moboSerialValue is not null) + return HexStringToString(moboSerialValue); + + return "Unknown"; + } + + public static string ExtractBoardSerialNumber(in BinaryReader reader, in bool closeReader = false) + { + string? serialValue = TryReadValueAtFileStreamOffset(reader, serialOffset, serialLength, closeReader)?.Replace("-", null); + + if (serialValue is not null) + return HexStringToString(serialValue); + + + return "Unknown"; + } + + public static string ExtractWiFiMacAddress(in BinaryReader reader, in bool closeReader = false) + { + string? WiFiMacValue = TryReadValueAtFileStreamOffset(reader, WiFiMacOffset, macAddressLength, closeReader); + + if (WiFiMacValue is not null) + return WiFiMacValue; + + return "Unknown"; + } + + public static string ExtractLANMacAddress(in BinaryReader reader, in bool closeReader = false) + { + string? LANMacValue = TryReadValueAtFileStreamOffset(reader, WiFiMacOffset, macAddressLength, closeReader); + + if (LANMacValue is not null) + return LANMacValue; + + return "Unknown"; + } + + public static string ExtractBoardVariant(in BinaryReader reader, in bool closeReader = false) + { + string? variantValue = TryReadValueAtFileStreamOffset(reader, variantOffset, variantOffsetLength, closeReader)?.Replace("-", null).Replace("FF", null); + + if (variantValue is not null) + variantValue = HexStringToString(variantValue); + else + variantValue = "Unknown"; + + return variantValue switch + { + _ when variantValue.EndsWith("00A") || variantValue.EndsWith("00B") => " - Japan", + + _ when variantValue.EndsWith("01A") || variantValue.EndsWith("01B") || + variantValue.EndsWith("15A") || variantValue.EndsWith("15B") => " - US, Canada, (North America)", + + _ when variantValue.EndsWith("02A") || variantValue.EndsWith("02B") => " - Australia / New Zealand, (Oceania)", + _ when variantValue.EndsWith("03A") || variantValue.EndsWith("03B") => " - United Kingdom / Ireland", + _ when variantValue.EndsWith("04A") || variantValue.EndsWith("04B") => " - Europe / Middle East / Africa", + _ when variantValue.EndsWith("05A") || variantValue.EndsWith("05B") => " - South Korea", + _ when variantValue.EndsWith("06A") || variantValue.EndsWith("06B") => " - Southeast Asia / Hong Kong", + _ when variantValue.EndsWith("07A") || variantValue.EndsWith("07B") => " - Taiwan", + _ when variantValue.EndsWith("08A") || variantValue.EndsWith("08B") => " - Russia, Ukraine, India, Central Asia", + _ when variantValue.EndsWith("09A") || variantValue.EndsWith("09B") => " - Mainland China", + + _ when variantValue.EndsWith("11A") || variantValue.EndsWith("11B") || variantValue.EndsWith("14A") || + variantValue.EndsWith("14B") => " - Mexico, Central America, South America", + + _ when variantValue.EndsWith("16A") || variantValue.EndsWith("16B") => " - Europe / Middle East / Africa", + _ when variantValue.EndsWith("18A") || variantValue.EndsWith("18B") => " - Singapore, Korea, Asia", + _ => " - Unknown Region" + }; + } +} diff --git a/PS5 NOR Modifier/obj/Debug/PS5 NOR Modifier.1.0.0.nuspec b/PS5 NOR Modifier/obj/Debug/PS5 NOR Modifier.1.0.0.nuspec deleted file mode 100644 index e69de29..0000000 diff --git a/PS5 NOR Modifier/obj/Debug/net6.0-windows/PS5 NOR Modifier.csproj.BuildWithSkipAnalyzers b/PS5 NOR Modifier/obj/Debug/net6.0-windows/PS5 NOR Modifier.csproj.BuildWithSkipAnalyzers deleted file mode 100644 index e69de29..0000000 diff --git a/PS5 NOR Modifier/obj/Debug/net6.0-windows/PS5 NOR Modifier.pdb b/PS5 NOR Modifier/obj/Debug/net6.0-windows/PS5 NOR Modifier.pdb deleted file mode 100644 index f8c1564..0000000 Binary files a/PS5 NOR Modifier/obj/Debug/net6.0-windows/PS5 NOR Modifier.pdb and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Debug/net6.0-windows/PS5_NOR_Modifier.Properties.Resources.resources b/PS5 NOR Modifier/obj/Debug/net6.0-windows/PS5_NOR_Modifier.Properties.Resources.resources deleted file mode 100644 index 6a510da..0000000 Binary files a/PS5 NOR Modifier/obj/Debug/net6.0-windows/PS5_NOR_Modifier.Properties.Resources.resources and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Debug/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll b/PS5 NOR Modifier/obj/Debug/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll deleted file mode 100644 index 4ad4a84..0000000 Binary files a/PS5 NOR Modifier/obj/Debug/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/PS5 NOR Modifier.csproj.nuget.g.targets b/PS5 NOR Modifier/obj/PS5 NOR Modifier.csproj.nuget.g.targets deleted file mode 100644 index 35a7576..0000000 --- a/PS5 NOR Modifier/obj/PS5 NOR Modifier.csproj.nuget.g.targets +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/Release/PS5 NOR Modifier.1.0.0.nuspec b/PS5 NOR Modifier/obj/Release/PS5 NOR Modifier.1.0.0.nuspec deleted file mode 100644 index e69de29..0000000 diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfo.cs b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfo.cs deleted file mode 100644 index bc66c1f..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyTitleAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] -[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfoInputs.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfoInputs.cache deleted file mode 100644 index ff84b70..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -0905e048a579f1f5fc3c914c9da10ab85fe3fde8 diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 9fcb696..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,16 +0,0 @@ -is_global = true -build_property.ApplicationManifest = -build_property.StartupObject = -build_property.ApplicationDefaultFont = -build_property.ApplicationHighDpiMode = -build_property.ApplicationUseCompatibleTextRendering = -build_property.ApplicationVisualStyles = -build_property.TargetFramework = net6.0-windows -build_property.TargetPlatformMinVersion = 7.0 -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = PS5_NOR_Modifier -build_property.ProjectDir = C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.GlobalUsings.g.cs b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.GlobalUsings.g.cs deleted file mode 100644 index fea4009..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.GlobalUsings.g.cs +++ /dev/null @@ -1,10 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.Drawing; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; -global using global::System.Windows.Forms; diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.assets.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.assets.cache deleted file mode 100644 index 0467a85..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.assets.cache and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.AssemblyReference.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.AssemblyReference.cache deleted file mode 100644 index 1ec9007..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.AssemblyReference.cache and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.BuildWithSkipAnalyzers b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.BuildWithSkipAnalyzers deleted file mode 100644 index e69de29..0000000 diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.CopyComplete b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.CoreCompileInputs.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.CoreCompileInputs.cache deleted file mode 100644 index c28ee7e..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -104dc47a7cc9b677169d69d0e9fa6a9cb683770b diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.FileListAbsolute.txt b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.FileListAbsolute.txt deleted file mode 100644 index e69de29..0000000 diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.GenerateResource.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.GenerateResource.cache deleted file mode 100644 index 011eb67..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.csproj.GenerateResource.cache and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.designer.deps.json b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.designer.deps.json deleted file mode 100644 index cf56685..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.designer.deps.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "runtimeTarget": { - "name": ".NETCoreApp,Version=v6.0", - "signature": "" - }, - "compilationOptions": {}, - "targets": { - ".NETCoreApp,Version=v6.0": { - "runtime.linux-arm.runtime.native.System.IO.Ports/8.0.0": { - "runtimeTargets": { - "runtimes/linux-arm/native/libSystem.IO.Ports.Native.so": { - "rid": "linux-arm", - "assetType": "native", - "fileVersion": "0.0.0.0" - } - } - }, - "runtime.linux-arm64.runtime.native.System.IO.Ports/8.0.0": { - "runtimeTargets": { - "runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so": { - "rid": "linux-arm64", - "assetType": "native", - "fileVersion": "0.0.0.0" - } - } - }, - "runtime.linux-x64.runtime.native.System.IO.Ports/8.0.0": { - "runtimeTargets": { - "runtimes/linux-x64/native/libSystem.IO.Ports.Native.so": { - "rid": "linux-x64", - "assetType": "native", - "fileVersion": "0.0.0.0" - } - } - }, - "runtime.native.System.IO.Ports/8.0.0": { - "dependencies": { - "runtime.linux-arm.runtime.native.System.IO.Ports": "8.0.0", - "runtime.linux-arm64.runtime.native.System.IO.Ports": "8.0.0", - "runtime.linux-x64.runtime.native.System.IO.Ports": "8.0.0", - "runtime.osx-arm64.runtime.native.System.IO.Ports": "8.0.0", - "runtime.osx-x64.runtime.native.System.IO.Ports": "8.0.0" - } - }, - "runtime.osx-arm64.runtime.native.System.IO.Ports/8.0.0": { - "runtimeTargets": { - "runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib": { - "rid": "osx-arm64", - "assetType": "native", - "fileVersion": "0.0.0.0" - } - } - }, - "runtime.osx-x64.runtime.native.System.IO.Ports/8.0.0": { - "runtimeTargets": { - "runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib": { - "rid": "osx-x64", - "assetType": "native", - "fileVersion": "0.0.0.0" - } - } - }, - "System.IO.Ports/8.0.0": { - "dependencies": { - "runtime.native.System.IO.Ports": "8.0.0" - }, - "runtime": { - "lib/net6.0/System.IO.Ports.dll": { - "assemblyVersion": "8.0.0.0", - "fileVersion": "8.0.23.53103" - } - }, - "runtimeTargets": { - "runtimes/unix/lib/net6.0/System.IO.Ports.dll": { - "rid": "unix", - "assetType": "runtime", - "assemblyVersion": "8.0.0.0", - "fileVersion": "8.0.23.53103" - }, - "runtimes/win/lib/net6.0/System.IO.Ports.dll": { - "rid": "win", - "assetType": "runtime", - "assemblyVersion": "8.0.0.0", - "fileVersion": "8.0.23.53103" - } - } - } - } - }, - "libraries": { - "runtime.linux-arm.runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-gK720fg6HemDg8sXcfy+xCMZ9+hF78Gc7BmREbmkS4noqlu1BAr9qZtuWGhLzFjBfgecmdtl4+SYVwJ1VneZBQ==", - "path": "runtime.linux-arm.runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.linux-arm.runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "runtime.linux-arm64.runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-KYG6/3ojhEWbb3FwQAKgGWPHrY+HKUXXdVjJlrtyCLn3EMcNTaNcPadb2c0ndQzixZSmAxZKopXJr0nLwhOrpQ==", - "path": "runtime.linux-arm64.runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.linux-arm64.runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "runtime.linux-x64.runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-Wnw5vhA4mgGbIFoo6l9Fk3iEcwRSq49a1aKwJgXUCUtEQLCSUDjTGSxqy/oMUuOyyn7uLHsH8KgZzQ1y3lReiQ==", - "path": "runtime.linux-x64.runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.linux-x64.runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-Ee7Sz5llLpTgyKIWzKI/GeuRSbFkOABgJRY00SqTY0OkTYtkB+9l5rFZfE7fxPA3c22RfytCBYkUdAkcmwMjQg==", - "path": "runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "runtime.osx-arm64.runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-rbUBLAaFW9oVkbsb0+XSrAo2QdhBeAyzLl5KQ6Oci9L/u626uXGKInsVJG6B9Z5EO8bmplC8tsMiaHK8wOBZ+w==", - "path": "runtime.osx-arm64.runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.osx-arm64.runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "runtime.osx-x64.runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-IcfB4jKtM9pkzP9OpYelEcUX1MiDt0IJPBh3XYYdEISFF+6Mc+T8WWi0dr9wVh1gtcdVjubVEIBgB8BHESlGfQ==", - "path": "runtime.osx-x64.runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.osx-x64.runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-MaiPbx2/QXZc62gm/DrajRrGPG1lU4m08GWMoWiymPYM+ba4kfACp2PbiYpqJ4QiFGhHD00zX3RoVDTucjWe9g==", - "path": "system.io.ports/8.0.0", - "hashPath": "system.io.ports.8.0.0.nupkg.sha512" - } - } -} \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.designer.runtimeconfig.json b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.designer.runtimeconfig.json deleted file mode 100644 index de0f4d1..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.designer.runtimeconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "net6.0", - "frameworks": [ - { - "name": "Microsoft.NETCore.App", - "version": "6.0.0" - }, - { - "name": "Microsoft.WindowsDesktop.App", - "version": "6.0.0" - } - ], - "additionalProbingPaths": [ - "C:\\Users\\TheCod3r\\.dotnet\\store\\|arch|\\|tfm|", - "C:\\Users\\TheCod3r\\.nuget\\packages", - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configProperties": { - "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, - "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true - } - } -} \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.dll b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.dll deleted file mode 100644 index 4cb46d2..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.genruntimeconfig.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.genruntimeconfig.cache deleted file mode 100644 index 0bb648c..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5 NOR Modifier.genruntimeconfig.cache +++ /dev/null @@ -1 +0,0 @@ -99fa3dff72da2458eca15640e2752da056b417db diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5_NOR_Modifier.Form1.resources b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5_NOR_Modifier.Form1.resources deleted file mode 100644 index ea60496..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5_NOR_Modifier.Form1.resources and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5_NOR_Modifier.Properties.Resources.resources b/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5_NOR_Modifier.Properties.Resources.resources deleted file mode 100644 index 6a510da..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/PS5_NOR_Modifier.Properties.Resources.resources and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll b/PS5 NOR Modifier/obj/Release/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll deleted file mode 100644 index 4ad4a84..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/apphost.exe b/PS5 NOR Modifier/obj/Release/net6.0-windows/apphost.exe deleted file mode 100644 index 6ae8207..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/apphost.exe and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/ref/PS5 NOR Modifier.dll b/PS5 NOR Modifier/obj/Release/net6.0-windows/ref/PS5 NOR Modifier.dll deleted file mode 100644 index f3fcf32..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/ref/PS5 NOR Modifier.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/refint/PS5 NOR Modifier.dll b/PS5 NOR Modifier/obj/Release/net6.0-windows/refint/PS5 NOR Modifier.dll deleted file mode 100644 index f3fcf32..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/refint/PS5 NOR Modifier.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/Launcher.exe b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/Launcher.exe deleted file mode 100644 index 73c8193..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/Launcher.exe and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.AssemblyInfo.cs b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.AssemblyInfo.cs deleted file mode 100644 index bc66c1f..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.AssemblyInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyTitleAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] -[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.AssemblyInfoInputs.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.AssemblyInfoInputs.cache deleted file mode 100644 index ff84b70..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -0905e048a579f1f5fc3c914c9da10ab85fe3fde8 diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 13e6fc9..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,19 +0,0 @@ -is_global = true -build_property.ApplicationManifest = -build_property.StartupObject = -build_property.ApplicationDefaultFont = -build_property.ApplicationHighDpiMode = -build_property.ApplicationUseCompatibleTextRendering = -build_property.ApplicationVisualStyles = -build_property.TargetFramework = net6.0-windows -build_property.TargetPlatformMinVersion = 7.0 -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.EnableSingleFileAnalyzer = true -build_property.EnableTrimAnalyzer = -build_property.IncludeAllContentForSelfExtract = -build_property.RootNamespace = PS5_NOR_Modifier -build_property.ProjectDir = C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.GlobalUsings.g.cs b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.GlobalUsings.g.cs deleted file mode 100644 index fea4009..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.GlobalUsings.g.cs +++ /dev/null @@ -1,10 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.Drawing; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; -global using global::System.Windows.Forms; diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.assets.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.assets.cache deleted file mode 100644 index e433d10..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.assets.cache and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.AssemblyReference.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.AssemblyReference.cache deleted file mode 100644 index 2534fbf..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.AssemblyReference.cache and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.CoreCompileInputs.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.CoreCompileInputs.cache deleted file mode 100644 index a63b506..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -2c3e6b4db1f3da8984ca8a19c2a95eea05ad8946 diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.FileListAbsolute.txt b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.FileListAbsolute.txt deleted file mode 100644 index ac8fa88..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,17 +0,0 @@ -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\Release\net6.0-windows\win-x86\PS5 NOR Modifier.deps.json -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\Release\net6.0-windows\win-x86\PS5 NOR Modifier.runtimeconfig.json -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\Release\net6.0-windows\win-x86\PS5 NOR Modifier.exe -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\Release\net6.0-windows\win-x86\PS5 NOR Modifier.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\PS5 NOR Modifier.csproj.AssemblyReference.cache -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\PS5_NOR_Modifier.Form1.resources -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\PS5_NOR_Modifier.Properties.Resources.resources -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\PS5 NOR Modifier.csproj.GenerateResource.cache -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\PS5 NOR Modifier.AssemblyInfoInputs.cache -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\PS5 NOR Modifier.AssemblyInfo.cs -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\PS5 NOR Modifier.csproj.CoreCompileInputs.cache -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\PS5 NOR Modifier.genruntimeconfig.cache -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\PS5 NOR Modifier.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\refint\PS5 NOR Modifier.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\Release\net6.0-windows\win-x86\ref\PS5 NOR Modifier.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\Release\net6.0-windows\win-x86\PS5 NOR Modifier.dll.config diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.GenerateResource.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.GenerateResource.cache deleted file mode 100644 index 763b37f..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.csproj.GenerateResource.cache and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.dll b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.dll deleted file mode 100644 index 72b71d1..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.genruntimeconfig.cache b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.genruntimeconfig.cache deleted file mode 100644 index 9ae42aa..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5 NOR Modifier.genruntimeconfig.cache +++ /dev/null @@ -1 +0,0 @@ -03033781f3ceaeed8a47a5830e6f428743683b75 diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5_NOR_Modifier.Form1.resources b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5_NOR_Modifier.Form1.resources deleted file mode 100644 index e0d4c59..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5_NOR_Modifier.Form1.resources and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5_NOR_Modifier.Properties.Resources.resources b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5_NOR_Modifier.Properties.Resources.resources deleted file mode 100644 index 6a510da..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PS5_NOR_Modifier.Properties.Resources.resources and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PublishOutputs.c10d7b956b.txt b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PublishOutputs.c10d7b956b.txt deleted file mode 100644 index 095a3ab..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PublishOutputs.c10d7b956b.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\publish\PS5 NOR Modifier.pdb -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\publish\D3DCompiler_47_cor3.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\publish\PenImc_cor3.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\publish\PresentationNative_cor3.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\publish\vcruntime140_cor3.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\publish\wpfgfx_cor3.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\publish\PS5 NOR Modifier.exe diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PublishOutputs.cdbd6ff0f2.txt b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PublishOutputs.cdbd6ff0f2.txt deleted file mode 100644 index 85b5c7e..0000000 --- a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/PublishOutputs.cdbd6ff0f2.txt +++ /dev/null @@ -1,2 +0,0 @@ -C:\Users\TheCod3r\Desktop\PS5 NOR Modifier\PS5 NOR Modifier.dll.config -C:\Users\TheCod3r\Desktop\PS5 NOR Modifier\PS5 NOR Modifier.exe diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/apphost.exe b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/apphost.exe deleted file mode 100644 index 6ae8207..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/apphost.exe and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/ref/PS5 NOR Modifier.dll b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/ref/PS5 NOR Modifier.dll deleted file mode 100644 index e509324..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/ref/PS5 NOR Modifier.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/refint/PS5 NOR Modifier.dll b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/refint/PS5 NOR Modifier.dll deleted file mode 100644 index e509324..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/refint/PS5 NOR Modifier.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/singlefilehost.exe b/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/singlefilehost.exe deleted file mode 100644 index eb37e47..0000000 Binary files a/PS5 NOR Modifier/obj/Release/net6.0-windows/win-x86/singlefilehost.exe and /dev/null differ diff --git a/PS5 NOR Modifier/obj/publish/win-x86/PS5 NOR Modifier.csproj.nuget.dgspec.json b/PS5 NOR Modifier/obj/publish/win-x86/PS5 NOR Modifier.csproj.nuget.dgspec.json deleted file mode 100644 index 909f38b..0000000 --- a/PS5 NOR Modifier/obj/publish/win-x86/PS5 NOR Modifier.csproj.nuget.dgspec.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "format": 1, - "restore": { - "C:\\Users\\TheCod3r\\source\\repos\\PS5 NOR Modifier\\PS5 NOR Modifier\\PS5 NOR Modifier.csproj": {} - }, - "projects": { - "C:\\Users\\TheCod3r\\source\\repos\\PS5 NOR Modifier\\PS5 NOR Modifier\\PS5 NOR Modifier.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\Users\\TheCod3r\\source\\repos\\PS5 NOR Modifier\\PS5 NOR Modifier\\PS5 NOR Modifier.csproj", - "projectName": "PS5 NOR Modifier", - "projectPath": "C:\\Users\\TheCod3r\\source\\repos\\PS5 NOR Modifier\\PS5 NOR Modifier\\PS5 NOR Modifier.csproj", - "packagesPath": "C:\\Users\\TheCod3r\\.nuget\\packages\\", - "outputPath": "C:\\Users\\TheCod3r\\source\\repos\\PS5 NOR Modifier\\PS5 NOR Modifier\\obj\\publish\\win-x86\\", - "projectStyle": "PackageReference", - "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configFilePaths": [ - "C:\\Users\\TheCod3r\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net6.0-windows" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net6.0-windows7.0": { - "targetAlias": "net6.0-windows", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net6.0-windows7.0": { - "targetAlias": "net6.0-windows", - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - }, - "Microsoft.WindowsDesktop.App.WindowsForms": { - "privateAssets": "none" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.401\\RuntimeIdentifierGraph.json" - } - }, - "runtimes": { - "win-x86": { - "#import": [] - } - } - } - } -} \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/publish/win-x86/PS5 NOR Modifier.csproj.nuget.g.props b/PS5 NOR Modifier/obj/publish/win-x86/PS5 NOR Modifier.csproj.nuget.g.props deleted file mode 100644 index b67618a..0000000 --- a/PS5 NOR Modifier/obj/publish/win-x86/PS5 NOR Modifier.csproj.nuget.g.props +++ /dev/null @@ -1,16 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - $(UserProfile)\.nuget\packages\ - C:\Users\TheCod3r\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages - PackageReference - 6.3.0 - - - - - - \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/publish/win-x86/PS5 NOR Modifier.csproj.nuget.g.targets b/PS5 NOR Modifier/obj/publish/win-x86/PS5 NOR Modifier.csproj.nuget.g.targets deleted file mode 100644 index 35a7576..0000000 --- a/PS5 NOR Modifier/obj/publish/win-x86/PS5 NOR Modifier.csproj.nuget.g.targets +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/publish/win-x86/project.assets.json b/PS5 NOR Modifier/obj/publish/win-x86/project.assets.json deleted file mode 100644 index 9ee596c..0000000 --- a/PS5 NOR Modifier/obj/publish/win-x86/project.assets.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "version": 3, - "targets": { - "net6.0-windows7.0": {}, - "net6.0-windows7.0/win-x86": {} - }, - "libraries": {}, - "projectFileDependencyGroups": { - "net6.0-windows7.0": [] - }, - "packageFolders": { - "C:\\Users\\TheCod3r\\.nuget\\packages\\": {}, - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} - }, - "project": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\Users\\TheCod3r\\source\\repos\\PS5 NOR Modifier\\PS5 NOR Modifier\\PS5 NOR Modifier.csproj", - "projectName": "PS5 NOR Modifier", - "projectPath": "C:\\Users\\TheCod3r\\source\\repos\\PS5 NOR Modifier\\PS5 NOR Modifier\\PS5 NOR Modifier.csproj", - "packagesPath": "C:\\Users\\TheCod3r\\.nuget\\packages\\", - "outputPath": "C:\\Users\\TheCod3r\\source\\repos\\PS5 NOR Modifier\\PS5 NOR Modifier\\obj\\publish\\win-x86\\", - "projectStyle": "PackageReference", - "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configFilePaths": [ - "C:\\Users\\TheCod3r\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net6.0-windows" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net6.0-windows7.0": { - "targetAlias": "net6.0-windows", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net6.0-windows7.0": { - "targetAlias": "net6.0-windows", - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - }, - "Microsoft.WindowsDesktop.App.WindowsForms": { - "privateAssets": "none" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.401\\RuntimeIdentifierGraph.json" - } - }, - "runtimes": { - "win-x86": { - "#import": [] - } - } - } -} \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/publish/win-x86/project.nuget.cache b/PS5 NOR Modifier/obj/publish/win-x86/project.nuget.cache deleted file mode 100644 index c15dcc5..0000000 --- a/PS5 NOR Modifier/obj/publish/win-x86/project.nuget.cache +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "KP7zNsXGSxUI5pN9/uep4EIphIH8T+HL4hDOXVOZ5++3JFZ/X3CgEOy/h4ItGNOaCjno3vrhm8IrkhwZmviI3Q==", - "success": true, - "projectFilePath": "C:\\Users\\TheCod3r\\source\\repos\\PS5 NOR Modifier\\PS5 NOR Modifier\\PS5 NOR Modifier.csproj", - "expectedPackageFiles": [], - "logs": [] -} \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.AssemblyInfo.cs b/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.AssemblyInfo.cs deleted file mode 100644 index 10edafb..0000000 --- a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.AssemblyInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyTitleAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] -[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.AssemblyInfoInputs.cache b/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.AssemblyInfoInputs.cache deleted file mode 100644 index d2e8afb..0000000 --- a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -eb25b2fe1471df89aadd004687d45f0dcd63d87b diff --git a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig b/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 9fcb696..0000000 --- a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,16 +0,0 @@ -is_global = true -build_property.ApplicationManifest = -build_property.StartupObject = -build_property.ApplicationDefaultFont = -build_property.ApplicationHighDpiMode = -build_property.ApplicationUseCompatibleTextRendering = -build_property.ApplicationVisualStyles = -build_property.TargetFramework = net6.0-windows -build_property.TargetPlatformMinVersion = 7.0 -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = PS5_NOR_Modifier -build_property.ProjectDir = C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\ diff --git a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.GlobalUsings.g.cs b/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.GlobalUsings.g.cs deleted file mode 100644 index fea4009..0000000 --- a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.GlobalUsings.g.cs +++ /dev/null @@ -1,10 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.Drawing; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; -global using global::System.Windows.Forms; diff --git a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.assets.cache b/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.assets.cache deleted file mode 100644 index 2d3d32c..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.assets.cache and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.csproj.AssemblyReference.cache b/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.csproj.AssemblyReference.cache deleted file mode 100644 index 2534fbf..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.csproj.AssemblyReference.cache and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.designer.deps.json b/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.designer.deps.json deleted file mode 100644 index fbeaac4..0000000 --- a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.designer.deps.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "runtimeTarget": { - "name": ".NETCoreApp,Version=v6.0", - "signature": "" - }, - "compilationOptions": {}, - "targets": { - ".NETCoreApp,Version=v6.0": {} - }, - "libraries": {} -} \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.designer.runtimeconfig.json b/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.designer.runtimeconfig.json deleted file mode 100644 index 524b977..0000000 --- a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/PS5 NOR Modifier.designer.runtimeconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "net6.0", - "frameworks": [ - { - "name": "Microsoft.NETCore.App", - "version": "6.0.0" - }, - { - "name": "Microsoft.WindowsDesktop.App", - "version": "6.0.0" - } - ], - "additionalProbingPaths": [ - "C:\\Users\\TheCod3r\\.dotnet\\store\\|arch|\\|tfm|", - "C:\\Users\\TheCod3r\\.nuget\\packages", - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configProperties": { - "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true - } - } -} \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll b/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll deleted file mode 100644 index 4ad4a84..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Debug/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfo.cs b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfo.cs deleted file mode 100644 index bc66c1f..0000000 --- a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyTitleAttribute("PS5 NOR Modifier")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] -[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfoInputs.cache b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfoInputs.cache deleted file mode 100644 index ff84b70..0000000 --- a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -0905e048a579f1f5fc3c914c9da10ab85fe3fde8 diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 9fcb696..0000000 --- a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,16 +0,0 @@ -is_global = true -build_property.ApplicationManifest = -build_property.StartupObject = -build_property.ApplicationDefaultFont = -build_property.ApplicationHighDpiMode = -build_property.ApplicationUseCompatibleTextRendering = -build_property.ApplicationVisualStyles = -build_property.TargetFramework = net6.0-windows -build_property.TargetPlatformMinVersion = 7.0 -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = PS5_NOR_Modifier -build_property.ProjectDir = C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\ diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.GlobalUsings.g.cs b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.GlobalUsings.g.cs deleted file mode 100644 index fea4009..0000000 --- a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.GlobalUsings.g.cs +++ /dev/null @@ -1,10 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.Drawing; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; -global using global::System.Windows.Forms; diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.assets.cache b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.assets.cache deleted file mode 100644 index 836e0fa..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.assets.cache and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.AssemblyReference.cache b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.AssemblyReference.cache deleted file mode 100644 index 1ec9007..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.AssemblyReference.cache and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.BuildWithSkipAnalyzers b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.BuildWithSkipAnalyzers deleted file mode 100644 index e69de29..0000000 diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.CopyComplete b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.CoreCompileInputs.cache b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.CoreCompileInputs.cache deleted file mode 100644 index 85f52b9..0000000 --- a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -3bc8272a48016ce5bd6e96dc4aa389ea09dcbfce diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.FileListAbsolute.txt b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.FileListAbsolute.txt deleted file mode 100644 index 603618c..0000000 --- a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,26 +0,0 @@ -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\PS5 NOR Modifier.csproj.AssemblyReference.cache -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\PS5 NOR Modifier.exe -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\PS5 NOR Modifier.dll.config -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\PS5 NOR Modifier.deps.json -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\PS5 NOR Modifier.runtimeconfig.json -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\PS5 NOR Modifier.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\System.IO.Ports.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\runtimes\linux-arm\native\libSystem.IO.Ports.Native.so -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\runtimes\linux-arm64\native\libSystem.IO.Ports.Native.so -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\runtimes\linux-x64\native\libSystem.IO.Ports.Native.so -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\runtimes\osx-arm64\native\libSystem.IO.Ports.Native.dylib -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\runtimes\osx-x64\native\libSystem.IO.Ports.Native.dylib -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\runtimes\unix\lib\net6.0\System.IO.Ports.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\bin\x86\Release\net6.0-windows\runtimes\win\lib\net6.0\System.IO.Ports.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\PS5_NOR_Modifier.Form1.resources -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\PS5_NOR_Modifier.Properties.Resources.resources -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\PS5 NOR Modifier.csproj.GenerateResource.cache -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\PS5 NOR Modifier.GeneratedMSBuildEditorConfig.editorconfig -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\PS5 NOR Modifier.AssemblyInfoInputs.cache -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\PS5 NOR Modifier.AssemblyInfo.cs -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\PS5 NOR Modifier.csproj.CoreCompileInputs.cache -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\PS5 NOR Modifier.csproj.CopyComplete -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\PS5 NOR Modifier.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\refint\PS5 NOR Modifier.dll -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\PS5 NOR Modifier.genruntimeconfig.cache -C:\Users\TheCod3r\source\repos\PS5 NOR Modifier\PS5 NOR Modifier\obj\x86\Release\net6.0-windows\ref\PS5 NOR Modifier.dll diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.GenerateResource.cache b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.GenerateResource.cache deleted file mode 100644 index 0d65b4f..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.csproj.GenerateResource.cache and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.designer.deps.json b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.designer.deps.json deleted file mode 100644 index cf56685..0000000 --- a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.designer.deps.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "runtimeTarget": { - "name": ".NETCoreApp,Version=v6.0", - "signature": "" - }, - "compilationOptions": {}, - "targets": { - ".NETCoreApp,Version=v6.0": { - "runtime.linux-arm.runtime.native.System.IO.Ports/8.0.0": { - "runtimeTargets": { - "runtimes/linux-arm/native/libSystem.IO.Ports.Native.so": { - "rid": "linux-arm", - "assetType": "native", - "fileVersion": "0.0.0.0" - } - } - }, - "runtime.linux-arm64.runtime.native.System.IO.Ports/8.0.0": { - "runtimeTargets": { - "runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so": { - "rid": "linux-arm64", - "assetType": "native", - "fileVersion": "0.0.0.0" - } - } - }, - "runtime.linux-x64.runtime.native.System.IO.Ports/8.0.0": { - "runtimeTargets": { - "runtimes/linux-x64/native/libSystem.IO.Ports.Native.so": { - "rid": "linux-x64", - "assetType": "native", - "fileVersion": "0.0.0.0" - } - } - }, - "runtime.native.System.IO.Ports/8.0.0": { - "dependencies": { - "runtime.linux-arm.runtime.native.System.IO.Ports": "8.0.0", - "runtime.linux-arm64.runtime.native.System.IO.Ports": "8.0.0", - "runtime.linux-x64.runtime.native.System.IO.Ports": "8.0.0", - "runtime.osx-arm64.runtime.native.System.IO.Ports": "8.0.0", - "runtime.osx-x64.runtime.native.System.IO.Ports": "8.0.0" - } - }, - "runtime.osx-arm64.runtime.native.System.IO.Ports/8.0.0": { - "runtimeTargets": { - "runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib": { - "rid": "osx-arm64", - "assetType": "native", - "fileVersion": "0.0.0.0" - } - } - }, - "runtime.osx-x64.runtime.native.System.IO.Ports/8.0.0": { - "runtimeTargets": { - "runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib": { - "rid": "osx-x64", - "assetType": "native", - "fileVersion": "0.0.0.0" - } - } - }, - "System.IO.Ports/8.0.0": { - "dependencies": { - "runtime.native.System.IO.Ports": "8.0.0" - }, - "runtime": { - "lib/net6.0/System.IO.Ports.dll": { - "assemblyVersion": "8.0.0.0", - "fileVersion": "8.0.23.53103" - } - }, - "runtimeTargets": { - "runtimes/unix/lib/net6.0/System.IO.Ports.dll": { - "rid": "unix", - "assetType": "runtime", - "assemblyVersion": "8.0.0.0", - "fileVersion": "8.0.23.53103" - }, - "runtimes/win/lib/net6.0/System.IO.Ports.dll": { - "rid": "win", - "assetType": "runtime", - "assemblyVersion": "8.0.0.0", - "fileVersion": "8.0.23.53103" - } - } - } - } - }, - "libraries": { - "runtime.linux-arm.runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-gK720fg6HemDg8sXcfy+xCMZ9+hF78Gc7BmREbmkS4noqlu1BAr9qZtuWGhLzFjBfgecmdtl4+SYVwJ1VneZBQ==", - "path": "runtime.linux-arm.runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.linux-arm.runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "runtime.linux-arm64.runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-KYG6/3ojhEWbb3FwQAKgGWPHrY+HKUXXdVjJlrtyCLn3EMcNTaNcPadb2c0ndQzixZSmAxZKopXJr0nLwhOrpQ==", - "path": "runtime.linux-arm64.runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.linux-arm64.runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "runtime.linux-x64.runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-Wnw5vhA4mgGbIFoo6l9Fk3iEcwRSq49a1aKwJgXUCUtEQLCSUDjTGSxqy/oMUuOyyn7uLHsH8KgZzQ1y3lReiQ==", - "path": "runtime.linux-x64.runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.linux-x64.runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-Ee7Sz5llLpTgyKIWzKI/GeuRSbFkOABgJRY00SqTY0OkTYtkB+9l5rFZfE7fxPA3c22RfytCBYkUdAkcmwMjQg==", - "path": "runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "runtime.osx-arm64.runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-rbUBLAaFW9oVkbsb0+XSrAo2QdhBeAyzLl5KQ6Oci9L/u626uXGKInsVJG6B9Z5EO8bmplC8tsMiaHK8wOBZ+w==", - "path": "runtime.osx-arm64.runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.osx-arm64.runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "runtime.osx-x64.runtime.native.System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-IcfB4jKtM9pkzP9OpYelEcUX1MiDt0IJPBh3XYYdEISFF+6Mc+T8WWi0dr9wVh1gtcdVjubVEIBgB8BHESlGfQ==", - "path": "runtime.osx-x64.runtime.native.system.io.ports/8.0.0", - "hashPath": "runtime.osx-x64.runtime.native.system.io.ports.8.0.0.nupkg.sha512" - }, - "System.IO.Ports/8.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-MaiPbx2/QXZc62gm/DrajRrGPG1lU4m08GWMoWiymPYM+ba4kfACp2PbiYpqJ4QiFGhHD00zX3RoVDTucjWe9g==", - "path": "system.io.ports/8.0.0", - "hashPath": "system.io.ports.8.0.0.nupkg.sha512" - } - } -} \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.designer.runtimeconfig.json b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.designer.runtimeconfig.json deleted file mode 100644 index de0f4d1..0000000 --- a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.designer.runtimeconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "net6.0", - "frameworks": [ - { - "name": "Microsoft.NETCore.App", - "version": "6.0.0" - }, - { - "name": "Microsoft.WindowsDesktop.App", - "version": "6.0.0" - } - ], - "additionalProbingPaths": [ - "C:\\Users\\TheCod3r\\.dotnet\\store\\|arch|\\|tfm|", - "C:\\Users\\TheCod3r\\.nuget\\packages", - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configProperties": { - "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, - "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true - } - } -} \ No newline at end of file diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.dll b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.dll deleted file mode 100644 index 1e15952..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.genruntimeconfig.cache b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.genruntimeconfig.cache deleted file mode 100644 index 0bb648c..0000000 --- a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5 NOR Modifier.genruntimeconfig.cache +++ /dev/null @@ -1 +0,0 @@ -99fa3dff72da2458eca15640e2752da056b417db diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5_NOR_Modifier.Form1.resources b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5_NOR_Modifier.Form1.resources deleted file mode 100644 index 3efb567..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5_NOR_Modifier.Form1.resources and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5_NOR_Modifier.Properties.Resources.resources b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5_NOR_Modifier.Properties.Resources.resources deleted file mode 100644 index 6a510da..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/PS5_NOR_Modifier.Properties.Resources.resources and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll deleted file mode 100644 index 4ad4a84..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/apphost.exe b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/apphost.exe deleted file mode 100644 index 6ae8207..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/apphost.exe and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/ref/PS5 NOR Modifier.dll b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/ref/PS5 NOR Modifier.dll deleted file mode 100644 index 92521d1..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/ref/PS5 NOR Modifier.dll and /dev/null differ diff --git a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/refint/PS5 NOR Modifier.dll b/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/refint/PS5 NOR Modifier.dll deleted file mode 100644 index 92521d1..0000000 Binary files a/PS5 NOR Modifier/obj/x86/Release/net6.0-windows/refint/PS5 NOR Modifier.dll and /dev/null differ