Skip to content

Open Nectar 0.3 — Native Windows Release

Choose a tag to compare

@SSunnKing SSunnKing released this 07 Sep 19:13
· 97 commits to main since this release

This release brings Open Nectar to Windows. The same source now builds a native x86-64 executable for both Linux and Windows, and the mouse wheel gains two uses that make the game noticeably more comfortable to play.

Windows
Open Nectar cross-compiles from Linux to a native Windows executable with MinGW-w64. It is not an emulator and not a wrapper: the same reconstructed game code, built for Windows.

Mouse wheel
A new setting in the Mods menu chooses what the wheel does. One setting with two values rather than two switches, so the two uses can never both be active.

  • Pikmin colour. The wheel picks which colour to throw next. It cycles only through colours actually in your squad: with one colour it does nothing, with two it alternates, with three it cycles. If the chosen colour is out of reach, the captain still grabs the nearest Pikmin rather than nothing.

  • Camera zoom. The wheel pulls the camera between 0.45× and 2.50× of its normal distance. Returning the wheel to colour selection restores the default distance.

Frame rate
The 120 FPS mode now actually presents at 120. The port paces presentation itself rather than using the driver's VSync, and that limiter computed its period against a 60 Hz base with the interval clamped to 1, so the game simulated at 120 and presented at 60.

Input is now sampled once per logical tick instead of once per loop iteration. Only a tick consumes input, and the pad reader is edge shaped: at high refresh rates a button press seen by two polls before the tick that would read it was a press the game never saw. This was losing walking and throw inputs at 144 Hz.

Fixes

  • The game could wedge permanently when uprooting a Pikmin. The BGM load hand-off is written from the DVD thread and read from the game thread; a lost signal hung the game on Linux and crashed it on Windows. The wait is now bounded and reports the loss instead of waiting forever.
  • Skipping a cutscene left its music playing over the next scene. Cutscenes marked as carrying their music forward now stop it when skipped, since there is no longer a scene to carry it into.
  • The installer looked for pikmin/pikmin.real while the build has produced nectar/nectar.real since the project was renamed, so installation failed outright.
  • The self-contained package wrappers exported NECTAR_EXECUTABLE_PATH while the launcher read PIKMIN_EXECUTABLE_PATH, leaving the launcher unable to find its own package.
  • The Linux packaging script did not enable the JAudio engine, so portable builds shipped with the old mixer.

Known limitations

  • 120 FPS is marked experimental, and needs a display that can show it
  • Windows has been tested on a 144 Hz monitor; wider hardware testing is welcome

HOW TO INSTALL ON WINDOWS:

  • Open nectar-launcher.exe
  • Select your ISO (Pikmin (USA) (Rev 1)) and installation folder
  • Click install and wait it to finish
  • Enjoy!

Credits
The software DSP and bank loader come from pikmin-nextos, adapted here from SDL3 to SDL2. Their licence and attribution are in third_party/nextos-audio/.

Both projects build on the projectPiki decompilation.