View Single Post
  #1    
Old July 3rd, 2011 (11:06 PM).
ArchsageX's Avatar
ArchsageX
The greatest sage.
 
Join Date: May 2007
Nature: Adamant
A fond "hello" from the Fire Emblem ROM Hacking community! Myself and my hacking cohorts thought it might be helpful to share some stuff about music hacking around here, to aid in the hacking effort and such.

First of all, found this floating around in the Japanese GBA Hacking community boards. Not sure if you were aware of it, but I didn't notice any signs of that awareness.

http://dl.dropbox.com/u/5490460/sappy2006mod15.zip

Main thing of interest for me is IT DOESN'T FREAKING CRASH like the other Sappy 2006 when on Vista or Windows 7 and you load a ROM.

Another nice feature is "Edit Voice Table" function. Details are in the spoiler below.

Spoiler:



Readme (If I put it in a text file, it'll turn back into gibberish again):
http://dl.dropbox.com/u/5490460/Sappy%202006%20Mod%2015%20Readme.doc

Google Translate Edition:
http://dl.dropbox.com/u/5490460/Sappy%202006%20Mod%2015%20Readme%20Google%20Translate%20Edition.doc

Quote:
To collect the information needed to play the song, the driver reads the information from the table the following songs in order.

┌ ─ ─ ─ ─ ─ ┐
│ │ table song
└ ─ ─ ─ ─ ─ ┘

(Reference)

┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
Music Information │ (Header) │
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
↓ ↓
(Reference) (Reference)
↓ ↓
┌ ─ ─ ─ ─ ─ ─ ─ ─ ┐ ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
Sequence data Voice group │ │ │ │
└ ─ ─ ─ ─ ─ ─ ─ ─ ┘ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
│ │ │ │
┌ ─ (see) ─ ┘ │ │ └ (see) ┐
↓ │ │ ↓
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐ │ │ ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
Drum Voice group │ │ (reference) voice output table specified │ │ │
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ │ │ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
│ │ │
└ (see) ┐ │ └ (see) ┐
↓ ↓ ↓
┌ ─ ─ ─ ─ ─ ─ ─ ┐ ┌ ─ ─ ─ ─ ─ ─ ─ ─ ┐
Real memory data │ │ │ │ voice waveform data
└ ─ ─ ─ ─ ─ ─ ─ ┘ └ ─ ─ ─ ─ ─ ─ ─ ─ ┘


Table songs are strung together with the binary data and 8 bytes of data per song.

The FR, which begins this song 467f0ch table includes 347 songs written in all of information.
This area would not have to fiddle in particular, if there is a need to extend the table if the song, please refer to the following.


But more than just a Sappy update, there's also a tool that the FE Community has adopted (created by one of our members) called Zahlman's Song Editor. It can basically import songs from any GBA game (including their voicegroups) and even insert MIDIs, using specified instrument maps.

Another thing from the FE community that sorta links into Zahlman's editor, and I'm not sure if the Pokemon Hackers have done this already, is the use of MIDI instruments in the GBA ROMs. The "Instrument Patch" imports the MIDI instrument map from the song.gba file generated by MIDI2GBA, which allows for MIDIs to be directly inserted directly into the ROM in their original state.

A great example, one FE ROM Hacker (mariobro3828) ported a song from Golden Sun with this editor, and himself ported the instruments from Golden Sun to Fire Emblem. This is probably one of the most advanced things we've come up with, a direct instrument-for-instrument, note-for-note port of a song from an entirely different game.
Reply With Quote