Enabling automatic track sounds for switches, curves, and switches+curves
+2
33lima
StephenRWells
6 posters
Page 1 of 2
Page 1 of 2 • 1, 2
Enabling automatic track sounds for switches, curves, and switches+curves
Looking for some help here!
In an effort to do something about the lack of any additional sound as a loco crosses points, I found a description of how to do this in the Open Rails Manual's Sound Management section (#13 - which wasn't lucky for me) - subsection 13.3 to be precise. I've cut and pasted the complete description at the end of this post, tho it's probably better read in the manual.
I have tried all the steps indicated, including both options for editing the .trk file - and I cannot hear the sounds. I'm using the ones linked to in the manual's description (a zip file, DemoAutoSound, containing many more sounds than the three needed for this).
The route I'm trying this out on is Irish Enterprise North and testing is being done with an NIR GM Class 111 at Belfast Central, where there are plenty of sets of points near at hand.
In applying the steps described in the manual to this route, what I did was:
1. Downloaded the zip of sample sounds linked to at Step 1, and unzipped the whole lot into the route's sound folder, ie C:\Train Simulator\Routes\Ireland1\Sounds\DemoAutoSound - the latter subfolder being as in the zp and also as per the edit to the tttype.dat file as described in section 13.3, Step 1.
2. Edited the file C:\Train Simulator\Routes\Ireland1\ttype.dat, and added 3 to the number on line 3 of the file increasing it from 1 to 4, as per 13.3 Step 2. So that file, which just had one entry, now looks like this:
IMISA@@@@@@@@@@JINX0t1t______
4
TrackType ( "Default" "USATrack0In.sms" "USATrack0Ex.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" )
3. As per 13.3 Step 2, I then edited the file C:\Train Simulator\Routes\Ireland1\Ireland1.trk, and added the required lines (in blue below) to the end of the file, but ahead of the final 'close bracket', so it now looks like this:
DefaultDieselTowerSMS ( dtower.sms )
TempRestrictedSpeed ( 11.176 )
ORTSSwitchSMSNumber ( 2 )
ORTSCurveSMSNumber ( 3 )
ORTSCurveSwitchSMSNumber ( 4 )
)
I used the numbers 2, 3 and 4 at the end of each line, because that seemed to be the logic of 13.3 Step 2 - although the numbers used there are ONE LESS than the line # of the corresponding entry in the ttype.dat file.
This didn't work, so I changed the numbers to in brackets at the end of the new lines to 10, 11 & 12 in case they were an absolute reference, unlikely tho that seemed. No joy. I then tried the second method, described in the manual's Step 3 - creating an 'integration' .trk file as instructed, C:\Train Simulator\Routes\Ireland1\OpenRails\Ireland1.trk. This file looked like this:
SIMISA@@@@@@@@@@JINX0r0t______
include ( "../Ireland1.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 2 )
ORTSCurveSMSNumber ( 3 )
ORTSCurveSwitchSMSNumber ( 4 )
No Joy, so tried it with the numbers changed to 10, 11 & 12, and both options with the line of gash at the start deleted but preserving the required blank line above 'include'.
I think I've tried every combination I can think of, of file edits, with the main .trk file edited and with the edit in the shortened 'integration' version in a new OpenRails subfolder.
If anyone can spot where I'm going wrong, I'd be most grateful - not having any additional sound as your train clatters silently (?) across a set of points is a bit counter-immersive and it would be good to get this great feature of OR operational!
Extract from section 13 of Open Rails Manual 2016
13.3. Automatic switch and curve squeal track sound
With this feature a specific track sound is played when a train passes over any switch or crossover, or over a curve with a low radius, which highly enhances the sound experience. If this feature is enabled there is no more need to lay down specific sound regions around or sound sources above every switch or over curves. This is a lengthy task, and in fact most of the routes aren’t equipped with such sound regions or sound sources. Three automatic sounds are supported:
- switch sound
- curve squeal sound
- curve + switch sound (when wagon is both on curve and switch).
It is possible to define also only one or two of these automatic sounds. If switch and curve squeal sound are defined, and no curve + switch sound is defined, the curve squeal sound is played when a wagon is both on curve and switch. The curve radius threshold below which the curve squeal sound is played is 350 meters for freight wagons and 301 meters for all other trainsets.
To enable this feature steps here below must be followed:
Step 1 Suitable external and internal automatic sounds must be available (.sms files); usually you find them in the root’s SOUND. It often occurs that switch track and curve squeal sounds are available in modern routes. If not, they must be created or searched on the web. A test sound set may be downloaded from here.
Step 2 For every route it must be checked whether a reference to the three automatic track sounds are present in the route’s ttype.dat file. If they are, you can proceed to next step. Else you must insert three new lines at the end of ttype.dat, adding the reference to the automatic track sounds, and you must add 3 to the number on top of the file. Here below an example of a default ttype.dat can be found, where three new lines referring to the above test sound have been added in last position:
SIMISA@@@@@@@@@@JINX0t1t______
13
TrackType ( "Default" "EuropeSteamTrack0In.sms" "EuropeSteamTrack0Ex.sms" )
TrackType ( "Concrete Supported" "EuropeSteamTrack1In.sms" "EuropeSteamTrack1Ex.sms" )
TrackType ( "Wood Supported" "EuropeSteamTrack2In.sms" "EuropeSteamTrack2Ex.sms" )
TrackType ( "In Tunnel" "EuropeSteamTrack3In.sms" "EuropeSteamTrack3Ex.sms" )
TrackType ( "Steel Bridge" "EuropeSteamTrack4In.sms" "EuropeSteamTrack4Ex.sms" )
TrackType ( "Girder Bridge" "EuropeSteamTrack5In.sms" "EuropeSteamTrack5Ex.sms" )
TrackType ( "Under Bridge" "EuropeSteamTrack6In.sms" "EuropeSteamTrack6Ex.sms" )
TrackType ( "Concrete Bridge" "EuropeSteamTrack7In.sms" "EuropeSteamTrack7Ex.sms" )
TrackType ( "Crossing Platform" "EuropeSteamTrack8In.sms" "EuropeSteamTrack8Ex.sms" )
TrackType ( "Wooden Bridge" "EuropeSteamTrack9In.sms" "EuropeSteamTrack9Ex.sms" )
TrackType ( "Switch" "switchtrack7in.sms" "switchtrack7ex.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" )
For every route you must tell OR which of the ttype sound files are those related to automatic sounds. This is done by inserting following line in the route’s .trk file:
ORTSSwitchSMSNumber ( 10 )
ORTSCurveSMSNumber ( 11 )
ORTSCurveSwitchSMSNumber ( 12 )
Step 3 A better solution, because it leaves the .trk file unaltered, is to create an OpenRails subfolder within the route’s folder, and to put in it an integration .trk file, named like the base one, and with following sample content (supposing the base .trk file is named ITALIA13.trk:
include ( "../ITALIA13.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 10 )
ORTSCurveSMSNumber ( 11 )
ORTSCurveSwitchSMSNumber ( 12 )
Note that the above the include line a blank line must be present. Note also that with the same integration .trk file also the default turntable sound is defined, in case this route has turntables or transfertables.
As already stated, you can also define in ttype.dat and in the .trk file only one or only two types of automatic sounds.
In an effort to do something about the lack of any additional sound as a loco crosses points, I found a description of how to do this in the Open Rails Manual's Sound Management section (#13 - which wasn't lucky for me) - subsection 13.3 to be precise. I've cut and pasted the complete description at the end of this post, tho it's probably better read in the manual.
I have tried all the steps indicated, including both options for editing the .trk file - and I cannot hear the sounds. I'm using the ones linked to in the manual's description (a zip file, DemoAutoSound, containing many more sounds than the three needed for this).
The route I'm trying this out on is Irish Enterprise North and testing is being done with an NIR GM Class 111 at Belfast Central, where there are plenty of sets of points near at hand.
In applying the steps described in the manual to this route, what I did was:
1. Downloaded the zip of sample sounds linked to at Step 1, and unzipped the whole lot into the route's sound folder, ie C:\Train Simulator\Routes\Ireland1\Sounds\DemoAutoSound - the latter subfolder being as in the zp and also as per the edit to the tttype.dat file as described in section 13.3, Step 1.
2. Edited the file C:\Train Simulator\Routes\Ireland1\ttype.dat, and added 3 to the number on line 3 of the file increasing it from 1 to 4, as per 13.3 Step 2. So that file, which just had one entry, now looks like this:
IMISA@@@@@@@@@@JINX0t1t______
4
TrackType ( "Default" "USATrack0In.sms" "USATrack0Ex.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" )
3. As per 13.3 Step 2, I then edited the file C:\Train Simulator\Routes\Ireland1\Ireland1.trk, and added the required lines (in blue below) to the end of the file, but ahead of the final 'close bracket', so it now looks like this:
DefaultDieselTowerSMS ( dtower.sms )
TempRestrictedSpeed ( 11.176 )
ORTSSwitchSMSNumber ( 2 )
ORTSCurveSMSNumber ( 3 )
ORTSCurveSwitchSMSNumber ( 4 )
)
I used the numbers 2, 3 and 4 at the end of each line, because that seemed to be the logic of 13.3 Step 2 - although the numbers used there are ONE LESS than the line # of the corresponding entry in the ttype.dat file.
This didn't work, so I changed the numbers to in brackets at the end of the new lines to 10, 11 & 12 in case they were an absolute reference, unlikely tho that seemed. No joy. I then tried the second method, described in the manual's Step 3 - creating an 'integration' .trk file as instructed, C:\Train Simulator\Routes\Ireland1\OpenRails\Ireland1.trk. This file looked like this:
SIMISA@@@@@@@@@@JINX0r0t______
include ( "../Ireland1.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 2 )
ORTSCurveSMSNumber ( 3 )
ORTSCurveSwitchSMSNumber ( 4 )
No Joy, so tried it with the numbers changed to 10, 11 & 12, and both options with the line of gash at the start deleted but preserving the required blank line above 'include'.
I think I've tried every combination I can think of, of file edits, with the main .trk file edited and with the edit in the shortened 'integration' version in a new OpenRails subfolder.
If anyone can spot where I'm going wrong, I'd be most grateful - not having any additional sound as your train clatters silently (?) across a set of points is a bit counter-immersive and it would be good to get this great feature of OR operational!
Extract from section 13 of Open Rails Manual 2016
13.3. Automatic switch and curve squeal track sound
With this feature a specific track sound is played when a train passes over any switch or crossover, or over a curve with a low radius, which highly enhances the sound experience. If this feature is enabled there is no more need to lay down specific sound regions around or sound sources above every switch or over curves. This is a lengthy task, and in fact most of the routes aren’t equipped with such sound regions or sound sources. Three automatic sounds are supported:
- switch sound
- curve squeal sound
- curve + switch sound (when wagon is both on curve and switch).
It is possible to define also only one or two of these automatic sounds. If switch and curve squeal sound are defined, and no curve + switch sound is defined, the curve squeal sound is played when a wagon is both on curve and switch. The curve radius threshold below which the curve squeal sound is played is 350 meters for freight wagons and 301 meters for all other trainsets.
To enable this feature steps here below must be followed:
Step 1 Suitable external and internal automatic sounds must be available (.sms files); usually you find them in the root’s SOUND. It often occurs that switch track and curve squeal sounds are available in modern routes. If not, they must be created or searched on the web. A test sound set may be downloaded from here.
Step 2 For every route it must be checked whether a reference to the three automatic track sounds are present in the route’s ttype.dat file. If they are, you can proceed to next step. Else you must insert three new lines at the end of ttype.dat, adding the reference to the automatic track sounds, and you must add 3 to the number on top of the file. Here below an example of a default ttype.dat can be found, where three new lines referring to the above test sound have been added in last position:
SIMISA@@@@@@@@@@JINX0t1t______
13
TrackType ( "Default" "EuropeSteamTrack0In.sms" "EuropeSteamTrack0Ex.sms" )
TrackType ( "Concrete Supported" "EuropeSteamTrack1In.sms" "EuropeSteamTrack1Ex.sms" )
TrackType ( "Wood Supported" "EuropeSteamTrack2In.sms" "EuropeSteamTrack2Ex.sms" )
TrackType ( "In Tunnel" "EuropeSteamTrack3In.sms" "EuropeSteamTrack3Ex.sms" )
TrackType ( "Steel Bridge" "EuropeSteamTrack4In.sms" "EuropeSteamTrack4Ex.sms" )
TrackType ( "Girder Bridge" "EuropeSteamTrack5In.sms" "EuropeSteamTrack5Ex.sms" )
TrackType ( "Under Bridge" "EuropeSteamTrack6In.sms" "EuropeSteamTrack6Ex.sms" )
TrackType ( "Concrete Bridge" "EuropeSteamTrack7In.sms" "EuropeSteamTrack7Ex.sms" )
TrackType ( "Crossing Platform" "EuropeSteamTrack8In.sms" "EuropeSteamTrack8Ex.sms" )
TrackType ( "Wooden Bridge" "EuropeSteamTrack9In.sms" "EuropeSteamTrack9Ex.sms" )
TrackType ( "Switch" "switchtrack7in.sms" "switchtrack7ex.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" )
For every route you must tell OR which of the ttype sound files are those related to automatic sounds. This is done by inserting following line in the route’s .trk file:
ORTSSwitchSMSNumber ( 10 )
ORTSCurveSMSNumber ( 11 )
ORTSCurveSwitchSMSNumber ( 12 )
Step 3 A better solution, because it leaves the .trk file unaltered, is to create an OpenRails subfolder within the route’s folder, and to put in it an integration .trk file, named like the base one, and with following sample content (supposing the base .trk file is named ITALIA13.trk:
include ( "../ITALIA13.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 10 )
ORTSCurveSMSNumber ( 11 )
ORTSCurveSwitchSMSNumber ( 12 )
Note that the above the include line a blank line must be present. Note also that with the same integration .trk file also the default turntable sound is defined, in case this route has turntables or transfertables.
As already stated, you can also define in ttype.dat and in the .trk file only one or only two types of automatic sounds.
33lima- Posts : 66
Join date : 2017-10-21
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi 33lima,
I haven't tried what you are attempting, recently, but if you'll notice the ttype.dat file after Step 2, although there are 13 different settings, they run from 0 to 12. Going back to your paragraph 2 (Ireland1), there are 4 entries but you've numbered the last 3 as 2, 3 and 4 when they should be 1,2 and 3. I don't know if that's the reason you hear nothing because I would have thought you'd hear at least one of the sounds.
I'm not sure how Open Rails uses those settings, because normally (ie in MSTS) the number of the sound to be played is written into the route using the Route Editor.
I do recall trying it out when it was first posted on Elvastower but don't remember the details - I'll have another look this weekend.
Final thought for tonight - usually the .sms and .wav files used by ttype.dat are stored in the 'global' SOUND folder and NOT the route's SOUND folder.
Cheers,
Ged
I haven't tried what you are attempting, recently, but if you'll notice the ttype.dat file after Step 2, although there are 13 different settings, they run from 0 to 12. Going back to your paragraph 2 (Ireland1), there are 4 entries but you've numbered the last 3 as 2, 3 and 4 when they should be 1,2 and 3. I don't know if that's the reason you hear nothing because I would have thought you'd hear at least one of the sounds.
I'm not sure how Open Rails uses those settings, because normally (ie in MSTS) the number of the sound to be played is written into the route using the Route Editor.
I do recall trying it out when it was first posted on Elvastower but don't remember the details - I'll have another look this weekend.
Final thought for tonight - usually the .sms and .wav files used by ttype.dat are stored in the 'global' SOUND folder and NOT the route's SOUND folder.
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi 33lima and Ged
I can confirm that the folder Demo Auto Sounds need to be stored in the global Sound folder.
Also, the numbers 2,3 and 4 are correct - Open Rails ignores the fact that the sounds commence at 0.
I have been using these sounds for a while, and they are a great addition to the enjoyment of the sim.
Mike
I can confirm that the folder Demo Auto Sounds need to be stored in the global Sound folder.
Also, the numbers 2,3 and 4 are correct - Open Rails ignores the fact that the sounds commence at 0.
I have been using these sounds for a while, and they are a great addition to the enjoyment of the sim.
Mike
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Thanks Mike - I stand corrected
Ged
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi 33lima
My Open Rails .trk file for Black Country 1 looks like this -
"
include ( "../BC1.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 02 )
ORTSCurveSMSNumber ( 03 )
ORTSCurveSwitchSMSNumber ( 04 )"
I do not have the SIMISA line included, but there is a blank line at the top.
I hope that this helps.
Mike
My Open Rails .trk file for Black Country 1 looks like this -
"
include ( "../BC1.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 02 )
ORTSCurveSMSNumber ( 03 )
ORTSCurveSwitchSMSNumber ( 04 )"
I do not have the SIMISA line included, but there is a blank line at the top.
I hope that this helps.
Mike
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Mayke I am missing something but where do I find "DemoAutoSound.zip"?
David
dforrest- Posts : 572
Join date : 2013-01-21
Age : 79
Location : St. Vincent and the Grenadines (and in an earlier life, Hull)
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi David
There is a download link in the Open Rails Manual, section 13.3 as follows -
A test sound set may be downloaded
from here.
Mike
There is a download link in the Open Rails Manual, section 13.3 as follows -
A test sound set may be downloaded
from here.
Mike
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Is this (from above) correct?
Should the added lines not be:
- Code:
13
TrackType ( "Default" "EuropeSteamTrack0In.sms" "EuropeSteamTrack0Ex.sms" )
TrackType ( "Concrete Supported" "EuropeSteamTrack1In.sms" "EuropeSteamTrack1Ex.sms" )
TrackType ( "Wood Supported" "EuropeSteamTrack2In.sms" "EuropeSteamTrack2Ex.sms" )
TrackType ( "In Tunnel" "EuropeSteamTrack3In.sms" "EuropeSteamTrack3Ex.sms" )
TrackType ( "Steel Bridge" "EuropeSteamTrack4In.sms" "EuropeSteamTrack4Ex.sms" )
TrackType ( "Girder Bridge" "EuropeSteamTrack5In.sms" "EuropeSteamTrack5Ex.sms" )
TrackType ( "Under Bridge" "EuropeSteamTrack6In.sms" "EuropeSteamTrack6Ex.sms" )
TrackType ( "Concrete Bridge" "EuropeSteamTrack7In.sms" "EuropeSteamTrack7Ex.sms" )
TrackType ( "Crossing Platform" "EuropeSteamTrack8In.sms" "EuropeSteamTrack8Ex.sms" )
TrackType ( "Wooden Bridge" "EuropeSteamTrack9In.sms" "EuropeSteamTrack9Ex.sms" )
TrackType ( "Switch" "switchtrack7in.sms" "switchtrack7ex.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" )
For every route you must tell OR which of the ttype sound files are those related to automatic sounds. This is done by inserting following line in the route’s .trk file:
ORTSSwitchSMSNumber ( 10 )
ORTSCurveSMSNumber ( 11 )
ORTSCurveSwitchSMSNumber ( 12 )
Should the added lines not be:
- Code:
ORTSSwitchSMSNumber ( 12 )
ORTSCurveSMSNumber ( 13 )
ORTSCurveSwitchSMSNumber ( 14 )
David
dforrest- Posts : 572
Join date : 2013-01-21
Age : 79
Location : St. Vincent and the Grenadines (and in an earlier life, Hull)
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi David,
preferably added to the OpenRails.trk file for the relevant route as here
include ( ../Dorset.trk)
ORTSUserPreferenceForestClearDistance ( 2 )
ORTSUserPreferenceRemoveForestTreesFromRoads ( 3 )
ORTSSwitchSMSNumber ( 10 )
ORTSCurveSMSNumber ( 11 )
ORTSCurveSwitchSMSNumber ( 12 )
making sure that the first line is left blank
Regards,
Stephen
For every route you must tell OR which of the ttype sound files are those related to automatic sounds. This is done by inserting following line in the route’s .trk file:
ORTSSwitchSMSNumber ( 10 )
ORTSCurveSMSNumber ( 11 )
ORTSCurveSwitchSMSNumber ( 12
preferably added to the OpenRails.trk file for the relevant route as here
include ( ../Dorset.trk)
ORTSUserPreferenceForestClearDistance ( 2 )
ORTSUserPreferenceRemoveForestTreesFromRoads ( 3 )
ORTSSwitchSMSNumber ( 10 )
ORTSCurveSMSNumber ( 11 )
ORTSCurveSwitchSMSNumber ( 12 )
making sure that the first line is left blank
Regards,
Stephen
StephenRWells- Posts : 611
Join date : 2013-07-15
Age : 73
Location : Arncott,Oxfordshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
But surely, if there are 14 total entries in the ttype.dat file and the last three are the ORTS track entries, the numbering of them in the Open Rails .trk file should be 12, 13 and 14, or am I not understanding.
David
dforrest- Posts : 572
Join date : 2013-01-21
Age : 79
Location : St. Vincent and the Grenadines (and in an earlier life, Hull)
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Thanks guys - and Mike in particular. I will move the demo sounds folder to Global and test again. When I say that it went into the 'root' folder, I mis-guessed it was a type for 'route' but despite being aware of making that assumption, that was one thing I didn't test!
33lima- Posts : 66
Join date : 2017-10-21
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi David
Yes, you are correct.
I think that there is an error in the manual in this respect.
Mike
Yes, you are correct.
I think that there is an error in the manual in this respect.
Mike
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
mikeanddi wrote:Hi 33lima
My Open Rails .trk file for Black Country 1 looks like this -
"
include ( "../BC1.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 02 )
ORTSCurveSMSNumber ( 03 )
ORTSCurveSwitchSMSNumber ( 04 )"
I do not have the SIMISA line included, but there is a blank line at the top.
I hope that this helps.
Mike
Hi Mike
still no joy at this end. I moved the subfolder DemoAutoSound (and all the .sms and .wav files inside it) to C:\Train Simulator\SOUNDS (the 'global' sound folder?) but they still don't play.
I have changed nothing in entries recommended in the manual, which seem designed to work with the demo sounds I'm using. The calls for the .sms files added to ttype.dat still reference the subfolder DemoAutoSound (not SOUNDS/DemoAutoSound) and the calls in the .sms files themselves reference the .wavs in the same subfolder. And taking the switch noise file switchtrackin.sms as a test, all the .wav files called in that file do exist in the DemoAutoSound folder they're called from.
Trying to eliminate possible other sources of 'driver error':
1. I'm guessing the opening and trailing quotation marks in your BC1.trk are NOT actually IN the .trk file? I've removed the line of 'gash' at the start and my file looks like this, starting with a blank first line:
include ( "../Ireland1.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 2 )
ORTSCurveSMSNumber ( 3 )
ORTSCurveSwitchSMSNumber ( 4 )
2. I have the above file (Ireland1.trk, exactly the same name as the route's .trk file) in C:\Train Simulator\ROUTES\Ireland1\OpenRails - apart from the route name and possibly different installation folder, does that look the same as for your Black Country route?
In OR's Audio settings I have MTST bin compatible sounds checked, volume 100%, and sound Detail Level also maxed at 5. I had fiddled a bit with the SoundSystem row in Soundcfg.dat (recomemnded to increase the 'bandwidth' for sound channels) which now reads SoundSystem ( 5, 400, 100, 31457280 )
Getting a bit frustrated here - probably the problem's staring me in the face but I'm not seeing it! Any ideas?
Ivor
33lima- Posts : 66
Join date : 2017-10-21
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ivor
Sorry to hear you are still having problems. I did have problems myself when I first installed these sounds, and I am still a bit wary when I add them to additional mini routes / routes.
Firstly, your "global" sounds folder seems to have the correct path but should be named "SOUND" rather than "SOUNDS" (may be just a typo in your post).
I confirm that my quotation marks are not actually in my .trk file - they were just to indicate where the file contents started and stopped. I wonder if leading zeros in the SMS Numbers in your .trk file may be required i.e. 02, 03 and 04.
The path to the .trk file is similar to my own path for Black Country, so there should be no problem there.
My Open Rails audio settings are exactly the same as yours.
I seem to have five different Sound System rows in my mini route soundcfg.dat file, which read as follows - ( 1, 400, 100, 0 )
, ( 2, 400, 100, 0 ) and so on, up to ( 5, 400, 100, 0 ). I have no idea what these mean, so cannot be of any help to you here.
Other than checking to see if there are any erroneous spaces in the file names or contents, I cannot think of anything else.
I hope there is something here to help you.
Mike
p.s. Looking back to your earlier post, your ttype.dat file starts with a missing 'S' - this may just be a typo in the post, but worth checking.
Sorry to hear you are still having problems. I did have problems myself when I first installed these sounds, and I am still a bit wary when I add them to additional mini routes / routes.
Firstly, your "global" sounds folder seems to have the correct path but should be named "SOUND" rather than "SOUNDS" (may be just a typo in your post).
I confirm that my quotation marks are not actually in my .trk file - they were just to indicate where the file contents started and stopped. I wonder if leading zeros in the SMS Numbers in your .trk file may be required i.e. 02, 03 and 04.
The path to the .trk file is similar to my own path for Black Country, so there should be no problem there.
My Open Rails audio settings are exactly the same as yours.
I seem to have five different Sound System rows in my mini route soundcfg.dat file, which read as follows - ( 1, 400, 100, 0 )
, ( 2, 400, 100, 0 ) and so on, up to ( 5, 400, 100, 0 ). I have no idea what these mean, so cannot be of any help to you here.
Other than checking to see if there are any erroneous spaces in the file names or contents, I cannot think of anything else.
I hope there is something here to help you.
Mike
p.s. Looking back to your earlier post, your ttype.dat file starts with a missing 'S' - this may just be a typo in the post, but worth checking.
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Thanks Mike. Yes I seem to be having problems with my 'S's - left one out and added one in somewhere else
I think you may very well be onto something with those leading zeros. I hadn't spotted that, and you know how fussy computer programs are about these things! Will give that a whirl next! Thanks for the super-fast and once again most helpful reply. Must say the chaps here at TSSH seem a particularly helpful and friendly lot.
I think you may very well be onto something with those leading zeros. I hadn't spotted that, and you know how fussy computer programs are about these things! Will give that a whirl next! Thanks for the super-fast and once again most helpful reply. Must say the chaps here at TSSH seem a particularly helpful and friendly lot.
33lima- Posts : 66
Join date : 2017-10-21
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Still no joy here I'm afraid. Adding leading zeros didn't have any effect.
I tried deleting the first line from my OpenRails/Ireland1.trk file, thinking perhaps there was some conflict between it and the auto sounds, the zapped line being:
TrackType ( "Default" "USATrack0In.sms" "USATrack0Ex.sms" )
I remembered to renumber the auto track sounds accordingly and take one off the total at the start.
This had a noticeable effect, a change in the general track noises including a certain amount of creaking and at lower speed an intermittent sound like somebody hitting railings with a stick. And a prounced track joint sound in the loco cab which was not there before.
However, the sound for running over switches still doesn't play. I'll have another poke about over the weekend and re-check everything, but I'm baffled at the moment.
I tried deleting the first line from my OpenRails/Ireland1.trk file, thinking perhaps there was some conflict between it and the auto sounds, the zapped line being:
TrackType ( "Default" "USATrack0In.sms" "USATrack0Ex.sms" )
I remembered to renumber the auto track sounds accordingly and take one off the total at the start.
This had a noticeable effect, a change in the general track noises including a certain amount of creaking and at lower speed an intermittent sound like somebody hitting railings with a stick. And a prounced track joint sound in the loco cab which was not there before.
However, the sound for running over switches still doesn't play. I'll have another poke about over the weekend and re-check everything, but I'm baffled at the moment.
33lima- Posts : 66
Join date : 2017-10-21
Re: Enabling automatic track sounds for switches, curves, and switches+curves
33lima wrote:
I tried deleting the first line from my OpenRails/Ireland1.trk file, thinking perhaps there was some conflict between it and the auto sounds, the zapped line being:
TrackType ( "Default" "USATrack0In.sms" "USATrack0Ex.sms" )
.
I think you mean "ttype.dat" not "Ireland1.trk". If not ......................
David
dforrest- Posts : 572
Join date : 2013-01-21
Age : 79
Location : St. Vincent and the Grenadines (and in an earlier life, Hull)
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Yes you're quite right David, ttype.dat it is. Looks like this pottering around getting no-where, is getting to me
33lima- Posts : 66
Join date : 2017-10-21
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Chaps,
I've done a little testing on this matter and come up with the following :
1. The new "integration" .trk file may have a standard text format, or a Unicode format
2. The SIMISA line may be absent or present
3. The numbering of the entries in the ttype.dat file goes from 0 and not 1
I proved the latter by using a route which originally only had one entry in its ttype file (Full Bucket Line v2) and adding only the DemoAutoSound switch sound. Alternating between 'ORTSSwitchSMSNumber ( 1 )' and 'ORTSSwitchSMSNumber ( 2 )' in the "include" file, only with the former were the switch sounds heard. NOTE : In these circumstances, if the ttype.dat file includes all three of the ORTS sounds, using ( 2 ) makes the next sound in the list (probably Curve) audible when going over points.
Hope this helps Of course, this is only my experience - others may disagree!!
Cheers,
Ged
I've done a little testing on this matter and come up with the following :
1. The new "integration" .trk file may have a standard text format, or a Unicode format
2. The SIMISA line may be absent or present
3. The numbering of the entries in the ttype.dat file goes from 0 and not 1
I proved the latter by using a route which originally only had one entry in its ttype file (Full Bucket Line v2) and adding only the DemoAutoSound switch sound. Alternating between 'ORTSSwitchSMSNumber ( 1 )' and 'ORTSSwitchSMSNumber ( 2 )' in the "include" file, only with the former were the switch sounds heard. NOTE : In these circumstances, if the ttype.dat file includes all three of the ORTS sounds, using ( 2 ) makes the next sound in the list (probably Curve) audible when going over points.
Hope this helps Of course, this is only my experience - others may disagree!!
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Thanks Ged - you're quite right.
Sorry Ivor and others.
Sorry Ivor and others.
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
I'm please to hear that you have got the problem resolved.
David
dforrest- Posts : 572
Join date : 2013-01-21
Age : 79
Location : St. Vincent and the Grenadines (and in an earlier life, Hull)
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Not me sadly...as in, sorted!
Using the 'Encoding' option in Notepad++, I can see that both the main .trk file and the new 'integration' one in the OpenRails subfolder in the route are encoded 'UCS-2 Little Endian'. Where the Wild West comes into this I don't know but apparently this is a form of Unicode, so that looks ok. I changed the point sound from 2 to 1 but as I wasn't heading the second ' squeal' sound going over points, I wasn't surprised to discover that made no difference - still not hearing the point crossing sound.
At some point I'm going to try trhis from scratch in a different route with no point crossing sound, to try to eliminate the possibility that there is something in the one I'm using that conflicts with this feature. I gather that some routes have localised track sounds built in. I have heard a rumble crossing a bridge, in Cambrian Route IIRC, which I don't get in other routes. While there doesn't appear to be a sound built into 'Enterprise' for point crossing, maybe there is still something under the hood causing a problem.
Ivor
Using the 'Encoding' option in Notepad++, I can see that both the main .trk file and the new 'integration' one in the OpenRails subfolder in the route are encoded 'UCS-2 Little Endian'. Where the Wild West comes into this I don't know but apparently this is a form of Unicode, so that looks ok. I changed the point sound from 2 to 1 but as I wasn't heading the second ' squeal' sound going over points, I wasn't surprised to discover that made no difference - still not hearing the point crossing sound.
At some point I'm going to try trhis from scratch in a different route with no point crossing sound, to try to eliminate the possibility that there is something in the one I'm using that conflicts with this feature. I gather that some routes have localised track sounds built in. I have heard a rumble crossing a bridge, in Cambrian Route IIRC, which I don't get in other routes. While there doesn't appear to be a sound built into 'Enterprise' for point crossing, maybe there is still something under the hood causing a problem.
Ivor
33lima- Posts : 66
Join date : 2017-10-21
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ivor,
Little Endian, also shown as UTF-16LE, is correct for MSTS. NotePad++ v7.5.1 (64bit) shows it as UCS-2 LE BOM.
Anyway, forget that and try using a straight text file format (only for Open Rails' .trk file - the ttype.dat file must be in the correct Unicode format for MSTS) - ConText shows it as DOS, but NotePad++ shows it as UTF-8.
Cheers,
Ged
Little Endian, also shown as UTF-16LE, is correct for MSTS. NotePad++ v7.5.1 (64bit) shows it as UCS-2 LE BOM.
Anyway, forget that and try using a straight text file format (only for Open Rails' .trk file - the ttype.dat file must be in the correct Unicode format for MSTS) - ConText shows it as DOS, but NotePad++ shows it as UTF-8.
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi All,
It appears that there might be errors in the .sms files supplied with DemoAutoSound, but it won't stop sounds from being heard.
Martin (brace_2011) has reported this on Elvastower and I'm waiting for a response before I commit myself (I could be wrong), but in the meantime will apply what I think should be the corrections!
Cheers,
Ged
EDIT : The man himself, Carlo, has given his reply! I WAS wrong!!
Although the values entered against TrackType in the DemoAutoSound .sms files are, in some cases, incorrect, Open Rails doesn't use them! It only uses the position of the filename in the ttype.dat file. This is brilliant thinking, and explains how these new sounds can be heard, irrespective of how many lines there are in a ttype.dat file.
EDIT 2 : What version of Open Rails are you using, Ivor?
It appears that there might be errors in the .sms files supplied with DemoAutoSound, but it won't stop sounds from being heard.
Martin (brace_2011) has reported this on Elvastower and I'm waiting for a response before I commit myself (I could be wrong), but in the meantime will apply what I think should be the corrections!
Cheers,
Ged
EDIT : The man himself, Carlo, has given his reply! I WAS wrong!!
Although the values entered against TrackType in the DemoAutoSound .sms files are, in some cases, incorrect, Open Rails doesn't use them! It only uses the position of the filename in the ttype.dat file. This is brilliant thinking, and explains how these new sounds can be heard, irrespective of how many lines there are in a ttype.dat file.
EDIT 2 : What version of Open Rails are you using, Ivor?
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ged. I'm using OR 1.2.3766. I had a look at the thread on Elvas Tower and as you say it is confirmed that the numbers in the round brackets are redundant, OR doesn't need them at all.
However, I'm not hearing the sound of the penny dropping, either (!) and can't make the connection to what I need to do, that I'm not doing.
Earlier this evening, I applied the same drill to London South East and again, I'm not hearing the auto sounds. So I'm getting consistent results. Consistently bad ones
Ivir
However, I'm not hearing the sound of the penny dropping, either (!) and can't make the connection to what I need to do, that I'm not doing.
Earlier this evening, I applied the same drill to London South East and again, I'm not hearing the auto sounds. So I'm getting consistent results. Consistently bad ones
Ivir
33lima- Posts : 66
Join date : 2017-10-21
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ivor,
May I suggest that you install the latest version of Open Rails - X3967.
I'm pretty sure that these sounds were introduced in X3788 (February 2017), which was after the Stable v1.2 (which you appear to be running) was released.
Cheers,
Ged
May I suggest that you install the latest version of Open Rails - X3967.
I'm pretty sure that these sounds were introduced in X3788 (February 2017), which was after the Stable v1.2 (which you appear to be running) was released.
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
That would explain my problem Ged - I had stuck to the major release and if there was a mention in the manual of auto sounds being tied to a testing release I missed it!
Well, that fixed it. I downloaded the latest version and put it in a separate folder from the 'stable' one, 'just in case', and the automated sounds are playing at last! You nailed it - It's all been down to using a version of OR which doesn't support this feature!
This Youtube video shows the results in action. The track squeal is a bit obtrusive and I might live without it. The point crossing is excellent, tho it seems to start a bit late, like it's not playing for the loco, just the coaches.
But such a difference - great to have this working, and thanks to everyone who has helped me get there!
Well, that fixed it. I downloaded the latest version and put it in a separate folder from the 'stable' one, 'just in case', and the automated sounds are playing at last! You nailed it - It's all been down to using a version of OR which doesn't support this feature!
This Youtube video shows the results in action. The track squeal is a bit obtrusive and I might live without it. The point crossing is excellent, tho it seems to start a bit late, like it's not playing for the loco, just the coaches.
But such a difference - great to have this working, and thanks to everyone who has helped me get there!
33lima- Posts : 66
Join date : 2017-10-21
Re: Enabling automatic track sounds for switches, curves, and switches+curves
So what openrails/***.trk setting do you finally have?
David
dforrest- Posts : 572
Join date : 2013-01-21
Age : 79
Location : St. Vincent and the Grenadines (and in an earlier life, Hull)
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ivor,
I think the volume of the squealing can be reduced by changing the setting in the .sms file/s
Cheers,
Ged
I'm pretty sure the reason is that the sounds are triggered by the toe end of the points instead of the frog. When negotiating facing points, the sounds occur early, whereas on trailing points, they are late, ie when the loco is at the blades end.... tho it seems to start a bit late, like it's not playing for the loco, just the coaches.
I think the volume of the squealing can be reduced by changing the setting in the .sms file/s
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi David
I'm not sure whether or not I needed to, but I had saved my .trk file in ANSI format. It looks like this:
SIMISA@@@@@@@@@@JINX0r0t______
include ( "../Ireland1.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 1 )
ORTSCurveSMSNumber ( 2 )
ORTSCurveSwitchSMSNumber ( 3 )
It appears I may not need the SIMSA header nor the SMS numbers in roudn brackets, but hey it works so I;m leaving it alone.
So in the end, I followed the instructions in 13.3 of the manual, with the sole exceptions:
1. saved the .trk file as ANSI, instead of in the original Unicode format (in Notepad++, File/Endocing/Convert to ANSI, IIRC); and
2. updated OR from the last stable version to the latest one.
#1 may actually be necessary, because I'm not getting these sounds in London SE (only tested with an EMU thus far) so I'm going to try that shortly.
Edit - changning LSE.trk from Unicode to ANSI had no effect - the switch soulnd isn't playing, now also tested in the Class 33. Weird it now works in Enterprise North with an apparently identical procedure, so I've a bit more testing to do.
I'll have a look at the track squal volume at some point, probably.
I'm not sure whether or not I needed to, but I had saved my .trk file in ANSI format. It looks like this:
SIMISA@@@@@@@@@@JINX0r0t______
include ( "../Ireland1.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 1 )
ORTSCurveSMSNumber ( 2 )
ORTSCurveSwitchSMSNumber ( 3 )
It appears I may not need the SIMSA header nor the SMS numbers in roudn brackets, but hey it works so I;m leaving it alone.
So in the end, I followed the instructions in 13.3 of the manual, with the sole exceptions:
1. saved the .trk file as ANSI, instead of in the original Unicode format (in Notepad++, File/Endocing/Convert to ANSI, IIRC); and
2. updated OR from the last stable version to the latest one.
#1 may actually be necessary, because I'm not getting these sounds in London SE (only tested with an EMU thus far) so I'm going to try that shortly.
Edit - changning LSE.trk from Unicode to ANSI had no effect - the switch soulnd isn't playing, now also tested in the Class 33. Weird it now works in Enterprise North with an apparently identical procedure, so I've a bit more testing to do.
I'll have a look at the track squal volume at some point, probably.
33lima- Posts : 66
Join date : 2017-10-21
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ivor,
The numbers ARE essential in the Open Rails .trk file! It's only in the .sms files where the file name is used instead if its ID number.
The ttype.dat file could be different for each route, but the same root SOUND folder is used for all routes in the installation, hence the need to use the file name as the identifier.
Cheers,
Ged
It's not identical!Weird it now works in Enterprise North with an apparently identical procedure
The numbers ARE essential in the Open Rails .trk file! It's only in the .sms files where the file name is used instead if its ID number.
The ttype.dat file could be different for each route, but the same root SOUND folder is used for all routes in the installation, hence the need to use the file name as the identifier.
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
You're quite right, Ged. I had retained the original numbers in brackets in my OpenRails/LSE.trk - correcting them to 10, 12 and 13, corresponding to their position in the ttype.dat file, has resulted in the the sounds working - I got both point noise and squeal, taking this 4VEP out of Charing Cross - great stuff.
And I think I have finally also heard the sound of the penny dropping
And I think I have finally also heard the sound of the penny dropping
33lima- Posts : 66
Join date : 2017-10-21
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ivor,
That's great, mate
The main thing is that we got there in the end!
I don't use Open Rails very much, because I'm more comfortable with MSTS (probably an age thing!), but, thanks to you, I've learnt a bit more over the last few days!
Cheers,
Ged
That's great, mate
The main thing is that we got there in the end!
I don't use Open Rails very much, because I'm more comfortable with MSTS (probably an age thing!), but, thanks to you, I've learnt a bit more over the last few days!
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Sorry to bump this topic, but I am having trouble setting up these sounds in the excellent extended Thames Trent v3 route.
I have included an Openrails folder containing a file named "Thames_Trent_Version_3.trk", which contains the following -
"
include ( "../Thames_Trent_Version_3.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 01 )
ORTSCurveSMSNumber ( 02 )
ORTSCurveSwitchSMSNumber ( 03 )"
and amended the ttype.dat file to read as follows -
"SIMISA@@@@@@@@@@JINX0t1t______
4
TrackType ( "Default" "USATrack0In.sms" "USATrack0Ex.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" )"
For some reason, I am getting no point or track squeal sounds at all, although I have installed these in numerous other routes within the same Train Simulator installation, so the sounds are actually in a "DemoAutoSound" folder within the sim.
I feel that I must be doing something stupid but I am going round in circles trying to find out what is wrong. Any assistance would be most welcome.
Thanks
Mike
I have included an Openrails folder containing a file named "Thames_Trent_Version_3.trk", which contains the following -
"
include ( "../Thames_Trent_Version_3.trk" )
ORTSDefaultTurntableSMS ( turntable.sms )
ORTSSwitchSMSNumber ( 01 )
ORTSCurveSMSNumber ( 02 )
ORTSCurveSwitchSMSNumber ( 03 )"
and amended the ttype.dat file to read as follows -
"SIMISA@@@@@@@@@@JINX0t1t______
4
TrackType ( "Default" "USATrack0In.sms" "USATrack0Ex.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" )"
For some reason, I am getting no point or track squeal sounds at all, although I have installed these in numerous other routes within the same Train Simulator installation, so the sounds are actually in a "DemoAutoSound" folder within the sim.
I feel that I must be doing something stupid but I am going round in circles trying to find out what is wrong. Any assistance would be most welcome.
Thanks
Mike
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Mike,
Silly question - have you placed the DemoAutoSound folder inside the main SOUND folder, NOT the route's Sound folder?
I've just added it to the Demo Route (SCE extract) and can hear the switch and curve sounds.
Cheers,
Ged
EDIT ; Sorry You said you'd already used it for other routes in the same installation, so DemoAutoSound must be correctly located!
Another question - Is your new 'include' file in Unicode format (as the original .trk file)?
... and an even sillier one - the OR folder is called OpenRails and NOT Open Rails, isn't it? I made the same error!
Silly question - have you placed the DemoAutoSound folder inside the main SOUND folder, NOT the route's Sound folder?
I've just added it to the Demo Route (SCE extract) and can hear the switch and curve sounds.
Cheers,
Ged
EDIT ; Sorry You said you'd already used it for other routes in the same installation, so DemoAutoSound must be correctly located!
Another question - Is your new 'include' file in Unicode format (as the original .trk file)?
... and an even sillier one - the OR folder is called OpenRails and NOT Open Rails, isn't it? I made the same error!
Last edited by slipperman12 on Tue 26 Feb 2019, 10:32 pm; edited 1 time in total
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ged
Thanks for your response.
Yes, the DemoAutoSound folder is in the main Sound folder, and the sounds are working on various other routes, including Thames Trent v2, Black Country 1, and numerous other routes within the same Train Simulator installation.
Mike
Thanks for your response.
Yes, the DemoAutoSound folder is in the main Sound folder, and the sounds are working on various other routes, including Thames Trent v2, Black Country 1, and numerous other routes within the same Train Simulator installation.
Mike
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Mike,
You beat me to it! Please see the EDIT to my post.
Ged
You beat me to it! Please see the EDIT to my post.
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ged
Crossed post! x2!
How can I tell if the file is in Unicode format? I think I simply copied another file and edited it in Wordpad, which seemed to work in all other routes.
My folder is named "Openrails", which, again seems to work in other routes, but I think it must be something similarly daft I have done.
Mike
Crossed post! x2!
How can I tell if the file is in Unicode format? I think I simply copied another file and edited it in Wordpad, which seemed to work in all other routes.
My folder is named "Openrails", which, again seems to work in other routes, but I think it must be something similarly daft I have done.
Mike
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Mike,
I, also, couldn't get the sounds to work for Thames Trent v3, but I've found the cause
It's the ORTSUserPreferenceForestClearDistance ( 0 ) entry in the main.trk file - if you remove it, the sounds work.
I don't know if it's because there isn't a corresponding entry in the OpenRails .trk file, but I'll leave that for another day!!
Cheers,
Ged
I, also, couldn't get the sounds to work for Thames Trent v3, but I've found the cause
It's the ORTSUserPreferenceForestClearDistance ( 0 ) entry in the main.trk file - if you remove it, the sounds work.
I don't know if it's because there isn't a corresponding entry in the OpenRails .trk file, but I'll leave that for another day!!
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ged
I have tried your solution, but it did not seem to work for me, so I am even more puzzled.
I'm off to walk the dog now, but will have another look at this later on today.
Thank you for your help.
Mike
I have tried your solution, but it did not seem to work for me, so I am even more puzzled.
I'm off to walk the dog now, but will have another look at this later on today.
Thank you for your help.
Mike
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Mike,
Transferring the ORTSUserPreferenceForestClearDistance ( 0 ) entry into the OpenRails .trk file doesn't prevent the track sounds from working
[Although, having 0 as the parameter value doesn't seem very sensible - might as well omit the entry altogether (unless I'm missing something)!!]
Sorry, but I can't offer any solution as to why it won't work for you, providing all the previously mentioned details are correctly implemented.
Cheers,
Ged
Transferring the ORTSUserPreferenceForestClearDistance ( 0 ) entry into the OpenRails .trk file doesn't prevent the track sounds from working
[Although, having 0 as the parameter value doesn't seem very sensible - might as well omit the entry altogether (unless I'm missing something)!!]
Sorry, but I can't offer any solution as to why it won't work for you, providing all the previously mentioned details are correctly implemented.
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ged, and any other interested parties.
I was browsing the Elvas Tower forums tonight, and found the following advice from Carlo Santucci in a forum relating to Operational Turntables -
"Pls. note that the base .trk file (the one in the route's folder) must not have an empty line after the last parenthesis, else the include mechanism does not work (found out this today...)".
I checked the Thames Trent 3 .trk file as downloaded, and it has the aforementioned empty line. I deleted this and, hey presto, the sounds now work perfectly.
Mike
I was browsing the Elvas Tower forums tonight, and found the following advice from Carlo Santucci in a forum relating to Operational Turntables -
"Pls. note that the base .trk file (the one in the route's folder) must not have an empty line after the last parenthesis, else the include mechanism does not work (found out this today...)".
I checked the Thames Trent 3 .trk file as downloaded, and it has the aforementioned empty line. I deleted this and, hey presto, the sounds now work perfectly.
Mike
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Mike,
Whether it was by luck or good judgement, my OpenRails .trk file didn't have a space-line after the last close bracket!
In my TTv3 download, the 'normal' .trk file doesn't have a space-line after the last close bracket.
Cheers,
Ged
Whether it was by luck or good judgement, my OpenRails .trk file didn't have a space-line after the last close bracket!
In my TTv3 download, the 'normal' .trk file doesn't have a space-line after the last close bracket.
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ged
That is very strange because I re-downloaded the route just to check this, and if I move the cursor one space on from the final closing bracket, it drops down to the next line.
Anyway, all's well that ends well.
I have just enjoyed a run along the Hope Valley line, and the track sounds really do add to the enjoyment of this super route.
Regards
Mike
That is very strange because I re-downloaded the route just to check this, and if I move the cursor one space on from the final closing bracket, it drops down to the next line.
Anyway, all's well that ends well.
I have just enjoyed a run along the Hope Valley line, and the track sounds really do add to the enjoyment of this super route.
Regards
Mike
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Mike,
That is odd!! - Mine just moves one position to the right. I wonder if it depends on which archiver you use? - I always use 7Zip.
Cheers,
Ged
That is odd!! - Mine just moves one position to the right. I wonder if it depends on which archiver you use? - I always use 7Zip.
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Ged
I use 7zip too!
Mike
I use 7zip too!
Mike
mikeanddi- Posts : 105
Join date : 2013-01-22
Age : 71
Location : Bromley, Kent
Re: Enabling automatic track sounds for switches, curves, and switches+curves
My .trk file also had an empty line at the end, which I have now deleted, Windows 10 using 7zip.
Mark
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Mark,
Thanks - I use Win 7 and not tried unpacking TT3 under Win 10, yet, so that might be it.
When looking inside the .zip file under Win 7, there is also no blank line after the last bracket. Later today, I'll check with Win 10.
Cheers,
Ged (working with one finger on one hand 'cause I've broken my left arm!!)
Thanks - I use Win 7 and not tried unpacking TT3 under Win 10, yet, so that might be it.
When looking inside the .zip file under Win 7, there is also no blank line after the last bracket. Later today, I'll check with Win 10.
Cheers,
Ged (working with one finger on one hand 'cause I've broken my left arm!!)
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Oh eck! how did you manage to break it? hope it gets better quickly. mine took over 12 months to heal and hasn't been right since.
Here is a live link for those demo automatic switch sounds (DemoAutoSound.zip) for anyone that still haven't got them..............
Click Here to download the file.
Here is a live link for those demo automatic switch sounds (DemoAutoSound.zip) for anyone that still haven't got them..............
Click Here to download the file.
Mark
Re: Enabling automatic track sounds for switches, curves, and switches+curves
Hi Mark,
Many thanks for your good wishes! I won't clutter this tread up any further with my woes, but certainly stops you in your 'tracks', so to say
Cheers,
Ged
Many thanks for your good wishes! I won't clutter this tread up any further with my woes, but certainly stops you in your 'tracks', so to say
Cheers,
Ged
Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.
slipperman12- Posts : 2645
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire
Page 1 of 2 • 1, 2
Similar topics
» Manual and Automatic Points
» Bulleid Sounds
» Activity Sounds
» Shimmering track
» Sounds for a Webb compound
» Bulleid Sounds
» Activity Sounds
» Shimmering track
» Sounds for a Webb compound
Page 1 of 2
Permissions in this forum:
You cannot reply to topics in this forum