private void Button2_Click(object sender, EventArgs e) { button7.Visible = false; panel2.Visible = false; label4.Text = ""; label5.Text = ""; label6.Text = ""; label7.Text = ""; pictureBox1.Image = null; textBox2.Clear(); Button2.Visible = false; if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + "orbis-pub-cmd.exe")) { Directory.CreateDirectory(AppDomain.CurrentDomain.BaseDirectory + "fake_dlc_temp/sce_sys/"); Directory.CreateDirectory(AppDomain.CurrentDomain.BaseDirectory + "fake_dlc_pkg/"); if (selImg == null || selImg == String.Empty) { CreatePKG(selCid, selName, "", false); } else { PDL1.GetImage(selImg, AppDomain.CurrentDomain.BaseDirectory + "fake_dlc_temp/sce_sys/icon0.jpeg"); } } else { AppLog("ERROR: orbis-pub-cmd.exe not found" + Environment.NewLine + "You need to place orbis-pub-cmd.exe in the same directory as this application"); } }