The PokéCommunity

We are still working on a better slogan!

Visit Index

Advertise here

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development

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.

Post Reply
Thread Tools
Old January 3rd, 2010, 12:39 PM
RedYoshi's Avatar
Wah! Yoshi!
Join Date: Feb 2008
Location: Yoshi's Island, DUH.
Age: 21
Gender: Male
Tournaments Joined: 0
Tournaments Won: 0

Advertise here
I'm pretty sure someone else may have done this successfully, and that is changing the sound that an Instrument in a VoiceGroup makes. This is made possible by changing the pointers for the sounds through a hex editor. I've covered this in my tutorial on how to re-point cries. I've gotten the sound to change for some instruments, but there are many which I've had no luck with.

How I've Done It.
Quick Demo.

Well here's a brief explanation. By encoding a sound with PokeCryGui to an offset we can use the sound as an instrument for music by changing the pointers in a VoiceGroup.

These would be the pointers used for a Trumpet in a VoiceGroup
40 00 00 00 5C A5 48 08 E4 30 4A 08

Note: This could be flawed!
What I do is use this string to point to the sound I encoded with PokeCryGui, which is the same string used for cries.

20 3C 00 00 XX XX XX 08 FF 00 FF 00Where XX XX XX is the pointer in reverse hex.

This works for some instruments, but for some instruments this won't work. Some being the Timpani and the Strings. I haven't tried it out with Drums, but I am sure the above formula won't work because it uses multiple samples.

So what I need to find out are these things.
  1. A way to use it on instruments that use multiple samples.
  2. Figure out what the default Key (on a Piano that is) the encoded instrument uses.
  3. Make an instrument loop (like strings)
  4. Fix issues with how the sound comes out. Some samples come out distorted, it could be the string I use for replaced instruments.
Originally Posted by Yoshi
Old January 14th, 2010, 01:45 PM
Join Date: Nov 2009
Location: Ontario, Canada
Tournaments Joined: 0
Tournaments Won: 0
Send a message via Windows Live Messenger to Esmas
This is interesting...I think this would be a great way to make a ROM hack seem "new," and an easy way to remix something, instead of inserting an entire new song.
SoulSilver Friend Code: 3696 3852 0232
Old January 25th, 2010, 06:34 PM
Pkmn-Master's Avatar
Join Date: Jun 2005
Location: Michigan
Age: 20
Nature: Brave
Tournaments Joined: 0
Tournaments Won: 0
This isn't really that new...
Charon the Ferryman figured how to do this about a year ago.
(Please read Description)
Post 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:29 PM.

About Us
© 2002 - 2014 The PokéCommunity™, 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é 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. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.