[Tutorial] How-To Change The Background Music... Or Any Sound In The Game

I decided to create this guide to address this thread:

… where the much simpler and easiest answer is to, of course, simply mute the in-game music and play whatever you want to listen to from other sources. Which is generally what I would do.

However, it actually isn’t all that hard to change what the game plays once you know how - so I figured I would write this guide to assist those who may want to go this route instead.



The Guide


  1. Navigate to GD’s installation folder.

    • Default path: C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn


  1. Scroll down and select/highlight ArchiveTool.exe then find zlibwapi.dll, hold down the Ctrl key, and select it as well so that both are selected. Now hit Ctrl+C to copy them both into system memory.


  1. Enter the resources folder. Press Ctrl+V to paste both files here.

    • Default path: C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn\resources


  1. Open command prompt/powershell in this folder…

    Note: I am in Windows 11.



  1. From here we are going to tell ArchiveTool.exe to extract the contents of Sound.arc, which stores all the sounds and music the game uses. We need this for 2 reasons:

    1. So that we can hear, and thus identify, the tracks we want to change, and…

    2. So that we can see, and mimic, the directory structure (which is important) as well as know the file names for the tracks we want to substitute with our own (also important).

    To extract the contents of Sound.arc enter in this command and hit Enter:

    • For PowerShell:

      • .\ArchiveTool.exe "C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn\resources\Sound.arc" -extract "C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn\resources\_extractedSound"

        • The simplified representation of the above command is:
          .\ArchiveTool.exe [Path to Sound.arc] -extract [Path to Extraction Folder] - if the paths entered contain any spaces in the names of the path then you must enclose the path in quotation marks.
    • For basic Command Prompt:

      • ArchiveTool.exe "C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn\resources\Sound.arc" -extract "C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn\resources\_extractedSound"

        • The simplified representation of the above command is:
          ArchiveTool.exe [Path to Sound.arc] -extract [Path to Extraction Folder] - if the paths entered contain any spaces in the names of the path then you must enclose the path in quotation marks.


  1. If entered correctly you will see it begin extracting the few thousand sound files it contains into the created _extractedSound folder.




  1. Enter 3 levels deep into the newly created directory structure - ..\_extractedsound\sound\music

    …and here we will start with changing the music in the main menu (represented by the music_menu.ogg track). All we need to know is the folder structure/path the game expects to find these files…

    • …which, in this case. is: \sound\music, and…

    • …the filename: music_menu.ogg.



  1. Now we navigate to the Settings folder in GD’s local save location:

    …and then we need to create the path noted above here. First create a folder named sound, then enter this folder and create another folder named music then enter that folder.



  1. Next all you have to do is convert whatever music file you want to use into an OGG file. Just open up Google, or whatever, and type in something like mp3 to ogg etc. and you should find either some downloadable apps that will do this or even some websites that let you drag and drop your files into them for conversion.

    Once it’s converted just drop the file into the ..\sound\music folder you created and rename the file to music_menu.ogg

    …then start the game up and hear the results of your work.


  • Want to change the track that plays upon loading into Devil’s Crossing? Heading back to the your Sound.arc extraction folder and listening to the tracks will soon reveal that the track you want to change is…

    …then all you need to do is repeat the process.



  • Note: the process for changing sound effects is virtually identical, with the exception that you will need to ensure any sounds you want to replace are either created as a .wav file, or converted into one.

  • The expansions also have their own sound and music files. You can find their own Sound.arc file in:

    • For Ashes of Malmouth: C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn\gdx1\resources

    • For Forgotten Gods: C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn\gdx2\resources

  • You don’t necessarily have to use the local saving locations Settings folder. The game can also read these files from GD’s installation folder as well if you wish. If the folder doesn’t exist there already, simply create it.

    Then create the subsequent folders as outlined earlier in the guide and place the needed OGG / WAV files where they belong.

    That’s it.



The End


7 Likes

This is 110% pure awesome! Never imagined when I got the idea to learn modding that I would get so much insight in only one day. All teachers of programming should learn from how you present things, step-by-step in a clear and logical manner, without skipping any steps. Very inspiring, which is necessary, because it takes hard work to learn all the things which looks easy when you do it. Getting late here in Norway, so I will explore more of this tomorrow :slight_smile: :slight_smile:

3 Likes