Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SkyoKen/RasCon_NS
Connect to Nintendo Switch over Bluetooth, emulate amiibo and use script from the web.(蓝牙连接Nintendo Switch,并可通过网页控制和使用脚本与amiibo)
https://github.com/SkyoKen/RasCon_NS
amiibo emulate-controller joycon nintendo-switch pokemon-swordshield raspberrypi
Last synced: 3 months ago
JSON representation
Connect to Nintendo Switch over Bluetooth, emulate amiibo and use script from the web.(蓝牙连接Nintendo Switch,并可通过网页控制和使用脚本与amiibo)
- Host: GitHub
- URL: https://github.com/SkyoKen/RasCon_NS
- Owner: SkyoKen
- License: gpl-3.0
- Created: 2020-03-14T14:00:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-11T13:31:15.000Z (about 4 years ago)
- Last Synced: 2024-05-08T01:34:07.826Z (6 months ago)
- Topics: amiibo, emulate-controller, joycon, nintendo-switch, pokemon-swordshield, raspberrypi
- Language: Python
- Homepage:
- Size: 638 KB
- Stars: 166
- Watchers: 7
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - SkyoKen/RasCon_NS - Connect to Nintendo Switch over Bluetooth, emulate amiibo and use script from the web.(蓝牙连接Nintendo Switch,并可通过网页控制和使用脚本与amiibo) (Python)
README
## 界面
## 运行环境
* python 3.7.3
* bluetoothd 5.50
* apache2 2.4.38
* flask 1.0.2raspi3b+(rasbian)下成功运行
## 初次使用
1.需要将joycontrol项目的joycontrol文件夹复制到该项目目录下
```
sudo git clone https://github.com/SkyoKen/RasCon_NS.gitsudo git clone https://github.com/mart1nro/joycontrol.git
sudo cp -r joycontrol/joycontrol RasCon_NS/
```
2.安装所需要的库
```
sudo apt install python3-dbus libhidapi-hidraw0 apache2sudo pip3 install dbus-python flask hid aioconsole crc8
```## 快速运行
1.打开终端,运行命令
```
sudo python3 web.py
```
2.浏览器打开 树莓派ip地址:5000 (网页操作界面)3.switch的手柄界面,进入手柄搜索模式
4.打开另一个终端,运行命令
```
sudo python3 run.py
```
5.连接上后,即可用网页进行操作## 参考用脚本
https://github.com/SkyoKen/RasCon_NS/releases## 可能遇到的问题
### Q:找不到hci0
A:确认hci0是否存在,运行命令`hciconfig`(无法正常使用的话换个系统也许就好了,我树莓派用ubuntu18.04和ubuntu mate都无法启动hci0
## 参考
万恶之源 [Switch-Fightstick](https://github.com/progmem/Switch-Fightstick)蓝牙模拟ns手柄(可模拟amiibo) [joycontrol](https://github.com/mart1nro/joycontrol)
蓝牙模拟ns手柄实现剑盾自动化 [poke_auto_joy](https://github.com/xxwsL/poke_auto_joy)
小白也能写的自动化脚本 [EasyCon(伊机控)](https://github.com/nukieberry/PokemonTycoon)