Page 1 of 1

problem with xml

Posted: 08 May 2022 01:57
by norfolksouthern16
im trying to make a sound file, I think everything is right, but I keep getting this error

Re: problem with xml

Posted: 08 May 2022 12:31
by Walter1940
You have a basic mistake in the XML. A sound has no cargo [0]. Could it be that you have changed the XML of a vehicle?

Re: problem with xml

Posted: 08 May 2022 12:41
by norfolksouthern16
the error that I keep getting is from a new xml file that I made last night. I never changed the .xml file of anything.

Re: problem with xml

Posted: 08 May 2022 13:04
by Walter1940
But it's simple. Take any existing sound and disassemble it into XML and Wave file. You can delete the wave file.
In the XML you change the name of the Wave file at the top of which it should access. Name at Glei. So XML and Wave. Usually a lot has to be coordinated with the values. If you are lucky, everything fits the first time. Then pull the XML over the LocoTool again and you have a snd___.dat file.
But don't be disappointed if it doesn't work the first time. I often need 1 - 2 hours to find the right values.

Re: problem with xml

Posted: 08 May 2022 18:32
by norfolksouthern16
ok it worked and the sound plays correctly