Exemple #1
0
        private void ConnectToConsole()
        {
            IPAddress = IPAddressToolStripTextBox.Text;
            OrbisDbg.SetIP(IPAddress);

            pList = OrbisDbg.GetProcessList();
            if (pList.Count > 0)
            {
                AttachToolStripButton.Enabled    = true;
                ProcessesToolStripButton.Enabled = true;

                bool bAnyProcessesAttached = false;
                for (int i = 0; i < pList.Count; i++)
                {
                    if (pList[i].attached != 0)
                    {
                        bAnyProcessesAttached = true;
                    }
                }

                if (bAnyProcessesAttached)
                {
                    SelectAttachedTarget selectAttachedTarget = new SelectAttachedTarget(pList);
                    selectAttachedTarget.ShowDialog();
                    if (selectAttachedTarget.DialogResult == DialogResult.OK)
                    {
                        SelectedProcess = selectAttachedTarget.SelectedProcess;
                        OrbisDbg.SetProcess(selectAttachedTarget.SelectedProcess);

                        SetButtonsEnabled(true);
                    }
                }

                processesWindowToolStripMenuItem.Enabled = true;
                ProcessesToolStripButton.Enabled         = true;
            }
            else
            {
                string message = "Orbis Debugger could not connect to the Playstation 4 System\n" +
                                 "Please make sure your console is turned on and the payload has been loaded";
                MessageBox.Show(message, "Error Connecting");
            }
        }
Exemple #2
0
 private void OpenProcessWindow()
 {
     pList = OrbisDbg.GetProcessList();
     if (pList.Count > 0)
     {
         if (processesForm == null)
         {
             processesForm           = new ProcessesForm(this);
             processesForm.MdiParent = this;
             processesForm.Show();
         }
         else
         {
             processesForm.UpdateProcesses();
             processesForm.BringToFront();
         }
     }
     else
     {
         string message = "Orbis Debugger could not connect to the Playstation 4 System\n" +
                          "Please make sure your console is turned on and the payload has been loaded";
         MessageBox.Show(message, "Error Grabbing Processes");
     }
 }