.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2 > Mods
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old September 13th, 2015, 03:31 AM

Warhero Warhero is offline
Second Lieutenant
 
Join Date: Jun 2005
Posts: 570
Thanks: 2
Thanked 30 Times in 28 Posts
Warhero is on a distinguished road
Default SPWAW Enhanced sounds to SPWW2?

Well I recently played SPWAW's Enhanced mod and liked new sounds (especially tank hit/light hand weapons) very much. So is it possible that someone could "copy" (not sure are all sounds as wav files in SPWAWW2) sound files to SPWW2? I have no idea/experience what comes to sound editing programs... Just thought that someone could do this better than me?

Warhero
Reply With Quote
  #2  
Old September 13th, 2015, 06:33 AM

Warhero Warhero is offline
Second Lieutenant
 
Join Date: Jun 2005
Posts: 570
Thanks: 2
Thanked 30 Times in 28 Posts
Warhero is on a distinguished road
Default Re: SPWAW Enhanced sounds to SPWW2?

Oops sorry (edit option seems not to work in my end)this row "SPWAWW2 should be SPWW2 as in SPWAW"...
Reply With Quote
  #3  
Old September 13th, 2015, 06:26 PM
Wiking's Avatar

Wiking Wiking is offline
Corporal
 
Join Date: Apr 2015
Posts: 156
Thanks: 32
Thanked 37 Times in 28 Posts
Wiking is on a distinguished road
Default Re: SPWAW Enhanced sounds to SPWW2?

I actually have a similar question but I didn't want to risk breaking my install without finding out more. If I dig it up before someone more knowledgeable responds I'll be sure to post it here......
Reply With Quote
  #4  
Old September 15th, 2015, 07:25 AM
scorpio_rocks's Avatar

scorpio_rocks scorpio_rocks is offline
Major
 
Join Date: Aug 2013
Location: Yorkshire, UK
Posts: 1,047
Thanks: 366
Thanked 440 Times in 318 Posts
scorpio_rocks is on a distinguished road
Default Re: SPWAW Enhanced sounds to SPWW2?

Actually changing one sound for another is a reasonably straightforward process and can be done by anyone - IF the new sound is a .wav file.

Sorry don't have WAW, so no idea about that. There are software/programs to change the format of sounds, a google search should throw up some free ones.
__________________

"Gentlemen, when the enemy is committed to a mistake - we must not interrupt him too soon."
Horatio Nelson.
SPMBT Roundel Objectives Mod
SPMBT Small ID Flags Mod
WW2 Roundel Objectives Mod
Reply With Quote
  #5  
Old April 5th, 2016, 03:46 PM
RecruitMonty's Avatar

RecruitMonty RecruitMonty is offline
Captain
 
Join Date: Jul 2005
Location: London (Great Britain)
Posts: 838
Thanks: 200
Thanked 144 Times in 87 Posts
RecruitMonty is on a distinguished road
Default Re: SPWAW Enhanced sounds to SPWW2?

This is very easy!
(N.B. the following guide also applies to .mp3 files with the obvious difference that the "Sounds.ini" file will be configured for .MP3s instead of .Wavs).

In your "game data" folder (...\Shrapnel Games\The Camo Workshop\WinSPMBT\Game Data) you will find a file called "Sounds".

Double click on this file and open it up. In it you will find 324.wav / .mp3 files (162 a piece, numbered 1-249 etc).

You will also find a file called "Sounds.ini". This is the file you will eventually want! Back it up and then open it up in a text editor (notepad.exe). You will find the following:

Quote:
;
;
; ties the sound number to a file name
; 0-255
; sound can be an MP3, WAV or other (?) windows sound file type
;
[soundeffects]
sound000="1click.WAV"
sound001="1.WAV"
sound002="2.WAV"
sound003="3.WAV"
sound004="4.WAV"
sound005="5.WAV"
sound006="6.WAV"
sound007="7.WAV"
sound008="8.WAV"
sound009="9.WAV"

sound010="10.WAV"
sound011="11.WAV"
sound012="12.WAV"
sound013="13.WAV"
sound014="14.WAV"
sound015="15.WAV"
sound016="16.WAV"
sound017="17.WAV"
sound018="18.WAV"
sound019="19.WAV"

sound020="20.WAV"
sound021="21.WAV"
sound022="22.WAV"
sound023="23.WAV"
sound024="24.WAV"
sound025="25.WAV"
sound026="26.WAV"
sound027="27.WAV"
sound028="28.WAV"
sound029="29.WAV"

sound030="30.WAV"
sound031="31.WAV"
sound032="32.WAV"
sound033="33.WAV"
sound034="34.WAV"
sound035="35.WAV"
sound036="36.WAV"
sound037="37.WAV"
sound038="38.WAV"
sound039="39.WAV"

sound040="40.WAV"
sound041="41.WAV"
sound042="42.WAV"
sound043="43.WAV"
sound044="44.WAV"
sound045="45.WAV"
sound046="46.WAV"
sound047="47.WAV"
sound048="48.WAV"
sound049="49.WAV"

sound050="50.WAV"
sound051="51.WAV"
sound052="52.WAV"
sound053="53.WAV"
sound054="54.WAV"
sound055="55.WAV"
sound056="56.WAV"
sound057="57.WAV"
sound058="58.WAV"
sound059="59.WAV"

sound060="60.WAV"
sound061="61.WAV"
sound062="62.WAV"
sound063="63.WAV"
sound064="64.WAV"
sound065="65.WAV"
sound066="66.WAV"
sound067="67.WAV"
sound068="68.WAV"
sound069="69.WAV"

sound070="70.WAV"
sound071="71.WAV"
sound072="72.WAV"
sound073="73.WAV"
sound074="74.WAV"
sound075="75.WAV"
sound076="76.WAV"
sound077="77.WAV"
sound078="78.WAV"
sound079="79.WAV"

sound080="80.WAV"
sound081="81.WAV"
sound082="82.WAV"
sound083="83.WAV"
sound084="84.WAV"
sound085="85.WAV"
sound086="86.WAV"
sound087="87.WAV"
sound088="88.WAV"
sound089="89.WAV"

sound090="90.WAV"
sound091="91.WAV"
sound092="92.WAV"
sound093="93.WAV"
sound094="94.WAV"
sound095="95.WAV"
sound096="96.WAV"
sound097="97.WAV"
sound098="98.WAV"
sound099="99.WAV"

sound100="100.WAV"
sound101="101.WAV"
sound102="102.WAV"
sound103="103.WAV"
sound104="104.WAV"
sound105="105.WAV"
sound106="106.WAV"
sound107="107.WAV"
sound108="108.WAV"
sound109="109.WAV"

sound110="110.WAV"
sound111="111.WAV"
sound112="112.WAV"
sound113="113.WAV"
sound114="114.WAV"
sound115="115.WAV"
sound116="116.WAV"
sound117="117.WAV"
sound118="118.WAV"
sound119="119.WAV"

sound120="120.WAV"
sound121="121.WAV"
sound122="122.WAV"
sound123="123.WAV"
sound124="124.WAV"
sound125="125.WAV"
sound126="126.WAV"
sound127="127.WAV"
sound128="128.WAV"
sound129="129.WAV"

sound130="130.WAV"
sound131="131.WAV"
sound132="132.WAV"
sound133="133.WAV"
sound134="134.WAV"
sound135="135.WAV"
sound136="136.WAV"
sound137="137.WAV"
sound138="138.WAV"
sound139="139.WAV"

sound140="140.WAV"
sound141="141.WAV"
sound142="142.WAV"
sound143="143.WAV"
sound144="144.WAV"
sound145="145.WAV"
sound146="146.WAV"
sound147="147.WAV"
sound148="148.WAV"
sound149="149.WAV"

sound150="150.WAV"
sound151="151.WAV"
sound152="152.WAV"
sound153="153.WAV"
sound154="154.WAV"
sound155="155.WAV"
sound156="156.WAV"
sound157="157.WAV"
sound158="158.WAV"
sound159="159.WAV"

sound160="160.WAV"
sound161="161.WAV"
sound162="162.WAV"
sound163="163.WAV"
sound164="164.WAV"
sound165="165.WAV"
sound166="166.WAV"
sound167="167.WAV"
sound168="168.WAV"
sound169="169.WAV"

sound170="170.WAV"
sound171="171.WAV"
sound172="172.WAV"
sound173="173.WAV"
sound174="174.WAV"
sound175="175.WAV"
sound176="176.WAV"
sound177="177.WAV"
sound178="178.WAV"
sound179="179.WAV"

sound180="180.WAV"
sound181="181.WAV"
sound182="182.WAV"
sound183="183.WAV"
sound184="184.WAV"
sound185="185.WAV"
sound186="186.WAV"
sound187="187.WAV"
sound188="188.WAV"
sound189="189.WAV"

sound190="190.WAV"
sound191="191.WAV"
sound192="192.WAV"
sound193="193.WAV"
sound194="194.WAV"
sound195="195.WAV"
sound196="196.WAV"
sound197="Null.WAV"
sound198="Null.WAV"
sound199="Null.WAV"

sound200="200.WAV"
sound201="201.WAV"
sound202="202.WAV"
sound203="203.WAV"
sound204="204.WAV"
sound205="205.WAV"
sound206="206.WAV"
sound207="207.WAV"
sound208="208.WAV"
sound209="209.WAV"

sound210="210.WAV"
sound211="211.WAV"
sound212="212.WAV"
sound213="213.WAV"
sound214="214.WAV"
sound215="215.WAV"
sound216="216.WAV"
sound217="217.WAV"
sound218="218.WAV"
sound219="219.WAV"

sound220="220.WAV"
sound221="221.WAV"
sound222="222.WAV"
sound223="223.WAV"
sound224="224.WAV"
sound225="225.WAV"
sound226="226.WAV"
sound227="227.WAV"
sound228="228.WAV"
sound229="229.WAV"

sound230="230.WAV"
sound231="231.WAV"
sound232="232.WAV"
sound233="233.WAV"
sound234="234.WAV"
sound235="235.WAV"
sound236="236.WAV"
sound237="237.WAV"
sound238="238.WAV"
sound239="239.WAV"

sound240="240.WAV"
sound241="241.WAV"
sound242="242.WAV"
sound243="243.WAV"
sound244="244.WAV"
sound245="245.WAV"
sound246="246.WAV"
sound247="247.WAV"
sound248="248.WAV"
sound249="249.WAV"

sound250="250.WAV"
sound251="251.WAV"
sound252="252.WAV"
sound253="253.WAV"
sound254="254.WAV"
sound255="click.WAV"

;the playlist for background sounds
[soundtracks]
track01="Battlesounds01.WAV"
track02="Battlesounds02.WAV"
track03=
track04=
track05=
track06=
track07=
track08=
track09=
track10=
Side note: The standard sound file appears to be .wav although there is a copy of Sounds.ini configured for mp3s called "MP3Sounds.ini".


Looks like a lot of information to start off with but it is actually really straight forward.

All you have to do is either replace an existing sound, say "36.wav" (the standard sound played by infantry units), for instance, with a different sound in the same .wav format then also called "36.wav" or, alternatively, (and I strongly recommend this approach as it prevents craziness with the original game sounds if you don't actually know which weapons etc use any given existing sound) replace one of the many empty entries, say "020.wav" (in my mod this is a passable recording of a Gewehr 43) with a .wav file called "20" (keep it simple, no funny names).

Pasting in a new .wav file into the sound folder in this case is not enough. You need to then register it in the Sounds.ini directory.

Keeping with my example ("20.wav") scroll down to the entry for 20 in the Sounds.ini file
Quote:
sound020="Null.WAV"
. As you can see this entry indicates that at present "sound020" is unassigned and therefore it has the default "Null.WAV" entry (sounds like a 1960s scifi laser sound effect). You will need to change this to read as follows:
Quote:
sound020="20.WAV"
(n.b. emphasis added here is purely demonstrative).

Having now done that, save your edit the usual way and then exit the file (unless of course you have more edits to make).

At this point, depending on whether you chose to simply over-write existing sounds (in which case, I hope you know for sure what you've replaced and just what weapons that sound is used for in the game) or create new ones you will have less or more work to do.

If you've over-written then that's it. Enjoy hearing your new sound in the game and hopefully your cool AK47 sound will not also play when the enemy open up on you with an M16 or whatever.

If you've created a new sound (see above) then you will need to know exactly which weapon you made that sound for and also which OBat uses it (more likely which OBat you are specifically interested in that uses that particular weapon as some weapons are more common than others and therefore as you will soon see require more individual edits).

THIS MEANS YOU ARE EDITING OOB FILES SO THE USUAL WARNINGS APPLY - BACK THE OLD ONES UP!

In my example I created a .Wav sound for a Gewehr 43. I know that this weapon (afaik) is only available in three OBats (35, 42 and 44) as those were my modified Obats.

Of course, I want my Gewehr 43 to sound the same in all three Obats.

I open up Mobhack:

(
Quote:
...\Shrapnel Games\The Camo Workshop\WinSPMBT\MOBHack
)

and select OBat 35.

I open it up (double click) and I have a menu in front of me with all manner of things on it - specifically unit information for entry 001 in the given OBat.

I can disregard all of this and simply click on the "Weapons" tab (on the left between "Units" and "Formations").

I then scroll down to my entry for the Gewehr 43 (in this case no. 004 "7,92 Kar. 43") and click on this. On the right hand side a whole bunch of information is now displayed (thirteen entries in all - blue text on the left and white boxes with black text in them on the right).

Where "Weapon Sound" is indicated I type "20" into the white box and save the change by hitting the key "f12" or clicking on the tick icon (scrolling over it reveals the following: "commit your changes"). I then click on "file" in the top left hand corner and select "save current file".

Alternatively, if you don't want to over-write the existing OOBs do the following:

After having saved the initial edit - by clicking on the tick icon - click on "File" and select the option "Save File As". Now double click on the folder "Custom OOBs" in the menu that pops up, hopefully, then double click on "Custom Set 1". In this sub folder you will now save a copy of the original OBat with your edits. For our purposes the file is called "Obat035.obf".

When you've done that, check over everything to see if it worked and you are done.
__________________
"Wir Deutschen sollten die Wahrheit auch dann ertragen lernen, wenn sie für uns günstig ist."
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:53 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.