View Full Version : Music Inserter
~Daisuke~
June 22nd, 2007, 01:37 PM
Does anyone know about any sort of program that lets you insert music midi files for pokemon roms to make it different like if I want Littleroot town to have a Sandgem Town midi music from D/P.
Please let me know PRONTO!
Magnius
June 22nd, 2007, 03:16 PM
Well first get two programs...
1. Sappy 2006 (http://helmetedrodent.kickassgamers.com/filebin/sappy12.exe)
2. Mid2AGB
After you've installed these, go to start, "run" and run whatever your command prompt is(For me it's cmd). When your command prompt is open, type "cd" then type in whatever directory mid2agb is in(For instance, I would type in"cd C:\Pokemon Fire Red + Leaf Green\Midi2GBA\"). Then make sure the midi you want to convert is in the same folder as Mid2AGB. Next, make sure you're in the Mid2AGB directory in command prompt and type "mid2agb.exe [midiname]". So say I wanted to convert "Cherrygrove.mid" I would type in "mid2agb.exe Cherrygrove.mid"(Minus the quotes) then hit enter and it'll convert it to a ".s" file.
Now open up Sappy and open the GBA POKeMON game you want to change music in(Remember, Sappy doesn't work on all games, but it does work for the GBA POKeMON games). Once the game is open, go to the song dropdown box to the right and select the song you want to replace. So say I wanted to replace "Battle 4" of FireRed and I would go down to that. Next, go to "Assemble" and browse for your ".S" filename we converted earlier, which should be in the same folder as "Mid2AGB". After you've selected your .S Filename, type in the offset you want the music to be stored at next to "Base definition offset". Before you press "Assemble that ugly thing!" make sure "MPlayDef.s" is in the same folder as your .s file. Then press "Assemble that ugly thing!" and it will start assembling it. Once that's done, it'll ask you "Do you want to set the proper entry in the Song Table?" and click "Yes". If it's successful, you should hear a GBA-ized version of your midi, but if it didn't work, don't worry, some midis just won't work. Now, just because it works in Sappy doesn't mean it'll play in-game and if it doesn't work in game, that probably means you'll have to adjust some pointers.
Went
June 22nd, 2007, 03:22 PM
Yay! At least someone explains it! A lot of thanks, Magnius :)
Magnius
June 22nd, 2007, 03:32 PM
Yeah, I'm going to post it in the tutorials sections since a lot of people actually don't know about it.
~Daisuke~
June 22nd, 2007, 07:15 PM
Will it install on my desktop?
Magnius
June 22nd, 2007, 10:47 PM
Will it install on my desktop?
Uh... depends on where you extract it. If you extract it to your desktop then yes.
Antwhan
June 22nd, 2007, 11:25 PM
Thank the gods! someone has decided to help everyone with this question. Thanx Magnius!
Here's a second question because i'm curious...
can u just add to the existing songs without replacing them?
Xenon54
June 28th, 2007, 01:17 AM
Hmm, I tried the transplant method. I exported a song from Emerald and imported it to Ruby. I replaced Ruby's last song, title "The End!" with the Game Corner's Theme. Then I give the map the 1C8 value to indicate it's the song I want to play on that map. The music plays fine, but then all of a sudden the game freezes with a chalk-board scratching noise that repeats over and over. I've tried exporting and replacing various songs, but at some point they freeze up on me. I was hoping someone will have an answer to my solution. Thanks in advance.
nrox653
June 30th, 2007, 12:50 AM
Finally! Thanks, Magnius, that helped a lot! I was waiting for foullump's tutorial, but seeing as he's pretty much taking forever to create it...
foullump
June 30th, 2007, 12:19 PM
Finally! Thanks, Magnius, that helped a lot! I was waiting for foullump's tutorial, but seeing as he's pretty much taking forever to create it...
yeah, sorry about that. I was too lazy to do it. Anyways, I AM working on a scripting tutorial. So look forward to that.
GWXCORE
July 23rd, 2007, 06:39 AM
i figured this goes here. I have a program that allows me to import/export midi called guitar pro 5. is there a program to extract G/S/C music so i can import it to guitar pro to revamp. do i have to use sappy to edit the music? but it only works on GBA games
Latieon
August 1st, 2007, 02:28 AM
ive heard of sappy 2006.Ive never used it though.You have to change the file type of your music file and then insert it.Its not easy though.
~Daisuke~
August 11th, 2007, 02:38 PM
While on the subject of music.. Can anyone make the song of Metal Mario on SSBM and replace it over the Team Magma/Aqua grunts and put it on a ips patch for ruby?
SSJ4 Furatman
August 11th, 2007, 05:07 PM
Get A link to the Midi of that song and I'll be more than happy to do that for you :D.
~Daisuke~
August 11th, 2007, 05:25 PM
Heres the Metal Mario (http://www.midishrine.com/ostepop/ngc/Super_Smash_Bros_Melee/alloy_warrior.mid) midi ,Furanki.
Thanks for offering to help.
SSJ4 Furatman
August 11th, 2007, 05:30 PM
Well I guess I can't do it...
When tried to convert it to an .s file in Mid2agb it didn't work...
~Daisuke~
August 11th, 2007, 05:39 PM
Let me try some other stuff.
I have this try this (http://www.midishrine.com/ostepop/sga/Sonic_Adventure/knuckles.mid) out.
SSJ4 Furatman
August 11th, 2007, 06:01 PM
I'll Insert it later I have to get off the Computer.
But the conversion for that one worked. :D
~Daisuke~
August 11th, 2007, 06:22 PM
Awesome..I'm working on sending you some midis to make the music sound cool.
~Daisuke~
August 11th, 2007, 06:31 PM
Title Screen- (http://www.midishrine.com/ostepop/psx/MegaMan_X6/InfinityMijinion.mid)
Champion- (http://www.midishrine.com/ostepop/psx/MegaMan_X6/X6-Final.mid)
Elite 4- (http://www.midishrine.com/ostepop/psx/MegaMan_X6/mmx6gate.mid)
Ending- (http://www.midishrine.com/ostepop/psx/Kingdom_Hearts/Night_Of_Fate.mid)
Team Leader- (http://www.midishrine.com/ostepop/sga/Sonic_the_Hedgehog/robotnik_theme_sonic_2.mid)
Rival- (http://www.midishrine.com/ostepop/sga/Sonic_Adventure/e102.mid)
Trainer- (http://www.midishrine.com/ostepop/sga/Sonic_Adventure/emerald_coast.mid)
Gym Leader- (http://www.midishrine.com/ostepop/ds/Metroid_Prime_Hunters/kanden.mid)
Reg Wild Poke- (http://www.midishrine.com/ostepop/ngc/Tales_of_Symphonia/a_snow_light.mid)
Those are some of the midis that will hopefully work for you replacing Furanki-san.
SSJ4 Furatman
August 11th, 2007, 07:09 PM
The one you wanted for the Elite Four worked I'm working on the Rival one right now. :D
The Rival Music works but It's kinda loud so just warning ya.
Also the Magma Leader Music works. Wow just about all the music you want will make it into this.
~Daisuke~
August 11th, 2007, 08:20 PM
Furanki-san if you can stop what you do then make me the ips patch then you can keep going I just wanna see how good the song fits on.
Treecko Tamer
August 11th, 2007, 08:37 PM
Hey, I just downloaded both Mid2AGB and Sappy, and I've gotten the hang of converting .mid to .s files, but I don't know how I would set the "Base definition offset". Can anyone help me with that?
SSJ4 Furatman
August 11th, 2007, 08:47 PM
Here you go It has about three or Four of the songs you wanted on there.
~Daisuke~
August 11th, 2007, 09:08 PM
There are more than 4 Furanki-san.
But I liked it even though it sounded like some of the beats were blocked off and trying to get through then dies out it one beat.
Supreme Dirt
August 18th, 2007, 07:00 PM
It doesn't work.
I've tried about 50 midis and it mid2agb can't convert any of them.
And Sappy always has an error. it says vBalCbEx6.ocx is missing or one of its dependencies are invalid.
Anyone know how I can fix this?
~Daisuke~
August 22nd, 2007, 03:59 PM
Title Screen- (http://www.midishrine.com/ostepop/psx/MegaMan_X6/InfinityMijinion.mid)
Champion- (http://www.midishrine.com/ostepop/psx/MegaMan_X6/X6-Final.mid)
Elite 4- (http://www.midishrine.com/ostepop/psx/MegaMan_X6/mmx6gate.mid)
Ending- (http://www.midishrine.com/ostepop/psx/Kingdom_Hearts/Night_Of_Fate.mid)
Team Leader- (http://www.midishrine.com/ostepop/sga/Sonic_the_Hedgehog/robotnik_theme_sonic_2.mid)
Rival- (http://www.midishrine.com/ostepop/sga/Sonic_Adventure/e102.mid)
Trainer- (http://www.midishrine.com/ostepop/sga/Sonic_Adventure/emerald_coast.mid)
Gym Leader- (http://www.midishrine.com/ostepop/ds/Metroid_Prime_Hunters/kanden.mid)
Reg Wild Poke- (http://www.midishrine.com/ostepop/ngc/Tales_of_Symphonia/a_snow_light.mid)
Those are some of the midis that will hopefully work for you replacing Furanki-san.
The Champion Theme you can slow down a bit like in the tempo of the regular champions theme.
Wild Poke theme you can speed up.
Supreme Dirt
August 25th, 2007, 03:38 PM
It doesn't work.
I've tried about 50 midis and it mid2agb can't convert any of them.
And Sappy always has an error. it says vBalCbEx6.ocx is missing or one of its dependencies are invalid.
Anyone know how I can fix this?
Anyone? I really do need help ASAP.
~Daisuke~
August 26th, 2007, 11:22 AM
You can ask Cartman who I think gave up on my music patch but you will probably get the same "I am busy" reply. So I can't help you mandella.
Note: Everyone is still able to help me with my music request patch and I'll use what I like.
Supreme Dirt
August 27th, 2007, 04:09 PM
You can ask Cartman who I think gave up on my music patch but you will probably get the same "I am busy" reply. So I can't help you mandella.
Note: Everyone is still able to help me with my music request patch and I'll use what I like.
Alrighty. Maybe I'll try editing it in hex.
sisonoio
August 29th, 2007, 06:18 AM
Where i can find Mid2AGB?
~Daisuke~
August 29th, 2007, 07:42 AM
Check the first page. You will find it in Magnius' post.
sisonoio
August 29th, 2007, 11:08 AM
I have checked... the link has been removed...
~Daisuke~
August 29th, 2007, 11:32 AM
Try to google it you may find it.
sisonoio
August 29th, 2007, 11:42 AM
i've already serached... but nothing...
Supreme Dirt
August 29th, 2007, 01:59 PM
i've already serached... but nothing...
I can email you it... but as it is illegal, you cannot post asking for it on the forums.
What can I email it too?
~Daisuke~
September 7th, 2007, 09:55 AM
Hey everyone I need people posting here if they need help with music or if they need music for their hacks so if you need help or someone else needs help don't be afraid to come here.
Edit:Heres a tip make sure it isn't just parts of the music with beeps of that annoying loud sounds make sure it is at the tempo you want it to be and beats and sounds are similar to the midi. And for my request you might want to switch the Reg wild pokemon theme and the ending theme I requested around.
Supreme Dirt
September 16th, 2007, 10:57 AM
Alrighty, if someone can help me insert Zelda Oracle of Ages music in, can you let me know?
I don't have the midis with me now, but will edit as soon as I can with them attached.
Really sorry about the double post, havn't been on in a week.
I figured out how to convert midis easier in Midi2AGB, without a command prompt.
Just drag the midi on the Mid2AGB.exe, as if it was a folder.
TADA!
Your converted midi should appear.
If I can just get Sappy to work on Vista, I will help people insert midis in their games.
DracoMalfoy88
September 21st, 2007, 06:52 PM
I've converted my midi and all is ok... but when i try to insert the file .s in my rom and I click Assemble that ugly thing! Sappy crash!!! Why???
The .s file is in the same folder of mplaydef.s
In base destination offset what I must insert?
I've insert 0x800000
Supreme Dirt
September 22nd, 2007, 07:03 PM
A .s file is assumed to be a single track.
You need to download anvil studio (anvilstudio.com) and save each track as a seperate midi, convert them, and recombine them using a hex editor.
A little confusing, but it works.
DracoMalfoy88
September 22nd, 2007, 07:26 PM
Song1 (http://www.vgmusic.com/music/console/nintendo/snes/SMAS_Boss.mid),Song2 (http://www.vgmusic.com/music/console/nintendo/snes/SMASMysterious-V1.1.mid),Song3 (http://www.vgmusic.com/music/console/nintendo/snes/SMAS-Tuxedo.mid),Song4 (http://www.vgmusic.com/music/console/nintendo/snes/SMAS-Sad.mid),Song5 (http://www.vgmusic.com/music/console/nintendo/snes/SMASVictory-V1.1.mid),Song6 (http://www.vgmusic.com/music/console/nintendo/gba/dbaatournament.mid),Song7 (http://www.vgmusic.com/music/console/nintendo/gba/DBZ_2_Theme.mid),Song8 (http://helco.sdvanime.com/ainosens.mid),Song9 (http://helco.sdvanime.com/lsoldier.mid),Song10 (http://helco.sdvanime.com/mntiaraa.mid),Song11 (http://helco.sdvanime.com/torre.mid),Song12 (http://helco.sdvanime.com/unmefate.mid)
these are the songs that I want to use but with all I have problems and I do not know to use a hex editor T.T
zolo1243
October 21st, 2007, 04:40 PM
where do i download Mid2AGB?
Green Charizard
October 27th, 2007, 06:09 AM
where do i download Mid2AGB?
I'm afraid the program being what it is, nobody can link to it. Apparently it's a nintendo leaked tool or something. Use Google, you'll find it.
cooley
October 27th, 2007, 07:24 PM
-Deleted-..............................
sammydabammy
October 29th, 2007, 03:16 PM
Everything is working fine but I need to know, what does the Base destination offset mean? Can you give me some help?
I tried other stuff just randomly putting in stuff and it accepts and plays in the program then I play my rom and the thing freezes on a white screen...
halowizard11
November 12th, 2007, 06:49 PM
srry if this thread is almost a month old.. but
Sappy doesn't mean it'll play in-game and if it doesn't work in game, that probably means you'll have to adjust some pointers.
what are pointers and how do u adjust them?
zolo1243
November 23rd, 2007, 04:35 PM
I'm afraid the program being what it is, nobody can link to it. Apparently it's a nintendo leaked tool or something. Use Google, you'll find it.
i googled it, and of course i found nothing. no surprise there...
Tony™
December 7th, 2007, 07:56 PM
I need help converting some songs into .s files.
For some reason,they dont work.
these songs are very important for my game.
Ill Give a link to them...
I need to get 15 posts first.
Umm,ill post it once i get the posts.
EDIT:
here the links
Champion (http://www.box.net/shared/4r517kf1tx)
Route/Mountain (http://www.box.net/shared/ma50xc9hht)
Team Leader (http://www.box.net/shared/pltecdcovv)
Cave (http://www.box.net/shared/i6pefzmcd5)
End Credits (http://www.box.net/shared/9ieo93mldv)
~Daisuke~
December 8th, 2007, 02:42 PM
You could always ask Cartman or anyone else who has experience with music in hacks but then Cartman took a break of that for a while so for other ppl I can't help you guys out with that.
Tony™
December 9th, 2007, 03:25 PM
You could always ask Cartman or anyone else who has experience with music in hacks but then Cartman took a break of that for a while so for other ppl I can't help you guys out with that.
aww man...
do you know anyone else besides cartman who can do the music thingy?
stbplayer1P
December 16th, 2007, 03:22 PM
Please Help me,MID2AGB will not create a .s file. I'm trying to put in DP Music into Ruby, when I drop midi in to the porgram it flickers up for a second then dispeeres and nothing happens. I've even tryed to get a diferent MID2AGB bup that dosn't work eather. Please help me!
Tony™
December 21st, 2007, 07:20 PM
Please Help me,MID2AGB will not create a .s file. I'm trying to put in DP Music into Ruby, when I drop midi in to the porgram it flickers up for a second then dispeeres and nothing happens. I've even tryed to get a diferent MID2AGB bup that dosn't work eather. Please help me!
Yeah,it's suppose to do that.
1. you drag the midi to the mid2agb.
2.It comes up for a second,then goes away.
3. .s file should appear on the bottm of the folder.
Just check
DeadDuck
December 27th, 2007, 02:03 PM
I need some help with this. As I got no problems with converting to .s files, sappy goes wrong.
First, I don't know which value should I put into base destination offset. I've tried 0x800000 and the one which begins songs (Which in Fire Red "pokemon theme" was 0x6C4B10).
Thing is, whatever I do, the song in .gba file is actually pruned clean. Instead of playing the replaced song, game keeps silence.
So my question is, what should I put in base destination offset to be sure the music will work ?
Also for people who will search for Mid2AGB, you gotta search for it in youtube instead of google, some people upload that stuff.
EDIT: On a second trought, .s files might be screwed up. Altrough I did everything like I should, I guess (adding header as base offset), the next 4 songs after the one I change got same name as the one I just changed... annoying >:U
Anyone got same problem/knows the solution ?
EDIT: Nevermind, following this tutorial ( pkmncommunity.com/showthread.php?t=113034 ) helped a lot.
Magnius
January 4th, 2008, 01:57 AM
I made a new tutorial on this that might possibly help out more than my previous post.
Hello my friends, I'm Magnius and I'm going to teach you today how to insert ANY song you like, into the GBA Pokemon games. For this particular tutorial we will be using Pokemon Fire Red, but it can be done on almost any Pokemon GBA game. However, before we start you're going to need a few things...
- 2 Pokemon Fire Red Roms(Don't ask me where to get the roms).
- An emulator to play the rom on(I use VisualBoyAdvance myself).
- Sappy and mid2agb which you can both get here (http://www.filefactory.com/file/080907/).
- A midi that you want to insert into the game.
- A backup of the Pokemon Fire Red rom incase anything goes wrong.
Got all that stuff downloaded? Good. Once everything is downloaded make sure to extract everything into the same folder, trust me, it'll make things much easier later on. Now let's move on to the tutorial.
Step 1 - Convert your midi to a ".s" file
In this first step we're going to use Mid2Agb to convert our midi file that we want to insert into the game, to an ".s" file. Before we move on, make sure your midi is in the same folder as Mid2Agb. Once you've made sure of that, open up the folder that Mid2Agb is in and click on your midi. After you've clicked on your midi drag it over to the Mid2Agb file and Mid2Agb will automatically convert the midi into a ".s" file. There is another way to convert the midi using the command prompt, but that just makes the whole process harder than it has to be.
Step 2 - Assemble the song using Sappy
Alright, now that you've got your ".s" file, we're going to put it to use in Sappy. So first, open up Sappy. After you've opened up Sappy, go to file and then click on "Open". Now find your first Pokemon Fire Red rom and open it. Now once you've opened your rom in Sappy you'll notice that in the upper left corner of the program a dropdown box will appear with a song name in it. Click that dropdown box and you'll see a list that you can scroll, of songs from the game. The song you click will be the song you'll be modifying in game. You can change any song, but for this tutorial find a song on the list called "Pokemon Theme", since it's one of the first songs you hear when you turn on the game. After you find that, click on "Assemble song" which is in the left part of the program. After that a box will pop up that says "Assemble .S file" at the top. Click the button next to the first box and then to open your ".S" file. The second box, is where you'll write your base offset, but don't worry about that too much now. For now just type the offset "0xEB0B20" in the base offset box. Third is the Voicegroup offset box which will already be filled in. Now click on "Assemble that ugly thing!" and wait for the program to finish assembling the song. Congrats, you've assembled the file. If the song plays already in the game by now, then congratulations, you're done, but if it doesn't, don't fret, move on to Step 3.
Step 3 - Getting the file to work in game
So now you've assembled the file and it plays in Sappy, but you see that it doesn't play in game. Well slow down there guy, there's still a ways to go before we can get the file playing in game. Now that you've assembled the file we're going to export the tracks. In order to do this, go to "Export Tracks". You'll then see a bunch of unchecked boxes which are basically the offsets of the tracks, check all of them. In the 2nd box, you can either put $T or $P, don't know worry too much about what they mean, for this tutorials sake just type in "$T". After that click on "Ok". The songs tracks will now be dumped to your folder and since you picked "$T" the tracks will be numbers like one tracks file name will be 0, the next tracks file name will 1, it's pretty simple. So after that close out Sappy and reopen it. Now that you've reopened Sappy, open the unmodified Pokemon Fire Red rom and find the song you modified in other rom, which should be "Pokemon Theme" in the case of this tutorial. Now go to "import tracks" and check all the "numbered" files, which are basically the tracks we dumped earlier. Next to the "First track" box basically type in an offset where there's a lot of free space, for the sake of this tutorial just put "0xEB0B20" there. Then press OK. Now open up your emulator, open up the rom you just modified and you'll see that the song works in game. Congratulations, you've done your first successful music hack.
And yep, that's how you insert music into the GBA Pokemon games. But I know some of you are asking, what if I want to import music from one Pokemon GBA game to another? Well, I'll explain that in this extra step.
Importing Music from one Pokemon GBA game to another
Importing music from one Pokemon GBA game to another is easy. First open the Pokemon GBA game you want music from like for instance, if I wanted to take music from Ruby and put it in Fire Red, I would open Ruby. Then I'd simply select the song I want to put into the other game and go to export tracks. Once you're in the export tracks window, check all the tracks, type "$T" in the second box and all your tracks will be exported to numbered files(1, 2, 3, 4, 5 you get the point). After that, open the game you want to insert the music into and find the track you want to replace. After that choose import tracks and import the numbered tracks you dumped and press okay. Congrats, you've successfully taken music from one GBA Pokemon and inserted it into another.
And that concludes this tutorial. Hope it helped you guys out.
XD003
June 3rd, 2008, 01:02 AM
Sorry for reviving an old thread, but, I need help. If it's against the rules, please
This tutorial did help me a bit... but, when I went to inserting the song, it turned into beeps, boops, and blips - which I'm assuming is normal - but, what I want to know is, is there a way to make the normal song IN the game? Like, for instance, I want to insert One-Winged Angel, from FFVII, into my hack. It just comes out in blips, and all that. Is there a way to make it so I can hear the normal song in there?
~XD003~
Silver Riolu
June 3rd, 2008, 02:29 AM
Then why did you do it? You shouldn't have revived a month old thread, it's against the rules. *reports*
EDIT: It's almost over 4 months old. >.< Could a mod please close this thread, thanks!:)
Aoriaku
June 3rd, 2008, 02:58 AM
XD003, don't post in threads that are over a month old. Please.