Main RNG Setup


If you've made it this far, you're interested in RNG manipulation for Legendary and Mythical Pokemon that are associated with Main RNG. This page provides instructions for setting up the Main RNG Calculation Script, SysBot.NET, and PokeViewer. These programs help streamline the process of achieving desired results when using a CFW Switch console.

Important - From here it is assumed that you picked the correct RNG type for your desired encounter, and have followed all of the instruction instructions found on the main page of this guide. If you have not yet followed these instructions click here to go back.
Figure 1 - Main RNG Script Setup

main-rng-setup-1

Main RNG Calculation Script Setup:

This script is used to calculate results based off of a given seed, it can be also be used to track your current advances when attempting to hit a target frame. Go through the following setup instructions to ensure that it is working properly before continuing.

  1. Launch LINQPad, then change the Language in the header to C# Program, delete any extra code that appears after doing so.
  2. Paste the contents of the Main RNG Script into the main window of LINQPad, this is shown in the above image.
  3. Press F4 to open the Query Properties sub-window, then click the Add/Browse button to open file explorer.
  4. Navigate to the folder that contains the SysBot.NET download (this should be in a known location), then find and select PKHeX.Core.dll.
  5. Open the Namespace Imports tab, then type PKHeX.Core, then click the OK button to close the sub window.
  6. Enable compiler optimizations by pressing the button on the bottom-right of the main window, then run the script by pressing the button at the top of the window.

If done correctly, when pressing the button you should see a list of advances, this shows that the script is working as intended. Save the changes after confirming that the script is working properly.


Figure 2 - Script Modifications (Filters)

main-rng-setup-2

Script Modifications (Filters):

If you intend to search for specific IVs and Nature, you'll need to adjust the filters located towards the bottom of the script. By default, these filters are written as comments, meaning that any search will be conducted without applying any filters. To change the search filters, follow these steps:

  1. Scroll down to the bottom of the script, until you reach the section that describes the search filter functionality (see Figure 2).
  2. Remove the slashes // on the filters you wish to activate, or add them to filters you wish to deactivate.
  3. Change the nature value if you are filtering for a specific nature, and set your desired IV values if you are filtering for IVs (IV order is HP/ATK/DEF/SPA/SPD/SPE).
  4. Ensure that the gender filter is not active, as none of these legendary/mythical Pokemon have specific genders.

If you are searching for a rare target, such as a 6IV Pokemon with a specific nature, you may need to increase the search range. This can be done by scrolling to the top of the page and increasing the value inside the int maxAdvance field.


Important - Ensure that the script is working as intended and that you have a basic understanding of how to apply/remove search filters. You should be comfortable with using the script before continuing.
Figure 3 - SysBot Setup

main-rng-setup-3

SysBot Setup:

SysBot.NET is used to find and monitor your current seed in real time, it does not come configured for use with Legends: Arceus automatically. If this is your first time using the program, follow the configuration intructions.

Configuring SysBot.NET:
  1. Launch SysBot.exe, then close the program at least once to generate a file named config.json.
  2. Open config.json in a text editor (e.g notepad or notepad++), then change the mode to 3 and save the changes.
  3. Re-launch SysBot.exe, you should now see SysBot: Pokemon (LA) in the program header, this means the bot can now be used with Legends: Arceus.

Finding Your Current Seed:
  1. Open Sysbot.NET and click the Hub tab, then open the EncounterLA dropdown menu, then set DisplaySeedMode to Bit128, and set MonitorRefreshRate to 0.
  2. Head back to the Bots tab and select EncBotCopySeedLA in the dropdown menu, type the IP address of your console into the assigned field, then add the bot (port should not be changed).
  3. Open Legends: Arceus and enter the overworld, then press the Home 🏠︎ button to freeze the RNG state, then start the bot. You should now see your current seed inside the Logs tab, it will be automatically copied to the clipboard.

Monitoring Your Current Seed:
  1. In the Bots tab, select EncBotRNGMonitorLA from the dropdown menu, type the IP address of your console into the assigned field, then add the bot (port should not be changed).
  2. Open Legends: Arceus and enter the overworld, then press the Home 🏠︎ button to freeze the RNG state, then start the bot. You should now see your current seed is being monitored inside the Logs tab, it will be automatically copied to the clipboard.
  3. Unpause the game and ensure that the RNG state is being monitored as intended before continuing. If you wish to begin monitoring from advance 0, you will need to remove and re-add the bot or restart the program.

Once you have all everything configured properly inside the Hub tab, you can switch between EncBotCopySeed and EncBotRNGMonitor as often as you like without needing any further configuration.


Important - To refresh your seed, you'll need to restart the game and run EncBotCopySeedLA again until you find a desirable result. You should now have a general understanding of how to use the scripts and how to monitor your current seed using Moarencounterbots.
Figure 4 - PokeViewer Setup

spawner-rng-setup-1

PokeViewer Setup:

The main use of PokeViewer is to read the details of the Pokemon we are in battle with, this can then be compared with the Main RNG script to confirm that a target has been hit, and to help troubleshoot failed encounters.

  1. Launch PokeViewer.exe, then type the local IP address of your console into the IP field, this can be found by opening the Homebrew Menu, then pressing the Y button.
  2. Open the game and enter the overworld, then click the Connect on PokeViewer. You should now see that the program is reading the details of your save file.
  3. For Pokemon that engage in battle, navigate to the View tab, after clicking the View button, you should see the details of the Pokemon you are in battle with.
  4. For Pokemon that go directly into a box slot (i.e. Origin Legend and Arceus), navigate to the Box View tab to view the details of the Pokemon instead.

Great! You should now have a basic understanding of how to use each of the tools used for this type of RNG manipulation. Continue following the guide to see a worked example of how to perform each RNG from start to finish. The method used will vary slightly depending on your chosen target.
For Dialga/Palkia, click here!
For Arceus, click here!
For Giratina, click here!
For Regigigas, click here!