Banner
Views: 236,204,356
Time: 2013-05-21 07:06:10 PM
15 users online: aj6666, Assi9, o Dotsarecool, Falconpunch, Fireblast124, FlamingRok, LadiesMan_217, leafbarrett, mrnacho04, phenolatukas, Sokobansolver, TLMB, WeegeeBen, wiiqwertyuiop, o Zildjian - Guests: 33 - Bots: 11Users: 22,858 (1,284 active)
Latest: FUNKY kong ending
Tip: When you're about to release your hack, make a patch first, patch it to a clean ROM, and then test that. This way, you are testing both the hack AND the patch.
Convert AM4 to AMM
Forum Index - SMW Hacking - General SMW Hacking Help - Custom Music Help - Convert AM4 to AMM
Pages: « 1 »
I need some help. I would like to know how to convert Addmusic4 music txts to be inserted with AddmusicM. I would prefer a step by step process.

Plus, I do not know how to rip .BRR files, so that could be a real problem.

Help?
If the song is unsampled just remove the header and it should work
The song is sampled.

Not much more to say, but does it really work like that?
for unsampled yes

PM-ed you how to convert sampled ones
(Please note that I'm only outlining the steps because I'm lazy.)

For the samples there are two ways of converting them to brr:

1. Load the bnk into SampleTool (you have to open an actual rom and press 'Import from file'). Then press 'play' for each sample. It should create a temporary file (temp.brr) which is exeactly the brr for the sample. Open it in a hex editor and add the 'loop' value displayed by SampleTool as two byte Little Endian at the beginning of the brr. Then rename the brr to represent the current index and continue to the next.

2. Extract the samples from an SPC using split700. You still have to add the two byte header. If I remember right, you have to multiply the loop-values displayed by split700 with 9/16 and convert it to hex.


To port the TXT you have to do some adjustments:

1. For every E5 XX YY denote the "XX - $80". That are the samples actually used.

2. At the start of the file insert "s??" where ?? is some unused sample bank index, meaning no other song should have the same s??.
Following that, insert "_YY" for every used sample (YY = XX-$80) in your song. Denote for each XX the index in the list above (first has index 0).

3. For every E5 XX YY replace it with F3 ZZ YY where ZZ := $20 + index mentioned above.

4. Remove the AM4 header, because AMM doesn't need it.

5. You might have to convert echo commands, but I'm not sure about that.

In general, look at this (by Imamelia) to know what every command means. For every AM4-specific command find a counterpart in AMM.
Last edited on 2012-07-02 05:23:28 PM by Zentagon.
Originally posted by Zentagon
this (by Lui37)

uh, just saying that the document you linked isn't mine. The devil made that document Imamelia made that I think.
Last edited on 2012-07-02 05:27:19 PM by Lui37.
Originally posted by Lui37
Originally posted by Zentagon
this (by Lui37)

uh, just saying that the document you linked isn't mine. Imamelia made that I think

corrected. I thought it was your's, because you linked it in this thread.
Also if you're using Split700 for your BRRs you should use this batch file by Hadron. It automatically loops and headers the BRRs (however, it does make a big mess usually because it extracts EVERY sample from 00 to FF).
Thanks for your help everybody! I'll see if I can apply what you have told me and if it works, I'll report back.
If I run into any problems and I do not know what to do that is not already been told, I'll probably report back.
I know I'm late here but...

Originally posted by Sinc-X
Also if you're using Split700 for your BRRs you should use this batch file by Hadron. It automatically loops and headers the BRRs.


That's not true, you still need to add the 2 byte header because "-M" it's an unknown command/option as you can see here:

Last edited on 2012-07-03 05:20:10 PM by Masterlink.
I forgot to mention but you also have to use the included version of Split700.
(Sorry if this goes off-topic...)

Well, I used that version for testing that and I still need to add the header, maybe I did something wrong with replacing the files though...
split700 adds a header without a problem. I've always been using it to get the .brr files. Here's the batch file I'm using.

Code
split700 -M --force *.spc pause


Perhaps, you're using an older version?
Pages: « 1 »
Forum Index - SMW Hacking - General SMW Hacking Help - Custom Music Help - Convert AM4 to AMM

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2013 - SMW Central
Legal Information - Link To Us


Total queries: 29

Menu