Moonlight-Switch
Moonlight port for Nintendo Switch
File Explorer
Download Latest Version (.zip)- upscaling.agent.md
- all-builds.yml
- android-apk.yml
- docker-image.yml
- linux.yml
- macos.yml
- psvita.yml
- release.yml
- windows.yml
- Project_Default.xml
- .gitignore
- .name
- editor.xml
- misc.xml
- modules.xml
- Moonlight-Switch2.iml
- vcs.xml
- c_cpp_properties.json
- settings.json
- click_gesture_recognizer.hpp
- fingers_gesture_recognizer.hpp
- two_finger_scroll_recognizer.hpp
- boolean_slider_cell.hpp
- about_tab.hpp
- add_host_tab.hpp
- app_cell.hpp
- app_list_view.hpp
- button_selecting_dialog.hpp
- favorite_tab.hpp
- forwarder_maker.hpp
- grid_view.hpp
- helper.hpp
- host_tab.hpp
- ingame_overlay_view.hpp
- keyboard_view.hpp
- link_cell.hpp
- loading_overlay.hpp
- main_activity.hpp
- main_args.hpp
- main_tabs_view.hpp
- mapping_layout_editor.hpp
- settings_tab.hpp
- streaming_input_overlay.hpp
- streaming_view.hpp
- Android.mk
- CMakeLists.txt
- Android.mk
- Application.mk
- CMakeLists.txt
- moonlight
- SDL
- vcpkg.json
- DemoActivity.java
- BorealisHandler.java
- HIDDevice.java
- HIDDeviceBLESteamController.java
- HIDDeviceManager.java
- HIDDeviceUSB.java
- PlatformUtils.java
- SDL.java
- SDLActivity.java
- SDLAudioManager.java
- SDLControllerManager.java
- SDLDummyEdit.java
- SDLInputConnection.java
- SDLSensorManager.java
- SDLSurface.java
- libEGL_angle.so
- libGLESv2_angle.so
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.webp
- ic_launcher_background.webp
- ic_launcher_foreground.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_background.webp
- ic_launcher_foreground.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_background.webp
- ic_launcher_foreground.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_background.webp
- ic_launcher_foreground.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_background.webp
- ic_launcher_foreground.webp
- ic_launcher_round.webp
- colors.xml
- strings.xml
- styles.xml
- AndroidManifest.xml
- ic_launcher-playstore.png
- build.gradle
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- .gitignore
- build.gradle
- gradle.properties
- gradlew
- gradlew.bat
- README.md
- README_ZH.md
- settings.gradle
- AppShortcuts.strings
- AppShortcuts.strings
- AppShortcuts.strings
- AppShortcuts.strings
- Contents.json
- moonlight 1.png
- moonlight 2.png
- moonlight.png
- Contents.json
- Frame 5@3x.png
- Contents.json
- Contents.json
- Frame 5@3x.png
- Contents.json
- Contents.json
- Frame 5@3x.png
- Contents.json
- Contents.json
- Contents.json
- Frame 5.png
- Frame 5@2x.png
- Contents.json
- Contents.json
- Frame 5.png
- Frame 5@2x.png
- Contents.json
- Contents.json
- Frame 5.png
- Frame 5@2x.png
- Contents.json
- Contents.json
- Contents.json
- topshelf-wide@1.png
- topshelf-wide@2.png
- Contents.json
- topshelf@1.png
- topshelf@2.png
- Contents.json
- Contents.json
- Frame 9.png
- Contents.json
- Contents.json
- Frame 9 (4).png
- Contents.json
- Contents.json
- Frame 9 (3).png
- Contents.json
- Contents.json
- Contents.json
- moonlight_96.svg
- Contents.json
- Splash.storyboard
- AppShortcuts.strings
- AppShortcuts.strings
- AppShortcuts.strings
- AppShortcuts.strings
- AppShortcuts.strings
- Splash.storyboard
- AppShortcuts.strings
- AppShortcuts.strings
- apple_display.mm
- apple_mdns.mm
- iOSBundleInfo.plist.in
- Localizable.xcstrings
- MoonlightShortcuts.swift
- Add-to-Steam.desktop
- AddToSteam.sh
- AppRun
- debian-control.in
- moonlight-switch.spec.in
- package-info.env.in
- ru.xitrix.Moonlight.desktop
- ru.xitrix.Moonlight.metainfo.xml.in
- 256x256 1.png
- 256x256.png
- 256x256@0.5x.png
- 256x256@16w.png
- 256x256@2x 1.png
- 256x256@2x.png
- 256x256@32w 1.png
- 256x256@32w.png
- 256x256@4x.png
- 256x256@64w.png
- Contents.json
- Contents.json
- libGLESv2.suprx
- libgpu_es4_ext.suprx
- libIMGEGL.suprx
- bg.png
- startup.png
- template.xml
- template.xml.format
- icon0.png
- resource.rc.in
- windows.manifest.in
- CryptoManager.hpp
- Data.cpp
- Data.hpp
- MbedTLSCryptoManager.cpp
- MbedTLSCryptoManager.hpp
- OpenSSLCryptoManager.cpp
- OpenSSLCryptoManager.hpp
- click_gesture_recognizer.cpp
- fingers_gesture_recognizer.cpp
- two_finger_scroll_recognizer.cpp
- english_layout.cpp
- full_layout.cpp
- keyboard_locales.cpp
- numpad_layout.cpp
- client.cpp
- client.h
- errors.h
- http.cpp
- http.h
- xml.cpp
- xml.h
- AudrenAudioRenderer.cpp
- AudrenAudioRenderer.hpp
- DebugFileRecorderAudioRenderer.cpp
- DebugFileRecorderAudioRenderer.hpp
- IAudioRenderer.hpp
- SDLAudioRenderer.cpp
- SDLAudiorenderer.hpp
- FFmpegVideoDecoder.cpp
- FFmpegVideoDecoder.hpp
- FFmpegVideoDecoderAndroidHelpers.cpp
- FFmpegVideoDecoderD3D11Helpers.cpp
- FFmpegVideoDecoderDekoHelpers.cpp
- FFmpegVideoDecoderLinuxHelpers.cpp
- FFmpegVideoDecoderLinuxHelpers.hpp
- FFmpegVideoDecoderMetalHelpers.cpp
- FFmpegVideoDecoderPlatformHelpers.hpp
- IFFmpegVideoDecoder.hpp
- SwitchMoonlightSessionDecoderAndRenderProvider.cpp
- SwitchMoonlightSessionDecoderAndRenderProvider.hpp
- AndroidMediaCodecVideoRenderer.cpp
- AndroidMediaCodecVideoRenderer.hpp
- D3D11VideoRenderer.cpp
- D3D11VideoRenderer.hpp
- basic_vsh.glsl
- color_fsh.glsl
- DKVideoRenderer.cpp
- DKVideoRenderer.hpp
- rcas_fsh.glsl
- texture_fsh.glsl
- upscaling_fsh.glsl
- upscaling_pass_fsh.glsl
- AppleMetalFxUpscalingSupport.mm
- MetalVideoRenderer.hpp
- MetalVideoRenderer.mm
- MTShaders.hpp
- streamutils.cpp
- streamutils.hpp
- GLShaders.hpp
- GLVideoRenderer.cpp
- GLVideoRenderer.hpp
- IVideoRenderer.hpp
- UpscalingSupport.hpp
- AVFrameHolder.cpp
- AVFrameHolder.hpp
- DiscoverManager.cpp
- DiscoverManager.hpp
- GameStreamClient.cpp
- GameStreamClient.hpp
- InputManager.cpp
- InputManager.hpp
- MoonlightSession.cpp
- MoonlightSession.hpp
- MoonlightSessionDecoderAndRenderProvider.hpp
- WakeOnLanManager.cpp
- WakeOnLanManager.hpp
- wrapper.c
- BoxArtManager.cpp
- BoxArtManager.hpp
- Settings.cpp
- Settings.hpp
- Singleton.hpp
- boolean_slider_cell.cpp
- about_tab.cpp
- add_host_tab.cpp
- app_cell.cpp
- app_list_view.cpp
- button_selecting_dialog.cpp
- favorite_tab.cpp
- forwarder_maker.cpp
- grid_view.cpp
- helper.cpp
- host_tab.cpp
- ingame_overlay_view.cpp
- keyboard_view.cpp
- link_cell.cpp
- loading_overlay.cpp
- main.cpp
- main_activity.cpp
- main_args.cpp
- main_tabs_view.cpp
- mapping_layout_editor.cpp
- settings_tab.cpp
- streaming_input_overlay.cpp
- streaming_view.cpp
- linux-distribution.md
- psv-development.md
- visionos.cmake
- arm64-ios-simulator.cmake
- arm64-ios.cmake
- arm64-osx.cmake
- arm64-tvos-simulator.cmake
- arm64-tvos.cmake
- arm64-visionos-simulator.cmake
- arm64-visionos.cmake
- x64-ios.cmake
- x64-tvos-simulator.cmake
- x64-visionos-simulator.cmake
- commonOption.cmake
- FindAV.cmake
- FindDBus.cmake
- FindFFMPEG.cmake
- FindJansson.cmake
- FindMbedTLS.cmake
- FindOpus.cmake
- ios.toolchain.cmake
- MinGWCross.cmake
- stage_runtime_deps.cmake
- toolchain.cmake
- borealis
- CImg
- CMakeLists.txt
- mdns
- moonlight-common-c
- vcpkg
- curl.h
- curlver.h
- easy.h
- header.h
- mprintf.h
- multi.h
- options.h
- stdcheaders.h
- system.h
- typecheck-gcc.h
- urlapi.h
- websockets.h
- ac3_parser.h
- adts_parser.h
- avcodec.h
- avdct.h
- avfft.h
- bsf.h
- codec.h
- codec_desc.h
- codec_id.h
- codec_par.h
- d3d11va.h
- defs.h
- dirac.h
- dv_profile.h
- dxva2.h
- jni.h
- mediacodec.h
- packet.h
- qsv.h
- vaapi.h
- vdpau.h
- version.h
- version_major.h
- videotoolbox.h
- vorbis_parser.h
- avformat.h
- avio.h
- version.h
- version_major.h
- adler32.h
- aes.h
- aes_ctr.h
- ambient_viewing_environment.h
- attributes.h
- audio_fifo.h
- avassert.h
- avconfig.h
- avstring.h
- avutil.h
- base64.h
- blowfish.h
- bprint.h
- bswap.h
- buffer.h
- camellia.h
- cast5.h
- channel_layout.h
- common.h
- cpu.h
- crc.h
- csp.h
- des.h
- detection_bbox.h
- dict.h
- display.h
- dovi_meta.h
- downmix_info.h
- encryption_info.h
- error.h
- eval.h
- executor.h
- ffversion.h
- fifo.h
- file.h
- film_grain_params.h
- frame.h
- hash.h
- hdr_dynamic_metadata.h
- hdr_dynamic_vivid_metadata.h
- hmac.h
- hwcontext.h
- hwcontext_cuda.h
- hwcontext_d3d11va.h
- hwcontext_d3d12va.h
- hwcontext_drm.h
- hwcontext_dxva2.h
- hwcontext_mediacodec.h
- hwcontext_nvtegra.h
- hwcontext_opencl.h
- hwcontext_qsv.h
- hwcontext_vaapi.h
- hwcontext_vdpau.h
- hwcontext_videotoolbox.h
- hwcontext_vulkan.h
- iamf.h
- imgutils.h
- intfloat.h
- intreadwrite.h
- lfg.h
- log.h
- lzo.h
- macros.h
- mastering_display_metadata.h
- mathematics.h
- md5.h
- mem.h
- motion_vector.h
- murmur3.h
- nvhost_ioctl.h
- nvmap_ioctl.h
- nvtegra.h
- opt.h
- parseutils.h
- pixdesc.h
- pixelutils.h
- pixfmt.h
- random_seed.h
- rational.h
- rc4.h
- replaygain.h
- ripemd.h
- samplefmt.h
- sha.h
- sha512.h
- spherical.h
- stereo3d.h
- tea.h
- threadmessage.h
- time.h
- timecode.h
- timestamp.h
- tree.h
- twofish.h
- tx.h
- uuid.h
- version.h
- video_enc_params.h
- video_hint.h
- xtea.h
- swresample.h
- version.h
- version_major.h
- libavcodec.a
- libavformat.a
- libavutil.a
- libcurl.a
- libswresample.a
- font.ttf1.ttf
- icon.ttf
- switch_font.ttf
- switch_icons.ttf
- icon_AmericanEnglish.dat
- main
- main.npdm
- main.json
- main.json
- main.json
- main.json
- main.json
- main.json
- main.json
- main.json
- main.json
- main.json
- main.json
- gbatemp.png
- github_dark.png
- github_light.png
- patreon.png
- battery_back_dark.png
- battery_back_light.png
- cursor.png
- ethernet_dark.png
- ethernet_light.png
- wifi_0_dark.png
- wifi_0_light.png
- wifi_1_dark.png
- wifi_1_light.png
- wifi_2_dark.png
- wifi_2_light.png
- wifi_3_dark.png
- wifi_3_light.png
- moonlight_96.png
- moonlight_icon.jpg
- moonlight_store_logo.png
- play.png
- star.png
- LICENSE.txt
- MaterialIcons-Regular.ttf
- basic_vsh.dksh
- color_fsh.dksh
- fill_aa_fsh.dksh
- fill_fsh.dksh
- fill_vsh.dksh
- rcas_fsh.dksh
- texture_fsh.dksh
- upscaling_fsh.dksh
- upscaling_pass_fsh.dksh
- main.xml
- app_cell.xml
- boolean_slider_cell.xml
- cell.xml
- link_cell.xml
- about.xml
- add_host.xml
- favorites.xml
- host.xml
- settings.xml
- logout_tab.xml
- options_tab.xml
- overlay.xml
- app_list_view.xml
- captioned_image.xml
- stream_input_overlay.xml
- .gitignore
- cat-256x256.bc1
- package-linux.sh
- psv-dev.sh
- .gitignore
- .gitmodules
- borealis_demo.entitlements
- build_libromfs_generator.sh
- CMakeLists.txt
- CMakePresets.json
- LICENSE
- PrivacyPolicy.md
- README.md
- vcpkg-android.json
- vcpkg.json
# Installation Guide
1. Get the code
git clone https://github.com/XITRIX/Moonlight-Switch
Downloads the entire project code from GitHub to your computer.
cd Moonlight-Switch
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
cmake -B build/switch -DPLATFORM_SWITCH=ON
Type this command into your terminal and run it.
cmake -B build/pc -DPLATFORM_DESKTOP=ON -DCMAKE_BUILD_TYPE=Release
Type this command into your terminal and run it.
mingw-w64-ucrt-x86_64-cmake \
Type this command into your terminal and run it.
cmake --preset windows-ucrt64-release
Type this command into your terminal and run it.
cmake --build --preset windows-ucrt64-release
Type this command into your terminal and run it.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
Pulled directly from this repo's README.
3. Gradle (Java/Kotlin)
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd app/platforms/android-project/app
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
// repository documentation
Was this content helpful?
(0 ratings)
