Skip to content
Proyek

Tentang

NxEmu is a free, open-source Nintendo Switch emulator for Windows, Linux and macOS, written in C++.

Proyek lainnya

Cara angka ini diukur

445 bintang32 Fork +5 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+5
dalam 7 hari
+10
dalam 15 hari
+14
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

NxEmu

NxEmu is a free, open-source Nintendo Switch emulator for Windows, Linux and macOS, written in C++.

Installation

The latest stable releases are available here.

Building

git clone --recursive https://github.com/N3xoX1/nxemu.git

On Windows, install Visual Studio 2022 with Desktop development with C++ and the Vulkan SDK. Open the repository's nxemu.sln to use the maintained Visual Studio projects, or run src\script\build.cmd Release. These projects remain checked in and are maintained alongside CMake.

Alternatively, build the RmlUi frontend with CMake:

./src/script/build_windows.ps1 Release

On Linux, use sh src/script/build_linux.sh Release. On macOS with Xcode installed, use sh src/script/build_macos.sh Release. For Android, use sh src/script/build_android.sh Release with JDK 17, Android SDK 36 and NDK 30.0.16248370. Each script accepts a build directory after the configuration; the desktop scripts also accept extra CMake options.

To generate a separate Visual Studio 2022 solution manually, run:

cmake --preset windows-x64

Open build/windows-x64/nxemu.sln, or build it with cmake --build --preset windows-x64-release. Run the configure command again to regenerate this solution after changing CMake files. The generated projects stay in the build directory; they do not replace the checked-in solution. Changes to sources, dependencies or build options must be reflected in both maintained build systems.

GitHub Actions builds Windows x64, Linux x64, macOS arm64 and Android arm64 on pull requests and pushes to master. Desktop jobs run the frontend-settings compatibility test; Android runs its Gradle unit tests and checks native libraries in the APK. The jobs publish desktop archives or an APK and cache compiler outputs (sccache on Windows, ccache elsewhere). The macOS job also caches the pinned MoltenVK runtime; Linux, macOS and Android retain supported ThinLTO caches. The Linux job packages the same Release build as both a tarball and an AppImage, then checks the AppImage's resources, modules and shared-library dependencies without recompiling.

To build an AppImage locally, run bash src/script/build-appimage.sh. To package an existing Release build, run bash src/script/build-appimage.sh --skip-build. The output is build/appimage/NxEmu-<arch>.AppImage.

To run the desktop settings test locally, configure with -DNXEMU_BUILD_UI_SETTINGS_TESTS=ON, build nxemu_ui_settings_tests, then run ctest --test-dir <build-directory> -C Release --output-on-failure.

Contributing

Contributions are welcome via pull requests.

Links

License

NxEmu is licensed under the GNU General Public License v3.0.

Jelajahi proyek terkait

Memuat…