Joined
Jan 13, 2020
Messages
36
Welp, it has been too long, so I finally released a music template! All that's left is to put your music in, and adjust the settings!

DOWNLOAD LINKS
Google Drive: https://drive.google.com/drive/folders/1-Rxt344WKhcNu_ZtS7wmAbIUUMzk45Nt?usp=share_link
Github: https://github.com/BoasModProductions/Civ-6---Boa-s-Music-Template
(The Google Drive download comes with an offline version of the same tutorial video below along with files needed to install Wwise. The Github download only has the template itself.)

DISCLAIMER: All the work in this template is a copy-paste of the setup Dwughjsd's Yuni mod project, which unlike this template, also covers voiced dialogue & unit sounds. This template however, is set up in such a way that I have already covered the technical steps, and all that's needed is to simply insert the music and have the settings "lock them in" so it works.)
Dwughjsd's Project: https://github.com/dwughjsd/LandsolYuni_civ6mod

INSTRUCTIONS
To use this template, I recommend you check the first few pages of the following: https://forums.civfanatics.com/threads/tutorial-adding-music-to-your-mod-civilization.621830/

Also, you will need the following materials:
  • Wwise v2015.1.9 (2022/10/18 EDIT: It has come to my attention that Wwise may be difficult to install for newcomers. I have included files to easily install Wwise on the Google Drive download of my template.)
  • Your .ini file, prepared and ready for use
  • Your music files, in .wav format
So I'm keeping the instructions simple, because the full details, I actually uploaded a video on, here:
It is a "watch and learn" video, so if you encounter anything abnormal or wrong, just reference the video here, and see how exactly I handled it here.

As for the steps I took, here they are oversimplified:
  • Copy-paste the original file and make a duplicate. You will be working on the duplicate, to prevent the function of the files from being confused when functioning.
  • Copy-paste the music playlists, events, soundbank, and the game syncs (Game_Location). You will be working on the duplicates, not the originals for the same reason.
  • The only thing you should not copy-paste however is the ID thing with numbers. That is arguably the most important part of this template, so delete the duplicated one and drag the original to your duplicated playlist.
  • Rename everything with "YourCiv" to your custom file name. The pattern of how you lay out the name isn't important and will not affect anything. Naturally, this only applies to the duplicated files, not the originals. (At this point the originals are only there for referential reasons)
  • Also in addition to above, try to avoid getting rid of the "_Music", "_Leader_Music", and "_Themes" to prevent confusion. For clarification, "Themes" is for when you start your game or enter a new era. "Music" is for the normal civ music, with the default themes + the ambients. "Leader_Music" is for the diplomacy screen of your leader.
  • Import your music files in the appropriate tracks.
  • For any new music tracks you will put, make sure that:
  1. The "Stream" box is checked.
  2. The track is in the playlist settings of the Interactive Music section, with the appropriate settings.
Otherwise, it won't play, as it's akin to not having any music file there at all.
  • Rename everything with "YOURCIV_CODENAME" to the codename of your civilization. This is extremely important, unlike the previous, as this will affect how your music connects to your civ. (In the case of that video, my civ's codename was "CIVILIZATION_BMP_KUMO", so naturally I went with "[insert event name here]_BMP_KUMO".)
  • For Event settings, replace everything with "YourCiv" with the appropriate file you have set up. Make sure that the "_Themes", "_Music", and etc, make sure they match.
  • Once you're finished, on your duplicated renamed Soundbank, replace all the old "YourCiv" files with the files you have set up. Then generate, apply, and your done!
Aaaand that should be everything!

Let me know if this is helpful! Also a tip, if your music malfunctions somehow, backtrack and use my video as a reference. If it'll help you, feel free to copy exactly how I put the music! And, if that still doesn't work, feel free to comment on this thread, I'll gladly help and clarify stuff!

Also if you're wondering, yes it's also possible to use this method to change the music of Steam Workshop mods, I did that recently with Civitas' Philippines mod, editing the artdef files to remove the Spanish theme and then making a private project of my own, replacing it with traditional Filipino music (particularly various covers of the song "Bahay Kubo") so it feels a lot more Filipino.... satisfying for someone of my caliber owo xD

Special thanks to Kevin Liu (for showing me the method exists), and Dwughjsd (for cracking the code and making the original method in the first place)! You two are the best friends in modding I have, and I never could have done this or made it possible without you!
 
Last edited:
UPDATE: With me attempting to reinstall Wwise due to something big that made me have to reformat my computer over the last week, it has come to my attention that that specific build of Wwise may be hard to install. I will update the links I have sent with a folder that will make it easy to install that version of Wwise, it will be released shortly from the posting of this comment.
 
Am posting here again today because I learned something new, and I think it will be very useful, especially for those adding different music to multiple civs at once:

So, yes apparently there's a way to do that in the same project, just follow the format in the screenshots, and we should be all good! (Feel free to leave any questions you may have here)
 

Attachments

  • Screenshot (314).png
    Screenshot (314).png
    410.7 KB · Views: 40
  • Screenshot (315).png
    Screenshot (315).png
    502.6 KB · Views: 40
  • Screenshot (316).png
    Screenshot (316).png
    502.1 KB · Views: 36
  • Screenshot (317).png
    Screenshot (317).png
    300 KB · Views: 33
  • Screenshot (318).png
    Screenshot (318).png
    399.5 KB · Views: 35
  • Screenshot (319).png
    Screenshot (319).png
    400.7 KB · Views: 41
I get an exception access violation error in civilization 6 after trying out this tutorial for my custom nation. Can anyone point me in the right direction as to how to resolve exception access violations in this case? Only happens with the audio files. (Everything else seems to be working fine in the mod, and without the music, it loads fine.
 
Top Bottom