github ouncebrew/kaihen 20261123
kaiHEN 20261123

one hour ago

Dynamically linked homebrew.

  • nx-hbloader loads programs that are dynamically linked against libounce 20261123: it maps the program's shared libraries from its folder and then from sdmc:/kaihen/lib, and every library of sdmc:/kaihen/preload.
  • The zip brings the shared libraries in sdcard/kaihen/lib: libounce.so.1, libstdc++.so.6, Vulkan (libouncevk.so.1), OpenGL (libouncevk-gl.so.1), and the names that ported code loads (libvulkan.so.1, libEGL.so.1, libGLESv2.so.2, libGL.so.1).
  • RO has no fixed number of shared libraries for a program, and unloads all of a program's libraries when it returns, also ones the program loaded itself and left.
  • A program that cannot be loaded returns to the menu with a number for the reason, in place of closing the loader.
  • The zip has an sdcard/ folder that mirrors the SD card. It needs ns2jb from 24 November 2026 (commit ae33da1) or later, which copies that folder; update ns2jb before using this release.

Statically linked homebrew runs as before.

Warning: this is still a work in progress, and might have bugs. kaiHEN allows full access to the system, including the system NAND. A malicious homebrew might write to your Switch 2 and brick it forever.

Known issue: files whose names have non-ASCII characters (accents, Japanese, emoji) do not show in folder listings, in OunceShell or over FTP. They can still be opened, downloaded and deleted by name.

If a program does not start, the menu shows a number for the reason:

  • 2346-0200: the program needs shared libraries and this kaiHEN is older than they are. Update kaiHEN.
  • 2346-0201: a shared library that the program needs is not on the SD card. Copy sdcard/ of this zip to the SD card's root.
  • 2346-0202, 2346-0203, 2346-0204: a shared library on the SD card does not fit the program: it is older or newer than the one the program was built with. Copy sdcard/ of this zip again, or update the program.
  • 2346-0205: a library in sdmc:/kaihen/preload could not be loaded. Remove it.

kaiHEN-20261123.zip layout:

  • sdcard/: copy its contents to the SD card's root. The acquisition tool copies this folder for you.
    • hbmenu.nro
    • kaihen/bin/hen/main (kaiHEN) and kaihen/bin/game/main (nx-hbloader)
    • kaihen/lib/: the shared libraries of dynamically linked programs: libounce.so.1, libstdc++.so.6, Vulkan (libouncevk.so.1), OpenGL (libouncevk-gl.so.1), and libvulkan.so.1, libEGL.so.1, libGLESv2.so.2 and libGL.so.1 for programs that load those names. nx-hbloader looks for a program's libraries in the program's folder and then in sdmc:/kaihen/lib.
    • switch/ounceshell.nro: OunceShell
  • ro/main, bootstrap.bin: the acquisition tool reads these itself; they do not go on the SD card.
  • licenses/: the licenses of everything above

Built with docker build --build-arg RELEASE=1 --output out . at this tag, in ounce-devkit's image with libounce 20261123-1, OunceVK 20261123.1-1 and libkaihen 20261117.1-1 from the [ounce] repository.

libkaihen-20261123-1-any.pkg.tar.zst: libkaihen (kaihen.h, -lkaihen, -lkaihen_plugin) for devkitPro's pacman, built with packaging/Dockerfile. It is also in the [ounce] repository at https://pkg.ouncebrew.org.

Source

  • kaiHEN: this repository at this tag.
  • nx-hbloader: ouncebrew/ounce-hbloader at e34f4afae44fb308dd781a7bd619c3c0787a7a99.
  • nx-hbmenu: ouncebrew/ounce-hbmenu at 43845d247487dedaa902f53f7d24ed61a116e982.
  • OunceShell (GPL-3.0-or-later): kurumuz/ounceshell at b2655caf6f8e48084bde84f18c28f834358f8286, built with its switch2/Makefile. Its FTP server is mtheall/ftpd v2.3.1 (public domain), modified.
  • libstdc++.so.6 (GPL-3.0-or-later with the GCC Runtime Library Exception): GCC's C++ library as devkitA64 builds it, linked as a shared library by libounce's package. Its source is devkitPro's buildscripts for the devkitA64 release of the build image.
  • libounce 20261123-1, OunceVK 20261123.1-1 and libkaihen 20261117.1-1: the packages of ouncebrew/libounce, ouncebrew/ouncevk and this repository's releases of those versions.
  • The devkitPro portlibs linked into hbmenu and OunceShell, from devkitPro's packages: libconfig 1.7.2, freetype 2.13.3, harfbuzz 10.0.1, libjpeg-turbo 2.1.2, libpng 1.6.48, bzip2 1.0.8, zlib 1.3.1, physfs 3.2.0, SDL2 2.28.5, SDL2_ttf 2.22.0, SDL2_image 2.0.4, libwebp 1.0.2, libarchive 3.7.2, expat 2.2.5, lz4 1.9.3, zstd 1.5.7, liblzma 5.8.2, libvorbis 1.3.7, libogg 1.3.4, Oniguruma 6.9.2.

SHA-256: 24c0e68125817ab751f96985af63347a4e8bec7aced37f713b3fbb3d0eb4680c

Don't miss a new kaihen release

NewReleases is sending notifications on new releases.