The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.


Advertise here

Reply
 
Thread Tools
  #1    
Old June 27th, 2012, 10:20 PM
KhaosKnight's Avatar
KhaosKnight
The 1 and only Khaotic Hacker
 
Join Date: Dec 2007
Nature: Relaxed

Advertise here
Intro:

Hey everyone, after taking a nice break from making Pokemon Citrine I'm back to ROM hacking. I began seriously looking into the Emerald ROM since there is little to no information about it posted around here(or just about anywhere!). After some research I’m back to share my methods for editing the Pokemon Emerald Title Screen!

Not many have been able to fully modify the Emerald Title Screen (at least of what I've seen). So I took it upon myself to explore through the unLZ jungle of offsets and a hex editor to find the appropriate Tile Sets and Palettes for the Rayquaza background, the Pokemon banner, and the Emerald Version banner, and I'm here to share them with the community!


First we will need some tools, preferably the latest releases, and these offsets.

Code:
Rayquaza Titlescreen Offset: 53F058 unLZ # 152 (16 Colors)
Rayquaza Titlescreen Palette: DDE418 unLZ # - Not LZ'd

Pokemon Logo Offset: DDE690 unLZ # 2611 (256 Colors) 
Pokemon Logo Palette: DDE258 unLZ # - Not LZ'd

Emerald Version Offset: DDFD94 unLZ # 2612 (256 Colors) 
Emerald Version Palette: DDE438 unLZ # - Not LZ'd
Tools Needed:
  • unLZ.gba
  • APE (Another Palette Editor)
  • FSF (Free Space Finder)
  • Photo Editing Software(Paint.NET, GIMP, Photoshop, Paint, etc.)
  • IfranView
  • NTME (Nameless Tile Map Editor)
  • VBA or simlar
  • The offsets above.

Rayquaza Background:
Spoiler:

First we are going to need a make a Tile Set of the Title Screen you would like to make. Take a look at the original Tile Set for the Rayquaza Title Screen to get an idea what I mean.



As you can see, it is a simple 128x128 image in 16 colors with all the repeating tiles deleted. Unlike Ruby, which has a rather large contiguous space that you can paste a sprite or similar, this tile map as little to no open space because a great deal of the tiles repeat or are reflected(like Rayquaza's face), so we will have to redesign it completely. To begin, design an image of what you want your full screen to look like, then condense it to the specifications above.

Here is the Tile Set for my Title Screen.



A Raikou sprite, with the Thunder attack animation and clouds, and a hand drawn rocks. Just a simple thing I put together for the tutorial. I'm no artist so it's not by any means pretty, but it works for a quick demo.

Next we are going to make sure our Tile Set is ready for our ROM. I’m going to use IfranView to condense my image to 16 colors.
So open your image in IfranView and click Image -> Decrease Color Depth…



A dialog will appear that allows you to modify the amount of colors in your image. Click 16 colors, then click OK.




After that we will export the new palette of the image. Click Image -> Palette -> Export Palette…




Name it the same as your Tile Set so you don’t mix it up with your other files.

Now that the Tile Set is ready, we are going to make our image appear the way we want. So open NTME and load your new Tile Set. After its open, go to the bottom right drop-down box and choose “E TS”



The new canvas is going to look strange, it’s large, too large actually but it’s necessary to get the Title Screen to show up right. Emerald only displays a (30,20) map size on the main screen, so that is all we are going to fill. Locate (29,19) on the Tile Map, this will be the bottom right corner of our Title Screen.




Use the tiles from the Tile Set you created to make your Title Screen to look how you want. You can use the Tile Selection buttons on the right to select bigger blocks, as well as flipping tiles in Block Settings to make building the Tile Map easier.




After that’s done, we need to take care of one last thing. At the bottom, click “PaletteMap” and then click the “E” out of the selection to the right. Use that to fill over the “0’s” to change them to “E’s”.




Finally, we will save our new Tile Map as a .RAW file. Name it the same as your Tile Set as well.




Now that our Tile Set and Tile Map is done we will import them back into unLZ. So bring unLZ back up and click “Import”.




A dialog will appear, Check Export Image and Automatically fix pointer, and make sure to leave Export Palette UNCHECKED since we will be editing the appropriate palette in APE later on.




After clicking OK, you should get this message, although the size will be most likely different for you.




Next, open up FSF, load your ROM,
and click “Search from the beginning of the ROM”. Then in the bottom corner under Dec/Hex type in the Hex offset you received from unLZ. The number on top will be converted to Decimal. Take that and put it in the Needed Bytes box, click Find, Then click Copy.



This is the area of free space in your ROM that can fit your Tile Set, so we will go back to unLZ with this offset and paste it into the Image Offset box. Then click OK.




It should give you confirmation that the data was re-pointed correctly.




Next is the Tile Map, click the Next button to go to unLZ #153. This messy image is the RAW Tile Map data.




Click File -> Load RAW… then select the .RAW file you saved earlier from NTME. Then click Write to ROM and do the same procedure as before. If you get an error then your Tile Map is bigger than the original, so you have to repoint it. If you don’t get an error, then it was smaller than the original so it will fit. You will most likely have to repoint, which is safer since you aren’t overwriting original data.




Next, load up your ROM and VBA and take a look at your new Title Screen.




As you can see it is a miss-colored mess. That is because it is using the original palette that Rayquaza used. So let’s change that. Open up your ROM in APE and load the Offset DDE418 and then click Load.




On the Changed Palette area, click the palette with the blue arrow pointing to the left. Click the dropdown box and select Paintshop (.pal) then open the .pal file you saved from IfranView.




After it is loaded, click Replace and then Load to verify that it was changed correctly.




Now reload your ROM in VBA to take a look at your masterpiece.




One thing to note that I’m still working on, the transparent tiles glow yellow like the lines along Rayquaza’s back. I’m still looking on how to change that color so it can glow other colors or not glow at all. I’m also looking into the clouds that float up the screen as well. Hopefully those will come in a future update to this tutorial.



The "Version" Banner:
Spoiler:

Next we will tackle the Emerald Version Banner, so go back to unLZ and navigate to #2612, click 256 Color Mode and click the + until the image is shown below.



This one slightly more complex in a way, it is a 64x64 tile map that is displayed as a 128x32 image in 256 colors. So when you build your Banner, start with a 128x32 image and then “split it” to 64x64 with the right 64x32 pixels moved below to leftmost 64x32 pixels making it a 64x64 image.


Here’s mine




I’m no graphic artist, but I had to play with the font size and coloring. The black pixels in this image will be transparent when loaded into the game. This can change if you use more colors, when you load APE to change the banner palette, whatever color that is in the first bank will be transparent.


Moving on, run your image through IfranView again, except this image will be decreased to 256 colors instead of 16 colors. Then Save the new palette like before.

Back into unLZ, click Import and load your image. Then click Write to ROM. The dialog will open and you will do the same as before, check Export Image and automatically fix pointers, and keep Export Palette unchecked.



You will most likely need to re-point the image like before, so take the number through your calculator, and FSF again to find some free space. Then write your changes to the ROM.

Next we will change the palette to the Emerald Version Banner. So open your ROM in APE and cruise to the offset DDE438.



Same as before load the .pal file you saved in IfranView.




Click Replace then Load to verify the changes.




Then load up your ROM in VBA once again to view the finished product.




Here you can see how the banner is positioned, if it is not to your liking, you can just readjust the original Tile Set.


I’m not going to go over replacing the Pokemon banner because most people won’t want to replace it anyway. But if you want to replace the banner, the offset is DDE690, and the unLZ # to the picture is 2611 (256 Colors). Then the offset to change the palette in APE is DDE258. Just repeat the above steps replacing the offsets.


Closing:

Well that's just about all the information you will need to modify the Emerald Title Screen. There are only a few things left to look at which I'm still working on. I posted this in a hurry to get the information out there, so I'll be revising it sometime soon, maybe add more pics to the banner part. If you get lost feel free to ask questions and I'll try and help.

Special Thanks:

HackMew
D-Trogh
All of you guys for your support.

__________________






Last edited by KhaosKnight; July 2nd, 2012 at 10:41 PM. Reason: Cleaned up things.
Reply With Quote
  #2    
Old July 2nd, 2012, 08:06 AM
Blaziken141's Avatar
Blaziken141
Beginning Trainer
 
Join Date: May 2012
Location: In a house
Gender: Male
Nature: Jolly
Thanks for the help to hack the Emerald Title Screen
Reply With Quote
  #3    
Old July 21st, 2012, 11:36 AM
poke-hacker95
Beginning Trainer
 
Join Date: Jul 2012
Gender: Male
The one thing im curious about when it comes to title screen hacks is how you incorporate animations into the flat image. For example, the offset for the raikou background, is the thunder and the clouds animated? and if not is there a specific way to go about doing that?
Reply With Quote
  #4    
Old July 23rd, 2012, 06:55 AM
meosonic
Beginning Trainer
 
Join Date: Jun 2010
Gender: Male
Bug I put the raw file but pokemon don't iniciate Please heeeellpppppp!!!!!!
anotherpower.deviantart.com/art/Bug-Pkmn-Emerld-S-316473021

Last edited by meosonic; July 23rd, 2012 at 07:03 AM.
Reply With Quote
  #5    
Old August 19th, 2012, 06:09 AM
SkyIsDarkBlue's Avatar
SkyIsDarkBlue
Unhatched Egg
 
Join Date: Nov 2011
Gender: Male
Can I use your background? Just the background and no lightning or raikou or land. If yes, here is the picture:

__________________
Project Origins has been aborted. New Project: Pokemon Magenta banner coming soon.
Reply With Quote
  #6    
Old September 1st, 2012, 11:23 AM
PokeBunny's Avatar
PokeBunny
Pokemon Game Maker
 
Join Date: Aug 2012
Location: South Africa
Age: 14
Gender: Male
Nature: Serious
This is a good tutorial.
I didn't read all of it.
Just got the programs and impornant info.
__________________
special POKeBUNNY

The Pokemon Game Developer
If you are wondering why I'm taking long to make Pokemon Hot Red and Cold Blue... It's because I barely get computer time. Be patient (I'm not!.

My SoundCloud!!!!!!!!!
Reply With Quote
  #7    
Old November 4th, 2012, 09:13 AM
Luna The Absol's Avatar
Luna The Absol
Champion of Telea
 
Join Date: Nov 2012
Gender: Female
Nature: Timid
this confuzles me.....though i did come from trying to insert Zekrom's cry into the game. I don't see any of this on my stuffs....my head hurtz!
__________________
idk how to make cool ones everyone has.
Please support pokemon: dark soul and please
if you can script, sprite, or design, we need you.
And if you could make a cool looking signature band would be good too
like this one

please support us
by making our first support band
Reply With Quote
  #8    
Old November 21st, 2012, 12:04 PM
TheRockyHorrorPokemonShow
Unhatched Egg
 
Join Date: Nov 2012
Location: FL
Gender: Female
Nature: Timid
Thank you for your help! I'm still trying to figure it out but, it really helps!
Reply With Quote
  #9    
Old January 13th, 2013, 01:26 PM
jedijoren
Unhatched Egg
 
Join Date: May 2012
Gender: Male
When I click import on UNLZ, it just asks for a file. what do i do?

I am stuck, please reply. I am in unLZ, and when I click "import" it wants me to import a file, what do I do? Please help!

Last edited by jedijoren; January 13th, 2013 at 01:53 PM. Reason: Your double post has been automatically merged.
Reply With Quote
  #10    
Old January 16th, 2013, 07:11 PM
jedijoren
Unhatched Egg
 
Join Date: May 2012
Gender: Male
Ok I figured it out. But when I try to load in my palette it says error: type "13" or something like that. Help?
Reply With Quote
  #11    
Old January 26th, 2013, 03:59 AM
stocko's Avatar
stocko
Toast Engineer
 
Join Date: Mar 2011
Location: Sydney, NSW, Australia
Gender: Male
Nature: Bold
Send a message via Windows Live Messenger to stocko
Hey, I'm trying to change the pokemon logo and I'm having a few issues. The image is showing up perfectly fine apart from the palettes not correctly displaying for some reason. I have loaded the correct palettes in APE but it hasn't changed the palette. Any ideas on what's going wrong?
__________________
Just chillen :D

I support these hacks
Reply With Quote
  #12    
Old March 28th, 2013, 12:20 PM
Line3007's Avatar
Line3007
 
Join Date: Oct 2012
Location: Denmark
Gender: Female
Nice tutorial! :D I have to try it someday!
Reply With Quote
  #13    
Old April 25th, 2013, 09:51 PM
Eren Jaeger's Avatar
Eren Jaeger
Pianoist
 
Join Date: Apr 2013
Location: EARTH
Gender: Male
Nature: Serious
Hey thanks! :D I've done it successfully for the 1st time :3 Hope you made
Pokemon ruby.. the tutorial I saw on pokemon ruby is not helping at all.
__________________
Music is art
Reply With Quote
  #14    
Old May 1st, 2013, 05:20 AM
LFCAmmy's Avatar
LFCAmmy
Unhatched Egg
 
Join Date: Apr 2013
Gender: Male
Send a message via Skype™ to LFCAmmy
when i try to import my .pal file to ape it says invalid palette loaded....plz help me
__________________
Hello guyz is there any one who knows how to change the tiles????? M thinking of changing the tiles and starting from vry beginning if any one knows how to change tiles and make a title screen plz contact me......and yeah the route will look same as the screenshot only tiles and ow's will be different anyways thx in advance
Reply With Quote
  #15    
Old May 1st, 2013, 09:05 AM
Crimnor
» imperishable
 
Join Date: Sep 2008
Gender: Male
Quote:
Originally Posted by LFCAmmy View Post
when i try to import my .pal file to ape it says invalid palette loaded....plz help me
Try to convert your palette to an actual format like .act or .pal using Photoshop or IrfanView. Both formats will work fine with APE.
Reply With Quote
  #16    
Old May 1st, 2013, 12:44 PM
LFCAmmy's Avatar
LFCAmmy
Unhatched Egg
 
Join Date: Apr 2013
Gender: Male
Send a message via Skype™ to LFCAmmy
Quote:
Originally Posted by Majesticz View Post
Try to convert your palette to an actual format like .act or .pal using Photoshop or IrfanView. Both formats will work fine with APE.
i dont knw how to do it...plz can u teach me???? i tried to turn it into .pal by irfanview bt still same...
Reply With Quote
  #17    
Old May 2nd, 2013, 09:03 AM
Majesticz
» keepin' it simple
 
Join Date: Jun 2012
Age: 21
Nature: Brave
Quote:
Originally Posted by LFCAmmy View Post
:P i dont knw how to do it...plz can u teach me???? i tried to turn it into .pal by irfanview bt still same...
I usually use Photoshop when it comes to palettes. Feel free to send me your palette file (including the image) via private message so I can look over it.
Reply With Quote
  #18    
Old May 2nd, 2013, 09:29 AM
LFCAmmy's Avatar
LFCAmmy
Unhatched Egg
 
Join Date: Apr 2013
Gender: Male
Send a message via Skype™ to LFCAmmy
i hav loaded act file and clicked replace bt it doesnt change in rom...what to do???
__________________
Hello guyz is there any one who knows how to change the tiles????? M thinking of changing the tiles and starting from vry beginning if any one knows how to change tiles and make a title screen plz contact me......and yeah the route will look same as the screenshot only tiles and ow's will be different anyways thx in advance
Reply With Quote
  #19    
Old May 2nd, 2013, 08:20 PM
Aryan143's Avatar
Aryan143
The Fennekin Fan!
 
Join Date: Jul 2012
Location: Delhi, India
Age: 14
Gender: Male
Nature: Modest
Quote:
Originally Posted by LFCAmmy View Post
i hav loaded act file and clicked replace bt it doesnt change in rom...what to do???
It is replaced. If you click on Load you will see it.
__________________

Please click both of these links once in a day and help us grow:

Reply With Quote
  #20    
Old May 2nd, 2013, 08:42 PM
Eren Jaeger's Avatar
Eren Jaeger
Pianoist
 
Join Date: Apr 2013
Location: EARTH
Gender: Male
Nature: Serious
Screen got poop. Retried. And It looks good now, but cobalion's head is hiding.
__________________
Music is art
Reply With Quote
  #21    
Old May 2nd, 2013, 11:40 PM
LFCAmmy's Avatar
LFCAmmy
Unhatched Egg
 
Join Date: Apr 2013
Gender: Male
Send a message via Skype™ to LFCAmmy
Quote:
Originally Posted by Aryan143 View Post
It is replaced. If you click on Load you will see it.
well it didnt change...
Reply With Quote
  #22    
Old May 9th, 2013, 11:58 PM
Hoenn's Avatar
Hoenn
➜is not the last B E A C O N
 
Join Date: Feb 2013
Send a message via Skype™ to Hoenn
Uh, try this out:

If you are getting error then keep redoing the same thing until you get a Type Mismatch.
Don't press OK YET!
Now you slide aside the prompt window and click the original APE window. Now press Alt + Prnt Sc | Sys Rq. And then open a new Paint folder and press Ctrl + V.
You will see that the original window of APE has some colours in the changed pallete section. Now open an APE WIndow again and load your ROM.
Go to the offset again.
Now see the Paint file and copy the exact codes on it into the changed palette section.

Save it; you're done now.
__________________
➜deviantART

Previously known as Elaitenstile 
Reply With Quote
  #23    
Old May 19th, 2013, 03:20 PM
joexv's Avatar
joexv
The True XV
 
Join Date: Oct 2012
Location: Oregon
Age: 17
Gender: Male
Nature: Brave
Send a message via Skype™ to joexv
I need help when i open ape and load my rom and the original pal and then click the new pal thing i open the one i want and then it freaks out saying invalid pal then if i do it again it says runtime mismatch error.


Opps nevermind got it to work!!!
__________________
http://www.pokecommunity.com/showthread.php?p=7853535&posted=1#post7853535
75% of Pokemon gamers use cheats and specially made codes to make their pokemon battle-worthy. If you are one of the 25% percent that level their Pokemon up legally, put this in your signature.
-Started by SkittyLover77
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.

Last edited by joexv; May 19th, 2013 at 03:23 PM. Reason: fixed my problem
Reply With Quote
  #24    
Old June 6th, 2013, 07:30 PM
supersoursky's Avatar
supersoursky
Co-Leader of Dark Illusion
 
Join Date: Dec 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Lax
WHAT VERSION OF FSF DO YOU USE I DONT HAVE THE DEC/HEX THING
PLEASE HELP
__________________
Co-leader of the hack Dark Illusion
Graphic monsta of the hack Dark Illusion
Misc. Editor of the hack Dark Illusion


Hacks im currently working on :
Pokemon Dark Illusion
Pokemon Dark Illusion
HTML code:
Quote:
<a href="http://imgur.com/gf90Jh7"><img src="http://i.imgur.com/gf90Jh7.png" title="Hosted by imgur.com"/></a>
Supports are appreciated
Reply With Quote
  #25    
Old June 11th, 2013, 08:56 AM
ryanp92's Avatar
ryanp92
The Great One
 
Join Date: Jun 2013
Location: Fredericton, NB
Age: 22
Gender: Male
Hey first post..... lol, anyway I just found out how to take out the clouds, just I have yet to figure out how to take out the stupid flashing... anyway for the clouds its easy just got to unLZ go to #155 then save as go to paint or whatever program you use then just make the clouds the same color as the background after the BG is saved import the new saved version then go check it out the clouds should be gone now... this is what I got up to now I wanted just a quick, easy and sleek design although it still needs work but anyway here it is .... like I said earlier though idk how to take out the stupid flashing so it still flashes yellow so I gotta see how to take that out but anyway hope this helps for the clouds
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 11:49 PM.


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.