Since revision 1769, I have noticed new errors in the route menu:
http://img268.imageshack.us/img268/1306/1tn6.jpg
Those erros were not raised with revision #1768. They are caused by routes which are "stored" using TrainStore. Thus the folder is present, but it does not contain a TRK file. I don't know if this change was made on purpose, but I don't think that those errors are very useful. This can be fixed by adding a few more conditions in the file Source\ORTS\Menu\Routes.cs. The code of the GetRoutes method is as follows:
public static List<Route> GetRoutes(Folder folder) { var routes = new List<Route>(); var directory = System.IO.Path.Combine(folder.Path, "ROUTES"); if (Directory.Exists(directory)) { foreach (var routeDirectory in Directory.GetDirectories(directory)) { try { routes.Add(new Route(routeDirectory)); } catch { } } } return routes; }
It can be replaced by:
public static List<Route> GetRoutes(Folder folder) { var routes = new List<Route>(); var directory = System.IO.Path.Combine(folder.Path, "ROUTES"); if (Directory.Exists(directory)) { foreach (var routeDirectory in Directory.GetDirectories(directory)) { // Test if route can be loaded before adding it to the menu! Route route_seen = new Route(routeDirectory); if (route_seen != null && route_seen.Name != null && !route_seen.Name.Contains("<load error:") && !route_seen.Name.Contains("<missing:")) { try { routes.Add(route_seen); } catch { } } } } return routes; }
I can log a bug and provide a SVN patch if you think it is useful.
Regards
Vincent