Skip to content

Random tools and writings about the Pokémon Scarlet & Violet games I do during my free time.

Notifications You must be signed in to change notification settings

Manu098vm/SVResearches

Repository files navigation

About

Collection of various script, tools and random writings about my early researches on the Scarlet/Violet games. Please, do note that they're not meant to be polished products for users. If you're interested in my work and you want to discuss it, feel free to reach me on my Discord server.

Credits

PKHeX with all its devs and contributors for the awesome freamwork.

Pokefinder with all its devs and contributors for being an important and learningful resource.

pkNX with all its devs and contributors for the TeraRaidRipper.

SVSaveBlockDecryptor

This is a very simple program that calls the PKHeX.Core functionalities to dump the save file blocks. Notably, the tool will extract Pokémons from Boxes, Party and what I beleive being the Overworld block. The tool also creates a Raid block dump. From there we can analyze the raids seeds.

To use, drag & drop a Scarlet or Violet save file into the exe.

SVXoroCalc

This program implements the Xoroshiro used by the Scarlet/Violet games for Raids. While we can not predict advances for legit RNG manipulations (thanks Anubis for the confirmation!), the tool still offer some interesting functionalities:

  • Calculates the resulting raid Pokémon EC/PID/Stats given a Seed
  • Compute a seed that will result in a Shiny Pokémon
  • Check legality of Pokémon caught in raids

To use, double click the exe and follow the instructions.

N.B: The SVXoroCalc features as well as a lot of other functionalities have been implemented in Tera-Finder.

SVRaidParser

This is an adaptation for my needs of the pkNX TeraRaidRipper functionalities. This creates human-readable JSON data from Event Raid flatbuffers. This is used to build the JSONs in the PPorg Event Gallery. Event Raid data can be obtained by extracting the binaries from the save file with SVSaveBlockDecryptor or from BCAT.

To use, drag & drop the "files" folder into the exe. The folder must contain the "fixed_reward_item_array", "lottery_reward_item_array", "raid_enemy_array", "raid_priority_array" files.

SVOutbreakParser

Similarly to the SVRaidParser, this is an adaptation for my needs of the pkNX MassOutbreakRipper functionalities. This creates human-readable JSON data from Event Outbreak flatbuffers. This is used to build the JSONs in the PPorg Event Gallery. Event Outbreak data can be obtained by extracting the binaries from the save file with SVSaveBlockDecryptor or from BCAT.

To use, drag & drop the "files" folder into the exe. The folder must contain the "pokedata_array", "zone_main_array", "zone_su1_array", "zone_su2_array" files.

Random writings

Exactly what the name tells. Collection of short writings I noted during my early tests/experiments/researches.

Ram Pointers

Txt file with some RAM Pointers I found. They can be used with sys-botbase or noexes clients.

  • Pointer to the Party
  • Pointer to Box 1 Slot 1
  • Pointer to the Raids block
  • Pointer to MyStatus
  • Pointers to event Flatbuffers

Shiny Cheats

Txt file with some cheats that should work for both Scarlet and Violet v1.0.1.

While writing these cheats was never one of my goals, I ended up with this while working on understanding the game code and studying the RNG mechanics.

[Always PidType2 (Everything Always Shiny)] -> This will completely disable the Shiny Lock by forcing the PidType4 condition, and forces the "Always Shiny" condition (PidType 2) for all the Pokémon generated by the game.

[Force reroll for Xoroshiro-PidType3 (Raids Always Shiny)] -> This will disable the "rolls++" statement during the Xoroshiro-PidType3 (Random Shiny) code block. This makes the PID to be rerolled until it gets Shiny.

Do note that those cheats will make Raid Pokemon to be correctly seen as illegal by some legality checker programs.

N.B: Updates for new game versions for those cheats are available in the GBATemp thread.

About

Random tools and writings about the Pokémon Scarlet & Violet games I do during my free time.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages