Elvas Tower: New Route Editor for Open Rails - Elvas Tower

Jump to content

  • 208 Pages +
  • « First
  • 27
  • 28
  • 29
  • 30
  • 31
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

New Route Editor for Open Rails Build routes without msts Rate Topic: -----

#281 User is offline   Kazareh 

  • Conductor
  • Group: Status: Active Member
  • Posts: 471
  • Joined: 21-December 12
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 10 October 2015 - 05:30 PM

It's showing up now in the latest one, thanks Goku! :)

Also, may I ask something of folks in this thread...? How do you work a .ref file? Not sure how that works, and if there is a guide on that, I would much appreciate that.

#282 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 11 October 2015 - 12:03 AM

View Postistvanek, on 10 October 2015 - 02:55 PM, said:

Indeed problem seems to be with a speedpost parser.

Thanks. You helped me fix critical bug. I forgot to change array type when updating speedpost parser.

New version http://koniec.org/ts...SRE5_v0.606.zip
- fixed bugs
- updated platform & siding properties

----
And question. How many tritems speedpost can have and how to determine it?

Quote

Speedpost (
UiD ( 2341 )
Speed_Digit_Tex ( ptsi-signmb1.ace )
Speed_Sign_Shape ( 4 -0.045 2.9 -0.269 0 0.045 2.9 0.269 3.14159 -11.645 2.9 -0.269 0 -11.56 2.9 0.269 3.14159 )
Speed_Text_Size ( 0.32 0.24 0 )
TrItemId ( 0 1336 )
TrItemId ( 0 1337 )
TrItemId ( 0 1338 )
TrItemId ( 0 1339 )

FileName ( ptsi-hmt2m0.s )
Position ( 56.2355 206.093 -788.298 )
QDirection ( 0 0 0 1 )
VDbId ( 4294967295 )
)

Now I load and save only one.

#283 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 11 October 2015 - 02:10 AM

View PostGoku, on 11 October 2015 - 12:03 AM, said:

You helped me fix critical bug.


Good to hear :) With 0.606 route loads without problems. Thank you. But now I have another issue. With saving.

With TSRE5 0.606 I deleted one interactive object (siding) and saved. Found no dynamic tracks objects(actually Dynatrax TrackObj in my route) after save (using ORTS Track Viewer). TSRE5 0.606 crashes when loading route after save.

Nothing unexpected found in .w and .tdb files when comparing before and after save files (do not mean that everything is ok) but tsection.dat was nearly completely cleared during save.

.w, .tdb, tsection (before and after) and console window attached

Attached File(s)

  • Attached File  save.zip (1.14MB)
    Number of downloads: 14


#284 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 11 October 2015 - 02:23 AM

View Postistvanek, on 11 October 2015 - 02:10 AM, said:

With TSRE5 0.606 I deleted one interactive object (siding) and saved. Found no dynamic tracks objects(actually Dynatrax TrackObj in my route) after save (using ORTS Track Viewer). TSRE5 0.606 crashes when loading route after save.

Nothing unexpected found in .w and .tdb files when comparing before and after save files (do not mean that everything is ok) but tsection.dat was nearly completely cleared during save.

It crashes after save because dynamic track sections inside tsection.dat file have index values much lower than 40000. How is it possible and how to deal with it? It ruins my whole knowledge about dynamic tracks.

Quote

TrackSection (
SectionCurve ( 0 ) 5724 13 0
)

TrackPath ( 263 2 376 378 )
TrackPath ( 264 3 380 2638 2640 )


Maybe it uses custom global tsection.dat and I need to use TrackSections.length and TrackShapes.length value instead of fixed 40000? It seems like good answer.

Check it and if it is true - send me global tsection.dat. I can't check this idea because I have only '40000' tsection.dat files.

Crash was caused because interactives couldn't find their position on non existing track section. Fixed it.

#285 User is offline   captain_bazza 

  • Chairman, Board of Directors
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 13,927
  • Joined: 21-February 06
  • Gender:Male
  • Location:Way, way, way, South
  • Simulator:MSTS & OR
  • Country:

Posted 11 October 2015 - 03:27 AM

Quote

TDB



Well, I've tried every permutation, but blowed if I can figure that acronym out. I must be too innocent. http://www.elvastower.com/forums/public/style_emoticons/default/unknw.gif http://www.elvastower.com/forums/public/style_emoticons/default/book2.gif!??

Cheers Bazza.

#286 User is offline   Gman347 

  • Foreman Of Engines
  • Group: Status: First Class
  • Posts: 934
  • Joined: 18-June 11
  • Gender:Male
  • Country:

Posted 11 October 2015 - 04:06 AM

Doesn't it just mean Track Data Base?

:D

#287 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 11 October 2015 - 04:12 AM

View PostGoku, on 11 October 2015 - 02:23 AM, said:


Check it and if it is true - send me global tsection.dat. I can't check this idea because I have only '40000' tsection.dat files.



Here it is. But I don't think this one is special. Did you notice that there aren't any MSTS dynamics in this route? All off them were converted to TrackObj using Dynatrax. Maybe this is a problem? Check the .w file.

Attached File(s)



#288 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 11 October 2015 - 04:21 AM

View Postistvanek, on 11 October 2015 - 04:12 AM, said:

Here it is. But I don't think this one is special.

Yes - it is special. It has:
TrackSections ( 376
and
TrackShapes ( 263

I was thinking that all tsection.dat files have 40000. I'll fix that.

View Postistvanek, on 11 October 2015 - 04:12 AM, said:

All off them were converted to TrackObj using Dynatrax. Maybe this is a problem? Check the .w file.

This doesn't matter.

---

I am still waiting for help how to determine number of tritems in speedpost? Is any solution or I have to use List?

Quote

Speedpost (
UiD ( 9355 )
Speed_Digit_Tex ( cyfer-black2.ace )
Speed_Sign_Shape ( 2 -0.06 2.094 -0.084 0 0.06 2.094 0.084 3.14159 )
Speed_Text_Size ( 0.23 0.111 0 )
TrItemId ( 0 15822 )
FileName ( hkmPL_5Es.s )
Position ( 858.745 85.7461 -67.2978 )
QDirection ( 0 0.544658 0 0.838658 )
VDbId ( 4294967295 )
StaticDetailLevel ( 0 )
)
Speedpost (
UiD ( 9356 )
Speed_Digit_Tex ( cyfer-black2.ace )
Speed_Sign_Shape ( 2 -0.06 2.094 -0.084 0 0.06 2.094 0.084 3.14159 )
Speed_Text_Size ( 0.23 0.111 0 )
TrItemId ( 0 15823 )
TrItemId ( 0 15824 )
TrItemId ( 0 15825 )
TrItemId ( 0 15826 )

FileName ( hkmPL_6Es.s )
Position ( 980.201 85.7461 -148.089 )
QDirection ( 0 0.471406 0 0.881916 )
VDbId ( 4294967295 )
StaticDetailLevel ( 0 )
)


#289 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 11 October 2015 - 04:35 AM

View PostGoku, on 11 October 2015 - 04:21 AM, said:

Yes - it is special. It has:
TrackSections ( 376
and
TrackShapes ( 263

I was thinking that all tsection.dat files have 40000. I'll fix that.



Well, I'm nearly sure that this tsection.dat is the orginal MSTS one.

#290 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 11 October 2015 - 04:43 AM

View Postistvanek, on 11 October 2015 - 04:35 AM, said:

Well, I'm nearly sure that this tsection.dat is the orginal MSTS one.

Probably is. I don't have original version.

Dynamic track issue fixed. I will release update when speedpost tritems will be fixed.

---
Ok - I used vector for tritems in speedpsot.
New version: http://koniec.org/ts...SRE5_v0.607.zip
- fixed dynamic track tsection
- fixed speedpost tritem

  • 208 Pages +
  • « First
  • 27
  • 28
  • 29
  • 30
  • 31
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users