Elvas Tower: Local tsection.dat entries limitation? - Elvas Tower

Jump to content

  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Local tsection.dat entries limitation? Rate Topic: -----

#11 User is online   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,437
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 09 August 2024 - 09:26 PM

1. To Erick.
What I have observed well-matches with situation, Derek have described. I have found analogy with data organization on disks too.
2. To Derek.
Thanks for explanation: it have answered and confirmed many of my guesses.
3. To Dave.
I didn't understand all, what I've read, but I doubt, they are hex: sequence looks like decimal, no a to f symbols for 10 to 15 numbers.

I think, I actually have used much less, than 65535 sections, but doubled number of every section's editings is being kept in file: again, when I just move already existing dynamic section, or, maybe, change it's elevation(grade), the list (count) still increases - that's why I guess, no deletion after actual sections were deleted; plus, I have to move a big part of already built route towards right coordinates (after topography distortions correction), plus, I have tried auto-placement of dynamic track (I suspect, 10m straight was placed), along existing track twice, however have removed "last placement" both times then.

#12 User is online   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,437
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 09 August 2024 - 09:37 PM

What are 1 0 0 0 0?
39991 to 39998 are entries umber in world files?
36206 to 36220 are section idx numbers from the first part of the tsection file?

#13 User is offline   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,891
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 10 August 2024 - 12:48 AM

Ok guys,

The misinterpretation of the tsection comes from me.
Weter is correct that the numbers in tsection are in decimal.

So Dave the new calculation for number of slots left has changed.

40,000 in total, 2/3 full so leaving 26,667 slots left.
Within the slots left, half is sections, half is shapes, therefore 13,000 tracks/roads can be had.

Given the rate of new routes, we still have many years left.

#14 User is online   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,437
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 10 August 2024 - 10:05 AM

Another question: am I right, understanding, that dynatrack makes only cosmetic effect, substituting visible default dynamic tracks model(crossection) to some other model(and texture), but does nothing with track vectors (which turn crazy after 65535 limit hit)?

#15 User is offline   Laci1959 

  • Superintendant
  • Group: Posts: Elite Member
  • Posts: 1,019
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Alföld
  • Country:

Posted 10 August 2024 - 10:54 AM

The TSection.dat file consists of two parts.
1. TrackSections The dimensions are listed here.
2. TrackShapes The different shape files are listed here.
I wonder which one the question refers to, because it really doesn't matter?

#16 User is offline   copperpen 

  • Executive Vice President
  • Group: Posts: Elite Member
  • Posts: 3,176
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 10 August 2024 - 11:37 AM

The local tsection contained within the route has a section dealing with TrackSection (SectionCurve and a second part covering each dynamic track section path TrackPath ( 40002 5 40008 40010 40012 40014 40016 ) First figure is the section number, next is the number of path segments followed by the numbers of each section of the dynamic trackpiece.

#17 User is online   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,437
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 10 August 2024 - 12:05 PM

Thanks, a bit clearer.
So, both: straight and curved pieces are being listed in the second part...

#18 User is offline   Laci1959 

  • Superintendant
  • Group: Posts: Elite Member
  • Posts: 1,019
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Alföld
  • Country:

Posted 10 August 2024 - 12:06 PM

View Postcopperpen, on 10 August 2024 - 11:37 AM, said:

The local tsection contained within the route has a section dealing with TrackSection (SectionCurve and a second part covering each dynamic track section path TrackPath ( 40002 5 40008 40010 40012 40014 40016 ) First figure is the section number, next is the number of path segments followed by the numbers of each section of the dynamic trackpiece.

I think the post refers to the TSection.dat file in the Global folder. There is only a limit of 40,000, which has now been raised to one and a half times.

#19 User is online   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,437
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 10 August 2024 - 12:28 PM

The topic's name indicates, I'm trying to obtain more information about local tsection file, describing dynamic sections of my route only, and failing to draw correct vectors after exceeding 65535 entries. Note, the count begins from 40001.

#20 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 15,458
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 10 August 2024 - 12:57 PM

View Postengmod, on 10 August 2024 - 12:48 AM, said:


So Dave the new calculation for number of slots left has changed.

40,000 in total, 2/3 full so leaving 26,667 slots left.
Within the slots left, half is sections, half is shapes, therefore 13,000 tracks/roads can be had.

Given the rate of new routes, we still have many years left.


Derek, I think you mis-wrote that sentence. In V60 there are 14949 occurrences of the string TrackShape. The number is larger than what you see because I have a few more than 1000 I have not submitted -- about 25% of the total are unused..

So IMO we have a looming problem on the horizon.

Is there some fundamental reason why the limit is 40,000 instead of, say, 128,000?

  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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