Super Mario Bros 1 & 2, recreated for the Wii. By yours truely: SMB Team
 
HomeFAQRegisterLog in

Share | 
 

 Music - Fixing Looping and Size Limit problems

View previous topic View next topic Go down 
AuthorMessage
person66



Posts : 9
Points : 17
Join date : 2010-04-07

PostSubject: Music - Fixing Looping and Size Limit problems   Wed Apr 07, 2010 11:45 pm

Alright, so this is my first post, not sure if it has already been addressed, but I found out how to fix the file size and looping issues with brstm replacements. First off, I found this here, so I don't really take credit for this. I have done some testing and it works for me. Here is how you do it.

Note: this tutorial (if you could call it that) is not n00b friendly

First of all, you need a Wiiscrubber, and a backup of your disk. open it in wiiscrubber and browse to the sound folder and extract the "wii_mj2d_sound.brsar" file. Open this file in a hex editor. now find the brstm you want to replace in wiiscrubber under stream folder in the sound folder. I'm going to use the "BGM_MAP_W5.32.brstm" (background music for world 5 map)
You have to remember the sting that is like the one highlighted here:

Now in the hex editor search for "BGM_MAP_W5.32.brstm" (or whatever file you chose to replace). when you find it, the string that you saw in wiiscrubber should be near it:


Now back in wiiscrubber, replace the original .brstm with the custom one (in my case n_Rainbow32_n.brstm from mario kart wii, because it was the first brstm I found on my PC). After that go back to the brstm in wiiscrubber, you should notice the string has changed:


Mow back in the Hex editor, change the old string to the new one:


Repeat this for all your .brstms now save the edited file with the Hex editor and use wii scrubber or Riivolution, or whatever to replace the original, and all the music, with your edited ones. The music should loop fine, and there is no limit to the size of the file Very Happy

Hopefully someone can make a simple program to make this a lot easier

Hope this helps! Smile
Back to top Go down
hamradio

avatar

Posts : 227
Points : 368
Join date : 2010-04-06
Location : Australia

PostSubject: Re: Music - Fixing Looping and Size Limit problems   Thu Apr 08, 2010 12:12 am

Wow nice work. I havent had a chance to test it but I know a lot of people have been trying to get this to work.
Back to top Go down
UgotHacked

avatar

Posts : 58
Points : 77
Join date : 2010-04-06
Age : 20
Location : Santa Rosa, Honduras

PostSubject: Re: Music - Fixing Looping and Size Limit problems   Thu Apr 08, 2010 6:18 am

Most of the Brstm files i make work 100% fine, The BRSTM maker GUI works great with this
Back to top Go down
http://ugotHacked.webs.com
person66



Posts : 9
Points : 17
Join date : 2010-04-07

PostSubject: Re: Music - Fixing Looping and Size Limit problems   Thu Apr 08, 2010 9:30 am

Well when I tried to replace the music with another song that was longer and larger than the original, it cut out about 30 seconds in until I did this
Back to top Go down
VampireLordAlucard
Retro Specialist
Retro Specialist
avatar

Posts : 474
Points : 449
Join date : 2010-04-06
Age : 27
Location : United States

PostSubject: Re: Music - Fixing Looping and Size Limit problems   Mon Apr 12, 2010 9:20 pm

This is news to me. Thanks for the post. When I'm done messing around with a bunch of other stuff, I'll mess with this. Good find!
Back to top Go down
Splashman



Posts : 41
Points : 49
Join date : 2010-04-12

PostSubject: Re: Music - Fixing Looping and Size Limit problems   Wed Apr 14, 2010 5:59 pm

Here's what I learned about messing with BRSTM:

1. To play it safe, you should change the file size in the BRSAR file, as explained by the topic starter.
2. To double play it safe, encode your music to 32'000hz, that's the standard NSMBW uses. But it also seems to work at higher frequencies.
3. To make it loop correctly, the loops start sound sample must be dividable by 14336.
4. Replaced music files with a "STRM_" prefix WILL NOT LOOP! These are multi-channel files, and since we don't have the tools yet to create multi-channel BRSTM ourselves, replacing those with stereo files seems to confuse the game.

This is all based on my assumptions and testing. Please correct me if you know a method to loop STRM_ files!
Back to top Go down
person66



Posts : 9
Points : 17
Join date : 2010-04-07

PostSubject: Re: Music - Fixing Looping and Size Limit problems   Wed Apr 14, 2010 8:48 pm

Splashman wrote:
Here's what I learned about messing with BRSTM:

1. To play it safe, you should change the file size in the BRSAR file, as explained by the topic starter.
2. To double play it safe, encode your music to 32'000hz, that's the standard NSMBW uses. But it also seems to work at higher frequencies.
3. To make it loop correctly, the loops start sound sample must be dividable by 14336.
4. Replaced music files with a "STRM_" prefix WILL NOT LOOP! These are multi-channel files, and since we don't have the tools yet to create multi-channel BRSTM ourselves, replacing those with stereo files seems to confuse the game.

This is all based on my assumptions and testing. Please correct me if you know a method to loop STRM_ files!

I can confirm that this is true... the song just plays than stops.
well, maybe someone will find out how to make multi-channel brstms.
Back to top Go down
danch744

avatar

Posts : 13
Points : 20
Join date : 2011-11-17

PostSubject: Re: Music - Fixing Looping and Size Limit problems   Thu Nov 24, 2011 11:18 pm

Splashman wrote:
Here's what I learned about messing with BRSTM:

1. To play it safe, you should change the file size in the BRSAR file, as explained by the topic starter.
2. To double play it safe, encode your music to 32'000hz, that's the standard NSMBW uses. But it also seems to work at higher frequencies.
3. To make it loop correctly, the loops start sound sample must be dividable by 14336.
4. Replaced music files with a "STRM_" prefix WILL NOT LOOP! These are multi-channel files, and since we don't have the tools yet to create multi-channel BRSTM ourselves, replacing those with stereo files seems to confuse the game.

This is all based on my assumptions and testing. Please correct me if you know a method to loop STRM_ files!

About your '4.', now there're a tool call 'WD - Revolution for BRSTM v0.1 beta' that can create a multi-channel BRSTM...
Back to top Go down
CanadaX21
Editing Machine
Editing Machine
avatar

Posts : 331
Points : 463
Join date : 2010-04-09
Age : 26
Location : Canada

PostSubject: Re: Music - Fixing Looping and Size Limit problems   Fri Nov 25, 2011 12:57 am

this topic was made on Wed Apr 14, 2010.
This was before WD Rev was released here, on Jun 30, 2010.
Topic found HERE
Back to top Go down
danch744

avatar

Posts : 13
Points : 20
Join date : 2011-11-17

PostSubject: Re: Music - Fixing Looping and Size Limit problems   Tue Dec 13, 2011 1:19 am

person66 wrote:

Hopefully someone can make a simple program to make this a lot easier

Hope this helps! Smile

There is a tool can do this. Use Hamradio’s BRSAR Patcher to patch your BRSAR file and ensure custom tracks loop properly.

BRSAR Patcher
Back to top Go down
Sponsored content




PostSubject: Re: Music - Fixing Looping and Size Limit problems   

Back to top Go down
 
Music - Fixing Looping and Size Limit problems
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Photobucket Problems
» Fallout 4 mod limit
» Nobz base size question
» DARKSEID BAF Problems...
» Music Appreciation Club Outfit

Permissions in this forum:You cannot reply to topics in this forum
New Super Mario Bros Wii: Retro Remix :: Community :: Chit Chat-
Jump to: