Audio guide - OpenRA/OpenRA GitHub Wiki
OpenRA supports WAV (IMA ADPCM or PCM) and Westwood AUD formats for audio files.
Follow these steps to add a new audio file to a mod:
-
You may need to convert your audio to IMA ADPCM WAV using a program of your choice:
For the conversion of WAV to AUD (not recommended) you can use:
- http://www.winamp.com/plugin/xcc-aud-writer/24475
- http://xhp.xwis.net/utilities/XCC_Mixer.html
- http://vladan.bato.net/cnc/
- http://d2kplus.com/audioconverter.php
Listen to AUD files to test them:
-
Place the converted files to
<OpenRA root>/mods/<mod>/bits/
directory. -
Add entries for the files in music.yaml, notifications.yaml or voices.yaml. Definitions can be found in music.yaml, notifications.yaml and voices.yaml as well as scattered around in other files like weapons.yaml (
REPORT:
with .aud extension) and various traits in therules
folder.
Another beginner friendly method of getting new sounds for your mods are as follows
- Acquire your sound file and convert it to a .WAV using any working online converter.
- Open XCC Mixer and get the folder that contains your .WAV on the left menu and where you want it to be delivered after conversion on middle menu
- Right-click the .WAV on the left you want convert and select
Copy as AUD
- The converted file should now have been created in whatever folder you had selected in the middle menu.