![]() |
[Ruby] Adding New Types
Note...
This tutorial will teach you how to add new types to your Ruby ROMs. Things You'll Need... - Hex Editor Steps... 0. Save a back-up copy of your ROM. Spoiler:
2. Go to 1485 in Unlz-GBA. Spoiler:
3. Save the image and open it to any image-editing programs (like MSPaint) and add your new type. Spoiler:
4. Import the new type image back. Spoiler:
6. Close Unlz-GBA and open your ROM with a Hex Editor. 7. Move the strength and weakness table, which is found in address 1F9720, to a new offset. Spoiler:
8. Repoint the strength and weakness table to your new offset. Spoiler:
9. Add new strength/weakness values on your new table. Spoiler:
10. Update your editing tool's .ini file. Spoiler:
11. Repoint the type names table. Spoiler:
12. Insert new type names. Spoiler:
Reference...
Spoiler:
Types' Hex Values Spoiler:
Damage Multiplier Spoiler:
Credits... - Coolboyman's Type Strengths and Weaknesses Table Thread. Resource...
|
I had no idea It's that easy XD
Thanks.. If I will ever hack Ruby again, I might use it! Do you have an idea where the Strength/Weakness is in FireRed? |
Quote:
Anyway... Quote:
Maybe I should include the addresses on the Reference section. |
In your tutorial did you get rid of cool and beauty?
|
Here's the number for Emerald for the type pictures: 2110
|
Quote:
|
Quote:
But I normally use Hex Workshop v6, since that's the hex editing program I first used when I started ROM hacking. |
YAPE can still open a ROM with mons that have new types- you just need to change the MaxTypeVal variable, which is defined in data\common\romdata.ini.
It's also worth noting that near the end of the 3rd gen type chart you'll find an FE FE 00 entry- this is important, as any match-ups after stop taking effect when Foresight or Odor Sleuth are used. |
DJG, just a suggestion, but use offsets with UnLz along with the numbers since not everyone is working on a vanilla rom. Some of the newcomers might not have a good grasp on UnLz's numbering system and won't know what to do when the image is in a different location. Other than that, nice tutorial.:)
Also, for anyone that needs the palettes, try using the logger that is built into VBA to find them. If that doesn't work, find them in the palette viewer and then use APE to search the rom. Edit: I wonder if we can add new types to FR by expanding the image and the table.... Might be a cool feature for the 649 patch once I stabilize it. |
Quote:
Also DJG, You might want to add how to change the types name in the game so it doesn't make a bunch of weird symbols there instead. |
Quote:
Forgot about that... >.> I'll add that part later this weekend. edit: done~ |
Quote:
|
Quote:
|
hey, ??? Type can be replaced with fairy type? A friend told me that it can't. :(
And I tried to repoint, but to verify message appeared when "Write to ROM" in unlz.gba :( LOL...When i save it in my pc it says it is 16 colours, but when i start editing it with same colours it says it is not 16 |
Quote:
Also, you are probably using a Win7 or Win8 version of MS Paint. Those versions remove the 16 color thingy-thingy of the image. Try using this instead -> http://www.mediafire.com/download/ki99ug9z8wbtu9y/mspaint.exe |
I cannot seem to find "1F96B0" using HxD in Win8.1.
You think I'm doing something wrong? https://drive.google.com/file/d/0B4JA1Kc3xlxiYjRoZWlDTVlTVEk/edit?usp=sharing What do I do in step 7? |
Quote:
|
Quote:
|
Oh and I dont see "001F96B0" I see a 001F950 and 001F96B8
Sapphire ROM |
Quote:
What about this one here? Spoiler:
|
1 Attachment(s)
Quote:
Sorry for the noobish questions and thanks again! I'm only trying to add the Fairy type in Sapphire and nothing else. Edit: I'm using HxD but I also have Hex Workshop Attachment 70580 |
Quote:
But if you want to use hex, then just convert 333 to hex, which would be 14D. :3 Quote:
You'll just have to swap the places of the first two values and the last two values. So, 1F96B0. The firs two values are [1F], and the last two would be [B0]. Just swap them, and then, you'll end up with B0961F, and then, add 08 at the end, and you'll have B0961F08. ;3 Quote:
|
Quote:
Thanks for ur help though! :) |
Quote:
|
How do I change an attack's type to be that of the new type I inserted? Also, can I search for the new type inserted on the Pokedex?
|
| All times are GMT -8. The time now is 2:54 AM. |
![]()
© 2002 - 2018 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 - 2016 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.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.