News: 11 March 2016 - Forum Rules

Author Topic: Need help with reprogramming the sound proccessor of an EarthBound Music Editor!  (Read 1826 times)

the_ally235

  • Jr. Member
  • **
  • Posts: 10
  • Renaldo wants Georgio dead.
    • View Profile
    • Starmen Forums Account
So hi.
First of all, here is the music editor in question.
https://forum.starmen.net/forum/Community/PKHack/New-EBMusEd-Thread-All-versions-of-EBMusEd-in-one-post
And second of all, I will need to detail what we need exactly.

Okay, so the way EBMusEd renders sound, from what I understand, is pretty much the old and inaccurate ADPCM emulation. Oh, and it doesn't have echo implemented, since when it was first made (which was 2005) we did not understand how the echo effects worked, so no code was ever actually implemented for it. But, what we're trying to do is make the program emulate EarthBound's SPC complier and send the result to a standard SPC plugin. The thing is, we don't have any knowledge of what EarthBound's SPC complier is in the code, as it's not documented anywhere. Plus, I am not sure how we'll be able to program this in. You can look at the source and try to figure it out yourself, the code where it renders the audio is located in play.c and if you want to compile it, use GNU GCC compiler or whatever since (for whatever reason) it was programmed with C and used Make (even though it's meant for Windows systems, why it was done this way is beyond me). I would highly suggest that if you want to program this stuff in yourself (I highly doubt any of you will) that you download v2.2's source code, which comes from github, and load up the .cbp file from in the ide folder using Code::Blocks with mingw installed already, as it should load up all the files properly so it will actually properly compile. If you could at least help out with getting the ASM data for EarthBound's SPC complier, that would be great!
« Last Edit: October 28, 2016, 05:50:31 pm by the_ally235 »
Earthbound Hacker From Starmen.net