Run the script a few times to check if the process occurs smoothly. If the pressing of buttons is not in sync in your system, you can always change the time intervals in which the buttons are pressed in functions.py The Space Bar is pressed at all times while the above functions are called to speedup the process. The keyboard.py repeats the above process until a shiny is encountered. The functions in functions.py include resetting the game, encountering the pokemon, and checking if it is a shiny by comparing the screenshots. You save file must be in the position specified in the position above to encounter the pokemon. You need the terminal as the active window and set it up such that when you press Ctrl + Tab, the emulator is opened. Running the keyboard.py script is almost same to the screenshooter.py. If you think it should do, continue with the next section, or else just adjust the coordinates and repeat. If you include the background, the day and night cycles in the background can trigger a false positive)Ĭheck your saved image, 'reference.png' (or whatever it is called) and decide if it is good enough. (Note: Try and make the area of the box as small as possible, such that the background is not included and also only the section of the Pokemon is cropped which is necessary for you to identify a shiny.
Set up the four coordinates accordingly, you can do this by a trial and error method (by running the script, seeing the saved image and adjusting the four values), or by taking a screenshot of the screen, and seeing where the coordinates of the pixels lie. For this to happen accurately for your system and its monitor resolution, you need to alter line 19 of the code, where the coordinates for the encounter screen are specified. The script first presses Ctrl + Tab and then takes a screenshot of the encounter screen.Īfter that if crops out the image of the pokemon from the encounter screen. Then you run the script screenshooter.py from that terminal. The emulator must be running the game and the encounter screen should be displayed on it. Screenshooter.py: Taking a screenshot of an encounterįor this script to run, you need to open a DS emulator and a terminal. The following steps are required for you to set up the Shiny Hunter: Use the Combee directory as reference to the following scripts. By doing so, if you press A immediately after soft resetting, the encounter is triggered (check the GIF) Setting up the script Save the game in that position and you're all set. In the game, you need to be standing in such a position that pressing A will trigger the encounter. (These are the only keys you need to run the script successfully) Position in the game The keyboard controls of the emulator is configured in the following manner: For Pokemon DPPt, this includes legendary pokemon, trees slathered with honey, starters, Drifloon on the Windworks and other such encounters. This version of the script only works for static encounters, i.e., you need to press A to trigger the encounter. If they do match, then it is not a shiny and the process loops again. If the two encounters do not match, then it is a shiny. The encountered screenshot is compared with a saved encounter screenshot of the Pokemon.
It triggers an encounter and takes a screenshot of the encountered Pokemon. In this case, a randomizer Nuzlocke is a variation because you are doing both a Nuzlocke challenge and modifying it farther by randomizing it.The script controls your keyboard and presses keys in intervals to automate the shiny hunting process. Since challenges like these are self policed, there’s no one to tell you what makes it a proper challenge or not. There are variations on these rules, such as allowing yourself a single resurrection or keeping ‘shiny’ Pokémon, but these are entirely up to you. Naming them helps focus on that individual. Players typically gloss over the loss of a Pokémon with so many to choose from. The goal is to make it feel like something meaningful happened when a Pokémon dies. This definitely makes the game a lot more challenging, but also a lot more fun. Just think of it like Minecraft Hard Mode.