Difference between revisions of "Sound modifications"

From War Thunder Wiki
Jump to: navigation, search
m (How to create sound modifications)
(How to implement sound modifications)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Notice
 +
|
 +
In update 1.99.1.39, the original game sound files have been changed. Download the [https://github.com/GaijinEntertainment/fmod_studio_warthunder_for_modders repository], to update your sound mod for War Thunder!
 +
}}<br>
 
{{Notice
 
{{Notice
 
|Be careful! Sound modifications, if not executed perfectly, are capable of leading to problems operating the game and may even harm your health!
 
|Be careful! Sound modifications, if not executed perfectly, are capable of leading to problems operating the game and may even harm your health!
  
 
Any individual that creates custom sound modifications, modifies the game’s audio files, or makes use of sound modification files created by any other person, does so at their own risk, and we (Gaijin) will take no responsibility for their, or anyone else’s, use of those modifications.|!
 
Any individual that creates custom sound modifications, modifies the game’s audio files, or makes use of sound modification files created by any other person, does so at their own risk, and we (Gaijin) will take no responsibility for their, or anyone else’s, use of those modifications.|!
}}
+
}}<br>
 
 
 
== How to implement sound modifications ==
 
== How to implement sound modifications ==
 
[[File:Sound modifications - config.blk.png|thumb|400x400px]]
 
[[File:Sound modifications - config.blk.png|thumb|400x400px]]
Visit the sound modifications section on [https://live.warthunder.com/feed/all/ War Thunder LIVE] (which will be released soon!)
+
Visit the sound modifications section on [https://live.warthunder.com/feed/sounds/ War Thunder LIVE]
  
 
# Choose and download your chosen modification files, (make sure you trust the source before doing so).
 
# Choose and download your chosen modification files, (make sure you trust the source before doing so).
# Open the game’s config.blk, which is located in the War Thunder game folder, by using any text editor and add the line: enable_mod:b=yes to the sound block, pictured below.
+
# Open the game’s config.blk, which is located in the War Thunder game folder, using any text editor and add the line: <code>enable_mod:b=yes</code> to the sound block, pictured below.
 +
# For some mods you need to add the following line to the block <code>sound{}</code> of the config.blk file: <code>useLoopsForGunSound:b=yes</code> - This is required to enable the support of rapid-fire gun sounds that are implemented by using loop method (looped pre-rendered sounds of the gun bursts). The necessity of adding this line is indicated by the author of the modification.
 
# Save the changes made to the file.
 
# Save the changes made to the file.
 
# Find the “sound” folder located in the War Thunder game folder, and within it, create a new folder named “mod”.
 
# Find the “sound” folder located in the War Thunder game folder, and within it, create a new folder named “mod”.
Line 32: Line 36:
 
# Open the sound project in the current version of Fmod Studio.
 
# Open the sound project in the current version of Fmod Studio.
 
# The current version of the Fmod Studio for War Thunder can be found on the sound project page on Github in the readme file.
 
# The current version of the Fmod Studio for War Thunder can be found on the sound project page on Github in the readme file.
# Find the sound you want to change in the sounds folder which is located in the Assets folder in the fmod_studio_warthunder_for_modders-master folder.
+
# Make changes to the sound events without changing the names of the files, the location of the files, or the structure/hierarchy of the folder.
# Paste the sound file you want to be your modified sound (MG.wav) in the same folder as the original sound as in this [https://snipboard.io/ENwv5U.jpg screenshot].
+
# Please note that if you want to implement sounds of rapid-fire guns via loops (looped pre-rendered sounds of the gun bursts) you will need to add the following line to the block <code>sound{}</code> of the config.blk file: <code>useLoopsForGunSound:b=yes</code> - Also don’t forget to notify the users of your mod about this.
# Copy the name of the original sound file (vickers_mkv.wav) and then delete it.
+
# Assemble the data banks where change events are located without amending the names of the data banks or the composition of events in them.
# Rename your new sound file (MG.wav) to the EXACT same name as the original sound file (vickers_mkv.wav) as in this [https://snipboard.io/5zbOo7.jpg screenshot]. You can do this for as many sounds as you want to modify.
 
# Click file>build which will build your banks.
 
# Copy the banks into your mod folder in the sounds folder located in the War Thunder file directory as in this [https://snipboard.io/d3cNFO.jpg screenshot].
 
# Please note, this is an example. The following method above works for any sound file in the modding folder. Your modified sound MUST be named exactly the same as the original sound file or Fmod Studio will give an error saying that it can't find all the required sounds to build the project.
 
  
 
Check your saved project before sharing it with other players!
 
Check your saved project before sharing it with other players!
 +
 
[[Category:War Thunder CDK]]
 
[[Category:War Thunder CDK]]

Revision as of 17:03, 22 December 2020

Msg-info.png

In update 1.99.1.39, the original game sound files have been changed. Download the repository, to update your sound mod for War Thunder!


Msg-important.png Be careful! Sound modifications, if not executed perfectly, are capable of leading to problems operating the game and may even harm your health!

Any individual that creates custom sound modifications, modifies the game’s audio files, or makes use of sound modification files created by any other person, does so at their own risk, and we (Gaijin) will take no responsibility for their, or anyone else’s, use of those modifications.


How to implement sound modifications

Sound modifications - config.blk.png

Visit the sound modifications section on War Thunder LIVE

  1. Choose and download your chosen modification files, (make sure you trust the source before doing so).
  2. Open the game’s config.blk, which is located in the War Thunder game folder, using any text editor and add the line: enable_mod:b=yes to the sound block, pictured below.
  3. For some mods you need to add the following line to the block sound{} of the config.blk file: useLoopsForGunSound:b=yes - This is required to enable the support of rapid-fire gun sounds that are implemented by using loop method (looped pre-rendered sounds of the gun bursts). The necessity of adding this line is indicated by the author of the modification.
  4. Save the changes made to the file.
  5. Find the “sound” folder located in the War Thunder game folder, and within it, create a new folder named “mod”.
  6. Extract the modification files to the newly created ‘mod’ folder.

War Thunder will now use the new modified sounds.

Note: If the modifications have not been created or implemented correctly, the game may exhibit errors!

How to rollback sound modification changes

If the game becomes unstable following the implementation of a sound modification, or you decide you don’t like the result of the modification, you can rollback the changes. To do this, just change the line “enable_mod:b=yes” to “enable_mod:b=no” in the config.blk or just delete this line entirely.

Following these steps, War Thunder will start using the standard sound effects once again.

Don’t forget to then delete the ‘mod’ folder containing the modification from the “sounds” folder.

How to create sound modifications

The creation of custom sound modifications is possible with the Fmod Studio (you will need to register on the relevant page and download the software).

  1. Download or clone the sound project from the official repository
  2. Open the sound project in the current version of Fmod Studio.
  3. The current version of the Fmod Studio for War Thunder can be found on the sound project page on Github in the readme file.
  4. Make changes to the sound events without changing the names of the files, the location of the files, or the structure/hierarchy of the folder.
  5. Please note that if you want to implement sounds of rapid-fire guns via loops (looped pre-rendered sounds of the gun bursts) you will need to add the following line to the block sound{} of the config.blk file: useLoopsForGunSound:b=yes - Also don’t forget to notify the users of your mod about this.
  6. Assemble the data banks where change events are located without amending the names of the data banks or the composition of events in them.

Check your saved project before sharing it with other players!