Severn Valley Railway

New to Microsoft Train Simulator 1? Here's a good place to start and find out what it's all about!

Moderator: Moderators

Locked
User avatar
RiscaStation
Very Active Forum Member
Posts: 1466
Joined: Fri Feb 24, 2006 7:52 pm
Location: Newport, South wales

Severn Valley Railway

Post 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
User avatar
ianmacmillan
Very Active Forum Member
Posts: 9588
Joined: Fri Feb 28, 2003 12:39 pm
Location: N. Lanarkshire Scotland

Post 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.
[album 80489 WWCo.jpg]
If it's got buffers it's Chain.
User avatar
ashgray
Wafflus Maximus
Posts: 12235
Joined: Sun Jan 09, 2005 3:25 pm
Location: GWR, Nailsea, Somerset

Post 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
Ashley Gray

Intel Core i7-7700K @ 4.2Ghz Quad Core, Gigabyte Gaming Motherboard, 2 x 512Gb SSDs + 1TB SATA drives,
16 Gb DDR-4 Corsair RAM, Nvidia GeForce GTX1060 6Gb RAM, ASUS Xonar D2X/XDT Soundcard, Windows 10 64 bit
User avatar
RiscaStation
Very Active Forum Member
Posts: 1466
Joined: Fri Feb 24, 2006 7:52 pm
Location: Newport, South wales

Post 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
joebandit1
Getting the hang of things now
Posts: 49
Joined: Sat Jun 08, 2002 12:00 am
Location: Peoria,Az
Contact:

Post 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.
User avatar
ianmacmillan
Very Active Forum Member
Posts: 9588
Joined: Fri Feb 28, 2003 12:39 pm
Location: N. Lanarkshire Scotland

Post 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.
[album 80489 WWCo.jpg]
If it's got buffers it's Chain.
joebandit1
Getting the hang of things now
Posts: 49
Joined: Sat Jun 08, 2002 12:00 am
Location: Peoria,Az
Contact:

Post 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.
User avatar
RiscaStation
Very Active Forum Member
Posts: 1466
Joined: Fri Feb 24, 2006 7:52 pm
Location: Newport, South wales

Post 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
User avatar
alanch
Very Active Forum Member
Posts: 4907
Joined: Mon Feb 27, 2006 6:07 pm
Location: Leeds, England
Contact:

Post 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
Last edited by alanch on Thu Sep 20, 2007 7:10 am, edited 2 times in total.
Alan

My railway photos are now on Google + - links to the albums are in this thread http://forums.uktrainsim.com/viewtopic. ... 9&t=149558

Lots of steam and early diesels from 1959 to 1963.
User avatar
ianmacmillan
Very Active Forum Member
Posts: 9588
Joined: Fri Feb 28, 2003 12:39 pm
Location: N. Lanarkshire Scotland

Post by ianmacmillan »

Sorry Joe.

A badly worded post.

These are not Conbuilder errors - they are MSTS errors found by Conbuilder.

:oops:
[album 80489 WWCo.jpg]
If it's got buffers it's Chain.
User avatar
RiscaStation
Very Active Forum Member
Posts: 1466
Joined: Fri Feb 24, 2006 7:52 pm
Location: Newport, South wales

Post 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
joebandit1
Getting the hang of things now
Posts: 49
Joined: Sat Jun 08, 2002 12:00 am
Location: Peoria,Az
Contact:

Post 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.
Locked

Return to “[MSTS1] Help for Beginners”