Modifying current locomotive sound xml file

Making, fixing and applying sound files.

Modifying current locomotive sound xml file

Unread postby emd645e3 » Fri May 30, 2014 2:06 pm

Hey guys,

I am currently working on a sound project for a friend and I have a question. How would one modify a xml by adding in a new code in a existing xml to allow a new sound to be played. For a simple example lets say I wanted to add in a cab radio chatter to a loco that does not have one. Is there a way to add in the code to the CAB xml file that will allow it to be played? I'm a MSTS veteran and modifying the coding in there version called a SMS files as simple as a few clicks, add in a few changes, and done. But here it's like rocket science to me.

So if any sound vets hear who know their stuff and could give me a in depth insight on how this works then I would be extremely happy.

*!!thnx!!*
Last edited by emd645e3 on Fri May 30, 2014 2:36 pm, edited 3 times in total.
My office moves at 79mph and only stops for red signals...
CN Wakesha Sub MP 48.5
https://www.facebook.com/theaudioshack
User avatar
emd645e3
 
Posts: 154
Joined: Sat Jun 22, 2013 6:14 pm
Location: Chicago, IL

Re: Modifying current locomotive sound xml file

Unread postby harryadkins » Fri May 30, 2014 2:08 pm

I think it's possible. Why not examine the xml file of a loco that already has radio chatter.
User avatar
harryadkins
 
Posts: 3120
Joined: Sun Aug 23, 2009 8:01 am
Location: South Carolina, USA

Re: Modifying current locomotive sound xml file

Unread postby emd645e3 » Fri May 30, 2014 2:17 pm

Hi Harry,


I have. I tried a while back to install HEP to my P42DC soundset last year but I was stumped. I tried almost everything in the books. I was told a while ago it is all in the Blueprint Editor but back then mine did not work because of my incompetence and a hour ago I figure out why. (And all it took was for me to delete one little file !DUH! ) But I fired up my Blueprint Editor and I was taking a look at it and it seems like it only allows me to create, not modify them.
Last edited by emd645e3 on Fri May 30, 2014 2:38 pm, edited 1 time in total.
My office moves at 79mph and only stops for red signals...
CN Wakesha Sub MP 48.5
https://www.facebook.com/theaudioshack
User avatar
emd645e3
 
Posts: 154
Joined: Sat Jun 22, 2013 6:14 pm
Location: Chicago, IL

Re: Modifying current locomotive sound xml file

Unread postby mrennie » Fri May 30, 2014 2:30 pm

emd645e3 wrote: But I fired up my Blueprint Editor and I was taking a look at it and it seems like it only allows me to create, not modify them.


That's correct. The .xml files in a developer's "source" file, created directly in the blueprint editor, contain some vital information that isn't in the .xml (or .bin) files in the asset (output) foiders, so you can't use the BE to edit the latter.
User avatar
mrennie
 
Posts: 3214
Joined: Wed May 30, 2012 12:22 pm

Re: Modifying current locomotive sound xml file

Unread postby buzz456 » Fri May 30, 2014 2:31 pm

Do you have RWTools?
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 21064
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Modifying current locomotive sound xml file

Unread postby emd645e3 » Fri May 30, 2014 2:36 pm

mrennie wrote:
emd645e3 wrote: But I fired up my Blueprint Editor and I was taking a look at it and it seems like it only allows me to create, not modify them.


That's correct. The .xml files in a developer's "source" file, created directly in the blueprint editor, contain some vital information that isn't in the .xml (or .bin) files in the asset (output) foiders, so you can't use the BE to edit the latter.


Oh ok I see. So there is no way of editing it without BE?


buzz456 wrote:Do you have RWTools?


Yes I do.
My office moves at 79mph and only stops for red signals...
CN Wakesha Sub MP 48.5
https://www.facebook.com/theaudioshack
User avatar
emd645e3
 
Posts: 154
Joined: Sat Jun 22, 2013 6:14 pm
Location: Chicago, IL

Re: Modifying current locomotive sound xml file

Unread postby mrennie » Fri May 30, 2014 2:45 pm

I've never used RWtools, but I'm sure Buzz can guide you on how to do things with it. I'd be interested to know if it lets you insert new entries in a blueprint, or only edit the existing ones.
User avatar
mrennie
 
Posts: 3214
Joined: Wed May 30, 2012 12:22 pm

Re: Modifying current locomotive sound xml file

Unread postby buzz456 » Fri May 30, 2014 2:47 pm

mrennie wrote:I've never used RWtools, but I'm sure Buzz can guide you on how to do things with it. I'd be interested to know if it lets you insert new entries in a blueprint, or only edit the existing ones.


Yes you can insert new entries. If it's a child item the only tricky part is getting the beginning and ending statement right.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 21064
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Modifying current locomotive sound xml file

Unread postby emd645e3 » Fri May 30, 2014 3:15 pm

buzz456 wrote:
mrennie wrote:I've never used RWtools, but I'm sure Buzz can guide you on how to do things with it. I'd be interested to know if it lets you insert new entries in a blueprint, or only edit the existing ones.


Yes you can insert new entries. If it's a child item the only tricky part is getting the beginning and ending statement right.


Really? Ok I will start looking into it now unless you want to explain the process.
My office moves at 79mph and only stops for red signals...
CN Wakesha Sub MP 48.5
https://www.facebook.com/theaudioshack
User avatar
emd645e3
 
Posts: 154
Joined: Sat Jun 22, 2013 6:14 pm
Location: Chicago, IL

Re: Modifying current locomotive sound xml file

Unread postby buzz456 » Fri May 30, 2014 4:42 pm

Go find a bin file that for instance has radio chatter. In the upper left corner under files then get to the engine bin file. Copy the appropriate lines from that bin. And then open and put it into the one where you want to change the sound. Tell it to save and it will also make a backup in case you mess things up.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 21064
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida


Return to Sound Application

Who is online

Users browsing this forum: No registered users and 1 guest