Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit d8ec8a4

Browse files
committed
System: Bugfixes for the release
1 parent 2cdff02 commit d8ec8a4

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed

J-Runner/Classes/variables.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ public enum Windows
8080
W10_11
8181
}
8282

83-
public static string version = "3.3.0 r2 Beta";
84-
public static string build = "3301." + DateTime.ParseExact(Properties.Resources.Build.Trim(), "MM-dd-yyyy HH:mm:ss", null).ToString("yyMMdd.HHmm");
85-
public const string staticversion = "3.3.0.1";
86-
public static int revision = 34;
83+
public static string version = "3.3.0";
84+
public static string build = "3300." + DateTime.ParseExact(Properties.Resources.Build.Trim(), "MM-dd-yyyy HH:mm:ss", null).ToString("yyMMdd.HHmm");
85+
public const string staticversion = "3.3.0.0";
86+
public static int revision = 35;
8787
public static Windows currentOS = Windows.Unknown;
8888
public static bool isWinXP = false;
8989
public static bool isscanningip = false;

J-Runner/MainForm.cs

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2513,7 +2513,7 @@ public void createDonor(string con, string hack, string smc, string cpuk, string
25132513
if (kvPath == "donor")
25142514
{
25152515
string kv;
2516-
if (con.Contains("Trinity") || con.Contains("Corona")) kv = "slim_nofcrt";
2516+
if (con.Contains("Trinity") || con.Contains("Corona") || con.Contains("Winchester")) kv = "slim_nofcrt";
25172517
else if (con.Contains("Xenon")) kv = "phat_t1";
25182518
else kv = "phat_t2";
25192519
File.Copy(Path.Combine(variables.donorPath, kv + ".bin"), variables.xepath + "KV.bin", true);
@@ -2538,12 +2538,13 @@ public void createDonor(string con, string hack, string smc, string cpuk, string
25382538
// Copy SMC - only needed for RGH3
25392539
if ((hack == "Glitch2" || hack == "Glitch2m") && smc == "RGH3")
25402540
{
2541-
if (con.Contains("Corona")) File.Copy(variables.xepath + "CORONA_CLEAN.bin", variables.xepath + "SMC.bin", true);
2541+
if (con.Contains("Winchester")) File.Copy(variables.xepath + "WINCHESTER_CLEAN.bin", variables.xepath + "SMC.bin", true);
2542+
else if (con.Contains("Corona")) File.Copy(variables.xepath + "CORONA_CLEAN.bin", variables.xepath + "SMC.bin", true);
25422543
else if (con.Contains("Trinity")) File.Copy(variables.xepath + "TRINITY_CLEAN.bin", variables.xepath + "SMC.bin", true);
25432544
else if (con.Contains("Jasper")) File.Copy(variables.xepath + "JASPER_CLEAN.bin", variables.xepath + "SMC.bin", true);
25442545
else if (con.Contains("Falcon")) File.Copy(variables.xepath + "FALCON_CLEAN.bin", variables.xepath + "SMC.bin", true);
2545-
else if (con.Contains("Zephyr")) File.Copy(variables.xepath + "ZEPHYR_CLEAN.bin", variables.xepath + "SMC.bin", true); // Just in case we ever re-use this code for non RGH3
2546-
else if (con.Contains("Xenon")) File.Copy(variables.xepath + "XENON_CLEAN.bin", variables.xepath + "SMC.bin", true); // Just in case we ever re-use this code for non RGH3
2546+
else if (con.Contains("Zephyr")) File.Copy(variables.xepath + "ZEPHYR_CLEAN.bin", variables.xepath + "SMC.bin", true); // Just in case we ever re-use this code
2547+
else if (con.Contains("Xenon")) File.Copy(variables.xepath + "XENON_CLEAN.bin", variables.xepath + "SMC.bin", true); // Just in case we ever re-use this code
25472548
Console.WriteLine("Copied SMC.bin");
25482549
}
25492550

@@ -2553,9 +2554,13 @@ public void createDonor(string con, string hack, string smc, string cpuk, string
25532554
string smcConfig;
25542555

25552556
// Catch all types
2556-
if (con.Contains("Corona")) smcConfig = "Corona";
2557-
else if (con.Contains("Jasper")) smcConfig = "Jasper";
2557+
if (con.Contains("Winchester")) smcConfig = "Winchester";
2558+
else if (con.Contains("Corona")) smcConfig = "Corona";
25582559
else if (con.Contains("Trinity")) smcConfig = "Trinity";
2560+
else if (con.Contains("Jasper")) smcConfig = "Jasper";
2561+
else if (con.Contains("Falcon")) smcConfig = "Falcon";
2562+
else if (con.Contains("Zephyr")) smcConfig = "Zephyr";
2563+
else if (con.Contains("Xenon")) smcConfig = "Xenon";
25592564
else smcConfig = con;
25602565

25612566
File.Copy(Path.Combine(variables.donorPath, "smc_config", smcConfig + ".bin"), variables.xepath + "smc_config.bin", true);
@@ -2575,9 +2580,11 @@ public void createDonor(string con, string hack, string smc, string cpuk, string
25752580
}
25762581
xPanel.createxebuild_v2(true, nand, true);
25772582
}
2578-
catch
2583+
catch (Exception ex)
25792584
{
25802585
Console.WriteLine("Donor Nand Creation Failed");
2586+
if (variables.debugMode) Console.WriteLine(ex.ToString());
2587+
else Console.WriteLine(ex.GetType());
25812588
Console.WriteLine("");
25822589
return;
25832590
}

J-Runner/Resources/Build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
07-01-2023 15:29:01
1+
07-02-2023 22:30:59

0 commit comments

Comments
 (0)