diff --git a/7thHeaven.Code/StringKey.cs b/7thHeaven.Code/StringKey.cs index 6d3bb914..5e5793ee 100644 --- a/7thHeaven.Code/StringKey.cs +++ b/7thHeaven.Code/StringKey.cs @@ -643,5 +643,6 @@ public enum StringKey DoNotMount, CanaryWarningTitle, CanaryWarningMessage, + PleaseUpdateFFNx } } diff --git a/SeventhHeavenUI/Resources/Languages/StringResources.br.xaml b/SeventhHeavenUI/Resources/Languages/StringResources.br.xaml index 55756061..925bf415 100644 --- a/SeventhHeavenUI/Resources/Languages/StringResources.br.xaml +++ b/SeventhHeavenUI/Resources/Languages/StringResources.br.xaml @@ -1245,4 +1245,6 @@ Você quer aplicar essa configuração e tentar de novo? PLEASE READ THIS! Thank you for switching to the Canary channel.\n\nThis channel is suggested only for advanced users who are willing to support the development and report bugs. DO NOT USE this channel if you're willing to have a Stable gameplay experience.\n\nPlease be aware it may be prone to crashing and is NOT tested by anyone. Use this build AT YOUR OWN RISK! + + Could not load the settings from the FFNx.toml file. This likely happens when your current version of FFNx is outdated. Consider updating FFNx to the latest version available for your chosen Channel and try again. \ No newline at end of file diff --git a/SeventhHeavenUI/Resources/Languages/StringResources.de.xaml b/SeventhHeavenUI/Resources/Languages/StringResources.de.xaml index a90b5e52..888ab7b9 100644 --- a/SeventhHeavenUI/Resources/Languages/StringResources.de.xaml +++ b/SeventhHeavenUI/Resources/Languages/StringResources.de.xaml @@ -1258,4 +1258,6 @@ Aktivieren und erneut versuchen? PLEASE READ THIS! Thank you for switching to the Canary channel.\n\nThis channel is suggested only for advanced users who are willing to support the development and report bugs. DO NOT USE this channel if you're willing to have a Stable gameplay experience.\n\nPlease be aware it may be prone to crashing and is NOT tested by anyone. Use this build AT YOUR OWN RISK! + + Could not load the settings from the FFNx.toml file. This likely happens when your current version of FFNx is outdated. Consider updating FFNx to the latest version available for your chosen Channel and try again. \ No newline at end of file diff --git a/SeventhHeavenUI/Resources/Languages/StringResources.es.xaml b/SeventhHeavenUI/Resources/Languages/StringResources.es.xaml index 4180e989..dc3d5152 100644 --- a/SeventhHeavenUI/Resources/Languages/StringResources.es.xaml +++ b/SeventhHeavenUI/Resources/Languages/StringResources.es.xaml @@ -1254,4 +1254,6 @@ Por último, si quieres usar archivos .OGG de alta calidad, cambia la opción de PLEASE READ THIS! Thank you for switching to the Canary channel.\n\nThis channel is suggested only for advanced users who are willing to support the development and report bugs. DO NOT USE this channel if you're willing to have a Stable gameplay experience.\n\nPlease be aware it may be prone to crashing and is NOT tested by anyone. Use this build AT YOUR OWN RISK! + + Could not load the settings from the FFNx.toml file. This likely happens when your current version of FFNx is outdated. Consider updating FFNx to the latest version available for your chosen Channel and try again. diff --git a/SeventhHeavenUI/Resources/Languages/StringResources.fr.xaml b/SeventhHeavenUI/Resources/Languages/StringResources.fr.xaml index 07305e04..c188580e 100644 --- a/SeventhHeavenUI/Resources/Languages/StringResources.fr.xaml +++ b/SeventhHeavenUI/Resources/Languages/StringResources.fr.xaml @@ -1240,4 +1240,6 @@ Voulez-vous appliquer ce réglage et essayer à nouveau ? PLEASE READ THIS! Thank you for switching to the Canary channel.\n\nThis channel is suggested only for advanced users who are willing to support the development and report bugs. DO NOT USE this channel if you're willing to have a Stable gameplay experience.\n\nPlease be aware it may be prone to crashing and is NOT tested by anyone. Use this build AT YOUR OWN RISK! + + Could not load the settings from the FFNx.toml file. This likely happens when your current version of FFNx is outdated. Consider updating FFNx to the latest version available for your chosen Channel and try again. diff --git a/SeventhHeavenUI/Resources/Languages/StringResources.gr.xaml b/SeventhHeavenUI/Resources/Languages/StringResources.gr.xaml index aee37049..d3ced502 100644 --- a/SeventhHeavenUI/Resources/Languages/StringResources.gr.xaml +++ b/SeventhHeavenUI/Resources/Languages/StringResources.gr.xaml @@ -1248,4 +1248,6 @@ PLEASE READ THIS! Thank you for switching to the Canary channel.\n\nThis channel is suggested only for advanced users who are willing to support the development and report bugs. DO NOT USE this channel if you're willing to have a Stable gameplay experience.\n\nPlease be aware it may be prone to crashing and is NOT tested by anyone. Use this build AT YOUR OWN RISK! + + Could not load the settings from the FFNx.toml file. This likely happens when your current version of FFNx is outdated. Consider updating FFNx to the latest version available for your chosen Channel and try again. diff --git a/SeventhHeavenUI/Resources/Languages/StringResources.it.xaml b/SeventhHeavenUI/Resources/Languages/StringResources.it.xaml index 250d6c2c..def90323 100644 --- a/SeventhHeavenUI/Resources/Languages/StringResources.it.xaml +++ b/SeventhHeavenUI/Resources/Languages/StringResources.it.xaml @@ -1244,4 +1244,6 @@ Vuoi applicare questa modifica e riprovare? PLEASE READ THIS! Thank you for switching to the Canary channel.\n\nThis channel is suggested only for advanced users who are willing to support the development and report bugs. DO NOT USE this channel if you're willing to have a Stable gameplay experience.\n\nPlease be aware it may be prone to crashing and is NOT tested by anyone. Use this build AT YOUR OWN RISK! + + Could not load the settings from the FFNx.toml file. This likely happens when your current version of FFNx is outdated. Consider updating FFNx to the latest version available for your chosen Channel and try again. \ No newline at end of file diff --git a/SeventhHeavenUI/Resources/StringResources.xaml b/SeventhHeavenUI/Resources/StringResources.xaml index 0fb7efee..b51f32a3 100644 --- a/SeventhHeavenUI/Resources/StringResources.xaml +++ b/SeventhHeavenUI/Resources/StringResources.xaml @@ -1253,4 +1253,6 @@ Do you want to apply the setting and try again? PLEASE READ THIS! Thank you for switching to the Canary channel.\n\nThis channel is suggested only for advanced users who are willing to support the development and report bugs. DO NOT USE this channel if you're willing to have a Stable gameplay experience.\n\nPlease be aware it may be prone to crashing and is NOT tested by anyone. Use this build AT YOUR OWN RISK! + + Could not load the settings from the FFNx.toml file. This likely happens when your current version of FFNx is outdated. Consider updating FFNx to the latest version available for your chosen Channel and try again. \ No newline at end of file diff --git a/SeventhHeavenUI/ViewModels/MainWindowViewModel.cs b/SeventhHeavenUI/ViewModels/MainWindowViewModel.cs index 4ab45f0e..fe8d21a1 100644 --- a/SeventhHeavenUI/ViewModels/MainWindowViewModel.cs +++ b/SeventhHeavenUI/ViewModels/MainWindowViewModel.cs @@ -1824,10 +1824,18 @@ internal void ShowGameDriverConfigWindow() { Sys.FFNxConfig.Reload(); - ConfigureGLWindow gLWindow = new ConfigureGLWindow(); - if (gLWindow.Init(Sys.PathToGameDriverUiXml(Sys.Settings.AppLanguage))) - { - gLWindow.ShowDialog(); + try + { + ConfigureGLWindow gLWindow = new ConfigureGLWindow(); + if (gLWindow.Init(Sys.PathToGameDriverUiXml(Sys.Settings.AppLanguage))) + { + gLWindow.ShowDialog(); + } + } + catch (Exception e) + { + Logger.Error(e); + MessageDialogWindow.Show(ResourceHelper.Get(StringKey.PleaseUpdateFFNx), ResourceHelper.Get(StringKey.Error), MessageBoxButton.OK, MessageBoxImage.Error); } } else