| Convert AM4 to AMM |
|
Forum Index - SMW Hacking - General SMW Hacking Help - Custom Music Help - Convert AM4 to AMM |
|
Pages: 1  |
|
|
|
| Posted on 2012-07-02 10:13:44 AM |
Link | Quote |
|
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?
|
|
| Posted on 2012-07-02 02:38:27 PM |
Link | Quote |
|
|
If the song is unsampled just remove the header and it should work
|
|
| Posted on 2012-07-02 03:36:23 PM |
Link | Quote |
|
The song is sampled.
Not much more to say, but does it really work like that?
|
|
| Posted on 2012-07-02 04:44:02 PM |
Link | Quote |
|
for unsampled yes
PM-ed you how to convert sampled ones
|
|
| Posted on 2012-07-02 04:54:22 PM |
Link | Quote |
|
(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. |
|
| Posted on 2012-07-02 05:20:00 PM |
Link | Quote |
|
Originally posted by Zentagon
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. |
|
| Posted on 2012-07-02 05:27:18 PM |
Link | Quote |
|
Originally posted by Lui37Originally posted by Zentagon
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.
|
|
| Posted on 2012-07-02 05:48:40 PM |
Link | Quote |
|
|
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).
|
|
| Posted on 2012-07-03 10:48:10 AM |
Link | Quote |
|
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.
|
|
| Posted on 2012-07-03 05:16:43 PM |
Link | Quote |
|
I know I'm late here but...
Originally posted by Sinc-XAlso 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. |
|
| Posted on 2012-07-03 05:33:57 PM |
Link | Quote |
|
|
I forgot to mention but you also have to use the included version of Split700.
|
|
| Posted on 2012-07-03 06:05:43 PM |
Link | Quote |
|
(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...
|
|
| Posted on 2012-07-06 01:34:11 AM |
Link | Quote |
|
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.
Codesplit700 -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 |