• Stars
    star
    117
  • Rank 300,044 (Top 6 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Play Nintendo Switch anyware

ns-remote

Play Nintendo Switch anyware

icon

Requirements

  • Nintendo Switch
  • Nintendo Switch Dock
  • HDMI Cable
  • Raspberry Pi 4 Model B
  • H2C-RPI-B01 or B101
  • USB 3.0 A to C Cable 1
  • Powered USB 3.0 Hub 1

Pi Setup

config.txt

Put these line into /boot/config.txt on Raspbian.

dtoverlay=dwc2
dtoverlay=tc358743

/etc/modules

Put these line into /etc/modules on Raspbian.

dwc2
libcomposite

H2C-RPI-B01 Board

Connect H2C-RPI-B01 board to Raspberry Pi and run the following command (every time before launch).

v4l2-ctl --set-edid=file=720P30EDID.txt
v4l2-ctl --set-dv-bt-timings query

See スマホでNintendo Switchのゲームをする - 犬アイコンのみっきー for more details.

Add Pro Controller USB Gadget with UAC Audio

Run procon_audio.sh with sudo (every time after reboot).

For more details, see links below

Build

go build

Launch

sudo ./ns-remote

Open http://raspberrypi.local:8000 on your smart phone.

Launch with specific device

Find your audio/video capture device with v4l2-ctl --list-devices and arecord -l. And specify the devices to an argument.

For example,

sudo ./ns-remote -audio hw:1,0 -video /dev/video1

Limitations

  • Wake-up is not supported yet
    • Must set up Powered-On Nintendo Switch in the Dock.

License

GPL v3

Footnotes

  1. https://mzyy94.com/blog/2020/04/17/nintendo-switch-audio-uac-gadget/#%E6%98%A0%E5%83%8F%E3%81%A8%E9%9F%B3%E5%A3%B0%E3%82%92webrtc 2

More Repositories

1

ARKit-Live2D

Swift
158
star
2

like2sushi

ついたーの⭐が❤️に変えられてしまったので🍣に戻すやつ
76
star
3

nscon

Nintendo Switch Controller simulator written in go
Go
61
star
4

jekyll-kieta-theme

Clean knowledge sharing jekyll theme
HTML
52
star
5

yokunaine

よくないね。
JavaScript
52
star
6

gocarplay

CarPlay dongle library written in Go.
Go
50
star
7

daikin-homekit

Control Daikin Air Conditioner via HomeKit
Rust
39
star
8

joycon-toolweb

Joy-Con and Pro Controller color modification tool
JavaScript
35
star
9

Slidoon

SplatoonっぽいKeynote theme
35
star
10

ECHONET-Lite-dissector

ECHONET Lite プロトコル解析器 for Wireshark
Lua
28
star
11

FlickInput

BLE keyboard for Japanese Kana typing
C++
26
star
12

QSV-on-Linux

Setup scripts of Intel QSV encoding for CentOS 7.1
Shell
14
star
13

InkArt

Display grayscale art on Inkplate!
Svelte
11
star
14

M5Dial-LVGL

LVGL porting for M5Dial
C
11
star
15

Chinachu-IPTV-API-addon

Additional API for Chinachu use from Simple IPTV Client
JavaScript
8
star
16

abema-anime4k

TypeScript
7
star
17

reTerminal-HDMI-input

HDMI input expansion module for reTerminal
Rust
6
star
18

tomorinao.pro

tomorinao.pro
JavaScript
6
star
19

poem

ポエム
HTML
5
star
20

libambxlight

Drivers and libraries for amBX Gaming Lights device on Linux
Shell
4
star
21

plugin.video.chinachu

Chinachu client add-on for Kodi
Python
3
star
22

bluebookmark

Private Bookmark Feed for Bluesky on Cloudflare Workers
TypeScript
3
star
23

MyCTF

created CTF problems
2
star
24

ebilive

Ebi movie live broadcasting and twitter bot
Ruby
2
star
25

buttonshim

Rust library and examples for the Pimoroni Button SHIM
Rust
2
star
26

mzyy94.github.io

いろいろ書く。
MDX
2
star
27

Capriccio

ちょちょちょ!ゆるゆり☆かぷりっちょ!!!
2
star
28

UnicodeEncode.popclipext

Unicode encode extension for PopClip.
Shell
1
star
29

st7735s-m5stickc

Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms
C
1
star