Jump to content

SWSH - Overworld8 PID type


Recommended Posts

For SWSH, any grass encounters, overworld encounters, roaming encounters or fishing encounters, has a known PID IV relationship, that you cannot just hack randomly. (There are a few exceptions, which you can read in Anubis's gist linked below)

Detection for that has been implemented into PKHeX. Legality report will show "Encounter Type PID mismatch".

Data that has a correlation presently: EC-PID-IV-Height-Weight (all chain generated from one encounter seed)

 

While it's possible to reverse the Encryption Constant to find the seed and then calculate what the results of that encounter would be, there's presently no public method to bruteforce the stats you want.

A wrote a tool to try to search for the stats a user may want, but do note it might take a while..
There's also no guarantee that every seed is legal (we don't know yet), but that is something we may find out in the future..
[I mentioned seed because the program just goes up by one seed per search]


----
More info if you want (tweet plus link to gist): https://twitter.com/Sibuna_Switch/status/1379326888674463750

PKHeX's implementation of legality checking (if you can read C#): https://github.com/kwsch/PKHeX/blob/master/PKHeX.Core/Legality/RNG/Overworld8RNG.cs

Tutorial to obtain legal overworld8 details: https://projectpokemon.org/home/tutorials/save-editing/using-pkhex/pid-mismatch-origin-game-swsh-r114/

 

Link to comment
Share on other sites

For the record, mons captured in Raids have the same correlation too, just that it starts with a longer seed.
(Hard to reverse a 32 bit EC to 64 bit Seed. so some computational bruteforcing required.)
It is unknown whether PKHeX would completely implement raid checking (in terms of the PID correlation) as well.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...