Modding Music in Banana Mania
Руководства
/
Modding Music in Banana Mania
Обновлено 3 years ago от Ellie

Pretext:

This is a guide based on my guide for Banana Blitz HD which allows a user to have their own custom music or sound effects while playing the game :)

As always make sure to back up the files you are editing in case you want to revert the changes. If it is ever too far gone you can always verify the files inside Steam.

  1. Contents:

    1. Custom Sounds I: Preparing files for use
    2. Custom Sounds II: Inserting your own files after preparation
  2. File types: The game's sound files are stored using ACW and ACB files. Most files have an ACB that points to an ACW that stores the music; however, some files are small enough to only have an ACB.

These sound files can be accessed by going into steam -> right-clicking on super monkey ball -> clicking browse local files -> navigating to \smbbm_Data\StreamingAssets\Sound

Due to the file type you will have to install eternity audio tool which can be found here: ​mega.​nz/​#!W5NHxDYD!IM7xirUu1-K8e34lINmgC3MFqG1OWFTuscbSptK5fRw

1.1 Preparation: The next step in the process is to get the song ready for use. You will need either a WAV or MP3 of the song you wish to put into the game.

One issue that Peas mentioned in his mod was that “the old sound files are softer than the new ones”. This is what I found trying to import any song into the game and loading up the track in audacity you can see why.

My song:

https://media.discordapp.net/attachments/671108531180666901/676814967265296394/1.png

The game’s song:

https://media.discordapp.net/attachments/671108531180666901/676814993752064029/2.png

As you can see the audio from the game peaks a lot so if we want our song to sound the same in game, we will have to do the same thing (or change every single sound). Getting around this is fairly easy but you will need audacity; which can be found here: https:/​/​www.​audacityteam.​org/​download/​

  1. Editing the song files: You will want to open the song up in audacity; once opened press ctrl+a or alternatively hold left mouse button and drag so that the whole of the track is selected.

Once it is all selected you will want to head to: effects -> amplify as shown in this screenshot:

https://media.discordapp.net/attachments/671108531180666901/676816619107909672/unknown.png

From here a popup will appear. This part is trial and error but what you want to do is move the notch a little to the right and the track will be amplified. You will need to select the “allow clipping” checkbox before proceeding.

https://cdn.discordapp.com/attachments/671108531180666901/676829466101678080/unknown.png

Press enter once you have moved the notch a bit then see how much the track has changed. We want to make the audio wave peak as much as the song in game does. If the audio has been amplified too much simply press ctrl+z; if not, then either keep repeating the amplification until its right or export the audio if you are done.

https://media.discordapp.net/attachments/671108531180666901/676817578475126784/unknown.png

  1. Adding the song to the game

In the monkey ball music file location that houses the ACB and AWB files you want to locate the file that has the song you want to replace in it. It is likely you are using this guide to just change a world song or boss song in which case it will be inside the file named “bgm_worldX.acb”

If you wish to change another piece of audio however I have made a list of all the audio files I understood in the game, feel free to let me know if you can work out what the others are. Here is the list: https:/​/​pastebin.​com/​4wqQzSwJ

Once you have found which file you want to edit drag the ACB file onto the eternity executable like so:

https://media.discordapp.net/attachments/671108531180666901/676820069615009850/unknown.png

Inside eternity you will now see a list of music files housed within the compressed ACB file. Once you have located the name of the audio file you wish to use (also in the pastebin if needed) you will want to rename the music file you will be adding to the file you will be replacing. Example: Icepath.mp3 -> world3_ice.mp3

https://cdn.discordapp.com/attachments/671108531180666901/676827938796339210/unknown.png

Finally, click on the file you wish to replace inside of eternity and click the green replace button at the top of the screen (don’t press replace all). Then in the browser window locate the file you wish to replace it with (the one we gave the same name).

Eternity will ask you if you want the song to loop, we want to select yes. If you want to find a point near the end of the song that sounds like it could loop to a point at the start of the song, then you can input this time information to make the music loop better. If you don’t care, then once loop has been selected continue through the menu.

The replaced file will now appear bold inside of eternity; when this happens simply press ctrl+s to save and load up your game to hear the new file ^^.