PKHeX/Tests/PKHeX.Core.Tests/Legality/Legal/Generation 8
Kurt c6a961bda6
Add Xoroshiro128Plus Solver, SW/SH Raid verification (#3961)
Due to how the game generates the Pokémon data, the first two (or three) RNG calls are used to set the 32-bit `EncryptionConstant` and `PID`. With 2x 32-bit and 1x 64-bit values, we can algorithmically reverse the movement & manipulation of bits to recover the initial seed. Notably, certain bits of the initial state are not captured by our first two (or three) outputs, so we must brute-force guess at the initial state, and verify the RNG's output yields the expected values.

**With the ability for real-time Xoroshiro128+ seed reversal, we can now validate RNG correlations for SW/SH raid encounters natively within the program.** For now, the legality fail error message is extremely vague and any validated seed won't be "remembered" for the Legality Parse like other RNG methods. These seeds are 64bit, while every other "remembered" `PID/IV` seed-info is 32-bit.

Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
2023-08-14 20:01:38 -07:00
..
0083-01 - Egg - 219CD3317179 legal traded HT memory no HT.pk8 Evotree: Evolution Traversal Enhancements (#3936) 2023-07-05 21:14:09 -07:00
105-01 - Test - 6E112B435BBC alolan evolution.pk8 Re-add unavailable split evolution cases 2020-10-24 21:32:48 -07:00
196 - Espeon - 84F87989E70A ability capsule evolved single ability.pk8 Rename SetTradeMemoryHT, add SetTradeMemoryHT8 2021-08-29 13:15:45 -07:00
0292 - ヌケニン - A7DA5B63395C raid shedinja.pk8 Add Xoroshiro128Plus Solver, SW/SH Raid verification (#3961) 2023-08-14 20:01:38 -07:00
454 - Toxicroak - 74B8A6FA55D1 underlevel area6-3badge.pb8 Update bdsp underground table for area6 2022-02-26 11:54:24 -08:00
481 ★ - Mesprit - 1FE0DA9D86A4 roamer8 force shiny.pb8 Revise roamer shiny xor checking 2021-11-25 08:32:36 -08:00
0761 - Bounsweet - FE9A9FC902E6 raid downlevel antishiny.pk8 Add Xoroshiro128Plus Solver, SW/SH Raid verification (#3961) 2023-08-14 20:01:38 -07:00
780 - Sen-Long - EE8A09A6B32F LinkTrade Egg with HT memory.pk8 Skip SWSH untraded link trade eggs if trade-memory 2019-12-09 16:23:29 -08:00