Example #1
0
 private void hexBox1_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)13)
     {
         ulong offset = UInt64.Parse(textBox1.Text, System.Globalization.NumberStyles.HexNumber);
         ps4.SetMemory(process_id, offset, ByteProviderToArray(hexBox1.ByteProvider));
         MessageBox.Show("Memory set");
     }
 }
Example #2
0
        private void button2_Click_1(object sender, EventArgs e)
        {
            ComboboxItem item       = (ComboboxItem)comboBox1.SelectedItem;
            int          process_id = (int)item.Value;

            ulong offset = UInt64.Parse(textBox4.Text, System.Globalization.NumberStyles.HexNumber);

            byte[] data = StringToByteArray(textBox5.Text.Replace("-", ""));
            ps4.SetMemory(process_id, offset, data);
        }