diff --git a/Output/Languages/English.xml b/Output/Languages/English.xml index 25d2537b..50a87ba8 100644 --- a/Output/Languages/English.xml +++ b/Output/Languages/English.xml @@ -86,8 +86,8 @@ Expanded Own Music and Background Music - No own Musik - Only own Musik + No own Music + Only own Music Loading @@ -163,9 +163,9 @@ Delay Test Options Sound - Backgroundmusic - Backgroundmusic Volume - Backgroundmusic Source + Background Music + Background Music Volume + Background Music Source Theme Options Theme diff --git a/Output/Languages/French.xml b/Output/Languages/French.xml index fd473b6a..0e877864 100644 --- a/Output/Languages/French.xml +++ b/Output/Languages/French.xml @@ -86,8 +86,8 @@ Développé TODO: Own Music and Background Music - TODO: No own Musik - TODO: Only own Musik + TODO: No own Music + TODO: Only own Music Chargement @@ -163,9 +163,9 @@ Test du Retard Options du Son - TODO: Backgroundmusic - TODO: Backgroundmusic Volume - TODO: Backgroundmusic Source + TODO: Background Music + TODO: Background Music Volume + TODO: Background Music Source Options du Thème Thème diff --git a/Vocaluxe/Base/CConfig.cs b/Vocaluxe/Base/CConfig.cs index 91e26b31..45ec4a5e 100644 --- a/Vocaluxe/Base/CConfig.cs +++ b/Vocaluxe/Base/CConfig.cs @@ -224,14 +224,10 @@ namespace Vocaluxe.Base MicConfig = new SMicConfig[CSettings.MaxNumPlayer]; // Init config file - if (File.Exists(CSettings.sFileConfig)) - { - LoadConfig(); - } - else - { + if (!File.Exists(CSettings.sFileConfig)) SaveConfig(); - } + + LoadConfig(); } public static bool LoadConfig() diff --git a/Vocaluxe/Base/CSettings.cs b/Vocaluxe/Base/CSettings.cs index 2202638c..14366d44 100644 --- a/Vocaluxe/Base/CSettings.cs +++ b/Vocaluxe/Base/CSettings.cs @@ -29,9 +29,9 @@ namespace Vocaluxe.Base public const int iVersionMajor = 0; public const int iVersionMinor = 1; // milestones public const int iVersionSub = 0; // steps - public const ERevision VersionRevision = ERevision.Alpha; + public const ERevision VersionRevision = ERevision.Beta; - public const int iBuild = 50; // Increase on every published version! Never Reset! + public const int iBuild = 52; // Increase on every published version! Never Reset! public const int iDatabaseHighscoreVersion = 1; public const int iDatabaseCoverVersion = 1; diff --git a/Vocaluxe/Lib/Draw/CDirect3D.cs b/Vocaluxe/Lib/Draw/CDirect3D.cs index 2d9e26db..534287f5 100644 --- a/Vocaluxe/Lib/Draw/CDirect3D.cs +++ b/Vocaluxe/Lib/Draw/CDirect3D.cs @@ -554,6 +554,8 @@ namespace Vocaluxe.Lib.Draw { string file = "Screenshot_"; string path = Path.Combine(Environment.CurrentDirectory, CSettings.sFolderScreenshots); + if (!Directory.Exists(path)) + Directory.CreateDirectory(path); int i = 0; while (File.Exists(Path.Combine(path, file + i.ToString("00000") + ".bmp"))) diff --git a/Vocaluxe/Lib/Draw/CDrawWinForm.cs b/Vocaluxe/Lib/Draw/CDrawWinForm.cs index 6e71cca8..6b64e1fc 100644 --- a/Vocaluxe/Lib/Draw/CDrawWinForm.cs +++ b/Vocaluxe/Lib/Draw/CDrawWinForm.cs @@ -300,6 +300,8 @@ namespace Vocaluxe.Lib.Draw { string file = "Screenshot_"; string path = Path.Combine(Environment.CurrentDirectory, CSettings.sFolderScreenshots); + if (!Directory.Exists(path)) + Directory.CreateDirectory(path); int i = 0; while (File.Exists(Path.Combine(path, file + i.ToString("00000") + ".png"))) diff --git a/Vocaluxe/Lib/Draw/COpenGL.cs b/Vocaluxe/Lib/Draw/COpenGL.cs index 5be7ac4d..88f8cb18 100644 --- a/Vocaluxe/Lib/Draw/COpenGL.cs +++ b/Vocaluxe/Lib/Draw/COpenGL.cs @@ -556,6 +556,8 @@ namespace Vocaluxe.Lib.Draw { string file = "Screenshot_"; string path = Path.Combine(Environment.CurrentDirectory, CSettings.sFolderScreenshots); + if (!Directory.Exists(path)) + Directory.CreateDirectory(path); int i = 0; while (File.Exists(Path.Combine(path, file + i.ToString("00000") + ".bmp")))