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.


View Poll Results: Should I make a RSE Guide to Weathers?
Yes! Make One! 6 75.00%
No. Don't make one. 2 25.00%
Voters: 8. You may not vote on this poll

Reply
 
Thread Tools
  #1    
Old January 28th, 2009, 07:18 AM
Giga Universe's Avatar
Giga Universe
Working on a tool.
 
Join Date: Aug 2007
Location: South Africa
Age: 19
Gender: Male
Nature: Calm
Send a message via ICQ to Giga Universe Send a message via AIM to Giga Universe Send a message via Yahoo to Giga Universe Send a message via Skype™ to Giga Universe
Introduction:

Hello. My name is Giga Universe and I am going to give you a rough tutorial on how to weather hack. This is my first Tutorial, so constructive criticism is gladly welcomed. Ok let’s begin with a list of requirements:

List:
- TMA (Tile Molester Alternate) by SnowBro 2003
- APE (Advanced Palette Editor) by HackMew
- VBA (Visual Boy Advance)
- Any advanced generation ROM (Yay, finally)
- You need to know how to use TMA, APE and A-Map
- A-Map (Advanced Map) by LuHo

Now that you have all that, we can begin. First of all, as you may have guessed by the list of requirements, there are two parts to weather hacking: Palettes and Graphics. I will give you some offsets, and if these don’t work, use the identification and discovery section. Okay, Lets begin with graphics.

Identification and discovery:

If you are the type who doesn’t like the How it Works, you can skip the DIY and go to the next section. Otherwise, stay here. Okay, with my research I can make this easy for you. Open your ROM in A-Map, set the weather you wish to find, save and go to the place where your weather is in your ROM on VBA. In VBA go Tools -> Palette Viewer. Here is what you are looking for: (It's always on the 12 line (if the first line is 0))



The weather palette is ALWAYS on this line (except when thunderstorm palette edits everything to white) Search this line in a HEX editor or APE. Once you have found the offset (there should only be one) navigate to this in TMA. Thhe reason for doing this is because the picture is usually found at the same position as the palette. Navigate around this point and you'll find the weather. Go to the TMA Section for more instructions.

Decisions:

Before you can start, you have to decide the following: Are you going to edit the palette and are you going to edit the graphics. HOWEVER, there is something I cannot do in weather hacking: Make a completely new weather. This means you are going to have to edit an existing weather. This may not seem like a big problem, but if you take into account all the factors, you will see that it is. I do NOT know how to change the direction of the weather; therefore you have to choose one that is closest to the one you wish to make. Also sometimes if you change one thing, you change the other. E.g. most mist/rain weathers use the same sprite. Therefore you cannot edit one mist and hope the others will stay unchanged. Too bad, they won’t. So, you need to decide how you are going to do this...

Step One:
Make an outline of your weather.

Step Two:
Find a weather that is closest to your idea of your weather

Step Three:
Decide if you mind if other weathers are replaced (If any)

Outlining Weathers:

Each weather will be covered here, each with their own section and information.

Let’s start with sandstorm:

Sandstorm:

Sand storm has TWO major parts: A Palette and a Sprite. Actually, it has two sprites. The first is an image that is tile with others of its kind over and over. This tile moves diagonally to the top left hand corner of the screen. The second is a small swirly image that moves diagonally to the top left hand corner of the screen and does a little clockwise loop at the same time.



The red circled thingies are the second image; the rest is the first image. Okay, so you can’t see it so well. Let’s try in OAM viewer:



Ah, much better. Now you can clearly see the two separate images. Now we know what we are dealing with. So that is sand storm done. If you still don’t see it. Test it in a Rom Yourself.

Steady Snow:

Okay. This is easy. There are two images again. But this time only the dots change position.
Let’s use OAM viewer again. Open up your ROM set to steady snow; go to where it’s snowing. Go tools, OAM View, hit automatic update and click VBA to focus the window. Sit back and watch it. See these images? These are what you want to change.

Sunny Weather with clouds in the water:

This is nice and simple – Only one image. This weather is buggy and sometimes displays clouds on tiles other than water...

Rain:

This is the only rain weather I am going to cover, thunderstorm involves a palette change script so I can’t help you there... This is pretty easy, you need to change about five fives of small images (16 by 32 pixels), and though this will change other rain weathers.

Mists:

This is one big subject. Even though there are only four types of mist, they use only two images between them. Only Mist from top right hand corner has its only image. Dense bright mist, Steady mist and underwater mist have only one image. So changing the latter will result in not one, but three changed weathers!
Look at my mist table



Please note: Underwater mist has not only the mist effect, but two bubbles that float upwards.


Sprites:

Offsets and at the bottom

Well, you need to open your ROM in TMA. Do Navigate -> Go to. Type in your offset and make sure the Hex box and Absolute Boxes are both checked. Hit OK. You will see a couple of images; they can be easily identified as the weather you are going to edit. Go view -> Block Size -> Custom and put 8 in both blocks. Hit Ok and it will look better. Press the right arrow (On the toolbar at the top right, near the + sign) once (Thrice for Ruby/Sapphire, Emerald it's once). (Or here)



In VBA with your corresponding weather set, go Tools -> Palette Viewer. Hit Save OBJ and save it as a ‘Windows Palette (*.PAL)’ save it somewhere you can find it easily. Go Palette -> Import From -> Another File and import the palette you just saved. At the toolbar (colour toolbar) at the bottom click the right arrow twelve times. This will make it much easier to edit the file. Edit the bit you wish to change and save. Go to A-Map, find a map which you can access easily and change its map weather to the weather you edited, save and test. It should have worked. Now for the Palette!
NOTE: If you edit a weather, other weathers will be reset to the regular weather. Make sure that your weather is correctly set before saying that your ROM is broken. Sometimes the maps will also reset to the default map. To prevent this, use a clean and unedited map, or one you don’t mind losing.

Palette:

Ok, the offsets are directly below in the spoiler) Just use APE to edit the palletes.

Offsets (Both palette and images): (Headers supported in the spoiler below)

Spoiler:

Fire Red (BPRE):

Palettes:
003C2D20 - Sandstorm
003C2CE0 - Mists (all the same)
003C2CE0 - Snow
003C2CE0 – Rain (and underwater bubbles)
003C2D00 - Clouds in water
Images:
003C2D20 - Mist
003C3D20 - Clouds in water
003C4520 - Underwater Mist's Bubbles/Snowflakes
003C5520 - Rain Drops
003C5B20 - Sandstorm Sand Grains

Leaf Green (BPGE):

Palettes:
003C2D20 - Sandstorm
003C2CE0 - Mists (all the same)
003C2CE0 – Snow (and underwater bubbles)
003C2CE0 - Rain
003C2D00 - Clouds in water

Images:
003C2D20 - Mist
003C3D20 - Clouds in water
003C4520 - Underwater Mist's Bubbles/Snowflakes
003C5520 - Rain Drops
003C5B20 - Sandstorm Sand Grains

Ruby (AXVE):

Palettes:
00396F70 - Sandstorm
00396F30 - Mists (all the same)
00396F30 – Snow (and underwater bubbles)
00396F30 - Rain
00396F30 - Clouds in water

Images:
00399F90 - Sandstorm
00396F90 - Mists (all the same)
00398790 – Snow (and underwater bubbles)
00399790 - Rain
00397F90 - Clouds in water


Sapphire (AXPE):

Palettes:
00396F70 - Sandstorm
00396F30 - Mists (all the same)
00396F30 – Snow (and underwater bubbles)
00396F30 - Rain
00396F30 - Clouds in water

Images:
00399F90 - Sandstorm
00396F90 - Mists (all the same)
00398790 – Snow (and underwater bubbles)
00399790 - Rain
00397F90 - Clouds in water

Emerald (BPEE):

Palettes:
0054C2B0 - Sandstorm
0054C270 - Mists (all the same)
0054C270 – Snow (and underwater bubbles)
0054C270 - Rain
0054C270 - Clouds in water

Images:
0054F2D0 - Sandstorm
0054C2D0 - Mists (all the same)
0054DAD0 – Snow (and underwater bubbles)
0054EAD0 - Rain
0054D2D0 - Clouds in water




Okay. That concludes the tutorial for now. I will add more information when I get it. If you see anything wrong please post and PM me. Thank you.

Credits:
-LuHo for Advanced Map
-HackMew for APE
-SnowBro 2003 for TMA
-TheTheTheThe for his tutorial
On changing the grass animation
As this helped a lot with me finding out
Where everything was in weather
Hacking.

This Tutorial is not to be stolen, used or the like without prior permission. ©2009 Giga Universe.
__________________

Last edited by Giga Universe; December 3rd, 2009 at 01:26 AM. Reason: Adding Advanced Gen Support...
Reply With Quote
  #2    
Old January 28th, 2009, 09:02 AM
liuyanghejerry's Avatar
liuyanghejerry
Trainer
 
Join Date: Jan 2008
Location: China,Xi'an
Nature: Calm
Send a message via ICQ to liuyanghejerry Send a message via Windows Live Messenger to liuyanghejerry Send a message via Yahoo to liuyanghejerry
This totally a new object!Good work!

p.s. I'll finsh my reading tomorrow...
__________________
Zel,thethethethe,LU-HO,Darthatron,HackMew,ZodiacDaGreat,Juan,score_under,JPAN,Tamah-chan,I really appreciate your kindness and your help!:D


I did something that really bad.But made all Chinese can hack Pokemon, too.If you guys hate me, I totally understand,but cannot do anything but force to keep everything.
If there must be someone to undertake all spit and curse, it must be me.
Reply With Quote
  #3    
Old January 29th, 2009, 07:24 AM
foullump's Avatar
foullump
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Interesting, however, the key to a successful tutorial is PICTURES. Make sure to upload some.
__________________
Reply With Quote
  #4    
Old January 30th, 2009, 05:21 AM
Giga Universe's Avatar
Giga Universe
Working on a tool.
 
Join Date: Aug 2007
Location: South Africa
Age: 19
Gender: Male
Nature: Calm
Send a message via ICQ to Giga Universe Send a message via AIM to Giga Universe Send a message via Yahoo to Giga Universe Send a message via Skype™ to Giga Universe
Quote:
Originally Posted by foullump View Post
Interesting, however, the key to a successful tutorial is PICTURES. Make sure to upload some.
Yes, right. Right now I don't have enough posts, I'm still working on 15... I have some screenshots, but until I have 15 posts, I can't do this. Sorry.

EDIT: I have 15 posts at the time of the edit. Pictures have been added
__________________

Last edited by Giga Universe; January 30th, 2009 at 06:19 AM.
Reply With Quote
  #5    
Old January 30th, 2009, 08:20 PM
Liquid Shadow's Avatar
Liquid Shadow
xD
 
Join Date: Mar 2008
Gender:
Nice! I knew this was definitley possible but finding the offsets myself and how the images work, palettes of the images, etc. would have taken a while! This will help a LOT.

Oh, and about the movement of how the rain falls or how fast the sandstorm is I don't think that's possible to change, even in ASM. But yeah man this helped a lot thanks.
__________________

4 truths of life
1. You cannot touch all your teeth with your tongue.
2. All idiots, after reading the first truth, will try it.
3. And discover that the first truth is a lie.
4. You're smiling now because you're an idiot.
Reply With Quote
  #6    
Old January 31st, 2009, 12:26 AM
Giga Universe's Avatar
Giga Universe
Working on a tool.
 
Join Date: Aug 2007
Location: South Africa
Age: 19
Gender: Male
Nature: Calm
Send a message via ICQ to Giga Universe Send a message via AIM to Giga Universe Send a message via Yahoo to Giga Universe Send a message via Skype™ to Giga Universe
Quote:
Originally Posted by NeoNemesis View Post
Nice! I knew this was definitley possible but finding the offsets myself and how the images work, palettes of the images, etc. would have taken a while! This will help a LOT.

Oh, and about the movement of how the rain falls or how fast the sandstorm is I don't think that's possible to change, even in ASM. But yeah man this helped a lot thanks.
Thanks for your comment. I might try to look at the direction the rain falls. I have a feeling you can do it. I'll just have to look.
__________________
Reply With Quote
  #7    
Old January 31st, 2009, 01:57 AM
Hiche..'s Avatar
Hiche..
 
 
Join Date: Apr 2008
This tutorial is indeed helpful; Very detailed. Nice.
Reply With Quote
  #8    
Old January 31st, 2009, 02:00 AM
Surf's Avatar
Surf
...
 
Join Date: Jul 2008
Location: Rust
Age: 19
Gender: Male
Nature: Relaxed
Send a message via Windows Live Messenger to Surf
A very well thought out and well planned tutorial.
I will be shore too implement this in my hack.
Thank you
__________________
I'm looking for some good (When I say good,
I mean you can hold your own by yourself)
N**i Zombies players, to form a team or even a
clan, to play with casually.
Send me a PM with your Highest Level and your PSN,
and I'll get back to you.
Reply With Quote
  #9    
Old February 1st, 2009, 01:53 AM
Giga Universe's Avatar
Giga Universe
Working on a tool.
 
Join Date: Aug 2007
Location: South Africa
Age: 19
Gender: Male
Nature: Calm
Send a message via ICQ to Giga Universe Send a message via AIM to Giga Universe Send a message via Yahoo to Giga Universe Send a message via Skype™ to Giga Universe
Quote:
Originally Posted by Hiche View Post
This tutorial is indeed helpful; Very detailed. Nice.
Quote:
Originally Posted by Mac_Mini View Post
A very well thought out and well planned tutorial.
I will be shore too implement this in my hack.
Thank you
Thanks for the comments. I hope you use it, lol.
__________________
Reply With Quote
  #10    
Old February 2nd, 2009, 12:31 AM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
Community Supporter Tier 1
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 21
Gender: Male
Nature: Gentle
Ooh, Very Good...
Nice to see some new original content on here!
And yeah, you should make this for RSE also, the RSE hackers on here would love it!
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
Reply With Quote
  #11    
Old February 3rd, 2009, 07:58 AM
Giga Universe's Avatar
Giga Universe
Working on a tool.
 
Join Date: Aug 2007
Location: South Africa
Age: 19
Gender: Male
Nature: Calm
Send a message via ICQ to Giga Universe Send a message via AIM to Giga Universe Send a message via Yahoo to Giga Universe Send a message via Skype™ to Giga Universe
Quote:
Originally Posted by 0m3GA ARS3NAL View Post
Ooh, Very Good...
Nice to see some new original content on here!
And yeah, you should make this for RSE also, the RSE hackers on here would love it!
Thanks for the praise. As I can see no one is going to vote for no RSE guide, I will get to work on the guide as soon as I can.

EDIT: I have completed and Uploaded the RSE Support.
__________________

Last edited by Giga Universe; February 4th, 2009 at 07:12 AM.
Reply With Quote
Reply
Quick Reply

Sponsored Links
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 02:48 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.