Elvas Tower: TSRE 5 and Brake Shoe Friction - Elvas Tower

Jump to content

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

TSRE 5 and Brake Shoe Friction Rate Topic: -----

#1 User is offline   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,238
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 21 August 2022 - 09:58 PM

Hello
Not sure if anyone else has noticed this. If you include a ORTSBrakeShoeFriction ( x1 y1 x2 y2 ) statement in an eng file, then TSRE 5 no longer seems to recognise if the locomotive is Steam, Diesel or Electric.
It does not matter if the statement is in the eng file or called in an include file.
Thoughts and solutions much appreciated.


#2 User is offline   R H Steele 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 3,442
  • Joined: 14-March 13
  • Gender:Male
  • Location:known universe
  • Simulator:Open Rails
  • Country:

Posted 22 August 2022 - 08:10 AM

View Postdarwins, on 21 August 2022 - 09:58 PM, said:

Hello
Not sure if anyone else has noticed this. If you include a ORTSBrakeShoeFriction ( x1 y1 x2 y2 ) statement in an eng file, then TSRE 5 no longer seems to recognise if the locomotive is Steam, Diesel or Electric.
It does not matter if the statement is in the eng file or called in an include file.
Thoughts and solutions much appreciated.


I'm assuming this occurs when the ORTSBrakeShoeFriction is inserted in an msts style format eng file or a pure ORTS eng file with or without include statements.
I'm using an OpenRails folder in the parent folder ( containing an unaltered MSTS eng file ), with an eng file that contains include statements that refer to the ORTSBrakeShoeFriction parameters and have no trouble with TSRE displaying the correct type locomotive information. I'm not quite sure TSRE reads any of the information in the OpenRails folder...sometimes it appears to....cannot quite figure it out.

#3 User is offline   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,238
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 22 August 2022 - 08:55 AM

View PostR H Steele, on 22 August 2022 - 08:10 AM, said:

I'm assuming this occurs when the ORTSBrakeShoeFriction is inserted in an msts style format eng file or a pure ORTS eng file with or without include statements.


That is correct.


#4 User is offline   superheatedsteam 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 503
  • Joined: 28-June 08
  • Location:Perth, WA
  • Country:

Posted 22 August 2022 - 03:53 PM

View PostR H Steele, on 22 August 2022 - 08:10 AM, said:

I'm not quite sure TSRE reads any of the information in the OpenRails folder...sometimes it appears to....cannot quite figure it out.


TSRE_v0.7012.exe checks if there is an OPENRAILS folder within each folder in TRAINSET, and if WAG files are present within those folders, it will read them.

What it does with that data after the file is read I don't know.

Cheers,

Marek.

#5 User is offline   R H Steele 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 3,442
  • Joined: 14-March 13
  • Gender:Male
  • Location:known universe
  • Simulator:Open Rails
  • Country:

Posted 22 August 2022 - 06:54 PM

Thanks Marek, that's encouraging...when I get some time, I'll set up some simple tests to help me figure out what TSRE reads and uses.

Sounds like darwins has found a bug in TSRE...sorry I cannot offer more help than that simple observation.


#6 User is offline   engmod 

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

Posted 23 August 2022 - 03:15 AM

To find out what happens at the system level, try sysinternals utility "process monitor"
It can log every file open/close and testing for existence.

Example of its use, here
http://www.elvastowe...__1#entry287791

#7 User is offline   Goku 

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

Posted 09 October 2022 - 04:51 AM

View Postdarwins, on 21 August 2022 - 09:58 PM, said:

Hello
Not sure if anyone else has noticed this. If you include a ORTSBrakeShoeFriction ( x1 y1 x2 y2 ) statement in an eng file, then TSRE 5 no longer seems to recognise if the locomotive is Steam, Diesel or Electric.
It does not matter if the statement is in the eng file or called in an include file.
Thoughts and solutions much appreciated.

Maybe you did something wrong. TSRE skips all unsupported tokens, like ORTSBrakeShoeFriction. It may be a problem with not correctly placed ) or " somewhere.

#8 User is offline   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,238
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 09 October 2022 - 05:19 AM

View PostGoku, on 09 October 2022 - 04:51 AM, said:

Maybe you did something wrong. TSRE skips all unsupported tokens, like ORTSBrakeShoeFriction. It may be a problem with not correctly placed ) or " somewhere.


I have attached an example file. If yourself or anyone else can find the problem, please tell me. It assume it must be in the brake friction line, because deleting this line will correctly show the type as Diesel.
Also attached a control trailer as you may want to consider how best to display this type of vehicle (new to OR).

Attached File(s)



#9 User is offline   slipperman 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 760
  • Joined: 09-February 12
  • Gender:Male
  • Location:North Nottinghamshire
  • Simulator:MSTS & ORTS
  • Country:

Posted 09 October 2022 - 09:02 AM

Hi Darwin,
Referring to ~CTN_BR_101_DMBS_1957_Adv

This may just be a red herring, but don't Open Rails .eng files require a Wagon () entry before Type ()??
eg Wagon ( ~CTN_BR_101_DMBS_1957_Adv )
Type ( Diesel )

Cheers,
Ged

#10 User is offline   Weter 

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

Posted 09 October 2022 - 10:13 AM

As I know, they do.

  • 3 Pages +
  • 1
  • 2
  • 3
  • 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