F7 to E7

Discuss almost anything about RailWorks.

F7 to E7

Unread postby miata54 » Fri Nov 04, 2011 9:39 am

I would like to use the engine sounds of the F7 in HSC, in the E7 of Portland Terminal. Can this be done and if so, how complicated is the process? What files would have to be changed and what has to be changed to those files?

Thanks.
User avatar
miata54
 
Posts: 309
Joined: Tue Aug 23, 2011 4:40 pm
Location: Worcester MA

Re: F7 to E7

Unread postby MontanaRails » Fri Nov 04, 2011 12:31 pm

All you have to do is change on line in the engine's .bin file so it will alias to the F7. You need to RW_tools or similar program. If this is your first time editing a .bin file, it isnt complicated, but make sure you make a backup of the original file, and copy and paste exactly, line for line, character for character. An errant space or other formatting error is enough to cause the game to lock up.

The file you need to modify is here: Assets\G-TraX\PortlandTerminal\RailVehicles\Diesel\E7\Default\Engine\B_M-E7a.bin

Scroll to near the bottom of the .bin file, where it has the Child Object Sections. You need to find the section called "Engine Sound". This is what it should look like:

Code: Select all
                  <cEntityContainerBlueprint-sChild d:id="34333664">
                     <ChildName d:type="cDeltaString">Engine Sound</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">G-TraX</Provider>
                                 <Product d:type="cDeltaString">PortlandTerminal</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Audio\RailVehicles\Diesel\E\E_En_Sound.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000064CC0140" d:precision="string">2.2248</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A0A982F2BF" d:precision="string">-1.1569</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                  </cEntityContainerBlueprint-sChild>


Change it so it looks like this ("Provider", "Product" and the "BlueprintID" path are the sections that have been changed):

Code: Select all
                  <cEntityContainerBlueprint-sChild d:id="34333664">
                     <ChildName d:type="cDeltaString">Engine Sound</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">RSC</Provider>
                                 <Product d:type="cDeltaString">HorseshoeCurve</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Audio\RailVehicles\Diesel\F7\F7 Engine Sound.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000064CC0140" d:precision="string">2.2248</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A0A982F2BF" d:precision="string">-1.1569</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                  </cEntityContainerBlueprint-sChild>


And the E7 should be using the F7's sound.
Image
MontanaRails
 
Posts: 667
Joined: Sun Nov 14, 2010 2:08 am

Re: F7 to E7

Unread postby miata54 » Fri Nov 04, 2011 5:29 pm

Thank you VERY much Montana Rails. This is just the info for the process I was looking for.
User avatar
miata54
 
Posts: 309
Joined: Tue Aug 23, 2011 4:40 pm
Location: Worcester MA

Re: F7 to E7

Unread postby MontanaRails » Fri Nov 04, 2011 6:54 pm

There was an issue with the E7 cab sound (at least on my end). So here's what I did to fix it. This is a better method than my first response.

I realized by aliasing to the HSC assets, these assets then need to be enabled in each scenario via the scenario editor, otherwise the loco will be silent. To make it easier, I copied the HSC F7 sound folder into the E7 sound folder. In other words:

Copy this folder: Assets\RSC\HorseshoeCurve\Audio\RailVehicles\Diesel\F7. In this folder, Assets\G-TraX\PortlandTerminal\Audio\RailVehicles\Diesel, you should see "E" and "SD40". Paste the "F7" folder in the Diesel folder, so you have all three; "E", "SD40" and "F7".

Then, modify the G-Trax E7 .bin file, so the following sections read as follows:

Code: Select all
                  <cEntityContainerBlueprint-sChild d:id="34333664">
                     <ChildName d:type="cDeltaString">Engine Sound</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">G-TraX</Provider>
                                 <Product d:type="cDeltaString">PortlandTerminal</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Audio\RailVehicles\Diesel\F7\F7 Engine Sound.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000064CC0140" d:precision="string">2.2248</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A0A982F2BF" d:precision="string">-1.1569</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                  </cEntityContainerBlueprint-sChild>
                  <cEntityContainerBlueprint-sChild d:id="34338528">
                     <ChildName d:type="cDeltaString">Horn</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">G-TraX</Provider>
                                 <Product d:type="cDeltaString">PortlandTerminal</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Audio\RailVehicles\Diesel\E\Cab\E_Horn.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000204850E0BF" d:precision="string">-0.5098</e>
                              <e d:type="sFloat32" d:alt_encoding="0000004067441240" d:precision="string">4.5668</e>
                              <e d:type="sFloat32" d:alt_encoding="000000E093870EC0" d:precision="string">-3.8162</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                  </cEntityContainerBlueprint-sChild>
                  <cEntityContainerBlueprint-sChild d:id="34909792">
                     <ChildName d:type="cDeltaString">Cab Sound</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">G-TraX</Provider>
                                 <Product d:type="cDeltaString">PortlandTerminal</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Audio\RailVehicles\Diesel\F7\Cab\F7 Cab Sound.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A0CD2A0D40" d:precision="string">3.6459</e>
                              <e d:type="sFloat32" d:alt_encoding="000000402A291440" d:precision="string">5.0402</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                  </cEntityContainerBlueprint-sChild>
Image
MontanaRails
 
Posts: 667
Joined: Sun Nov 14, 2010 2:08 am

Re: F7 to E7

Unread postby miata54 » Fri Nov 04, 2011 8:20 pm

Thanks. Is the E7 bin file that I need to modify, labeled "E_En_Sound"? Using RW Tools, I looked in that folder and could find no "child" reference, or should there not be any? Following your instructions above, should I delete all text from the "E_EN_Sound" bin file (if that is the correct file I should be working with) and paste there what you highlighted above?
User avatar
miata54
 
Posts: 309
Joined: Tue Aug 23, 2011 4:40 pm
Location: Worcester MA

Re: F7 to E7

Unread postby MontanaRails » Fri Nov 04, 2011 8:31 pm

No, the bin file you need to modify is here: Assets\G-TraX\PortlandTerminal\RailVehicles\Diesel\E7\Default\Engine\B_M-E7a.bin

Dont delete everything; you're only replacing the specific child objects above with the modified values, and leaving everything else intact.
Image
MontanaRails
 
Posts: 667
Joined: Sun Nov 14, 2010 2:08 am

Re: F7 to E7

Unread postby miata54 » Fri Nov 04, 2011 8:45 pm

Gotcha. !!*ok*!! Will let you know!
User avatar
miata54
 
Posts: 309
Joined: Tue Aug 23, 2011 4:40 pm
Location: Worcester MA

Re: F7 to E7

Unread postby miata54 » Fri Nov 04, 2011 9:48 pm

Conversion successful. E7 now sounds like a diesel!

Thanks again.
User avatar
miata54
 
Posts: 309
Joined: Tue Aug 23, 2011 4:40 pm
Location: Worcester MA

Re: F7 to E7

Unread postby MontanaRails » Sat Nov 05, 2011 3:46 pm

Glad to hear it! It does help realism quite a bit, doesnt it.
Image
MontanaRails
 
Posts: 667
Joined: Sun Nov 14, 2010 2:08 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests