• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Magnius Guide to Pokemon Music Hacking

When I try to open up Sappy, I get this error:

Run-time error '339':

Component 'vbalCbEx6.ocx' or one of it's dependencies not correctly registered: a file is mossing or invalid.

I'm using Windows 7 Ultimate.
Any help?

Go onto google and search for 'vbalCbEx6.ocx free download' once downloaded place it in your sappy folder.

I'm not 100% sure if it would work. Because with me sappy does not work on windows 7 starter and up.
 
Go onto google and search for 'vbalCbEx6.ocx free download' once downloaded place it in your sappy folder.

I'm not 100% sure if it would work. Because with me sappy does not work on windows 7 starter and up.

Actually, the Fire Emblem Community released a great Sappy mod that is actually fully functional on Windows Vista/7 computers. It also comes with a voice table editor to boot, which is coming to great use in what I'm trying to achieve in my (currently) personal hack.

The link and instructions are in DavidJCobb's music inserting tutorial on this same forum; it should be near the top. Install it on top of a regular Sappy install to get it working flawlessly.
 
I've got an issue of my own.
I am trying to import the Myst theme as the title screen theme for Pokemon Ruby. I acquired the midi from the midimole website (I would post urls to show you exactly what I'm talking about, but it appears I'm not authorized to do so.)
I can manage to get the file into .s format easily, but when I try to Assemble the song Sappy freezes.

I've changed the instruments in the song numerous times, and the current setup is Pizzicato Strings, Timpani, Synth Bass 1, and Acoustic Grand Piano. I've tried various different programs and methods to insert this song into the game and so far nothing has worked. Please help.
 
Well make sure when converting the MIDI that the file only use these characters:
- "A-Z"
- "a-z"
- "0-9"
- "." , "_"

That should prevent Sappy form crashing.
For the second problem:
On this sound-engine you are limited to 128 MIDI programs and the MIDI percussion-MIDI-channel won't change anything and so program "0 - Acoustic Grand Piano" is usually used as a percussion kit.
When you want to use the piano use the program "1 - Bright Acoustic Piano" , but make sure your voicegroup contains all these instruments.

Hope you understood my English ;-)
 
Well make sure when converting the MIDI that the file only use these characters:
- "A-Z"
- "a-z"
- "0-9"
- "." , "_"

That should prevent Sappy form crashing.
For the second problem:
On this sound-engine you are limited to 128 MIDI programs and the MIDI percussion-MIDI-channel won't change anything and so program "0 - Acoustic Grand Piano" is usually used as a percussion kit.
When you want to use the piano use the program "1 - Bright Acoustic Piano" , but make sure your voicegroup contains all these instruments.

Hope you understood my English ;-)
Alright, I've tried that.
I'm using the voicegroup offset of 0x43B8A0, which is;
Code:
0x43B8A0

01 - Bright Acoustic
09 - Glockenspiel
35 - Fretless Bass
45 - Pizzicato Strings
46 - Harp
47 - Timpani
48 - Strings
60 - French Horn
73 - Flute
My instrument setup, after some fiddling, contains only Pizzicato Strings, Flute, Timpani, and Fretless Bass.
I'm using an empty offset as the Base Destination.
When I press "Assemble that Ugly Thing", I get an error message that reads:

"Run-time error '13':
type mismatch"

once I hit either OK or X on that message, Sappy closes and a new error message appears that reads:

"Run-time error '-2147418105 (80010007)':
Automation error
The callee (server [not server aplication]) is not available and disappeared; all connections are invalid. The call may have executed."

Upon hitting OK/X for that message it closes and nothing else appears.
What do I do to avoid this?
 
        If I had the source code I might be able to pinpoint the problem… I know a little Visual Basic 2008/2010, and I think it might just be poor programming that's easily fixable, like a typo in the code that the VB dictionary didn't pick up because the typo meant something else… You know. :P

        I think that Sappy is, to put it simply, a really sappy program all around. Sappy doesn't work on Vista (which was released in 2006) saying that you need some VB libraries. If you install those libraries, you get another crash, even if you're running XP. So my conclusion of all of this is that improper programming etc. caused the conflict between certain VB libraries (pre-included in some version of the .NET framework) and Sappy that the program can't handle. I also don't think that Sappy is designed to handle plug-in DLLs, so there's no solution there either.

        My answer to all of this is to do a complete re-write of the entire program from scratch, and distribute it as Sappy x.x.x Mark 2 or some such, or at least do a beta for the new release. Other than that, I honestly don't know what to tell people who experience crashes; My Sappy 2005 and 2006 both crash on their own (they'll recognise an unsupported ROM like Red Rescue Team, but still crash when loading Ruby for instance).
 
        If I had the source code I might be able to pinpoint the problem… I know a little Visual Basic 2008/2010, and I think it might just be poor programming that's easily fixable, like a typo in the code that the VB dictionary didn't pick up because the typo meant something else… You know. :P

        I think that Sappy is, to put it simply, a really sappy program all around. Sappy doesn't work on Vista (which was released in 2006) saying that you need some VB libraries. If you install those libraries, you get another crash, even if you're running XP. So my conclusion of all of this is that improper programming etc. caused the conflict between certain VB libraries (pre-included in some version of the .NET framework) and Sappy that the program can't handle. I also don't think that Sappy is designed to handle plug-in DLLs, so there's no solution there either.

        My answer to all of this is to do a complete re-write of the entire program from scratch, and distribute it as Sappy x.x.x Mark 2 or some such, or at least do a beta for the new release. Other than that, I honestly don't know what to tell people who experience crashes; My Sappy 2005 and 2006 both crash on their own (they'll recognise an unsupported ROM like Red Rescue Team, but still crash when loading Ruby for instance).

Most crashes are because of dependencies and other issues, Some people from the Fire Emblem hacking society have come up with this

It's been modified, and works perfectly in Vista, and has some new features. :)
 
I too have the "Can't find file MPlayDef.s for inclusion" error.

>I have MPlayDef.s in the same folder as my .s file to be assembled
>I have the newest version of sappy (that supposedly fixed this problem)

Can anyone help? Thanks
 
I can hear music hacking into hacking into the music but I can not cycle to how to make it cycle?
 
Even though I copied the three ocx files to C:\Windows\System32, I get the runtime errors regardless.

EDIT: Oops never mind... I forgot to download and install Sappy 12 first.
 
Last edited:
Download links for Sappy and Midi are down. :( Solutions?
 
Unfortunately, no versions of Sappy (That I can acquire) are compatible with Windows 7. I instead use Song Inserter, but I have no clue how to use it. I have a voice group offset I want to use (0x43B8A0) but I do not know the 4 byte header for the Wild/Trainer battle music. Does anyone know these?
 
I tried converting the .midi file to the .s file, butwhenever I do, the .s file doesn't show up. Help me out here?
 
If you're having problems with the VBAL error or just couldn't run Sappy on Windows 7, I've added a link at the bottom of the first post, that will fix that.

Also, the "Rom Tools" link with Sappy and Mid2Agb has been removed. You can now get Sappy and Mid2agb here.
 
hi Magnus
I found a technique for hacking gba music

it's simple with anvil studio without Hexad so I want your opinion on my youtube channel: TheFredWTF
Sorry for my English :)
 
It keeps crashing when I load a rom.
 
For those having trouble with syntax error #1002, that just means you are typing the wrong offset in the SECOND BOX when assembling the song. You should type an offset with a lot of free space, as long as it isn't higher than 0x900000. anything higher than 0x800000 should work.
 
I get a strange error. Sappy 2005 will do everything--compile, play, but it compiles bad. Once it is bad it crashes when it plays and doesn't show the header and stuff. There is no apparent way around this! Please help.

Oh wait, not higher than 0x900000...
 
Last edited:
Back
Top