Pages: 1
Posted on 02-01-14, 11:04 am
Red Koopa


Karma: 331
Posts: 43/131
Since: 05-11-13
Hey there,
Today I tried to replace a music file of NSMB with one from SM64Ds (Bowsers Castle).
I opened SM64Ds with VGM Trans and extracted the 4 files from NCS_BGM_EXTRA as original format.
But then I saw that NSMB music files only use 1 .swar file,but SM64Ds uses 2 .swar files
So,what should I do now?
_________________________
I'm out of Hacking. Of ALL HACKING...
I don't know how long, but there are so many reasons why I have no time to be here for a (long) while or to hack some game
sry guys...
Posted on 02-08-14, 11:34 am
Red Koopa


Karma: 331
Posts: 46/131
Since: 05-11-13
Nobody?
_________________________
I'm out of Hacking. Of ALL HACKING...
I don't know how long, but there are so many reasons why I have no time to be here for a (long) while or to hack some game
sry guys...
Posted on 02-09-14, 12:03 am (rev. 1 by  Dirbaio on 02-09-14, 12:03 am)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10020
Posts: 3987/4457
Since: 06-08-11
Did you read tutorial NSMB Sound & Music Hacking Guide? It's probably explained there (?)

Posted on 02-09-14, 09:49 am
Red Koopa


Karma: 331
Posts: 50/131
Since: 05-11-13
Yeah I read it.I want to do the "Replacing/Swapping *.sseq/*.sbnk/*.swar files" thing.
So I did the same things like in the tutorial and finally the new course clear music plays -> it works!
Then I wanted to to the same with the Bowsers Castle Music from SM64DS.
But like I said: No normal music track from NSMB has 2 .swar files and Bowsers Castle music from SM64DS has 2!
And now I dont know how to bring the music from SM64DS to NSMB.
But I know,that it is possible because I heart the music in other NSMB hacks.
_________________________
I'm out of Hacking. Of ALL HACKING...
I don't know how long, but there are so many reasons why I have no time to be here for a (long) while or to hack some game
sry guys...
Posted on 02-10-14, 09:12 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10020
Posts: 3989/4457
Since: 06-08-11
I'm not sure, but: have you tried replacing the NSMB swar with only one of the two, and ignoring the other? If one doesn't work try the other?

That, or there has to be a way to "merge" two swars into one...
Posted on 02-13-14, 01:44 pm
Red Koopa


Karma: 331
Posts: 51/131
Since: 05-11-13
Ok I'll try this out
_________________________
I'm out of Hacking. Of ALL HACKING...
I don't know how long, but there are so many reasons why I have no time to be here for a (long) while or to hack some game
sry guys...
Posted on 02-14-14, 05:48 pm (rev. 1 by  MeroMero on 02-19-14, 10:08 pm)
Death by cuteness

Karma: 6564
Posts: 68/598
Since: 05-01-13
There's a way, but it's quite long to explain. That's not stopping me for trying anyways so here goes nothing.

As Dirbaio told you, you can merge 2 or more SWAR files into one, but not directly, rather you have to merge all the SWAV files used by the SSEQ into one SWAR file.

1. Extract the SBNK and the SSEQ using VGMTrans and save them as their original format, make a mental note of the names of the 2 SWAR files.


2. Extract the SWAV files using NDSeditor.
Note : You shouldn't, no let me rephrase that… YOU SHOULDN'T extract the SWAV files with VGMTrans because you can only extract them as WAV samples, and then when you want to convert them back into SWAV files, data loss might rear its ugly head (not always, but more often than not it will).


3. Now this is where it become tricky. Double-click on the SBNK in VGMTrans.


4. Look at the regions highlighted in the red rectangle. Double-click on each of them.


5. Now you have kept note somewhere of what number point to what SWAV, now you can use swav2swar converter.


6. When renaming the SWAR, delete the extension.

7. Open the SBNK with an HexEditor.
In our case :
new sample 00 = old sample 00 from SWAR 01
new sample 01 = old sample 01 from SWAR 01
new sample 02 = old sample 02 from SWAR 01
new sample 03 = old sample 03 from SWAR 01
new sample 04 = old sample 04 from SWAR 01
new sample 05 = old sample 05 from SWAR 01
new sample 06 = old sample 06 from SWAR 01
new sample 07 = old sample 07 from SWAR 01
new sample 08 = old sample 05 from SWAR 00
new sample 09 = old sample 06 from SWAR 00
new sample 0A = old sample 07 from SWAR 00

Don't hesitate to help yourself with VGMTrans to get an idea of the address you want to point on.

Remember about the SWAR file number, since in NSMB there's usually only one SWAR per music, it means that when a SWAR pointer is at 01 you have to change it to 00, otherwise the sound for that SWAV won't play.
In our example you will also have to change the 3 SWAV numbers who are at the bottom of the list to their new match, otherwise the music won't be faithful.

8. Save your modified SBNK.

9. Then it resumes to normal operation, replace the original SBNK, SSEQ, SWAR with the modified ones, you know the drift.


Wow, reading back that tutorial seems so weird lol, but at least I tried.
Posted on 02-15-14, 04:24 pm
Red Koopa


Karma: 331
Posts: 52/131
Since: 05-11-13
...

WOW!
That must be a lot of work.You are really,really,really,really...really helpful
Thanks I will try that

_________________________
I'm out of Hacking. Of ALL HACKING...
I don't know how long, but there are so many reasons why I have no time to be here for a (long) while or to hack some game
sry guys...
Posted on 02-15-14, 04:53 pm
Fire Brother
Eugene

Karma: 3646
Posts: 312/1120
Since: 11-29-11
Where can you get a not edited Sound_data folder?
I can only find the edited one of Orengefox.
Pages: 1