More actions
PyNXBot | |
---|---|
File:Pynxbotswitch.png | |
General | |
Author | wwwwwwzx |
Type | Hack Utilities |
Version | 2022 |
License | GPL-3.0 |
Last Updated | 2022/03/18 |
Links | |
Download | |
Website | |
Source | |
PyNXBot is a Python library for Pokemon Sword and Shield that offers multiple bots. However, please note that using it carries a risk of damaging or banning your Switch. Therefore, you should use it at your own risk, and I will not be held responsible for any such occurrences.
Features
SwSh:
- Check Dens info
- Check Wilds info
- Check Party Pokémon info
- Check Box Pokémon info
- Check Save info
Bots
SwSh:
- RaidFinder - useful to softreset Den Seed (Event Raids, Rare Beam Raids, perfect IVs, Shininess at low frames, etc.)
- StarsFinder - useful to softreset Den Species + Stars
- BerryPicker - useful to farm berries/apricorns from trees
- ASpammer - useful to spam A button during boring dialogues, can be used also to farm Items in Cram-o-Matic machine
- LegendaryFinder - useful to softreset Legendary (incoming...)
Requirements
- Python
- Install z3-solver and pyserial via pip if
ImportError
happens.pip install z3-solver
pip install pyserial
- Install z3-solver and pyserial via pip if
- CFW
- Internet Connection
- Sys-botbase Switch
- Ldn mitm Switch (SwSh only)
- Luxray Switch (only for some bots, SwSh only)
Usage
Use CaptureSight Switch/CheckDen script to check your Den id
Raid Finder:
- Connect your Switch to Internet
- Start sys-botbase and ldn_mitm
- Go to System Settings, check your Switch IP and write it inside the "config.json" file
- Start the game and set game text speed to normal
- Save in front of an empty Den and leave the game opened. You must have at least one Wishing Piece in your bag
- Modify research filters inside the script according to what is written below
- Run the script
- Util.STRINGS.natures[r.Nature] == 'Nature' (i.e. Util.STRINGS.natures[r.Nature] == 'Timid')
- r.Ability == 1/2/'H'
- r.ShinyType == 'None'/'Star'/'Square' (!= 'None' for both Square/Star shiny type)
- r.IVs == spread_name (spread_name = [x,x,x,x,x,x])
- Util.GenderSymbol[r.Gender] == '♂'/'♀'/'-'
Stars Finder:
- Connect your Switch to Internet
- Start sys-botbase, ldn_mitm and luxray (the yellow cursor of luxray has to be over "+3" button)
- Go to System Settings, check your Switch IP and write it inside "config.json" file
- Start the game, save in front of an Den whose beam has been generated through a Wishing Piece and leave the game opened
- Run the script
Stationary Finder:
- Connect your Switch to Interet
- Start sys-botbase and ldn_mitm
- Go to System Settings, check your Switch IP and write it inside the "config.json" file
- Save in front of a stationary and leave the game opened
- Modify research filters inside the script according to what is written below
- Run the script
- pk8.getAbilityString() == 1/2/'H'
- Util.STRINGS.natures[pk8.nature()] == 'Nature'
- pk8.shinyString() == 'None'/'Star'/'Square' (!= 'None' for both star/square)
- pk8.IVs == spread_name (spread_name = [x,x,x,x,x,x])
- Util.GenderSymbol[pk8.gender()] == '♂'/'♀'/'-'
GUI in Python: NXController
This is a port from C++, please check more details from NXController my prior project.
- Install the PyQt5 module via pip:
pip install pyqt5
- Connect your Switch to Internet or Arduino
- Go to System Settings, check your Switch IP
- Run the script. The Qt Gui will pop up.
You may change the button setting by editing the json file according to this website. Please note that only decimal numbers are allowed in json.
Features for fun
Use the binaries and structures from your browsers (iOS, Android): Binder. You may have to expose your switch to the internet.
Always Remember!
Sometimes button inputs of your joycons won't work. This because the fake controller isn't detached from your Switch. So, everytime you want to stop the bot, always press CTRL+C and follow the instructions. The bot will detach the fake controller and buttons will work correctly.
Credits:
- olliz0r for his great sys-botbase which allows us open sockets on the Nintendo Switch
- spacemeowx2 for his livesafer sys-module ldn_mitm. It avoids Switch to disconnect from wifi once SwSh game is opened
- 3096 for his great days advancer Switch tool Luxray
- Admiral-Fish for his great app RaidFinder always up to date
- zaksabeast for his great Switch tool CaptureSight (many addresses/checks are taken from there)
- Leanny for his great plugin PKHeX_Raid_Plugin (many addresses/checks are taken from there)
- Kurt for his great app SysBot.NET (many addresses/checks are taken from there)
- Real96 for working on the various bots
External links
- Github - https://github.com/wwwwwwzx/PyNXBot