Jump to content

Recommended Posts

Posted

2011-04-04_17-59-48.960_top.png2011-04-04_18-11-37.784_top.png2011-04-04_18-29-11.702_top.png2011-04-04_20-05-06.163_top.png
Images above are from XY, ORAS, SM and USUM, respectively.

Disclaimer
This guide requires a hacked 3DS, and will use Luma3DS LayeredFS to achieve the desired result.
For non-shiny locked entries, this shiny patch will shinify wild encounters, static encounters, gifts, fishing, eggs when received from breeder, and wonder card redemptions.

Note: this ROM patch may affect some event redemptions that were not meant to be shiny. Wonder cards that have preset/fixed PID may get their PID overwritten and end up being shiny. Those specific cases will be illegal. (I experienced this with Ash-Greninja)

Unlike shiny patches of previous generation games, these Pokémon retain their shininess even when transferred to games that do not have the shiny patch.

While PK3DS does have a shiny rate editor, this guide is for people who somehow can't get it to work (maybe computer compatibility issues, unable to extract all the necessary files from the games, etc), or simply doesn't like to use it.

We will not be providing any exefs.bin or code.bin, as linking to or providing data files extracted from ROMs are against our forum's rules.
However do not fear, as the steps regarding how to extract them from your own purchases, are included in this guide.
 

Additional Misc. Info
While it is possible to compile the edited code.bin into a .3DS/.cia, that is not the focus of this tutorial.
Do note that if you're running a version of the game that is updated (i.e you have the update patch installed), you'll have to dump the exefs.bin of the update patch instead. Instructions for this step is included below as well.
If you have the update patch installed, and you use the exefs.bin/code.bin from the main game (instead of the one in the update patch), it will definitely result in a crash when the game is being loaded.


Additionally, this patch will not work on any entries that's shiny locked, and it also won't work on entries that use a different method of generating their PIDs, such as non-legends/non-UB wild Wormhole encounters, Partner Cap Pikachu, Poké Pelago etc.


The 4 easy steps:
1. Extracting the exefs.bin
2. Decompressing exefs.bin to obtain the decompressed code.bin
3. Performing the edit
4. Pasting the code.bin into Luma

 

Extracting the exefs.bin

  Reveal hidden contents


Decompressing exefs.bin to obtain the decompressed code.bin

  Reveal hidden contents


Performing the edit

  Reveal hidden contents


Pasting the code.bin into Luma

  Reveal hidden contents


Congratulations, shinies await you!
2011-04-04_20-04-36.971_top.png2011-04-04_16-25-45.668_top.png

 

Original source of this method is from our one and only, @SciresM.
This method was adopted from his tweet back during Pokémon Sun & Moon's release.
It took me a while, but I've come to realize the leading bytes were exactly the same across the 3DS Pokémon games, making this method work for Gen 6 and 7 3DS games.
sciresm shiny.PNG

 

 

POST TUTORIAL EDIT:
It appears extracting the .code.bin directly from the exefs folder in GodMode9 works, bypassing the entire requirement of ctrtools


View full tutorial

  • Like 3
  • Thanks 1
  • 9 months later...
  • 4 months later...
  • 2 weeks later...
Posted
  On 10/4/2020 at 2:46 AM, Ayush Deshmukh said:

I dont have a 3ds I'm using citra is there any other way I can run this.

Expand  

There are ways to extract 3ds files purely on PC, but it is unpredictable.
Additionally, I do not know if/how overlays work for Citra.

You've gotta cobble your own information together:
If you can get decrypted file extraction working and overlays working on your own, all you gotta do is do the hex editing in this guide.

  • 2 months later...
Posted

This originally gave me a batch error, but I figured out the issue by clearing the update and extra data inside of the system settings app. I believe this may be a common issue, so I am submitting this comment.

Posted
  On 12/23/2020 at 1:18 AM, iColix said:

This originally gave me a batch error, but I figured out the issue by clearing the update and extra data inside of the system settings app. I believe this may be a common issue, so I am submitting this comment.

Expand  

Batch error? What you talking about. Luma error? PK3DS error? 

  • 1 month later...
Posted

I have this working but special encounter Pokémon are showing up as normal instead of shiny. Is there anything else that can be changed to have those encounters be 100% shiny as well? Verified with snorlax encounter and the Lucario. 

Posted
  On 1/30/2021 at 3:21 AM, Lunarchaos42 said:

I have this working but special encounter Pokémon are showing up as normal instead of shiny. Is there anything else that can be changed to have those encounters be 100% shiny as well? Verified with snorlax encounter and the Lucario. 

Expand  

erm.. because those static encounters you tested are shiny locked?

Like I said in the disclaimer:

  Quote

For non-shiny locked entries, this shiny patch will shinify wild encounters, static encounters, gifts, fishing, eggs when received from breeder, and wonder card redemptions.

Expand  

You can view the status of XY static encounters and gifts here: https://projectpokemon.org/home/gallery/album/901-x-static-encounter-and-gift-tables/

 

  • Like 1
Posted
  On 1/30/2021 at 3:32 AM, theSLAYER said:

erm.. because those static encounters you tested are shiny locked?

Like I said in the disclaimer:

You can view the status of XY static encounters and gifts here: https://projectpokemon.org/home/gallery/album/901-x-static-encounter-and-gift-tables/

 

Expand  

Ah ok. Thanks for the clarification! I’m really new to all of this and was basing it off of shiny locked status I saw in a different article.

  • 5 months later...
Posted (edited)

How do you find the code values then? can you give me a solution?

Edited by fart
Posted
  On 7/31/2021 at 12:00 PM, fart said:

How do you find the code values then? can you give me a solution?

Expand  

if you read the tutorial, it'll tell you how to find the address of the value you need to edit.

From there, what value to write in, you have to use trial and error. You have to figure it out yourself. I can't give a solution.
This guide is meant for 100% and nothing else.

I presume it's the same location, but I can't be sure.
In other words, if you want something that isn't 100%, you won't get help from here.

Posted

this is hax values percent right?

 

i dont understand it wont tell me how to find it where is it?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...