New Super Mario Bros Wii: Retro Remix
Would you like to react to this message? Create an account in a few clicks or log in to continue.


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

 

 Music - Fixing Looping and Size Limit problems

Go down 
+3
UgotHacked
hamradio
person66
7 posters
AuthorMessage
person66




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

Music - Fixing Looping and Size Limit problems Empty
PostSubject: Music - Fixing Looping and Size Limit problems   Music - Fixing Looping and Size Limit problems EmptyWed 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: Music - Fixing Looping and Size Limit problems 112

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:
Music - Fixing Looping and Size Limit problems 210

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:
Music - Fixing Looping and Size Limit problems 310

Mow back in the Hex editor, change the old string to the new one:
Music - Fixing Looping and Size Limit problems 410

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

hamradio


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

Music - Fixing Looping and Size Limit problems Empty
PostSubject: Re: Music - Fixing Looping and Size Limit problems   Music - Fixing Looping and Size Limit problems EmptyThu 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

UgotHacked


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

Music - Fixing Looping and Size Limit problems Empty
PostSubject: Re: Music - Fixing Looping and Size Limit problems   Music - Fixing Looping and Size Limit problems EmptyThu 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

Music - Fixing Looping and Size Limit problems Empty
PostSubject: Re: Music - Fixing Looping and Size Limit problems   Music - Fixing Looping and Size Limit problems EmptyThu 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
VampireLordAlucard


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

Music - Fixing Looping and Size Limit problems Empty
PostSubject: Re: Music - Fixing Looping and Size Limit problems   Music - Fixing Looping and Size Limit problems EmptyMon 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

Music - Fixing Looping and Size Limit problems Empty
PostSubject: Re: Music - Fixing Looping and Size Limit problems   Music - Fixing Looping and Size Limit problems EmptyWed 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

Music - Fixing Looping and Size Limit problems Empty
PostSubject: Re: Music - Fixing Looping and Size Limit problems   Music - Fixing Looping and Size Limit problems EmptyWed 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

danch744


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

Music - Fixing Looping and Size Limit problems Empty
PostSubject: Re: Music - Fixing Looping and Size Limit problems   Music - Fixing Looping and Size Limit problems EmptyThu 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
CanadaX21


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

Music - Fixing Looping and Size Limit problems Empty
PostSubject: Re: Music - Fixing Looping and Size Limit problems   Music - Fixing Looping and Size Limit problems EmptyFri 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

danch744


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

Music - Fixing Looping and Size Limit problems Empty
PostSubject: Re: Music - Fixing Looping and Size Limit problems   Music - Fixing Looping and Size Limit problems EmptyTue 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





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

Back to top Go down
 
Music - Fixing Looping and Size Limit problems
Back to top 
Page 1 of 1
 Similar topics
-
» Problems testing ISO
» Overground Music
» Underground Music
» Underwater Music
» Castle Music

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