Users browsing this thread: 1 Guest(s)
General Music Hacking Guide

#11
Posts: 831
Threads: 41
Thanks Received: 16
Thanks Given: 12
Joined: Nov 2009
Reputation: 18
Status
None
(06-27-2011, 10:00 PM)the_randomizer Wrote: Has anyone found the addresses for BOF2?

Not for music, but I played with some addresses a while ago in hopes of finding the event bank. I haven't touched the rom for a while, but a video with the addresses should be helpful. Check the video's description for more help.

[youtube]http://www.youtube.com/watch?v=-8_NRz_B6tE[/youtube]
Quote  

#12
Posts: 109
Threads: 11
Thanks Received: 2
Thanks Given: 4
Joined: Jun 2011
Reputation: 1
Status
None
Eeep. Never mind. I'll stick with instrument experimenting in FF6 for now, as I just barely started using hex hacking. I'm somewhat overwhelmed, but I've no reason to give up.
Sorry about the double post but I had a question about the instrument locations (more specifically, the banks that go from 0x054195 through 0x054C34). Now I know you listed the locations of the song sequences themselves, but what I want to experiment with are the actual instruments, not the sequences. The problem is that it's hard for a beginner like to tell one song's instruments from another.

Ex - 0x054610 (Battle theme) 00 00 00 00 00 0D 00 0E 00 1E 00 02 00 0F 00 11

Ex - 0x054620 (unknown) 00 12 00 22 00 14 00 00 00 00 00 00 00 00 00 00

Is there a somewhat easier way to find out which instruments go to which song? Again, I'll learn about the sequences (and experiment with them) later. Thanks
  Find
Quote  

#13
Posts: 19
Threads: 5
Thanks Received: 0
Thanks Given: 2
Joined: Aug 2012
Reputation: 0
Status
None
With the F6 command and the pointers, I understand the whole subtracting by 2 thing, but how does it know that the offset starts with 09? Does this command just never jump away from the 09xxxx part of the ROM?
  Find
Quote  

#14
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 159
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
I think it just automatically takes into account whatever bank that song's data is in. How it does this, I'm not sure, it must be programmed to do that is all I can figure. There's quite a bit of mystery and oddities surrounding the SPC core and how it works/reads code.


We are born, live, die and then do the same thing over again.
Quote  

#15
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
Your answer is probably in bank C5 if my memory is right. The bank number should be harcoded there, somewhere.
  Find
Quote  

#16
Posts: 432
Threads: 76
Thanks Received: 9
Thanks Given: 13
Joined: Sep 2012
Reputation: 8
Status
None
Thanks for the great tutorial Gi Nattak, I have 2 questions: -How can I make infinite loops ( E2 xx only make 4 loops)
- Where do I change the instruments. I know its in 54195 through 0x054C34 but I lack informations. If I want to change instruments in narsh song which bank do I choose and why? :-)
  Find
Quote  

#17
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 159
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
Your very welcome, although this is MetroidQuest's tutorial not mine. Anywho...

To make an infinite loop, I would just use the jump command (F6 xx yy) and loop it back to the address where you want it to start over again. The jump command is essentially an infinite loop, right? That should work unless I'm mistaking what exactly you are doing there in your track.

As for changing the instruments, to make your life easier (unless you moved your instrument bank for some reason) you should instead use this wonderful tool made by JCE3000GT.
http://www.jce3000gt.com/spc_editor.php

To use it just select 'FFVI' and open up your ROM and go to Narshe Mines.
For the song's instruments to show up correctly, your ROM will need to be unheadered.
So make sure it is first. Also when you are done editing the instruments, be sure and hit save before going to another song or closing the program.

If for some reason you still want to edit the instruments the hard way, you just gotta know that each songs instruments are 32 bytes and are in the same order as the songs. So for Narshe Mines, which is song #22 in the list, you would count down 32 x 22 bytes (704 bytes). That, or just go to the start of the instruments and hex search for the 'Breath' instrument (00 13) since Narshe Mines is the only song that uses that instrument.

This stuff can be very confusing at first, if you have any more questions I'll be happy to answer them.


We are born, live, die and then do the same thing over again.
Quote  

#18
Posts: 432
Threads: 76
Thanks Received: 9
Thanks Given: 13
Joined: Sep 2012
Reputation: 8
Status
None
Thank you :-)

I have another question , how can I find the value of xx yy when I do F6. If I want to restart my song at the middle or the start
  Find
Quote  

#19
Posts: 91
Threads: 1
Thanks Received: 13
Thanks Given: 1
Joined: Apr 2014
Reputation: 2
Status
None
Could someone reupload the "MetroidQuests FF3US-MUSIC.pdf" file?


[Image: SvEf6Yh.png]
  Find
Quote  

#20
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(05-31-2014, 12:06 PM)Xenovant Wrote: Could someone reupload the "MetroidQuests FF3US-MUSIC.pdf" file?

I reuploaded the PDF. Thanks for letting us know it was down.
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite