mirror of
https://github.com/rock88/moonlight-nx
synced 2024-11-22 03:23:07 +00:00
No description
.github/workflows | ||
curl/lib | ||
moonlight.xcodeproj | ||
src | ||
third_party | ||
.gitignore | ||
.gitmodules | ||
build.sh | ||
dbg.sh | ||
Dockerfile | ||
icon.jpg | ||
LICENSE | ||
Makefile | ||
README.md | ||
run.sh |
Moonlight-NX
Moonlight-NX is a port of Moonlight Game Streaming Project for Nintendo Switch.
Installing
- Download latest Moonlight-NX release or automatic build (require github login for artifacts link appear);
- Put moonlight.nro to sdcard:/switch/moonlight;
- Launch hbmenu over Title Redirection (for FULL RAM access);
- Launch moonlight.
Controls (Defaults)
- Move cursor with move finger on touch screen;
- Scroll with two fingers;
- L/R + tap on screen - Left/Right mouse click (allow to move cursor);
- ZL/ZR + tap on screen - Left/Right mouse click (without move cursor);
- L+R+Down - exit from stream (and close current app);
- L+R+Up - exit from stream (without closing current app);
- L+R+Left - Alt+Enter (for enable/disable fullscreen mode);
- L+R+Right - ESC key;
- ZL+ZR+Left - show video decoder/render stats;
- ZL+ZR+Right - hide video decoder/render stats;
- Minus+Plus - Guide button;
Build Moonlight-NX
Using Docker
- Create a working dir:
mkdir moonlight-nx-build; cd moonlight-nx-build
- Download a Dockerfile:
wget https://raw.githubusercontent.com/rock88/moonlight-nx/master/Dockerfile
- Build and run a development environment:
docker build . -t moonlight-nx-build
docker run -it moonlight-nx-build
- Clone the repo:
git clone --recursive https://github.com/rock88/moonlight-nx.git
- Run the build:
cd moonlight-nx; make; exit
- Copy the .nro out of the container:
// Find your container ID
docker ps -a
// Use container ID for copy .nro from container
docker cp CONTAINER_ID:moonlight-nx/moonlight.nro .
Build Manually
- Setup a Development Environment
- Install deps (
dkp-pacman
for Linux like arch,pacman
for MacOS) and update all to latest versions:
sudo (dkp-)pacman --noconfirm -S devkitA64 switch-tools libnx switch-ffmpeg switch-glad switch-glfw switch-jansson switch-libdrm_nouveau switch-libexpat switch-libopus switch-libvpx switch-mbedtls switch-mesa switch-zlib switch-ffmpeg
sudo (dkp-)pacman --noconfirm -Suy
- Clone the repo:
git clone --recursive https://github.com/rock88/moonlight-nx.git
- Run the build:
cd moonlight-nx; make -j
Assets
Icon - moonlight-stream project logo.