invisible locomotive

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnnyboy99
    Senior Member


    • Nov 2014
    • 373
    • General

    #1

    invisible locomotive

    I have the DRGW GP60s included with the Siskiyou route (they were using the old Danny Beck GP60 shape) and for some reason they won't show up in ORTS despite the shape file being compressed!

    the log file showed it as
    Warning: System.IO.FileLoadException: C:\TrainSimulations\trains\trainset\DRGW_GP60_3156 \DRGW_GP60_3156.eng ---> System.DivideByZeroException: Attempted to divide by zero.
    at Orts.Viewer3D.LightPrimitive..ctor(Light light) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Light s.cs:line 325
    at Orts.Viewer3D.LightGlowPrimitive..ctor(LightViewer lightViewer, RenderProcess renderProcess, Light light) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Light s.cs:line 516
    at Orts.Viewer3D.LightViewer..ctor(Viewer viewer, TrainCar car) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Light s.cs:line 89
    at Orts.Viewer3D.TrainDrawer.LoadCar(TrainCar car) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Train s.cs:line 154
    at Orts.Viewer3D.TrainDrawer.Load() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Train s.cs:line 74
    at Orts.Viewer3D.World.Load() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\World .cs:line 100
    at Orts.Viewer3D.Viewer.Load() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Viewe r.cs:line 729
    at Orts.Viewer3D.Processes.LoaderProcess.Load() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 160
    at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 140
    at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread () in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 111
    at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()

    Is there a fix for this?
  • uli2
    Senior Member
    • Jan 2008
    • 503
    • Berlin/Germany
    • MSOR

    #2
    I don't have the DRGW GP60s included with the Siskyou route. If they are using the same shape as the DRGW GP60s that Danny donated as freeware and which are in the F/L here, those shapes show fine in ORTS.

    Comment

    • johnnyboy99
      Senior Member


      • Nov 2014
      • 373
      • General

      #3
      Yeah now that I think about it I think it’s the eng file that’s the problem

      Comment

      • johnnyboy99
        Senior Member


        • Nov 2014
        • 373
        • General

        #4
        I found out one of the lines is misspelled as "stat" instead of "state". Problem solved

        Comment

        Working...