Skip to content

MewTracker/sv-research

Repository files navigation

SV Research

License: GPL v3

This repository contains notes and tools developed during my research of Pokémon Scarlet/Violet games for Nintendo Switch.

1. Raids and Herba Mystica farming (legacy)

Herba Mystica are considered one of most useful items for shiny hunting as they can be used to make Sparkling Power Level 3 sandwitches. They can be obtained as random drops from 5 and 6 star raids. Raids in SV are generated from 32-bit PRNG seeds (Xoroshiro128+, standard for Pokémon games). With only 2^32 possible values it's feasible to check them all for optimal drops. Those seeds can later be injected via PKHeX or cheat codes. CFW is required for those operations but raids can be hosted, so other people without hacked consoles can benefit from them as well.

RaidCalc is a simple tool to find such optimal seeds. It's built on top of logic obtained from RaidCrawler and PKHeX. Original code was written in C#, wasn't optimized and had no multithreading. RaidCalc is basically a C++ port with extra optimizations and multithreading. Single-threaded performance has been improved by ~92%. Total improvement (with threads) brought execution time down from 2.5 hours to just over 3 minutes on my test machine.

All seeds are for 6 star raids (maximum story progression required):

2. RaidCalc

Easy to use seed finder:

  • blazing fast performance - much faster than any PKHeX-based utility
  • filtering by Pokémon parameters (species, shininess, IV ranges, tera type, ability, nature, gender)
  • filtering by raid reward count (you can filter for specific rewards)
  • filtering by raid difficulty
  • configurable game version, story progression and raid boost
  • seed viewer

Screenshot