@@ -284,9 +284,6 @@ public Simulator(UserSettings settings, string activityPath, bool useOpenRailsDi
284284
285285 string ORfilepath = System . IO . Path . Combine ( RoutePath , "OpenRails" ) ;
286286
287- Trace . Write ( "Loading " ) ;
288-
289- Trace . Write ( " TRK" ) ;
290287 TRK = new RouteFile ( MSTS . MSTSPath . GetTRKFileName ( RoutePath ) ) ;
291288 RouteName = TRK . Tr_RouteFile . Name ;
292289 MilepostUnitsMetric = TRK . Tr_RouteFile . MilepostUnitsMetric ;
@@ -307,21 +304,17 @@ public Simulator(UserSettings settings, string activityPath, bool useOpenRailsDi
307304 else if ( TRK . Tr_RouteFile . SuperElevation . Count > 0 && ! TRK . Tr_RouteFile . SuperElevation [ 0 ] . DefaultStandard )
308305 UseSuperElevation = true ; // Custom superelevation standard entered, force enable superelevation
309306
310- Trace . Write ( " TDB" ) ;
311307 TDB = new TrackDatabaseFile ( RoutePath + @"\" + TRK . Tr_RouteFile . FileName + ".tdb" ) ;
312308
313309 if ( File . Exists ( ORfilepath + @"\sigcfg.dat" ) )
314310 {
315- Trace . Write ( " SIGCFG_OR" ) ;
316311 SIGCFG = new SignalConfigurationFile ( ORfilepath + @"\sigcfg.dat" , true ) ;
317312 }
318313 else
319314 {
320- Trace . Write ( " SIGCFG" ) ;
321315 SIGCFG = new SignalConfigurationFile ( RoutePath + @"\sigcfg.dat" , false ) ;
322316 }
323317
324- Trace . Write ( " DAT" ) ;
325318 if ( Directory . Exists ( RoutePath + @"\Openrails" ) && File . Exists ( RoutePath + @"\Openrails\TSECTION.DAT" ) )
326319 TSectionDat = new TrackSectionsFile ( RoutePath + @"\Openrails\TSECTION.DAT" ) ;
327320 else if ( Directory . Exists ( RoutePath + @"\GLOBAL" ) && File . Exists ( RoutePath + @"\GLOBAL\TSECTION.DAT" ) )
@@ -337,20 +330,16 @@ public Simulator(UserSettings settings, string activityPath, bool useOpenRailsDi
337330 orRouteConfig . SetTraveller ( TSectionDat , TDB ) ;
338331#endif
339332
340- Trace . Write ( " ACT" ) ;
341-
342333 var rdbFile = RoutePath + @"\" + TRK . Tr_RouteFile . FileName + ".rdb" ;
343334 if ( File . Exists ( rdbFile ) )
344335 {
345- Trace . Write ( " RDB" ) ;
346336 RDB = new RoadDatabaseFile ( rdbFile ) ;
347337 }
348338
349339 var carSpawnFile = RoutePath + @"\carspawn.dat" ;
350340 if ( File . Exists ( carSpawnFile ) )
351341 {
352342 CarSpawnerLists = new List < CarSpawnerList > ( ) ;
353- Trace . Write ( " CARSPAWN" ) ;
354343 CarSpawnerFile = new CarSpawnerFile ( RoutePath + @"\carspawn.dat" , RoutePath + @"\shapes\" , CarSpawnerLists ) ;
355344 }
356345
@@ -359,22 +348,19 @@ public Simulator(UserSettings settings, string activityPath, bool useOpenRailsDi
359348 if ( File . Exists ( extCarSpawnFile ) )
360349 {
361350 if ( CarSpawnerLists == null ) CarSpawnerLists = new List < CarSpawnerList > ( ) ;
362- Trace . Write ( " EXTCARSPAWN" ) ;
363351 ExtCarSpawnerFile = new ExtCarSpawnerFile ( RoutePath + @"\openrails\carspawn.dat" , RoutePath + @"\shapes\" , CarSpawnerLists ) ;
364352 }
365353
366354 // Load animated clocks if file "animated.clocks-or" exists --------------------------------------------------------
367355 var clockFile = RoutePath + @"\animated.clocks-or" ;
368356 if ( File . Exists ( clockFile ) )
369357 {
370- Trace . Write ( " CLOCKS" ) ;
371358 new ClocksFile ( clockFile , ClockShapeList , RoutePath + @"\shapes\" ) ;
372359 }
373360
374361 // Generate a list of EOTs that may be used to attach at end of train
375362 if ( Directory . Exists ( EOTPath ) )
376363 {
377- Trace . Write ( " EOT" ) ;
378364 FullEOTPaths = new FullEOTPaths ( EOTPath ) ;
379365 }
380366
0 commit comments