diff --git a/UWUVCI AIO WPF/Classes/Injection.cs b/UWUVCI AIO WPF/Classes/Injection.cs
index b4257d7..406eb9e 100644
--- a/UWUVCI AIO WPF/Classes/Injection.cs
+++ b/UWUVCI AIO WPF/Classes/Injection.cs
@@ -65,11 +65,16 @@ namespace UWUVCI_AIO_WPF
{
MessageBox.Show("Injection Failed due to Image Issues. Please check if your Images are made using following Information:\n\niconTex: \nDimensions: 128x128\nBitDepth: 32\n\nbootDrcTex: \nDimensions: 854x480\nBitDepth: 24\n\nbootTvTex: \nDimensions: 1280x720\nBitDepth: 24\n\nbootLogoTex: \nDimensions: 170x42\nBitDepth: 32", "Injection Failed", MessageBoxButton.OK, MessageBoxImage.Error);
}
+ else if (e.Message.Contains("retro"))
+ {
+ MessageBox.Show("The ROM you want to Inject is to big for selected Base!\nPlease try again with different Base", "Injection Failed", MessageBoxButton.OK, MessageBoxImage.Error);
+ }
else
{
MessageBox.Show("Injection Failed due to unknown circumstances, please contact us on the UWUVCI discord", "Injection Failed", MessageBoxButton.OK, MessageBoxImage.Error);
}
+ Clean();
return false;
}
@@ -390,11 +395,19 @@ namespace UWUVCI_AIO_WPF
{
retroinject.StartInfo.UseShellExecute = false;
retroinject.StartInfo.CreateNoWindow = true;
+ retroinject.StartInfo.RedirectStandardOutput = true;
+ retroinject.StartInfo.RedirectStandardError = true;
retroinject.StartInfo.FileName = Path.Combine(toolsPath, "retroinject.exe");
retroinject.StartInfo.Arguments = $"\"{rpxFile}\" \"{injectRomPath}\" \"{rpxFile}\"";
retroinject.Start();
retroinject.WaitForExit();
+ var s = retroinject.StandardOutput.ReadToEnd();
+ var e = retroinject.StandardError.ReadToEnd();
+ if (e.Contains("is too large") || s.Contains("is too large"))
+ {
+ throw new Exception("retro");
+ }
}
RPXcomp(rpxFile); //Compresses the RPX
diff --git a/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml b/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml
index a99abff..601b029 100644
--- a/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml
+++ b/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml
@@ -20,7 +20,7 @@
-
+
diff --git a/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml.cs b/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml.cs
index 892b646..24cb0c7 100644
--- a/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml.cs
+++ b/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml.cs
@@ -64,7 +64,7 @@ namespace UWUVCI_AIO_WPF.UI.Frames
private void Button_Click_5(object sender, RoutedEventArgs e)
{
- MessageBox.Show("UWUVCI AIO - NicoAICP, Morilli, Lreiia Bot\n\n7za - Igor Pavlov\nBuildPcePkg & BuildTurboCDPcePkg - JohnnyGo\nCdecrypt - crediar\nCNUSPACKER - NicoAICP, Morilli\nINICreator - NicoAICP\nN64Creator - Morilli\npng2tga - Easy2Convert\ninject_gba_c (psb) - Morilli\nRetroInject_C - Morilli\ntga_verify - Morilli\nWiiUDownloader - Morilli\nwiiurpxtool - 0CHB0\nGoomba - FluBBa\nDarkFilter Removal N64 - MelonSpeedruns", "Credits");
+ MessageBox.Show("UWUVCI AIO - NicoAICP, Morilli, Lreiia Bot\nBeta Testers/Contributors - wowjinxy, Danis\n\n7za - Igor Pavlov\nBuildPcePkg & BuildTurboCDPcePkg - JohnnyGo\nCdecrypt - crediar\nCNUSPACKER - NicoAICP, Morilli\nINICreator - NicoAICP\nN64Creator - Morilli\npng2tga - Easy2Convert\ninject_gba_c (psb) - Morilli\nRetroInject_C - Morilli\ntga_verify - Morilli\nWiiUDownloader - Morilli\nwiiurpxtool - 0CHB0\nGoomba - FluBBa\nDarkFilter Removal N64 - MelonSpeedruns", "Credits");
}
private void Button_Click_6(object sender, RoutedEventArgs e)