Page 1 of 1
Severn Valley Railway
Posted: Thu Mar 29, 2007 1:31 pm
by RiscaStation
Hi
I have just installed this Add-on only to find there are 170 sound errors and 30 syntax errors.
I can deal with the syntax ok but am lost when it comes to Sound corrections!
Conbuilder has high lighted the errors and I did try running Route Riter to try and correct the sound files!
Can the community help me please?
Thanks
Mike
Posted: Thu Mar 29, 2007 3:16 pm
by ianmacmillan
Give us an exact example of one of the sound errors.
We can't realy help with error messages if you don't tell us exactly what they are.
Posted: Thu Mar 29, 2007 3:20 pm
by ashgray
As Ian says, we really need to know exactly what the errors are, if we are to be of any help. However, if you've altered any stock items, or installed different cabs or sound files, these could be the cause, in which case I'd check those areas first (using Route-Riter or Conbuilder).
Cheers
Ashley
Posted: Thu Mar 29, 2007 8:11 pm
by RiscaStation
ashgray wrote:As Ian says, we really need to know exactly what the errors are, if we are to be of any help. However, if you've altered any stock items, or installed different cabs or sound files, these could be the cause, in which case I'd check those areas first (using Route-Riter or Conbuilder).
Cheers
Ashley
Hi
Thank you both for coming to my aid.
I uninstalled and re-installed, together with an update which helped a great deal.
I now had 36 lines of sound errors relating to the Western D1013 eg; couple, and uncouple.
These lines referred to ../../GP38/sound/couple_auto1.wav etc..
Error lines like this;----
Discrete_Trigger ( 58 PlayOneShot ( 1 File ( "../../GP38/sound/couple_auto1.wav" -1 )
It was ConBuilder that raised these errors with sound and Route Riter confirmed the activities to be ok.
Mike
Posted: Thu Mar 29, 2007 9:44 pm
by joebandit1
The line need sno path as the sound is in what is refered to as the default sound folder.
Edit it to look like this:
Discrete_Trigger ( 58 PlayOneShot ( 1 File ( "couple_auto1.wav" -1 )
Same with the other lines that are like it.
Posted: Fri Mar 30, 2007 12:49 am
by ianmacmillan
This is a very common error with Conbuilder.
The sms file is aliasing to the loco folder for sounds that are actually in the main sounds folder.
You can edit the loco sms file to remove the aliasing or take the easy way out and copy the 6 coupling wavs from the main sounds folder to the gp38 sound folder.
You will find that the same problem occurs with the compressor sounds (eg a_d_comp1.wav) and the water skoop on the steam locos (x_fuel_xfer_wtr1t.wav) as well as some others.
First thing to do if you have a missing wav is always to look in the main sound folder.
Posted: Fri Mar 30, 2007 1:59 am
by joebandit1
It is not an error with conbuilder,it is an error created by the repainter.
Aliasing from ConBuilder adds the path in, another of the fixes I plan on doing.
Those sounds, if you look are not in the Eng folders to begin with.
Posted: Fri Mar 30, 2007 9:07 am
by RiscaStation
joebandit1 wrote:The line need sno path as the sound is in what is refered to as the default sound folder.
Edit it to look like this:
Discrete_Trigger ( 58 PlayOneShot ( 1 File ( "couple_auto1.wav" -1 )
Same with the other lines that are like it.
Hi
Thank you "joebandit" for the information I will try this out and let you know how I get on.
Ian, thanks for your help I have noted what you have said.
I find "Sound Errors" thrown up by Conbuilder difficult to fix. There being no solution given only a possible cause.
I am grateful to you both for your help and guidance.
Regards
Mike
Posted: Fri Mar 30, 2007 2:57 pm
by alanch
Firstly, thanks to Joe for Conbuilder, which lets us discover how many sound errors there are lurking in our files - the full version of Conbuilder is a snip at the price.
Most sound errors can be corrected, but obviously you have to know what you are doing. There are a few main types of error:
1 the easiest ones are those mentioned in this thread, where the sms file has an alias, but the wav files are in the Microsoft Train Simulator\Sound folder which is automatically searched by MSTS, so the alias is unnecessary - removing the alias sorts these out. Of course, you have to check which files are in the global Sound folder - all part of getting to know your MSTS setup.
2 wav files that should be aliased haven't been. Often these are to the default loco sounds in the Dash9, GP38 or Scotsman sound folders, and helpfully the beginning of the filename usually helps - d9 or x_d9 for the Dash9, gp or x_gp for the GP38 and fs or x_fs for Scotsman. So you need to insert ../../Dash9/Sound/ or ../../GP38/Sound/ or ../../Scotsman/Sound/ before the filename. These often seem to occur where two sound files are on the same line of the sms file - the second one seems to get missed.
3 the wav file is missing - it's not in the sound folder of the loco, or in the common.sound or default alias locations, or in the Sound folder. Check the spelling first - typos are common, but if you can't find the file in these locations, you may have to use the Windows Explorer Search function to find one that looks right, and copy it into the sound folder. If you still can't find the file, you can edit the sms file to remove the line with the missing sound, or replace it with another wav file.
To make life easier when you are editing these Unicode files, get yourself a good editor. I use Context from
http://www.context.cx/ with the highlighter from
http://steam4me.railpage.org.au/trainsi ... ntext.html where there are useful tutorials (thanks Yuri).
If you are worried about the space all your loco sound folders are taking up on your hard disk, if you have lots of the same type of loco you can move the sound folder to Common.sound, give it an appropriate name (leaving it as Sound doesn't help), and point your locos sound lines to the sms files in that folder.
Alan
Please have a look at my railway photograph site -
http://alan-lewis-chambers.fotopic.net/ - lots of British steam and early diesels
Posted: Fri Mar 30, 2007 3:25 pm
by ianmacmillan
Sorry Joe.
A badly worded post.
These are not Conbuilder errors - they are MSTS errors found by Conbuilder.

Posted: Sun Apr 01, 2007 1:45 pm
by RiscaStation
Hi Alan
Thank you for the information on sound. I will have a look at the links you have suggested and try and learn more.
Regards
Mike
Posted: Sat Apr 07, 2007 7:07 am
by joebandit1
Had you seen my post about the latest version of ConBuilder I addressed and fixed that error, so someone using conbuilder will not have that problem any longer. If the engine(loco) was done using conbuidler in the first place.