MewTracker Posted December 14, 2022 Share Posted December 14, 2022 (edited) I've made a simple tool to quickly check all 2^32 raid seeds in order to maximize drops. Currently I focused on Herba Mystica as it seems to be the most valuable drop. Turns out you can get as much as 10 herbs from a single raid! I found idea of raid seed injection interesting because it allows a single person with CFW to inject a seed (via PKHeX or cheats) and host that raid over and over for other people. You can e.g. help your friends to farm herbs quickly and make their shiny hunts much easier. Currently I generated seeds just for Herba Mystica but if anyone is interested in different drops and/or shiny Pokémon just let me know here or open an issue in my GitHub repository (https://github.com/MewTracker/sv-research). Herba Mystica (8, 9 and 10 drops): Scarlet Seeds / Violet Seeds Ability Patches (5 drops): Scarlet Seeds / Violet Seeds Shiny 6IV: Scarlet Seeds / Violet Seeds Credits: RaidCrawler - original drop generation logic PKHeX/pkNX - file formats, structures, etc. RaidCalc Current RaidCalc version: 6.14.0 (download link) 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 EDIT: Added seeds for Ability Patches EDIT2: Added 6IV shinies EDIT3: Added RaidCalc release info Edited yesterday at 06:09 AM by MewTracker 4 1 Link to comment Share on other sites More sharing options...
tiosilver23 Posted December 16, 2022 Share Posted December 16, 2022 (edited) Hi thanks for you job. I think that for using seeds you need to have an specific day seed (larger for example mine is 2B928D50C0D284EB), also an spcific date on your switch, I´ve been trying to get herba mistica rewards with your seeds but got nothing. Edited December 16, 2022 by tiosilver23 Link to comment Share on other sites More sharing options...
SkyLink98 Posted December 17, 2022 Share Posted December 17, 2022 10 hours ago, tiosilver23 said: Hi thanks for you job. I think that for using seeds you need to have an specific day seed (larger for example mine is 2B928D50C0D284EB), also an spcific date on your switch, I´ve been trying to get herba mistica rewards with your seeds but got nothing. You'll have to edit Raid-specific seeds, not day seeds Spoiler Link to comment Share on other sites More sharing options...
Grapey Posted December 17, 2022 Share Posted December 17, 2022 (edited) This is amazing, but I'm interested in finding shiny pokemon with 0 spatk ivs or 0 spd ivs in tera raids. Is it possible to caculate that on my own? If so, how do I do so? Also are there any tools that I can see what seed has what pokemon? Just like the one for raids in sword and shield. Edited December 17, 2022 by Grapey Link to comment Share on other sites More sharing options...
MewTracker Posted December 17, 2022 Author Share Posted December 17, 2022 12 hours ago, tiosilver23 said: Hi thanks for you job. I think that for using seeds you need to have an specific day seed (larger for example mine is 2B928D50C0D284EB), also an spcific date on your switch, I´ve been trying to get herba mistica rewards with your seeds but got nothing. Just like @SkyLink98 has mentioned, you don't need to change 64-bit daily seed. This seed is used only once to generate all raids for the day but once those raids are generated and saved to your savefile you can edit 32-bit Xoroshiro seeds safely and host the spoofed raid. The raids will not be regenerated if you restart the game as long as you are on the same day, so pay attention to your clock. To be honest I don't really understand why the game even saves that 64-bit daily seed in the savefile, it seems unnecessary. If anyone knows please let me know. Quote This is amazing, but I'm interested in finding shiny pokemon with 0 spatk ivs or 0 spd ivs in tera raids. Is it possible to caculate that on my own? If so, how do I do so? Also are there any tools that I can see what seed has what pokemon? Just like the one for raids in sword and shield. Whole tool is proof of concept quality right now, everything is either hardcoded or controlled by compile-time switches, so without messing with the code you get 0 flexibility. I will try to make things more flexible and user-friendly if I can find some extra free time. At the moment I have following filtering options in mind: Species IVs Ability Nature Any specific drop or multiple drops Also at the moment I focused exclusively on 6-star raids but 5-stars can be interesting as well, so it will be good to add that. Any other suggestions are welcome. 2 Link to comment Share on other sites More sharing options...
SkyLink98 Posted December 17, 2022 Share Posted December 17, 2022 For those interested thre's also my tool with a GUI filter, doesn't still have support for items but i'm slowly working on it https://github.com/Manu098vm/Tera-Finder 2 hours ago, MewTracker said: To be honest I don't really understand why the game even saves that 64-bit daily seed in the savefile, it seems unnecessary. At best of my knowledge, those are the main seeds from where every raid seed is derived from. Each raid seed should be a result of the xoroshiroed daily seed. I'm not certain of that, but from what I can tell the daily seed is given by Crypto RNG. 1 Link to comment Share on other sites More sharing options...
MewTracker Posted December 17, 2022 Author Share Posted December 17, 2022 17 minutes ago, SkyLink98 said: At best of my knowledge, those are the main seeds from where every raid seed is derived from. Each raid seed should be a result of the xoroshiroed daily seed. I'm not certain of that, but from what I can tell the daily seed is given by Crypto RNG. Yeah, that's true but this whole process is a one-time per day operation. Why save that daily seed if game never uses it again? It could be simply discarded. If you just reload the game on the same day, raids WILL NOT be regenerated from that seed because they are all generated and saved already inside raid block. That's why PKHeX injection works (you can also inject seed directly into memory while on title screen, that works as well). Nice tool! Ideally I wanted something like that but so far had no time to work on GUI stuff. Perhaps I will make a native library to consume from C# or just go Qt for GUI. I want to keep stuff in native code for performance reasons, especially for items. Exhaustive search for items is much more expensive than Pokemon search (around 3.5min vs 5s on 4 threads). Precomputing stuff into lookup tables helped a lot but I still have some space for optimization left. It's not a highest priority though as current speeds are acceptable. Original logic from RaidCrawler was way too slow for this kind of search because it was never designed for it. 1 Link to comment Share on other sites More sharing options...
Kingrychu109 Posted December 18, 2022 Share Posted December 18, 2022 How does this work? I don’t quite understand if someone could walk me through it or a video that be great cuz I really wanna farm hms but it’s sooo hard legitly. Thanks Link to comment Share on other sites More sharing options...
swingingr Posted December 18, 2022 Share Posted December 18, 2022 Is using cheats to change the raid seed safe on console? I have a hacked switch and would like to do this but don't want to get banned. Link to comment Share on other sites More sharing options...
SkyLink98 Posted December 18, 2022 Share Posted December 18, 2022 Given that no one could tell for sure if Nintendo will take measures in the future, inject legal-obtainable seeds is considered safe, yes. No one has ever been banned for that, nor in SV, nor in SwSh. 2 Link to comment Share on other sites More sharing options...
MewTracker Posted December 19, 2022 Author Share Posted December 19, 2022 (edited) RaidCalc v1.0.0 has been released! Now it's a real tool that everybody can just download and use via Qt-powered GUI. It sticks to core principles of the original, it's still a fast, multi-threaded seed finder implemented in native code to maximize performance. You can filter for basic Pokémon parameters, drops or both. I will continue to work on adding more filters but probably not before x-mas. As always all suggestions and feedback are welcome. Release link: https://github.com/MewTracker/sv-research/releases/tag/v1.0.0 (OBSOLETE! See first post for new link) Edited December 19, 2022 by MewTracker 1 1 Link to comment Share on other sites More sharing options...
AlejaKaiser Posted December 19, 2022 Share Posted December 19, 2022 It doesn't work for me. As you can see on the screenshot, the RaidCalc give me the seed and it's all correct (EC, PID, IVs...) but the specie and the items not. I try with the github's txt for violet seeds and didn't work either. Link to comment Share on other sites More sharing options...
MewTracker Posted December 19, 2022 Author Share Posted December 19, 2022 (edited) @AlejaKaiser Nice catch, thanks for reporting this. Originally tool was designed for 6 stars raids only and those don't need to roll for raid difficulty. This of course breaks with other raids. I fixed that, you can download new version here: (obsolete link removed). It also features some other improvements made recently. I don't want to release it as 1.1.0 yet as I have a few other todos on my list. Quote I try with the github's txt for violet seeds and didn't work either. Those are for 6 star raids and should be fine. I injected some of them and they worked in game (violet 1.1.0). If you are injecting via PKHeX remember to flip flag that controls raid type (6 star raids have a special status). Edited December 20, 2022 by MewTracker Link to comment Share on other sites More sharing options...
MewTracker Posted December 20, 2022 Author Share Posted December 20, 2022 I managed to finish v1.1.0, probably last release for a while. All known issues are resolved, all planned optimizations implemented Pokémon filtering takes just a few seconds and optimal rewards can be found in under a minute. That's for all possible 2^32 seeds! Future release will be probably v2 and will bring some new features. Release download link: https://github.com/MewTracker/sv-research/releases/tag/v1.1.0 1 Link to comment Share on other sites More sharing options...
El Basura Posted December 21, 2022 Share Posted December 21, 2022 Is it possible to add a feature to know what rewards in each raid seed? Link to comment Share on other sites More sharing options...
Mal3fiko Posted December 22, 2022 Share Posted December 22, 2022 trying to use the program : I select version ,stars,(threads what is it?) i insert my seed , choose pokemon,iv,item drop and search . Now copy the new seed in the raid and stop? nature,teratype is random? Link to comment Share on other sites More sharing options...
MewTracker Posted December 22, 2022 Author Share Posted December 22, 2022 @El Basura I added seed viewer in the newest preview build: You can find preview builds here: https://github.com/MewTracker/sv-research/actions (pick first one on the list and download RaidCalc artifact, unfortunately you must be logged into GitHub to access this) This version also includes a fix for critical bug for 1-5 star raids. Filtering was messed up and could result in wrong encounters being shown in the result table. @Mal3fiko Seed search can be parallelized to make it faster. Each thread can run on a different CPU core for better resource utilization. By default program will select maximum number of cores your CPU has minus one. This of course doesn't affect results. Tera type, nature, gender and ability filters are not available yet but they will be added soon. Seed viewer is already implemented and it can obtain all these information. Currently I'm working on integrating those filters into seed search engine without impacting performance too much. 2 Link to comment Share on other sites More sharing options...
CodysOutCruisin Posted December 23, 2022 Share Posted December 23, 2022 wow this a cool thread. ive just found this, and i know im asking a lot, but would it be possible for someone to teach me to use/do this? ive figured out how to use pkhex and edizon, but this is much more complex and i would love to learn this. thanks! Link to comment Share on other sites More sharing options...
MewTracker Posted December 24, 2022 Author Share Posted December 24, 2022 I've made another release: https://github.com/MewTracker/sv-research/releases/tag/v2.0.0-prerelease I still want to add some minor quality of life improvements (mostly UI), so this one is currently marked as "pre-release". I hope you will enjoy new features Quote Changes: Added seed viewer - you can open it from tool menu or double click any seed in result table to view its details Added tera type filtering Added ability filtering Added nature filtering Added gender filtering Added story progression selection (please don't select impossible combinations like 6 star raids and story progression < 4, program doesn't check for this yet) Added raid boost selection Reworked seed finder engine + tested for correctness against RaidCrawler @CodysOutCruisin Do you have any specific questions? You basically set all the criteria and program will find seeds for you. You can take any seed you want and inject it into any den via PKHeX's Raid Editor (check this post for a screenshot). You need to modify seed and "Content" (this one controls 1-5 vs 6 star raids) fields only. 1 Link to comment Share on other sites More sharing options...
Bakkyunkyun Posted December 24, 2022 Share Posted December 24, 2022 (edited) Given that the PID of the shiny raid mons are functions of the trainer's SID and TID, is it possible to modify the PID without rendering the Pokémon illegal? Edited February 27 by Bakkyunkyun overall readability Link to comment Share on other sites More sharing options...
Elexander Posted December 26, 2022 Share Posted December 26, 2022 (edited) Hello @MewTracker! Just wanted to say this is awesome and I am also fascinated with raid seed injection (i played around with it in sw/sh before it was patched over) I had a few nub questions since I am relearning it with sv. Is there a way to view your seed text files and see what pokemon each seed id is without having to view it individually in the viewer? I am interested in hosting the herba mystica seeds on my cfw scarlet copy for my non-cfw violet on my other switch (they all just seem to be Amoonguss, Cetitan, Vaporeon, Farigiraf, or Dondozo)? I am hoping for maybe a Ditto or something else or can you point me in the direction to read up on how to manipulate the drops on my own on other seeds. I cannot find any tutorials of anything on how to do this stuff. for pkhex though from your previous post I saw some screenies on how to inject the seeds to the raid tables... I took a single seed and put them in all of the 6star raids and got all black5 nods with Amoonguss dropping 10 herbas, lol... Thank you for your hard work! Edited December 26, 2022 by Elexander Link to comment Share on other sites More sharing options...
Elexander Posted December 26, 2022 Share Posted December 26, 2022 On 12/24/2022 at 8:58 AM, Bakkyunkyun said: I obtained a shiny Pokemon from a friend who caught it from a cave. Since the shininess of a Pokemon is related to the trainers’ SID and TID, is there a way to change the OT (SID and TID) without making the Pokemon illegal. Yes, you can use pkhex for that... Backup your game using checkpoint/jksv and put your sdcard into your pc. Run pkhex and open your save backup. Navigate to the box where that pokemon is and right click on it and select view. Once it is showing (you will see the sprite for it in the upper center area, select OT/Misc tab (fifth one) and change the OT, SID, and TID there. After you enter your information, right click over the pokemon and select set. Export the game save to the sdcard install the card into your switch, boot into cfw, restore the save with checkpoint/jksv, start up pokemon sv, and done... 1 Link to comment Share on other sites More sharing options...
Bakkyunkyun Posted December 26, 2022 Share Posted December 26, 2022 6 hours ago, Elexander said: Yes, you can use pkhex for that... Backup your game using checkpoint/jksv and put your sdcard into your pc. Run pkhex and open your save backup. Navigate to the box where that pokemon is and right click on it and select view. Once it is showing (you will see the sprite for it in the upper center area, select OT/Misc tab (fifth one) and change the OT, SID, and TID there. After you enter your information, right click over the pokemon and select set. Export the game save to the sdcard install the card into your switch, boot into cfw, restore the save with checkpoint/jksv, start up pokemon sv, and done... It’s from a raid, not the usual one, I knew how to edit the usual one but not the raids one, changing anything with it(even OT)will render it illegal Link to comment Share on other sites More sharing options...
MewTracker Posted December 26, 2022 Author Share Posted December 26, 2022 (edited) On 12/24/2022 at 3:58 PM, Bakkyunkyun said: I obtained a shiny Pokemon from a friend who caught it from a cave. Since the shininess of a Pokemon is related to the trainers’ SID and TID, is there a way to change the OT (SID and TID) without making the Pokemon illegal. @Bakkyunkyun Yes, this is possible. You have to edit SID/TID and perform a careful adjustment to Pokémon's PID value. Let's say my shiny 6IV Ditto has a PID value of 0xF213B956 and was caught by a trainer with SID=1234 and TID=567890. I changed SID to 1111 and TID to 222222. To make my Ditto legal: 1. Remember "Xor" value, PKHeX shows it when you hover over PID edit box (text will be "PSV: <number> | Xor = <number>"). For our example Ditto it's 1. 2. Compute packed TID/SID value: 1111222222 (decimal) = 0x423BE7CE (hex). Let's call high part TH=0x423B and low part TL=0xE7CE. 3. Compute 16 upper bits of Ditto's new PID value. The formula looks like this: TH ^ TL ^ Xor ^ PIDL (PIDL is low 16 bits of old PID). So we get 0x423B ^ 0xE7CE ^ 1 ^ 0xB956 = 0x1CA2 ( ^ denotes exclusive or) 4. Replace old high bits of PID with new ones so 0xF213B956 becomes 0x1CA2B956. Pokémon is now legal @Elexander I won't update seed files anymore because the program allows you to generate same information in few seconds. Result table will contain all basic Pokémon information, so it's easier for bulk viewing. Yes, all high-herba raids have a small subset of Pokémon in them. For 6 star raids they are listed here. Edited December 26, 2022 by MewTracker 2 Link to comment Share on other sites More sharing options...
Elexander Posted December 27, 2022 Share Posted December 27, 2022 8 hours ago, MewTracker said: @Elexander I won't update seed files anymore because the program allows you to generate same information in few seconds. Result table will contain all basic Pokémon information, so it's easier for bulk viewing. Yes, all high-herba raids have a small subset of Pokémon in them. For 6 star raids they are listed here. Thank you for your response, I really appreciate that! I will try and message you separately with more questions... Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now