I'm the first to admit that I'm not the most knowledgeable when it comes to TSRE, but I've got a problem that is really puzzling me. I've got 4 U.P. Gevos (file names "UP_C44ACCTE_5911", xxx_5919, xxx_5920, and xxx_5929. When I open TSRE Consist Editor, I don't find them under Type "Diesel", I find them listed under Type "Electric. In looking at the TSRE screen, I'm seeing that these 4 units show only "Engine" for the Type, while all other engines, located under the Type "Diesel" category, show "Engine (Diesel)" for the Type. I've searched the engine file, but I'm not seeing anything that stands out. Any assistance in moving these 4 units from "Electric" to "Diesel" would be appreciated.
Engines showing up under the "Electric" Type tab, rather than "Diesel".
Collapse
X
-
Hi Curt,
In the 'Wagon' section of the .eng file, Type ( Engine ) is correct.
In the 'Engine' section, Type ( Diesel ) is also correct!
5911, 5919 and 5920 are shown correctly in the 'Diesels' list in TSRE ConsistEditor but 5929 is shown in the 'Electric' list even though the 'Type' entries are correct.
The cause of the problem is in the Coupling section of 5929 where the first entry is Coupling Coupling (.. Correcting this to Coupling ( results in all 4 locos being shown in the 'Diesels' list
Cheers,
GedLast edited by slipperman; 12-30-2023, 12:44. -
Here's what I find in a typical diesel .eng file, after the lighting codes:
Engine ( HRL_F9A-891
Effects
(
DieselSpecialEffects
(
Exhaust1
(
0.0 4.5 -0.786
0 1 0
0.1
)
Exhaust2
(
0.0 4.5 -3.232
0 1 0
0.1
)
)
)
Wagon ( HRL_F9A-891 )
Type ( Diesel )
********
Here's an electric after lighting codes:
Engine ( acela
Wagon ( acela )
Type ( Electric )
Suspect the error lies there. I do''t have those engines so can't check their files myself.
Missed the prior post, while wirting mine, so disgard,
oper190Geary "Mr. Hart" Gerhardt - Owner and CEO of Hart Rail Lines, Hart Commuter Railways, and Hart Rail Cars. Also the defunct Hart Electric Transit.
Its Your Train Sim World, sim as you please.Comment
-
I had this, too. But I figured it out. There's a missing ) in the .eng file, just after the lighting section. The original has 4, but it should be 5.Attached FilesLast edited by yellowdog; 12-30-2023, 14:30.Comment
-
Hi yellowdog,
You must have a different version of the .eng file to mine because the line numbers are totally different!
However, I think by adding a close bracket, you've introduced an error. Mine only has 4 close brackets before the Sound line.
That under 'Radius' is for 'State', the next down is for 'States'. The third down is for 'Light' and the fourth is for 'Lights'.
The one under 'Sound' is for 'Wagon' at the head of the file. By adding an extra close bracket before 'Sound' you may, at best, end up with no external sounds when running Open Rails but likely to cause a crash if running MSTS!!
I'm not saying there aren't errors in your .eng file/s, but that it looks like you've added another!
Cheers,
Ged
Comment
-
Whoops, you are correct! I think I found the actual solution, though. There's an extra Comment line at 19. Deleting that seems to resolve the problem without creating more problemsAttached FilesLast edited by yellowdog; 12-30-2023, 16:20.Comment
-
I kills me that KICAD (PCB Software) just adopted this S-Expression configuration scheme that is used by MSTS (Which I have hated since day 1). The claim is that S-Expression format is a human-readable format but judging by 20+ years of human-errors with it... I still have my doubts about it being a good idea.http://www.railsimstuff.com
Just Blender now, 3DCrafter only when I have to.
Formerly The Keystone Works (All Permissions Granted)
Things I work on: https://github.com/pwillard
Comment
-
They forgot to mention that humans should be taught how to read it -- reading is a learned skill, even very proficient readers can have trouble reading Shakespeare, if they haven't developed the skill to read his verse. The humans that designed S-Expression format were already predisposed to read the format by their professional skills.Cheers, Gerry
"A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
Forever, ridin' drag in railroad knowledge.
Audi, Vide, Tace, Si Vis Vivere In Pace
https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=smallComment







Comment