SwSh Item RNG Guide (CFW)


This guide will cover the process of RNG abusing the Cram-o-matic and the PC lottery function in Sword/Shield using the SWSH Overworld RNG Generator by LegoFigure11. Item RNG abuse is best utilized to help players obtain rare/valuable items such as rare Pokeballs!

From here this guide assumes you are using a CFW Switch console running Atmosphere.

Click here if you are using a unmodified Switch console!
Requirements:
You will need:

Installation Instructions:
  1. Extract SWSH_OWRNG_Generator_GUI.zip into an empty folder on your PC in a known location.
  2. Extract the contents of both ldn-mitm.zip & Luxray.zip into the same folder as the above.
  3. You should now see an atmosphere & switch folder inside this folder. Drag these folders to the root of your Switch SD card.
  4. If done correctly your SD card should look similar to this image. Plug the SD card back into the console and reboot SysCFW.
Note - .NET 6.0 is a requirement to use the SWSH OWRNG Generator GUI. Ensure that this has been properly installed before continuing.

Important Information


SWSH_OWRNG_Generator_GUI can be used to track the current RNG state, and the amount of advancements that have passed since connecting to the program. Frames will advance naturally depending on your location and the amount of NPCs that are present. Since both machines are located in-doors, these are the only variables that we need to consider.

Different in-game actions can also be used to advance the RNG state with varying influence, the most useful actions can be found in the table directly below.

Type of action Description of action Adv. influence
Player Movement Moving the player using the control stick, then letting the control stick fall back into it's resting state. This Includes whistle and bike bell.

1-3 Advancements per input.
Menu Close Opening and closing the pause menu using the X button.

Varying depending on location and environment, predictable (explained below).
NPC Activation Standing near an NPC to make them notice the player. Moving away from an NPC will cause them to "deactivate". Useful for covering short distances quickly.

~2500 advancements per minute.
Animations/Motions Having your Pokémon animate on the summary screen or party menu by clicking in the L3 button, or by using the Skip feature.

+1 advancement per animation on the individual Pokémon summary screen.

+1 advancement per button input on the party summary screen.

The Menu Close Advances Viewer window can be used to predict the amount of advancements that will pass from closing the pause menu. Closing the pause menu also has an added effect of freezing the RNG state in the area for a a few seconds, this makes it a great option for closing in on any target frames as it provides a lot more consistency in doing so.

For Loto-ID and the Cram-o-Matic the NPC Counts are likely as follows:

  • Wedgehurst Pokemon Center = 5 NPCs
  • Isle of Armor Dojo = 21 NPCs with completed story

By knowing how many advancements will occur from closing the pause menu, and having a window of silence to interact with the machine, we can near guarantee to hit any potential target frames.

When using the Consider menu close feature of the Menu Close Advances Viewer, the result output will be for the frame you should close the pause menu on, not the frame of which you should interact with the machine!

Manually Calculating NPC Count:
  1. Press the X button on your controller to open the pause menu, then disconnect and reconnect to the main window. This will ensure the number inside the Curr. Adv remains at 0.
  2. Click the Menu Close Advances Viewer button at the top of the main window to open a smaller window. Your seeds should be visible in the correct fields.
  3. Close the pause menu then quickly re-open it, take note of the number of advancements that have occurred from doing so.
  4. Enter your number of advancements into the Init Adv. field. If the above steps were closely followed, this number should be 0.
  5. Type 0 into the NPCs field and search. Gradually increase this number by 1 until you find a match. Repeat this step a few times to ensure the advancement predictions are accurate.

With all the required reading out of the way, let's get into it!

Cram-o-matic RNG abuse


The goal is to interact with the Cram-o-matic on the calculated target frame given to us by the Cram-o-matic window of the generator. We will be using the advancement methods listed in the table above to hit the target frame.

In this example we will be aiming for a 5 Level Balls. You can be more specific with the filters if you wish, such as filtering for a specific rare items.

Figure 1 - Tool setup


Awesome, everything looks good! We can see our current seeds on the Cram-o-matic tab and have our filters set properly. Time to stand near the Cram-o-matic!

Figure 2 - Game setup


Setup (Cram-o-Matic):
  1. Progress to the point of having access to the Cram-o-Matic
  2. Have at least 4 apricorns in your inventory to throw into the machine.
  3. Stand near to the Cram-o-Matic, press the X button to pause the game.
  4. Connect to SWSH_OWRNG_Generator_GUI at this point.
  5. Open the Cram-o-Matic tab, then set the filters & NPC count.
  6. Search for a desirable target frame.

If your results are not desirable, repeat the following:

  1. Disconnect your Switch from the tool.
  2. Restart your game and enter the overworld.
  3. Pause the game, then reconnect your Switch to the tool.
  4. Search again, do this until you have desirable results.

Figure 3 - Target found!


We found a target frame! 5 Level Balls on advance 795.


Advancing Towards The Target


The Cram-o-Matic window of SWSH_OWRNG_Generator_GUI displays the target on frame 795, we do not need to account for any delay. This means we will aim to interact with the Cram-o-matic on frame 795.

Earlier we calculated that there are 21 NPCs in the area, we need this information to accurately predict the amount of advancements that will occur from closing the pause menu.

Hitting Your Target Frame:
  • Advance towards your target frame using any method listed inside the table above
  • Once you are within a few hundred frames of your target, stand within distance of the Cram-o-matic so that you can immediately interact with it in a single A press.
  • Pause the game using the X button, then disconnect and reconnect to the main window, then search for your target again in the Cram-o-matic window.
Tip - From this point it's recommended to only use menu close & amimation advancements as they advance in small increments, making them easy to keep track of.
  • Open the Cram-o-Matic window, enter your target frame into the + field and the amount of NPCs into the NPCs field, then click search.
Tip - If you are unable to find your target frame in the search results, this means the target cannot be hit based on your seed. Use animations to advance the RNG state slightly, then close and re-open the Cram-o-matic window and search for your target frame again. Repeat this process until your target frame is visible.
  • Open and close the pause menu until closing the menu a single time lands onto your target frame, according to the Cram-o-Matic window prediction. Pay attention to the Curr. Adv field of the main window to avoid overshooting your target.
  • Close the pause menu and quickly interact with the Cram-o-matic, if you believe you hit your target frame, feed it the appropriate apricorns to claim your reward.

You can be creative with the methods you use to advance the RNG state. Menu close prediction is not necessary but will make for a much easier time hitting target frames and is extremely helpful in areas of the game where the RNG advances at a quick pace.


Figure 4/5 - Result Found!




The result matches the output of the generator, mission accomplished! We got 5 Level Balls from the Scam-o... er... Cram-o-matic on our first attempt!

That's all there is to RNG abusing the Cram-o-matic!


Rotom Lottery RNG Abuse


The goal is to interact with the Rotom PC in the Pokecenter on the calculated target frame given to us by the Loto-ID window of the generator. We will be using the advancement methods listed in the table above to hit the target frame and the target will be to obtain a Master Ball.

You can search for multiple TIDs by opening Loto-ID.txt in a text editor and inputting a list of TIDs to read from, this is helpful if you have Pokemon with varying TIDs in storage.Loto-ID.txt is found in the same directory as SWSH_OWRNG_Generator_GUI.

Figure 1 - Tool setup


Awesome, everything looks good! We can see our current seeds on the Loto-ID tab and have our filters set properly. Time to stand near the PC in Wedgehurst PokeCenter!

Figure 2 - Game setup


Setup (Rotom Lottery):
  1. Stand near to the Rotom PC in any Pokemon Center (Wedgehurst recommended)
  2. Press the X button to pause the game.
  3. Connect to SWSH_OWRNG_Generator_GUI at this point.
  4. Open the Loto-ID tab, then set the filters & NPC count.
  5. Search for a desirable target frame.

If your results are not desirable, repeat the following:

  1. Disconnect your Switch from the tool.
  2. Restart your game and enter the overworld.
  3. Pause the game, then reconnect your Switch to the tool.
  4. Search again, do this until you have desirable results.

Figure 3 - Target found!


We found a target frame! A Master Ball on advance 806-808. This will be the frame we close the pause menu and interact with the PC.


Advancing Towards The Target


The Loto-ID window of SWSH_OWRNG_Generator_GUI displays the target on frame 806-808, we do not need to account for any delay. This means we will aim to interact with the PC on frame 806-808.

Earlier we calculated that there are 7 NPCs in the area, we need this information to accurately predict the amount of advancements that will occur from closing the pause menu.

Hitting Your Target Frame:
  • Advance towards your target frame using any method listed inside the table above
  • Once you are within a few hundred frames of your target, stand within distance of the PC so that you can immediately interact with it in a single A press.
  • Pause the game using the X button, then disconnect and reconnect to the main window, then search for your target again in the Loto-ID window.
Tip - From this point it's recommended to only use menu close & amimation advancements as they advance in small increments, making them easy to keep track of.
  • Open the Loto-ID window, enter your target frame into the + field and the amount of NPCs into the NPCs field, then click search.
Tip - If you are unable to find your target frame in the search results, this means the target cannot be hit based on your seed. Use animations to advance the RNG state slightly, then close and re-open the Cram-o-matic window and search for your target frame again. Repeat this process until your target frame is visible.
  • Open and close the pause menu until closing the menu a single time lands onto your target frame, according to the Loto-ID window prediction. Pay attention to the Curr. Adv field of the main window to avoid overshooting your target.
  • Close the pause menu and quickly interact with the PC, if you believe you hit your target frame, click the lottery option to claim your reward.

You can be creative with the methods you use to advance the RNG state. Menu close prediction is not necessary but will make for a much easier time hitting target frames and is extremely helpful in areas of the game where the RNG advances at a quick pace.


Figure 4/5 - Result Found!




The result matches the output of the generator, mission accomplished!

That's all there is to RNG abusing the PC lottery function!