Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Play Nintendo Switch anyware

License

NotificationsYou must be signed in to change notification settings

mzyy94/ns-remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play Nintendo Switch anyware

icon

Requirements

  • Nintendo Switch
  • Nintendo Switch Dock
  • HDMI Cable
  • Raspberry Pi 4 Model B
  • H2C-RPI-B01 orB101
  • USB 3.0 A to C Cable1
  • Powered USB 3.0 Hub1

Pi Setup

config.txt

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

dtoverlay=dwc2dtoverlay=tc358743

/etc/modules

Put these line into /etc/modules on Raspbian.

dwc2libcomposite

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.txtv4l2-ctl --set-dv-bt-timings query

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

Add Pro Controller USB Gadget with UAC Audio

Runprocon_audio.sh withsudo (every time after reboot).

For more details, see links below

Build

go build

Launch

sudo ./ns-remote

Openhttp://raspberrypi.local:8000 on your smart phone.

Launch with specific device

Find your audio/video capture device withv4l2-ctl --list-devices andarecord -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%92webrtc2


[8]ページ先頭

©2009-2025 Movatter.jp