Language…
17 users online: crocodileman94, DanMario24YT, Domokun007,  Eevee, eltiolavara9, HaruMKT, hhuxy, Housemeister, Knight of Time, Maw, MegaSonic1999, nonamelol1, OnlySpaghettiCode, Pizzagamer9791, ShoopDaWhoop, StarWolf3000, VLSkoot - Guests: 293 - Bots: 296
Users: 64,795 (2,375 active)
Latest user: mathew

SPC porting help [Resolved! Thanks for helping!]

Hi, uh, this is probably the first time I ever asked for help on this site. (If not, than I probably don't remember)

I requested a sampled SPC file a while back, and it was finished by tcdw. When I tried to add it to the ROM with AMK, I got this message:

Echo buffer exceeded total space in ARAM by 0x1100 bytes.

Echo buffer exceeded total space in ARAM by 0x1100 bytes.


When I told tcdw this, he gave me a revised file, however, now I get this:

Echo buffer exceeded total space in ARAM by 0x0400 bytes.

I didn't wanna take too much of his time as he went through all the hard work to make it. So I told him I'd find some help for it.

Here's the file in question: Donald Duck: Mahou no Boushi - Crystal Cave

What do I need to change? What change is recommended?


BELATED UPDATE: It's been resolved. Thanks, all who helped!
Fanatical like a Demon
Should be no reason that I can see as to why this isn't working. For the mean time until someone figures this out, look for $f1 $04 $32 $01 and change it to $f1 $03 $32 $01. If that doesn't work change it to $f1 $02 $32 $01. It'll change how the echo sounds but this can be a temp fix while someone figures this out.
Major thanks to Suika Ibuki for layout!
I'm open for music requests, just DM me on discord and we can further discuss there.
SMAS Soundtrack Status: 100% finished
YI Soundtrack Status: 100%
YI Unsampled Soundtrack Status: 100%
NSMB Soundtrack Status: 7.89%
Killer Instinct Soundtrack Status: 14.63%
SPC Thread
From our family to you, keep your pants dry, your dreams wet, and remember, hugs not drugs.
It works! Thanks a lot, LadiesMan!

Truth be told, I know little to nothing about coding. Sprites are one thing, but digits are a completely different story.
Fanatical like a Demon
So I made a small fix by making new sample groups and reorganizing how the samples are set up so you don't have to sacrifice echo. Only drawback is your level won't have thunder but I doubt you'll care for that. Here you go. Just add the new sample groups I gave you in the Addmusic_sample groups to the Addmusic_sample groups.txt in your AMK directory and copy the DDMB folder to your samples folder.
Major thanks to Suika Ibuki for layout!
I'm open for music requests, just DM me on discord and we can further discuss there.
SMAS Soundtrack Status: 100% finished
YI Soundtrack Status: 100%
YI Unsampled Soundtrack Status: 100%
NSMB Soundtrack Status: 7.89%
Killer Instinct Soundtrack Status: 14.63%
SPC Thread
From our family to you, keep your pants dry, your dreams wet, and remember, hugs not drugs.
Tcdw wasted some ARAM by using the exact same sample twice, just with a different name and ADSR. Without the duplicate the port would most likely insert fine without the extra sample group. The samples I'm talking about are ddmb-23_0e.brr and ddmb-23_0f.brr. The reason why the original changed the sample is because the engine probably doesn't support ADSR changes without using different samples.
Fanatical like a Demon
I heard AMK can detect duplicates of samples. How do you check for that besides opening the brr via hex editor (Also doesn't SMAS do this with it's samples like 08 and 09 being equivalent to SMW's 06? I also thought it's 05 and 06 were SMW's 04 but apparently 06 is a different sample). But anyways, to stay on topic, how do you know if you're adding duplicated samples? I could've sworn I heard AMK could check for that.
Major thanks to Suika Ibuki for layout!
I'm open for music requests, just DM me on discord and we can further discuss there.
SMAS Soundtrack Status: 100% finished
YI Soundtrack Status: 100%
YI Unsampled Soundtrack Status: 100%
NSMB Soundtrack Status: 7.89%
Killer Instinct Soundtrack Status: 14.63%
SPC Thread
From our family to you, keep your pants dry, your dreams wet, and remember, hugs not drugs.
It only does that with .bnk files as far I know, and even if it also did that with .brr you would still be loading another sample into the ARAM. As for how I could tell, well, it really wasn't anything complicated, all you have to do is to listen to them and watch their file size. And yes, other games also do this for the reason I said in my other post. One I can remember right now is GS Mikami.
I tested my port before sent it to him, and all is fine, so I can get a SPC file generated by AddmusicK under it's default settings.
I am curious.
Alright, I managed to get it fixed. I'm able to add the song into the ROM.