TSRE 5 and Brake Shoe Friction
#1
Posted 21 August 2022 - 09:58 PM
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
Posted 22 August 2022 - 08:10 AM
darwins, on 21 August 2022 - 09:58 PM, said:
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
Posted 22 August 2022 - 08:55 AM
#4
Posted 22 August 2022 - 03:53 PM
R H Steele, on 22 August 2022 - 08:10 AM, said:
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
Posted 22 August 2022 - 06:54 PM
Sounds like darwins has found a bug in TSRE...sorry I cannot offer more help than that simple observation.
#6
Posted 23 August 2022 - 03:15 AM
It can log every file open/close and testing for existence.
Example of its use, here
http://www.elvastowe...__1#entry287791
#7
Posted 09 October 2022 - 04:51 AM
darwins, on 21 August 2022 - 09:58 PM, said:
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
Posted 09 October 2022 - 05:19 AM
Goku, on 09 October 2022 - 04:51 AM, said:
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)
-
~CTN_BR_101_DMBS_1957_Adv.eng (35.96K)
Number of downloads: 2 -
~CTN_BR_101_DTCL_1957.eng (26.52K)
Number of downloads: 0
#9
Posted 09 October 2022 - 09:02 AM
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