public static bool IsGameDirectory(string dir) { return(FileHelpers.GetLastFolder(dir).Equals(Defs.gameDir)); }