• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Development: Weather Hacking for 3rd Generation

Should I make a RSE Guide to Weathers?

  • Yes! Make One!

    Votes: 6 75.0%
  • No. Don't make one.

    Votes: 2 25.0%

  • Total voters
    8
  • Poll closed .

Giga Universe

Working on a tool.
121
Posts
16
Years
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))

paletteview.jpg


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.

sandstorm.jpg


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:

sandstorminoamviewer.jpg


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

Mists.jpg


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)

toolbar.jpg


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:




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:

Giga Universe

Working on a tool.
121
Posts
16
Years
Screenshots

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:
224
Posts
16
Years
  • Seen Mar 8, 2016
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.
 

Giga Universe

Working on a tool.
121
Posts
16
Years
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.
 

Surf

...
1,196
Posts
15
Years
  • Age 29
  • Rust
  • Seen Jul 31, 2011
A very well thought out and well planned tutorial.
I will be shore too implement this in my hack.
Thank you
 

Giga Universe

Working on a tool.
121
Posts
16
Years
Sure thing

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:
Back
Top