Esempio n. 1
0
 private void btnPatch_Click(object sender, EventArgs e)
 {
     if (extracted == true)
     {
         isoPatcher patchISO = new isoPatcher();
         patchISO.patchIso(lvwRiivolution, Application.StartupPath + "/lol.iso", riivoPath + "//riivolution/" + cbxRiivolutionXML.SelectedItem.ToString() + ".xml", riivoPath);
     }
     else
     {
         MessageBox.Show("The ISO is not yet extracted. Please wait.", "", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 private void btnPatch_Click(object sender, EventArgs e)
 {
     if (extracted == true) /* making sure if the iso is decompiled */
     {
         isoPatcher patchISO = new isoPatcher();
         patchISO.patchIso2(lvwRiivolution, gamesPath, isoPath, riivoPath + "//riivolution/" + cbxRiivolutionXML.SelectedItem.ToString() + ".xml", riivoPath);
         File.WriteAllText(gamesPath + "/rii/" + Path.GetFileName(gamesPath + "/" + Path.GetFileNameWithoutExtension(isoPath)) + "/virgin", "no");
     }
     else
     {
         MessageBox.Show("The ISO is not yet extracted. Please wait.", "", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }