[TUTORIAL] Custom music in Smah Bros Wii U (FW 5.3.2)

Discussion in 'Wii U - Hacking & Backup Loaders' started by Akdul, Aug 23, 2015.

  1. Akdul
    OP

    Akdul GBAtemp Regular

    Member
    135
    115
    Nov 17, 2006
    Mexico
    Mexico City
    Requisites

    1.- A Wii U with FW 5.3.2.
    2.- OSDriver Kernel exploit by the libwiiu team.
    3.- Cafiine for FW 5.3.2 v1.1 by golden45
    4.- Some music files in NUS3BANK format. You can download premade NUS3BANK files at http://www.brawlcustommusic.com/.


    Instructions


    On your PC:

    1.- Extract the Cafiine server files somewhere.
    2.- Create the following folder structure in cafiine_root

    cafiine_root\[TITLE_ID]\vol\content\sound\bgm
    replace [TITLE_ID] with:
    00050000-10144F00 for USA version
    00050000-10145000 for EUR version
    00050000-10110E00 for JAP version


    3.- Put your song files (with extension .nus3bank) in the newly created bgm folder. Filenames must match with those in the game. For example, to replace the main Menu song, rename your file to snd_bgm_CRS01_Menu.nus3bank. If you download your files from brawlcustommusic.com you can download them already renamed by using the Download as function (thanks to soneek).
    4.- Run cafiine_server.exe


    On your Wii U:

    1.- Launch the Wii U browser and run the kernel exploit (you will need to host it if you haven't already done so)
    2.- Relaunch the Wii U browser and run golden45's cafiine (you will need to host it if you haven't already done so)
    3.- Input the server's IP (your PC's IP) by pressing up or down. Press the A button to confirm.
    3.- Launch Super Smash Bros. for Wii U
    4.- Enjoy!
    5.- The game will get stuck at times, when that happens just press CTRL-C in the server window to resume the game.


    Credits

    Many thanks to the libwiiu team, golden45, soneek and others who made all of this possible.
     
    Last edited by Akdul, Aug 24, 2015
  2. mariogamer
    This message by mariogamer has been removed from public view by BORTZ, Aug 23, 2015, Reason: first to delete!!!.
    Aug 23, 2015


  3. WiiCube_2013

    WiiCube_2013 GBAtemp Guru

    Member
    5,943
    1,337
    Oct 19, 2013
    Gaza Strip
    Any chances to do the same on MK8 or turn off the music?

    This is really interesting!

    Thx for posting.
     
  4. Akdul
    OP

    Akdul GBAtemp Regular

    Member
    135
    115
    Nov 17, 2006
    Mexico
    Mexico City
    WiiCube_2013 likes this.
  5. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,339
    1,121
    Mar 7, 2010
    At Home :)
    How do run it properly?. I run the cafiine from the browser on the wiiu it says press a then I open the server but all I get is Listening on 7332 at the top?
     
  6. Akdul
    OP

    Akdul GBAtemp Regular

    Member
    135
    115
    Nov 17, 2006
    Mexico
    Mexico City
    That means the server is running. It will start logging the game's files when you run the game.
     
    Reecey likes this.
  7. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,339
    1,121
    Mar 7, 2010
    At Home :)
    Thanks sorted it out is the server supposed to say> Not interested, Exit all the time?
     
    Last edited by Reecey, Aug 23, 2015
  8. WiiCube_2013

    WiiCube_2013 GBAtemp Guru

    Member
    5,943
    1,337
    Oct 19, 2013
    Gaza Strip
  9. Akdul
    OP

    Akdul GBAtemp Regular

    Member
    135
    115
    Nov 17, 2006
    Mexico
    Mexico City
    Yes unless you have a folder inside caffine_root named after the game's ID. In that folder is where you put the files to be replaced. In this case, 00050000-10144F00 is the ID of Super Smash Bros.
     
    Reecey likes this.
  10. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,339
    1,121
    Mar 7, 2010
    At Home :)
    Do you know where could get Title IDs from SM3DWorld?
     
  11. Akdul
    OP

    Akdul GBAtemp Regular

    Member
    135
    115
    Nov 17, 2006
    Mexico
    Mexico City
    The server tells you when you start a game, for example:

    [0] Accepted connection from client 192.168.1.88:1797
    [0] TitleID: 00050000-10144F00
     
    Reecey likes this.
  12. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,339
    1,121
    Mar 7, 2010
    At Home :)
    How do you get the game to unfreeze? I have tried Ctrl/C but it still freezes the game it just exits out of cafiine server.

    Thanks also I will check the id out next time, I presume you just load the game, load cafiine server, copy the id down, put the new music file into the correct folder and then restart cafiine server again to change?
     
  13. aebsurdem

    aebsurdem Newbie

    Newcomer
    6
    5
    Aug 22, 2015
    France
    If we replace a file, do the original one will be erased forever or is it just a redirection ?
     
  14. Akdul
    OP

    Akdul GBAtemp Regular

    Member
    135
    115
    Nov 17, 2006
    Mexico
    Mexico City
    Yes, that's basically it. The server is not stable yet (streaming errors). golden45 provided the source code for it, I will take a look at it when I get the time to see if I can fix them.

    Just a redirection.
     
  15. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,339
    1,121
    Mar 7, 2010
    At Home :)
    OK got it working! Funny :) How can I get more music to change, it only seems to be giving me Map 6 in SM3DW no more in the server menu? I cant see any titles for the actual main title music.

    Edit: mad really, playing SM3DW with Captain Toads music going on in the background!
     
    Last edited by Reecey, Aug 24, 2015
  16. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,339
    1,121
    Mar 7, 2010
    At Home :)
    How do you compile commontitle.szs files cause they must contain music as well?
     
  17. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    I'll definitely have to look at this. I have all the MK8 DLC and I've been wanting to check if Totaka's Song is played on the Animal Crossing track or if any characters sing the song.
     
  18. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,339
    1,121
    Mar 7, 2010
    At Home :)
    This bit also just a pointer needs changing buddy> cafiine_root\[TITLE_ID]\vol\content\sound\bgm, needs editing because depending on which game you are using at the time, if you read cafiine server files the folders could be named different and they all need to be named correctly for the .bfstm files to work properly in the last folder, for example file sound could be called SoundData or bgm maybe called stream etc.. instead off and you may find you need more folders creating than explained in the op.
     
    Last edited by Reecey, Aug 24, 2015
  19. PsPi

    PsPi Newbie

    Newcomer
    1
    0
    Aug 30, 2015
    United States
    Is there any way to just add files rather than replacing them? Also, what is the general format for the wii u filenames?
     
  20. soneek

    soneek GBAtemp Regular

    Member
    179
    200
    Jun 27, 2012
    United States
    This thread is specifically for Smash, not other games. It doesn't use the standard Nintendo specs for storing streams ("sound/stream/*.bfstm).

    I've been looking into it. It's definitely possible, but there's still more unknowns to figure out. It might be a little while, but we're looking to add extra everything, not just music.

    General Wii U music format is .bfstm, though a lot of games use something different.
    Smash Bros. = IDSP stored inside NUS3 banks
    Wonderful 101 & Bayonetta 2 = Wwise kinetic streams (haven't looked into too much yet)
    Hyrule Warriors = 1 byte interleaved DSP ADPCM inside Tecmo Koei G1L header
    Tropical Freeze = DDSP
    Monter Hunter 3 Ultimate = DSPW
     
  21. BullyWiiPlaza

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,750
    1,423
    Aug 2, 2014
    Germany
    Yeah but how do you even convert .wav or .mp3 files to .bfstm? Uwizard can't do it...
     
    McWhiters9511 likes this.