From 9f2f83ff48bec1b86a8e3994a50964b1c3917b05 Mon Sep 17 00:00:00 2001 From: NicoAICP Date: Wed, 10 Jun 2020 22:19:43 +0200 Subject: [PATCH] sleep mode chrash fix (hopefully) + release year changing on image creator --- UWUVCI AIO WPF/Classes/BootImage.cs | 7 +++++-- UWUVCI AIO WPF/UI/Frames/InjectFrame.xaml | 2 +- .../UI/Frames/InjectFrames/Bases/BaseContainerFrame.xaml | 2 +- .../UI/Frames/InjectFrames/Bases/CustomBaseFrame.xaml | 2 +- .../UI/Frames/InjectFrames/Bases/NonCustomBaseFrame.xaml | 2 +- .../UI/Frames/InjectFrames/Configurations/N64Config.xaml | 2 +- .../OtherConfigs - Kopieren - Kopieren (2).xaml | 2 +- .../Configurations/OtherConfigs - Kopieren - Kopieren.xaml | 2 +- .../Configurations/OtherConfigs - Kopieren.xaml | 2 +- .../Frames/InjectFrames/Configurations/OtherConfigs.xaml | 2 +- .../UI/Frames/InjectFrames/Configurations/WiiConfig.xaml | 2 +- UWUVCI AIO WPF/UI/Frames/KeyFrame/TKFrame.xaml | 2 +- UWUVCI AIO WPF/UI/Frames/Path/Paths.xaml | 2 +- UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml | 2 +- UWUVCI AIO WPF/UI/Frames/StartFrame.xaml | 2 +- UWUVCI AIO WPF/UI/Windows/Custom Message - Kopieren.xaml | 2 +- UWUVCI AIO WPF/UI/Windows/Custom Message.xaml | 2 +- UWUVCI AIO WPF/UI/Windows/DownloadWait - Kopieren.xaml | 2 +- UWUVCI AIO WPF/UI/Windows/DownloadWait.xaml | 2 +- UWUVCI AIO WPF/UI/Windows/EnterKey.xaml | 2 +- .../IMG_Message - Kopieren - Kopieren - Kopieren.xaml | 2 +- .../UI/Windows/IMG_Message - Kopieren - Kopieren.xaml | 2 +- UWUVCI AIO WPF/UI/Windows/IMG_Message - Kopieren.xaml | 2 +- UWUVCI AIO WPF/UI/Windows/IMG_Message.xaml | 2 +- .../UI/Windows/ImageCreator - Kopieren - Kopieren (2).xaml | 2 +- UWUVCI AIO WPF/UI/Windows/ImageCreator - Kopieren.xaml | 2 +- UWUVCI AIO WPF/UI/Windows/ImageCreator.xaml | 4 ++-- UWUVCI AIO WPF/UI/Windows/MenuWindow.xaml | 2 +- UWUVCI AIO WPF/UI/Windows/TitleKeys - Kopieren.xaml | 2 +- UWUVCI AIO WPF/UI/Windows/TitleKeys.xaml | 2 +- 30 files changed, 35 insertions(+), 32 deletions(-) diff --git a/UWUVCI AIO WPF/Classes/BootImage.cs b/UWUVCI AIO WPF/Classes/BootImage.cs index d702795..8c4d16c 100644 --- a/UWUVCI AIO WPF/Classes/BootImage.cs +++ b/UWUVCI AIO WPF/Classes/BootImage.cs @@ -200,7 +200,7 @@ namespace UWUVCI_AIO_WPF.Classes } } - if (Released > 1951) + if (Released > 0) { GraphicsPath r = new GraphicsPath(); r.AddString("Released: " + Released.ToString(), font.FontFamily, @@ -215,9 +215,12 @@ namespace UWUVCI_AIO_WPF.Classes { string pStr = Players >= 4 ? "1-4" : Players == 3 ? "1-3" : Players == 2 ? "1-2" : "1"; GraphicsPath p = new GraphicsPath(); - p.AddString("Players: " + pStr, font.FontFamily, + + p.AddString("Players: " + pStr, font.FontFamily, (int)(FontStyle.Regular), g.DpiY * 25.0F / 72.0F, new Rectangle(586, 496, 400, 40), format); + + g.DrawPath(shadow, p); g.DrawPath(outline, p); g.FillPath(brush, p); diff --git a/UWUVCI AIO WPF/UI/Frames/InjectFrame.xaml b/UWUVCI AIO WPF/UI/Frames/InjectFrame.xaml index 5508c78..80ab912 100644 --- a/UWUVCI AIO WPF/UI/Frames/InjectFrame.xaml +++ b/UWUVCI AIO WPF/UI/Frames/InjectFrame.xaml @@ -7,7 +7,7 @@ mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignHeight="600" d:DesignWidth="1130" - Title="NDSFrame"> + Title="NDSFrame" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/BaseContainerFrame.xaml b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/BaseContainerFrame.xaml index 02faddb..19afc26 100644 --- a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/BaseContainerFrame.xaml +++ b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/BaseContainerFrame.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Bases" mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignWidth="403" - Title="BaseContainerFrame" Height="406"> + Title="BaseContainerFrame" Height="406" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/CustomBaseFrame.xaml b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/CustomBaseFrame.xaml index 4dba2c3..63dc1af 100644 --- a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/CustomBaseFrame.xaml +++ b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/CustomBaseFrame.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Bases" mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignWidth="383" - Title="CustomBaseFrame" Height="290"> + Title="CustomBaseFrame" Height="290" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/NonCustomBaseFrame.xaml b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/NonCustomBaseFrame.xaml index 6d3fe6a..469ab1a 100644 --- a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/NonCustomBaseFrame.xaml +++ b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Bases/NonCustomBaseFrame.xaml @@ -7,7 +7,7 @@ mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignHeight="290" d:DesignWidth="383" - Title="NonCustomBaseFrame"> + Title="NonCustomBaseFrame" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/N64Config.xaml b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/N64Config.xaml index a42ae81..f29f75d 100644 --- a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/N64Config.xaml +++ b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/N64Config.xaml @@ -7,7 +7,7 @@ mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignHeight="510" d:DesignWidth="643" - Title="N64Config"> + Title="N64Config" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren (2).xaml b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren (2).xaml index dba23e8..3c95ff4 100644 --- a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren (2).xaml +++ b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren (2).xaml @@ -7,7 +7,7 @@ mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignHeight="510" d:DesignWidth="643" - Title="OtherConfigs"> + Title="OtherConfigs" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren.xaml b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren.xaml index c7a6c69..3f44cda 100644 --- a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren.xaml +++ b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren.xaml @@ -7,7 +7,7 @@ mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignHeight="510" d:DesignWidth="643" - Title="OtherConfigs"> + Title="OtherConfigs" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren.xaml b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren.xaml index 9daba24..ec6cf45 100644 --- a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren.xaml +++ b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren.xaml @@ -7,7 +7,7 @@ mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignHeight="510" d:DesignWidth="643" - Title="OtherConfigs"> + Title="OtherConfigs" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs.xaml b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs.xaml index 89fc99d..97f4bd3 100644 --- a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs.xaml +++ b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs.xaml @@ -7,7 +7,7 @@ mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignHeight="510" d:DesignWidth="643" - Title="OtherConfigs"> + Title="OtherConfigs" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/WiiConfig.xaml b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/WiiConfig.xaml index 0b4afb5..9145c44 100644 --- a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/WiiConfig.xaml +++ b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/WiiConfig.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations" mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignWidth="643" - Title="N64Config" Height="510"> + Title="N64Config" Height="510" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/KeyFrame/TKFrame.xaml b/UWUVCI AIO WPF/UI/Frames/KeyFrame/TKFrame.xaml index 52ebb76..8064d35 100644 --- a/UWUVCI AIO WPF/UI/Frames/KeyFrame/TKFrame.xaml +++ b/UWUVCI AIO WPF/UI/Frames/KeyFrame/TKFrame.xaml @@ -7,7 +7,7 @@ mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignHeight="480" d:DesignWidth="1130" - Title="NDSFrame"> + Title="NDSFrame" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/Path/Paths.xaml b/UWUVCI AIO WPF/UI/Frames/Path/Paths.xaml index b4d54fe..ee2e2b4 100644 --- a/UWUVCI AIO WPF/UI/Frames/Path/Paths.xaml +++ b/UWUVCI AIO WPF/UI/Frames/Path/Paths.xaml @@ -7,7 +7,7 @@ mc:Ignorable="d" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" d:DesignHeight="600" d:DesignWidth="1130" - Title="Paths"> + Title="Paths" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml b/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml index 72b9222..21bc905 100644 --- a/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml +++ b/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames" mc:Ignorable="d" d:DesignHeight="600" d:DesignWidth="1135" - Title="SettingsFrame"> + Title="SettingsFrame" > diff --git a/UWUVCI AIO WPF/UI/Frames/StartFrame.xaml b/UWUVCI AIO WPF/UI/Frames/StartFrame.xaml index 33b766b..1f37c1c 100644 --- a/UWUVCI AIO WPF/UI/Frames/StartFrame.xaml +++ b/UWUVCI AIO WPF/UI/Frames/StartFrame.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames" mc:Ignorable="d" d:DesignHeight="480" d:DesignWidth="1130" - Title="SettingsFrame"> + Title="SettingsFrame" > diff --git a/UWUVCI AIO WPF/UI/Windows/Custom Message - Kopieren.xaml b/UWUVCI AIO WPF/UI/Windows/Custom Message - Kopieren.xaml index 3f8d886..180684c 100644 --- a/UWUVCI AIO WPF/UI/Windows/Custom Message - Kopieren.xaml +++ b/UWUVCI AIO WPF/UI/Windows/Custom Message - Kopieren.xaml @@ -8,7 +8,7 @@ mc:Ignorable="d" Title="Custom_Message___Kopieren" Height="450" Width="800"> - + diff --git a/UWUVCI AIO WPF/UI/Windows/Custom Message.xaml b/UWUVCI AIO WPF/UI/Windows/Custom Message.xaml index f0baef6..222dc5f 100644 --- a/UWUVCI AIO WPF/UI/Windows/Custom Message.xaml +++ b/UWUVCI AIO WPF/UI/Windows/Custom Message.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:UWUVCI_AIO_WPF" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" mc:Ignorable="d" - Title="Message" Height="223.859" MinWidth="365" WindowStyle="None" WindowStartupLocation="CenterOwner" Foreground="White" Background="LightGray" ResizeMode="NoResize" Icon="/UWUVCI AIO WPF;component/b.ico" Name="wind" SizeToContent="WidthAndHeight" BorderBrush="#FF2196F3" BorderThickness="1.5,1.5,1.5,1.5" ShowInTaskbar="False" Closing="wind_Closing" Closed="wind_Closed"> + Title="Message" Height="223.859" MinWidth="365" WindowStyle="None" WindowStartupLocation="CenterOwner" materialDesign:ShadowAssist.CacheMode="{x:Null}" Foreground="White" Background="LightGray" ResizeMode="NoResize" Icon="/UWUVCI AIO WPF;component/b.ico" Name="wind" SizeToContent="WidthAndHeight" BorderBrush="#FF2196F3" BorderThickness="1.5,1.5,1.5,1.5" ShowInTaskbar="False" Closing="wind_Closing" Closed="wind_Closed"> diff --git a/UWUVCI AIO WPF/UI/Windows/DownloadWait - Kopieren.xaml b/UWUVCI AIO WPF/UI/Windows/DownloadWait - Kopieren.xaml index d4720f4..0a9baa3 100644 --- a/UWUVCI AIO WPF/UI/Windows/DownloadWait - Kopieren.xaml +++ b/UWUVCI AIO WPF/UI/Windows/DownloadWait - Kopieren.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:UWUVCI_AIO_WPF" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" mc:Ignorable="d" - Title="MAIN" Height="175.197" Width="337.333" WindowStyle="None" WindowStartupLocation="CenterScreen" Foreground="White" Background="LightGray" ResizeMode="NoResize" Icon="/UWUVCI AIO WPF;component/b.ico" Closing="wind_Closing" Closed="wind_Closed" ShowInTaskbar="False"> + Title="MAIN" Height="175.197" Width="337.333" WindowStyle="None" WindowStartupLocation="CenterScreen" materialDesign:ShadowAssist.CacheMode="{x:Null}" Foreground="White" Background="LightGray" ResizeMode="NoResize" Icon="/UWUVCI AIO WPF;component/b.ico" Closing="wind_Closing" Closed="wind_Closed" ShowInTaskbar="False"> diff --git a/UWUVCI AIO WPF/UI/Windows/DownloadWait.xaml b/UWUVCI AIO WPF/UI/Windows/DownloadWait.xaml index d574748..c010ede 100644 --- a/UWUVCI AIO WPF/UI/Windows/DownloadWait.xaml +++ b/UWUVCI AIO WPF/UI/Windows/DownloadWait.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:UWUVCI_AIO_WPF" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" mc:Ignorable="d" - Title="MAIN" Height="93.662" Width="500" WindowStyle="None" WindowStartupLocation="CenterScreen" Foreground="White" Background="LightGray" ResizeMode="NoResize" Icon="/UWUVCI AIO WPF;component/b.ico" BorderBrush="#FF2196F3" BorderThickness="1.5,1.5,1.5,1.5" Closing="wind_Closing" Closed="wind_Closed"> + Title="MAIN" Height="93.662" Width="500" WindowStyle="None" WindowStartupLocation="CenterScreen" Foreground="White" Background="LightGray" ResizeMode="NoResize" Icon="/UWUVCI AIO WPF;component/b.ico" BorderBrush="#FF2196F3" BorderThickness="1.5,1.5,1.5,1.5" Closing="wind_Closing" Closed="wind_Closed" materialDesign:ShadowAssist.CacheMode="{x:Null}"> diff --git a/UWUVCI AIO WPF/UI/Windows/EnterKey.xaml b/UWUVCI AIO WPF/UI/Windows/EnterKey.xaml index 7a8b93e..e6892dd 100644 --- a/UWUVCI AIO WPF/UI/Windows/EnterKey.xaml +++ b/UWUVCI AIO WPF/UI/Windows/EnterKey.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:UWUVCI_AIO_WPF" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" mc:Ignorable="d" - Title="Enter Key" Height="151.156" Width="493.5" WindowStyle="None" WindowStartupLocation="CenterOwner" Foreground="White" Background="LightGray" ResizeMode="NoResize" Icon="/UWUVCI AIO WPF;component/a.ico" BorderBrush="#FF2196F3" BorderThickness="1.5,1.5,1.5,1.5" ShowInTaskbar="False" GotFocus="Window_GotFocus" Closing="wind_Closing" Closed="wind_Closed"> + Title="Enter Key" Height="151.156" Width="493.5" WindowStyle="None" WindowStartupLocation="CenterOwner" materialDesign:ShadowAssist.CacheMode="{x:Null}" Foreground="White" Background="LightGray" ResizeMode="NoResize" Icon="/UWUVCI AIO WPF;component/a.ico" BorderBrush="#FF2196F3" BorderThickness="1.5,1.5,1.5,1.5" ShowInTaskbar="False" GotFocus="Window_GotFocus" Closing="wind_Closing" Closed="wind_Closed">