Moonlight-Switch

(β˜… 1,607)

Moonlight port for Nintendo Switch

  • .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 Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • CMake The tool used to generate build configuration.
  • C/C++ 컴파일러 Windows needs Visual Studio (Community edition, free), macOS needs Xcode Command Line Tools, Linux needs the gcc/g++ package.
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)

Medium
Prerequisites
  • 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