Skip to content

Eglantine nx2 build 170 (171f985)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Nov 06:16
171f985

What's new in this build

This is build 170 of nx2 (171f985): one fix on top of build 169, in the command-line program (eglantine-cli, also shipped as eden-cli). The GUI is untouched.

--help and --version exit successfully

eglantine-cli --help and eglantine-cli --version printed their text and then exited with a failure code, logging a critical error on the way out. Anything that ran them and checked the exit status — scripts, packaging checks, launcher wrappers — saw a failure where there was none.

Both now return success. Starting the emulator with no ROM is still an error, as it should be.

Coming from build 169?

Nothing is missing; this is the only change.

Thanks to ShahadatTest for the fix (#377).

How it works, for the technically curious

ApplyLaunchParams handled both options and printed the text, but SDL_AppInit then fell through to the "No ROM specified" check and returned SDL_APP_FAILURE. It now returns SDL_APP_SUCCESS for --help and --version before that check runs. Tested on the Windows and Linux CI builds: both options exit 0, and a launch with no ROM still exits non-zero.


Automatic build of nx2 at 171f985.

Linux

Linux packages come as an AppImage (self-contained, needs glibc 2.39 or newer: Ubuntu 24.04, Fedora 40, Debian 13, Arch) and a tar.gz (uses your system libraries, so Qt 6 and the usual libraries must be installed).

Build Type Standard PGO (Recommended) Notes
amd64 AppImage · tar.gz AppImage · tar.gz Make the AppImage executable (chmod +x) and run it
ARM (aarch64) AppImage · tar.gz AppImage · tar.gz

Windows

Windows packages are in-place zip files: extract and run eglantine.exe, or eden-cli.exe from a terminal.

Build Type Standard PGO (Recommended) Notes
amd64 / x86_64 (MSVC) MSVC zip Use if you run into graphical issues on other builds
amd64 / x86_64 (MinGW) PGO zip Built with MinGW clang; bundles its own DLLs, no Visual C++ redistributable needed

macOS

Build Type Standard PGO (Recommended) Notes
arm64 (Apple Silicon) zip macOS 15 or newer. Not notarized: right-click and choose Open the first time, or run xattr -dr com.apple.quarantine eglantine.app. eden-cli is inside the app, in Contents/MacOS

The PGO builds are the same programs compiled with profile-guided optimization (clang plus Eden's profile); prefer them when your CPU supports it.