Adding Automatic Switch Sounds in Openrails
Collapse
X
-
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=small -
Hi,
@Niknak : I've just downloaded the latest version of Mactier from TSN and found, as you reported, that the ttype.dat file has no entries! However, as you've found, carrying out the procedures in my last two messages also works perfectly OK for this version.
@Gerry : Thanks, mate
I don't know why those characters are at the end of the .trk file but, somehow, they prevent Carlo's sounds from working!
Cheers,
GedComment
-
I also sometimes noticed the switch problem you mentioned, and unfortunately up to now wasn't able to find the cause of it.Hello all,
I am now able to hear the switch sounds from Carlo's Demo sounds. I did notice when the train is moving slowly over multiple switches, under 10mph, the sounds will keep looping as if the train is moving faster than 10mph. Also some abrupt noises also play. Does anyone know a way to smooth this out? Just trying to make it as real as possible when doing yard work
Can you be more detailed about the abrupt noises?
CarlosigpicComment
-
Hello Carlo,
I believe this only happens when the train is moving under 10 mph or slowing down to under 10mph, then the switch sounds 1-10 are being triggered. I was going to try to see if I can mute them. I’m not sure if there’s a way in openrails to do this but I think what will solve the problem is if the switch sound can be trigged only when a unique car goes over a switch, that will sound more realistic than switch sounds looping while the train is moving.Visit me on Youtube:
https://www.youtube.com/user/csx8851Comment
-
Hi,
For starters, can you please post a copy of your BlackfootV2's ttype.dat file and your OpenRails can99v2.trk file
Cheers,
GedComment
-
can99v2.trk:
include ( "../CAN99v2.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 2 )
ORTSCurveSMSNumber ( 3 )
ORTSCurveSwitchSMSNumber ( 4 )
I changed the numbers in the entries. I don't think they mean anything in OR. They're just placeholders for now. Originals were 11, 12, and 13, I think. There is supposed to be a blank line above the include( "../CAN99v2.trk" ).
ttype.dat:
SIMISA@@@@@@@@@@JINX0t1t______
4
TrackType ( "Default" "CAN99track0_in.sms" "CAN99track0_ex.sms" )
TrackType ( "Switch" "DemoAutoSound/switchtrackin.sms" "DemoAutoSound/switchtrackex.sms" )
TrackType ( "Squeal Curve" "DemoAutoSound/curvesquealtrackin.sms" "DemoAutoSound/curvesquealtrackex.sms" )
TrackType ( "Squeal Switch" "DemoAutoSound/curveswitchtrackin.sms" "DemoAutoSound/curveswitchtrackex.sms" )
I tried the same thing in a route I'm working on in TSRE, but it doesn't work there. I even copied the sound folder from can99v2.Comment
-
can99v2.trk:
include ( "../CAN99v2.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 1 )
ORTSCurveSMSNumber ( 2 )
ORTSCurveSwitchSMSNumber ( 3 )
I changed the numbers in the entries. I don't think they mean anything in OR. They're just placeholders for now. Originals were 11, 12, and 13, I think. There is supposed to be a blank line above the include( "../CAN99v2.trk" ).
ttype.dat:
SIMISA@@@@@@@@@@JINX0t1t______
4
TrackType ( "Default" "CAN99track0_in.sms" "CAN99track0_ex.sms"  
TrackType ( "Switch" "DemoAutoSound/switchtrackin.sms" "DemoAutoSound/switchtrackex.sms" )
TrackType ( "Squeal Curve" "DemoAutoSound/curvesquealtrackin.sms" "DemoAutoSound/curvesquealtrackex.sms" )
TrackType ( "Squeal Switch" "DemoAutoSound/curveswitchtrackin.sms" "DemoAutoSound/curveswitchtrackex.sms" )
I tried the same thing in a route I'm working on in TSRE, but it doesn't work there. I even copied the sound folder from can99v2.
Your numbers are off. They should be 1 2 3, as the sim starts counting at 0.Steve
USAF VeteranComment
-
Hopefully with Ged's permission (slipperman) I'll post his to reply over at ET in a thread about this same problem, hope it clears it up...or adds a little information.
...so locate and look at your existing ttype.dat file to see how many entries there are before numbering the DemoAutoSound entries. They do mean something in OR....numbering of the ttype.dat entries starts from zero, which means that 14 entries translate into 'positions' 0 to 13.
The numbers allocated by Carlo to the three DemoAutoSound entries will only apply if there are already 11 sound entries in the ttype.dat file. I have seen existing ttype.dat files with 10 sound entries, so adding the 3 DemoAutoSound lines will make a total of 13 entries (ie positions 0 to 12). In this case, the .trk values must be changed 10, 11 and 12 respectively.
Cheers,
Ged
Edit : By the way, I believe the example shown in Paragraph 2 of 13.3 of the Open Rails manual won't work as intended. There are 14 entries in the ttype.dat file with the DemoAutoSound entries being the last three, but the .trk file has them allocated to positions 10, 11 and 12.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
-
-
Can I just jump in on this thread to ask if anyone has managed to get DemoAutoSounds working on TrainSimulations Ruel and Mullan routes? Ged was most helpful a while back in enabling them in various other routes but these two have defeated me so far.Regards,
Nick
( ' boffin0_reprised ' on TikTok )
Cyberpower Desktop with AMD Ryzen 5 CPU /. 16GB RAM /. ATI AMD Radeon RX6700 12GB graphics /. Windows 11 Home 64bit /. RailDriver /. Partridge in a pear tree....Comment
-
-
Hi Nick,
I've had another look at the Ruel route (I still don't have Mullan) and, using the 'normal' OpenRails .trk file, the switch and curve sounds aren't heard.
I tried putting the three DemoSound parameters in the route's main .trk file, just before the final close bracket. IT WORKS!!!!
Please don't ask me why!! I've tried everything I can think of regarding format of and positioning in, the OpenRails .trk file, without success. I even unsuccessfully tried creating a new OpenRails .trk file using the NoTrees utility - I wonder if any other OR parameters will work from that file??
Mactier route is in the same installation as Ruel and the sounds work correctly. I even copied the ttype.dat and OpenRails .trk files from that route into Ruel (changing names in the latter!!), again, without success. I appreciate there could be problems mixing MSTS and ORTS routes in one installation, but both seem to run and display correctly.
Cheers (puzzled!!)
GedLast edited by slipperman; 09-05-2021, 08:56.Comment
-
That is VERY good news Ged! Thank you so much for your persistence in all of this. I have always put the sounds in the main trk folder on MSTS routes (eg:MLT's routes and freeware routes such as Monon, MP5 etc) but with Ruel being an OR route I didn't think that would work there. For me these sounds make a huge difference to my enjoyment of a route so I will be installing them in Ruel asap.
Thanks again.
NickLast edited by niknak; 09-05-2021, 09:16.Regards,
Nick
( ' boffin0_reprised ' on TikTok )
Cyberpower Desktop with AMD Ryzen 5 CPU /. 16GB RAM /. ATI AMD Radeon RX6700 12GB graphics /. Windows 11 Home 64bit /. RailDriver /. Partridge in a pear tree....Comment







Comment