stringhome=Environment.GetFolderPath(Environment.SpecialFolder.UserProfile).Replace("\\","\\\\");// This is \ -> \\
boolwasSuccessful=false;
varwinSaveRegex=newRegex(@"C:\\Users\\.*\\AppData\\Local\\");//this is to ensure, that the save directory is valid. so far, this is only important for windows
varwinSaveRegex=newRegex(@"C:\\Users\\.*\\AppData\\Local\\");//this is to ensure, that the save directory is valid. so far, this is only important for windows
varlinSaveRegex=newRegex($@"{home}/\.config/");// GMS hardcodes save into ~/.config on linux