The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.


Advertise here

Reply
 
Thread Tools
  #1    
Old May 26th, 2013, 09:36 AM
xGal's Avatar
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold

Advertise here
Hello.

I am galooloo and I wanna talk with you about Japanese ROM music hacking.

Have you wondered how all the Japanese roms have the music hacked like Golden Sun and Vega.
When you tried to open a Japanese rom is sappy, it said that it couldn't find the songtable.

...Um, okay!

What we need:

- Sappy 2006 Mod 15 (17.1 WON'T WORK). Download from here: http://205.196.120.95/hd8v09sithyg/a...ppy+mod+15.zip

- A Japanese ROM (Don't ask me where to get the ROMs from)

Step 1:

Extract the files in the Sappy folder to anywhere you want. After that, open up Sappy.

A popup will appear. "Cannot find sapppy.xml. Create a new, blank version now?". Click "YES".

Now, open up your Japanese ROM. Let's say I use FireRed Japanese. A popup will appear. "The game you loaded (gamecode BPRJ) is not known. Would you like to scan for the song table now?". Click "YES". Another popup will appear: "Found the songtable at 0xOFFSET. Saving bare bones entry to XML file for quick reloading...". Click OK. Now, you should see only "Main". That's good...

Step 2:

Create a backup of your ROM and open it on AdvanceMap. Click on any map you want. Then, go to "Header" tab and click on the song list. Let's say I wanna hack "Battle 5 (+2)". It's number is 155. Open up caculator and convert 115 HEX to DEC. You should get the number 341. Rememmber that number.

Step 3:

Open up with Sappy the original rom (not the backup). Left to "Main" you should see the number "1". Erase it, and copy 341 [the DEC number of "Battle 5 (+2)"]. Click on the "Play" button. You should hear the "Battle 5 (+2)" Theme. Now assemble the song as normal, and here you go!

Final result:



***I do not own the original song, It's from Pokémon Vega, so all the credit goes to the original creator!!!

Now, If you are lazy, here are the song tables:

FireRed/LeafGreen:

Quote:
0x463708
Ruby/Sapphire:

Quote:
0x416EE4

Emerald:


Quote:
0x63C2AC

**UPDATE***

ipatix gave me a software that finds the songtables of any rom (if its extented or not)!

Link: https://dl.dropboxusercontent.com/u/.../stos_raki.zip

Thank you, ipatix again!
__________________
Hey guys, I made a soundcloud account not long ago, and I would be very happy if you guys will check it out: https://soundcloud.com/dewombat. Thanks .

Also, if you ever wanted to make a ROM hacking tool, click here: http://www.pokecommunity.com/showthread.php?t=334348

Last edited by xGal; June 2nd, 2013 at 11:22 AM.
Reply With Quote
  #2    
Old June 2nd, 2013, 02:21 AM
ipatix's Avatar
ipatix
Music Hacking Freak
 
Join Date: May 2008
Location: Germany
Gender: Male
Nature: Relaxed
If you have trouble finding the songtable and don't want to switch to the older version: Here's the method I used:

Create a new entry in the XML file for your game using Wordpad or Editor. It could look like this (this is no Japanese ROM but Sappy failed):
Quote:
<rom code="AGFD" name="Golden Sun 2" songtable="0x1C4530" creator="Camelot" tagger="ipatix">
</rom>
Of course, we don't know the offset yet cause Sappy won't find the Songtable.
But there is a tool for that I found a long time ago on the internet. I have no clue who is the maker of it (so no credits here) but I can give you a download link:
https://dl.dropboxusercontent.com/u/.../stos_raki.zip

You can scan any ROM you want for it but it will usually always output an offset; even if the game does not use the MP2K engine (that's how the music engine of Nintendo is called like). Always pick the offset of the first line. I don't know what the offset of the other lines are used for.

So finally you got the offset and you can paste it in to your XML entry and run Sappy and everything should work. Of course you should type in the correct Gamecode and other information and not just copy my XML entry.

So if you are crazy and don't want to do it by the mainstream way, this is the way to go ;-)
__________________
I'm sorry for my bad English. I'm German...
Visit my YouTube channel (music hacking and other stuff): http://www.youtube.com/user/theipatix
Reply With Quote
  #3    
Old June 2nd, 2013, 11:00 AM
xGal's Avatar
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
Quote:
Originally Posted by ipatix View Post
If you have trouble finding the songtable and don't want to switch to the older version: Here's the method I used:

Create a new entry in the XML file for your game using Wordpad or Editor. It could look like this (this is no Japanese ROM but Sappy failed):

Of course, we don't know the offset yet cause Sappy won't find the Songtable.
But there is a tool for that I found a long time ago on the internet. I have no clue who is the maker of it (so no credits here) but I can give you a download link:
https://dl.dropboxusercontent.com/u/.../stos_raki.zip

You can scan any ROM you want for it but it will usually always output an offset; even if the game does not use the MP2K engine (that's how the music engine of Nintendo is called like). Always pick the offset of the first line. I don't know what the offset of the other lines are used for.

So finally you got the offset and you can paste it in to your XML entry and run Sappy and everything should work. Of course you should type in the correct Gamecode and other information and not just copy my XML entry.

So if you are crazy and don't want to do it by the mainstream way, this is the way to go ;-)
Wow I never heard that about that before
I will insert the link when I will have power
Thanks!
__________________
Hey guys, I made a soundcloud account not long ago, and I would be very happy if you guys will check it out: https://soundcloud.com/dewombat. Thanks .

Also, if you ever wanted to make a ROM hacking tool, click here: http://www.pokecommunity.com/showthread.php?t=334348
Reply With Quote
Reply
Quick Reply

Sponsored Links


Advertise here
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 10:02 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.