Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Advertise here

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
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.

Post Reply
 
Thread Tools
  #176    
Old May 24th, 2014, 08:00 AM
Spherical Ice's Avatar
Spherical Ice
Community Supporter
 
Join Date: Nov 2007
Location: UK
Send a message via Skype™ to Spherical Ice

Advertise here
In HxD, do Ctrl + G and enter only 250C04 to get to that location.
  #177    
Old May 24th, 2014, 08:08 AM
Ayonn-
 
Join Date: May 2014
Gender: Male
Quote:
Originally Posted by Spherical Ice View Post
In HxD, do Ctrl + G and enter only 250C04 to get to that location.

I know but when I do it , HxD doesn't find this line and shows me another line....
  #178    
Old May 24th, 2014, 05:59 PM
ShyRayq's Avatar
ShyRayq
Unprofessional Unprofessional
 
Join Date: Aug 2007
Gender: Male
Nature: Adamant
Quote:
Originally Posted by Ayonn- View Post
I know but when I do it , HxD doesn't find this line and shows me another line....
Did you tick the "from beginning" box? You probably kept it on the "From here" or something.
3DS Friend Code: 5069-3944-3902
IGN: Peter, Pokemon Y
Friend Safari: (Fighting) Throh, Meditite, Breloom
Live Pokedex Completed as of 02/03/14
Big thanks especially to DestinedJagold, Xerneas_X and Elements1

PM me if you want to trade, or add my FC.
  #179    
Old May 25th, 2014, 12:25 AM
Ayonn-
 
Join Date: May 2014
Gender: Male
Quote:
Originally Posted by ShyRayq View Post
Did you tick the "from beginning" box? You probably kept it on the "From here" or something.
Yeah I checked it...When I do research, HxD goes to a line near to the 250C04 line like 250C06 but he can't find 250C04.....
  #180    
Old May 25th, 2014, 10:51 PM
ShyRayq's Avatar
ShyRayq
Unprofessional Unprofessional
 
Join Date: Aug 2007
Gender: Male
Nature: Adamant
Quote:
Originally Posted by Ayonn- View Post
Yeah I checked it...When I do research, HxD goes to a line near to the 250C04 line like 250C06 but he can't find 250C04.....
..Then I don't see the problem. As long as the data you see in the picture is the same as the data you see in your rom, then there's nothing wrong.
3DS Friend Code: 5069-3944-3902
IGN: Peter, Pokemon Y
Friend Safari: (Fighting) Throh, Meditite, Breloom
Live Pokedex Completed as of 02/03/14
Big thanks especially to DestinedJagold, Xerneas_X and Elements1

PM me if you want to trade, or add my FC.
  #181    
Old May 26th, 2014, 12:17 PM
Ayonn-
 
Join Date: May 2014
Gender: Male
It's very strenge....I can probably not resolve this problem....
  #182    
Old May 26th, 2014, 02:41 PM
Spherical Ice's Avatar
Spherical Ice
Community Supporter
 
Join Date: Nov 2007
Location: UK
Send a message via Skype™ to Spherical Ice
If you're actually doing what you claim to be doing, HxD should look something like this:



The location of my cursor in that image, which is the black vertical bar, is where your cursor should be, and is the location of 0x250C04 in the ROM.
  #183    
Old May 29th, 2014, 05:16 AM
Ayonn-
 
Join Date: May 2014
Gender: Male
Quote:
Originally Posted by Spherical Ice View Post
If you're actually doing what you claim to be doing, HxD should look something like this:
The location of my cursor in that image, which is the black vertical bar, is where your cursor should be, and is the location of 0x250C04 in the ROM.
Thanks ! I couldn't find it with HxD's research function '
  #184    
Old June 3rd, 2014, 03:41 AM
Wajahat619's Avatar
Wajahat619
 
Join Date: Feb 2014
Gender: Male
Nature: Hasty
please add pictures to show steps
  #185    
Old August 7th, 2014, 02:44 AM
hackstar's Avatar
hackstar
Check it out!!
 
Join Date: Jan 2013
Location: Dhaka
Gender: Male
Nature: Bashful
Will it work for emerald?

And also please add pictures to show steps...
Do not waste your time by seeing my signature.
  #186    
Old August 16th, 2014, 10:31 AM
Sablrainy's Avatar
Sablrainy
 
Join Date: Aug 2014
Location: UK
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by Leafbarrett View Post
I got it to work by using a battle script instead (along with some more lucky stumbling). I do need help on some things though, mind if I PM you with some questions?

Also, I think this really needs to be in the OP.
If you're going to be giving the moves descriptions (so basically always), you need to move and repoint the table of move description pointers. If you don't, then when you change the description pointers for new moves, it will start to overwrite the Nature names (which follow immediately after the move descriptions), even if it's a preexisting description (i.e. giving Flare Blitz Double-Edge's description). Trust me, I learned this the hard way... Some of what I'm typing here (like explaining pointers) is explained in the OP already, but just to be safe, I'm adding them.
Spoiler:


Step 1:
Spoiler:
In a hex editor, go to:
Emerald: 61C524
Ruby: 3C09D8
Sapphire: 3C0A30
Fire Red: 4886E8
Leaf Green: 487FC4
and copy 1416 bytes of data.




Step 2:
Spoiler:
Paste that to free space. Make sure to write down the new offset! (Notepad is your friend.) Also make sure you're overwriting bytes, not inserting them! If you're not overwriting bytes, then you'll change the size of the rom. That does bad things. (Admittedly, I'm not entirely sure what those bad things are, and I've been able to run the rom after changing the file size, but I know it messes some programs up, and you don't want to take the risk anyhow.) If there's no Paste Write/Overwrite option, then select 1416 bytes at the free space address, delete them, then paste the description table. If for some reason you insert instead of overwriting, just go to the end of the rom and delete the excess bytes (the end of the rom should be 00FFFFFF).




Step 3:
Spoiler:
Once you've pasted that to free space, you need to make sure there's space for all the other pointers - don't want it overwriting your new stuff either, do we?
There are a couple of ways to reserve the space for future pointers. What I personally do is replace FFs with 00s. Select 628 bytes after the end of the new table and fill it with 00s. The table should be 2044 bytes in length overall. If your hex editor doesn't have a Fill function, copy 628 bytes from the beginning and paste it at the end instead (remember, overwrite, don't insert).



Step 4:
Spoiler:
Now we have to tell the game to look at your new description table instead of the old one. We do this by replacing the pointers directed at the old table with ones aimed at the new table.
A pointer, in short, is an address that points to something else in the game's data. It's used for almost every list or table, as well as being used in animations, move effects, scripts... You name it, the game has a pointer in it or to it.
In Emerald, we want to replace pointers to 61C524 with ones to our new offset (E4AA68 for me). For other games, just use the description pointer from the list above instead of 61C524.
However! Pointers don't store addresses normally. Pointers look like this:
ZZ YY XX 08
where XXYYZZ is the address.

So instead of searching for 61C524, we want to search:
24 C5 61 08
and replace it with the new pointer. In my case:
68 AA E4 08




Step 5:
Spoiler:
Now we need to tell PGE to look at the new description list. Before doing this, I suggest making a backup of PGE's files, just in case.

In the folder with PGE (wherever you happened to put it), open the "ini" folder and open "roms.ini" (if it doesn't have a default opening program, use Notepad). In that file, find the game you're hacking (make sure you have this right) and find "AttackDescriptionTable".
The way I do it is I search the rom name, then search "description".
Change it from its original value to your new address (don't use the pointer notation, just a normal address). Make sure not to delete the H before the address - that's what tells PGE that it's looking at a hex value, not a string.




And there you go.
If you've already messed up the natures, don't worry, it's an easy fix. Follow the tutorial, but instead of just copying 1416 bytes in step 1, copy an additional 4 for every new move you gave a description, and in step 3, fill in 4 fewer bytes for every new move with a description. As I said above, the table should be 2044 bytes in length when you're done.
After that:

Step 1:
Spoiler:
Open a fresh ROM in a hex editor. Go to the original move description table, select 1416 bytes, and move your cursor onto the very next byte. This is the start of the natures. In Emerald, it's at address 61CAAC. (I don't know what it is in the other games, sorry.) Once there, select and copy a number of bytes equal to the newly described moves times 4 (at max, 628 bytes). The nature names take up 162 bytes, and the table of pointers for the natures (which follows immediately after) takes up 100 bytes; selecting 264 bytes will get you both (there's 2 bytes extra between the names and the table).



Step 2:
Spoiler:
Go to the nature names' address in your hack and paste overwrite the data fix.

!!WARNING!!
MAKE SURE TO PASTE OVERWRITE!
I don't know what the repercussions of inserting at the end of the ROM are, because that just pushes empty space. I DO know exactly what will happen if you try inserting here. Your game will completely cease all function because it will throw off every pointer aimed past this address, breaking everything.

Hey there. I followed your tutorial, but now (in G3T, as PGE has been taken down) how do I repoint all the moves to their new offsets? I'm really confused :/
  #187    
Old August 16th, 2014, 02:46 PM
Miikroniix's Avatar
Miikroniix
Hopeful Hacker
 
Join Date: Jul 2012
Location: Colorado Springs
Gender: Male
Hey can someone PLEEEASE send me a message saying they have PGE!!! I need it to finish this tutorial! if you have it, can you message me, and then I'll give you my email to send it to.

Oh just kidding I found using G3T works too!
---Miikroniix---

Last edited by Christos; August 18th, 2014 at 03:23 AM.
  #188    
Old August 17th, 2014, 01:55 AM
Sablrainy's Avatar
Sablrainy
 
Join Date: Aug 2014
Location: UK
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by Sablrainy View Post
Hey there. I followed your tutorial, but now (in G3T, as PGE has been taken down) how do I repoint all the moves to their new offsets? I'm really confused :/
Nevermind, it works now. However, how do I use the 00s?
  #189    
Old September 3rd, 2014, 05:55 PM
Broly9990's Avatar
Broly9990
 
Join Date: Aug 2014
Gender: Male
Can someone make a tutorial of this but for MrDollSteak's Rombase added to it already? It would be VERY helpful.
  #190    
Old September 3rd, 2014, 05:58 PM
MrDollSteak's Avatar
MrDollSteak
Formerly known as 11bayerf1
 
Join Date: Dec 2008
Location: Hong Kong
Age: 19
Gender: Male
Quote:
Originally Posted by Broly9990 View Post
Can someone make a tutorial of this but for MrDollSteak's Rombase added to it already? It would be VERY helpful.
The whole point of my rombase is that you don't need to do this...
It's already extended to the max number of moves. If you read the 'howtosetupcustommoves.txt'
it will tell you, funnily enough, how to set up custom moves.
  #191    
Old 1 Week Ago, 03:08 AM
Lance32497
LanceKoijer of Pokemon_Addicts
 
Join Date: Aug 2014
Location: Criscanto town-Ginoa Region xD
Gender: Male
Nature: Adamant
Will you please fix the screenshots?

hehe, The screenshot looks like this:
  #192    
Old 1 Week Ago, 03:13 AM
Lance32497
LanceKoijer of Pokemon_Addicts
 
Join Date: Aug 2014
Location: Criscanto town-Ginoa Region xD
Gender: Male
Nature: Adamant


Hey guys, I followed the steps correctly though the image is uhhhmmm..... nothing...

So How to fix that? I Dont know how, In PGE, The U-TURN name is fine, in SUMMARY CHECK as well, but inside the battle, thats it! A bla buh blaH thingy appeared... So Could anyone help me?
  #193    
Old 1 Week Ago, 03:41 AM
HidoranBlaze's Avatar
HidoranBlaze
 
Join Date: Apr 2013
Age: 18
Gender: Male
Quote:
Originally Posted by Lance32497 View Post


Hey guys, I followed the steps correctly though the image is uhhhmmm..... nothing...

So How to fix that? I Dont know how, In PGE, The U-TURN name is fine, in SUMMARY CHECK as well, but inside the battle, thats it! A bla buh blaH thingy appeared... So Could anyone help me?
Well you obviously did something wrong. Try again? Or walk us through what you did.
  #194    
Old 1 Week Ago, 03:47 AM
Lance32497
LanceKoijer of Pokemon_Addicts
 
Join Date: Aug 2014
Location: Criscanto town-Ginoa Region xD
Gender: Male
Nature: Adamant
Oh I fixed it! It is in 0x00308a4 hehe, but this is my problem, The new move is supposed to be NORMAL, but in GAME it is DRAGON. How to fix that?
  #195    
Old 1 Week Ago, 03:48 AM
Lance32497
LanceKoijer of Pokemon_Addicts
 
Join Date: Aug 2014
Location: Criscanto town-Ginoa Region xD
Gender: Male
Nature: Adamant
Quote:
Originally Posted by HidoranBlaze View Post
Well you obviously did something wrong. Try again? Or walk us through what you did.
Oh! Sorry for that! Oh I fixed it! It is in 0x00308a4 hehe, but this is my problem, The new move is supposed to be NORMAL, but in GAME it is DRAGON. How to fix that?
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 02:51 AM.

About Us
© 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.

Copyright
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. 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.