Emulate a Switch Pro controller with an AVR Atmega that supports USB Client. Compatibiilty largely depends on the underlying LUFA support
Currently known to work on:
- Arduino Pro Micro
- Arduino Uno R3
- Teensy 2.0++
Automatically spams the A button forever. Great for duped item glitches.
- setup your game to where you are about to start pressing A
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the device
Automatically farms Watts
- walk to a den and throw an Wishing Piece in it
- use the date spoofing exploit until the den glows red (don't go in yet!)
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the device
Automatically farms Masterballs
- Enable the VS date spam exploit
- go into a Pokécenter right in front of the computer
- make sure you can play the lottery today (do not play yet)
- set you switch clock settigns to manual mode
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the device
Automatically farm Shiny fossil Pokemon
- open wildareabreeding.c in src folder
- change value at line 62
#define cycles
to correct amount and save
- fly to the daycare in the wild area
- your party needs to be full and in the first slot should be a Pokémon with the Flame Body ability
- selection in menu needs to hover the map button
- exit the menu
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the device
Because they want to be free.
- open the box you want to release
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the device
repeat-a just spams the A button. You can use it to farm Fossils at the Digging Duo and/or hunting Shiny Fossils at Route 6
- setup your game to where you are about to start pressing A
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the device
In case you see issues with controller conflicts while in docked mode, try using a USB-C to USB-A adapter in handheld mode. In dock mode, changes in the HDMI connection will briefly make the Switch not respond to incoming USB commands, skipping parts of the sequence. These changes may include turning off the TV, or switching the HDMI input. (Switching to the internal tuner will be OK, if this doesn't trigger a change in the HDMI input.)
This repository has been tested using an Arduino Pro Micro, an Arduino Uno R3 and Teensy++ 2.0.
download & install AVR CrossPack
clone this repo. LUFA has been included as a git submodule, so cloning the repo must be done with the --recursive flag.
git clone https://github.com/Gavitron/switch-automation-tools.git --recursive
compile everything
make
flash a hex file onto the pro micro
avrdude -patmega32u4 -cavr109 -P/dev/tty.usbmodem* -b57600 -D -Uflash:w:repeater.hex
Go to the Teensy website and download/install the Teensy Loader application. For Linux, follow their instructions for installing the GCC Compiler and Tools. For Windows, you will need the latest AVR toolchain. See this issue and this thread on GBAtemp for more information. (Note for Mac users - the AVR MacPack is now called AVR CrossPack. If that does not work, you can try installing avr-gcc
with brew
.)
LUFA has been included as a git submodule, so cloning the repo must be done with the --recursive flag.
Now you should be ready to rock. Open a terminal window in this directory, type make
, and hit enter to compile. If all goes well, the printout in the terminal will let you know it finished the build! Follow the directions on flashing wattsfarmer.hex
/masterballs.hex
/repeat-a.hex
/wildareabreeding.hex
/releasebox.hex
onto your Teensy, which can be found page where you downloaded the Teensy Loader application.
Shiny Quagsire for his Splatoon post printer and progmem for his original discovery. bertrandom for his snowball thrower and all the modifications. Jarlave for their base for this project Bowarcky for their updates to Jarlave