FF6 Hacking
Song instruments locations? - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Hacks, Resources and Tutorials (https://www.ff6hacking.com/forums/forum-1.html)
+--- Forum: Opera House Rehearsal Room (https://www.ff6hacking.com/forums/forum-71.html)
+--- Thread: Song instruments locations? (/thread-3977.html)



Song instruments locations? - tomilho - 03-21-2020

Hi. Firstly, I would like to apologize if my question doesn't make sense and I'm just overlooking something obvious.

So, what I want to do is to simply change the instruments in the song "Kids Run Through the City".

According to Gi Nattak's General Music Hacking guide: "there are two banks in the ROM we are going to look at. The first one determines the instruments used in each song. That exists at Hex Address:  "054195" through "054C34". There are 32 available bytes for each song's instruments. Each instrument assignment uses 2 bytes thus allowing for a total of 16 instruments."

Ok. So, it seems that all I need to do is to go to that section (054195 through 054C34), find the song "Kids Run Through the City" and change whatever instruments I want there. 

The problem is; how do I find the song I want among all the others? I don't think it should be hard to find the locations, but if so, someone has probably written a document about it and I just couldn't find it.


RE: Song instruments locations? - madsiur - 03-21-2020

You have the song indexes here. You need to do $053F95 + (song ID * $20) to get the right offset. $053F95 is the base address if your ROM is unheadered.


RE: Song instruments locations? - tomilho - 03-21-2020

(03-21-2020, 11:07 PM)madsiur Wrote: You have the song indexes here. You need to do $053F95 + (song ID * $20) to get the right offset. $053F95 is the base address if your ROM is unheadered.

Wow. This answer was quick. Thanks!   Victory