The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other IPS/Patch to catch trainer Pokemon (Emerald)?

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old October 19th, 2016 (5:57 PM).
RCPTMOE RCPTMOE is offline
 
Join Date: Oct 2016
Gender: Male
Posts: 12
G'day, I already posted about this in the quick help thread but I'm not sure that was the correct place to do so as I am new here, and if that is the case, I apologize. Anyway, I'm doing some work with Pokemon Emerald involving Team Rocket and I have a simple request... is there an IPS patch for Pokemon Emerald where it's just normal, clean, uneditted Pokemon Emerald, but with it changed so that you can catch trainers' Pokemon? The Gameshark and Action Replay hacks I found through youtube and google aren't cutting it. I'd think this is a very simple request for people versed in ROM hacking, and may already be a thing on here somewhere, but if someone could link me to an IPS patch of that (for EMERALD, again), or inform me of some way to permanently modify a ROM so that trainer Pokemon are catchable, I'd very, very much appreciate it. Thank you.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old October 19th, 2016 (9:01 PM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
you can find the equivalent byte offsets from this for emerald and then also the the bugfixing that it references
i mean i can do it for you it takes like 3 seconds but it's 1:00 am here and i can't use a computer so in like ~16 hours? that's sleep+school+club meeting after school so we'll see how it goes
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old October 19th, 2016 (9:10 PM).
RCPTMOE RCPTMOE is offline
 
Join Date: Oct 2016
Gender: Male
Posts: 12
If you'd be willing to make an Emerald IPS patch for me like that I'd be really grateful. I'm willing to wait until tomorrow if need be. If I were, for example, to patch Emerald with this, and then patch it again with a bigger ROM hack (such as mega emerald for example), it would retain the trainer catch change, correct? I'm pretty sure it would because I once patched a ROM with something that changed the trainer sprites and them again with a bigger ROM hack and it kept the sprite change, but I just want to ask someone who knows to make sure, because I may wanna combine a bigger ROM hack patch with a patch for a trainer sprite change as well at this this "catch trainer's pokemon" patch.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old October 20th, 2016 (12:18 AM).
DizzyEgg's Avatar
DizzyEgg DizzyEgg is offline
 
Join Date: Feb 2014
Location: Poland
Age: 25
Gender: Male
Nature: Quiet
Posts: 794
Quote:
Originally Posted by RCPTMOE View Post
If you'd be willing to make an Emerald IPS patch for me like that I'd be really grateful. I'm willing to wait until tomorrow if need be. If I were, for example, to patch Emerald with this, and then patch it again with a bigger ROM hack (such as mega emerald for example), it would retain the trainer catch change, correct? I'm pretty sure it would because I once patched a ROM with something that changed the trainer sprites and them again with a bigger ROM hack and it kept the sprite change, but I just want to ask someone who knows to make sure, because I may wanna combine a bigger ROM hack patch with a patch for a trainer sprite change as well at this this "catch trainer's pokemon" patch.
Patches are cancer, please stay away from them.

As for your question, I'm not sure how 'advanced' in hacking you are, BUT, it seems to be just one check if the current battle is a trainer one at 0805631E. That's where you should hook(assuming you know why). It should be also noted that after a successful catch, the battle will immediately end(unless you edit the battlescript for throwing a pokeball).
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old October 20th, 2016 (1:26 AM).
RCPTMOE RCPTMOE is offline
 
Join Date: Oct 2016
Gender: Male
Posts: 12
I was pretty sure the battle would end provided I caught the Pokemon, but I don't have any experience whatsoever in hacking like you speak of (aside from tool assisted modifications like map, move, type editting, etc. etc.), and because of that, I'd still very much like BluRose to do a patch for me (as I am quite comfortable with them).
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old October 20th, 2016 (4:58 AM).
Green Pidgeot's Avatar
Green Pidgeot Green Pidgeot is offline
 
Join Date: Oct 2016
Posts: 65
All they're asking you to do is change a few numbers. It's nt 'hacking.' You just need to delete some thngs from the scripts.

It might be worth trying, aftiier backing up, then ask them if it goes wrong.
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old October 20th, 2016 (6:36 AM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Quote:
Originally Posted by Green Pidgeot View Post
All they're asking you to do is change a few numbers. It's nt 'hacking.' You just need to delete some thngs from the scripts.

It might be worth trying, aftiier backing up, then ask them if it goes wrong.
a.) it's totally hacking
b.) the addresses are for fire red and not emerald

what simply needs to be done is finding the function in emerald which is edited in fire red.
so looking for like the first 6 bytes of this fire red function in emerald should find the address we need for it~

the asm routine for fixing the pokédex also needs to be edited to have the right addresses. still the same process, though
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old October 20th, 2016 (7:26 AM). Edited October 20th, 2016 by Green Pidgeot.
Green Pidgeot's Avatar
Green Pidgeot Green Pidgeot is offline
 
Join Date: Oct 2016
Posts: 65
I meant its not learning a new form of hacking. If they have the offset, they won't also have to learn hex editing.

Most of that was probablyy directed at them though.

I was just encouraging them to try it, como norma general.
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old October 20th, 2016 (11:41 AM).
RCPTMOE RCPTMOE is offline
 
Join Date: Oct 2016
Gender: Male
Posts: 12
Well I've never done anything like this before, and I'd have no idea what to look for in the coding or what would need to be changed or why, but if I had a program to look and edit the code or something and you told me exactly what needs to be changed and what to, I could try doing it myself.
Reply With Quote
  #10   Link to this post, but load the entire thread.  
Old October 20th, 2016 (1:41 PM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Quote:
Originally Posted by RCPTMOE View Post
Well I've never done anything like this before, and I'd have no idea what to look for in the coding or what would need to be changed or why, but if I had a program to look and edit the code or something and you told me exactly what needs to be changed and what to, I could try doing it myself.
so in a hex editor (i personally use HxD):
at address 56328: you can try E0 E0 but I honestly don't know if it works, the structure is un poco diferente
at address 6B436: 00 00 00 00 00

this has a pokedex bug to it if it all works, i can get to that later, it's more important to check if this even works
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #11   Link to this post, but load the entire thread.  
Old October 20th, 2016 (2:00 PM).
RCPTMOE RCPTMOE is offline
 
Join Date: Oct 2016
Gender: Male
Posts: 12
Ok, I got hex editor and I openned the ROM in it and the code showed up, but when I searched for the addresses you told me of, it didn't find them. How do I locate the addresses you mentioned?
Reply With Quote
  #12   Link to this post, but load the entire thread.  
Old October 20th, 2016 (2:12 PM).
RCPTMOE RCPTMOE is offline
 
Join Date: Oct 2016
Gender: Male
Posts: 12
Ok, I found offset 00563280, and I changed the values in column 00 and 01 to E0, and I found offset 006B4360 and changed the values in columns 00, 01, 02, 03, and 04 to be 00, saved the ROM, and started it up and the trainer blocked the ball. Did I do something wrong?
Reply With Quote
  #13   Link to this post, but load the entire thread.  
Old October 20th, 2016 (3:20 PM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Quote:
Originally Posted by RCPTMOE View Post
Ok, I found offset 00563280, and I changed the values in column 00 and 01 to E0, and I found offset 006B4360 and changed the values in columns 00, 01, 02, 03, and 04 to be 00, saved the ROM, and started it up and the trainer blocked the ball. Did I do something wrong?
yes
00056328
0006B436
everything else was perfectly fine. i strongly suggest you revert your changes. hxd likely generate a ".bak" file and does so every time you save; this is a backup
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #14   Link to this post, but load the entire thread.  
Old October 20th, 2016 (3:25 PM).
RCPTMOE RCPTMOE is offline
 
Join Date: Oct 2016
Gender: Male
Posts: 12
Ok, I reverted the changes, but I don't see those offsets anywhere... the last digit in them is always 0, the format seems to be 00XXXXX0, do I need to change a setting or something?
Reply With Quote
  #15   Link to this post, but load the entire thread.  
Old October 20th, 2016 (4:00 PM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Quote:
Originally Posted by RCPTMOE View Post
Ok, I reverted the changes, but I don't see those offsets anywhere... the last digit in them is always 0, the format seems to be 00XXXXX0, do I need to change a setting or something?
OHHHH
ok so the format shown is always gonna be like this:

Code:
________ 1 2 3 4 5 6 7 8 9 A B C D E F
00000000
00000010
00000020 _ _ _ _ _ _ _ _ _ _ _ X _ _ _
00000030
00000040
so the address "2C" is the row "00000020" under column "C"
the "X" in the code thing marks address 0x2C
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #16   Link to this post, but load the entire thread.  
Old October 20th, 2016 (4:01 PM).
RCPTMOE RCPTMOE is offline
 
Join Date: Oct 2016
Gender: Male
Posts: 12
Oh wait, I'm stupid, I just realized the row are for the single digit numbers. So I should do E0 in 00056328 and 00056329 and 00 in 0006B436-0006B43A?
Reply With Quote
  #17   Link to this post, but load the entire thread.  
Old October 20th, 2016 (4:02 PM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Quote:
Originally Posted by RCPTMOE View Post
Oh wait, I'm stupid, I just realized the row are for the single digit numbers. So I should do E0 in 00056328 and 00056329 and 00 in 0006B436-0006B43A?
yes, this is that, mmhmm
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #18   Link to this post, but load the entire thread.  
Old October 20th, 2016 (4:14 PM).
RCPTMOE RCPTMOE is offline
 
Join Date: Oct 2016
Gender: Male
Posts: 12
It worked! Thank you very very much, and there doesn't seem to be any Pokedex and/or bad egg problems, if any issues pop up I'll be sure to mention them here, but it looks like it all works fine! Thank you again very much for your time.
Reply With Quote
  #19   Link to this post, but load the entire thread.  
Old October 20th, 2016 (5:58 PM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Quote:
Originally Posted by RCPTMOE View Post
It worked! Thank you very very much, and there doesn't seem to be any Pokedex and/or bad egg problems, if any issues pop up I'll be sure to mention them here, but it looks like it all works fine! Thank you again very much for your time.
De nada, amigo~
Does the PokéDex still come up and register the Pokémon just finely?
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #20   Link to this post, but load the entire thread.  
Old October 20th, 2016 (7:06 PM).
RCPTMOE RCPTMOE is offline
 
Join Date: Oct 2016
Gender: Male
Posts: 12
Yep, it does.
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

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

Forum Jump


All times are GMT -8. The time now is 9:21 AM.