kaiHEN 20261123 loads homebrew with shared libraries on Switch 2, Vulkan and OpenGL included
The new kaiHEN release lets nx-hbloader load programs dynamically linked against libounce. The zip ships the Vulkan, OpenGL and C++ libraries that ported code expects.
Switch 2 platform cover: gradient with the NS2 codePrograms that no longer carry everything inside
Until now, kaiHEN homebrew had to be statically linked: each program shipped with everything it used. Version 20261123 changes that. nx-hbloader now loads programs dynamically linked against libounce, meaning they ask for their shared libraries at startup.
Libraries are looked up in the program's own folder first and then in sdmc:/kaihen/lib. Anything in sdmc:/kaihen/preload is loaded for every program as well. Statically linked programs run as before.
What the zip contains
sdcard/kaihen/lib holds libounce.so.1, libstdc++.so.6, the Vulkan implementation (libouncevk.so.1) and the OpenGL one (libouncevk-gl.so.1). It also includes the names ported code usually looks for: libvulkan.so.1, libEGL.so.1, libGLESv2.so.2 and libGL.so.1.
The RO module has no fixed limit on how many shared libraries a program can use, and it unloads all of them when the program returns, including ones the program loaded itself and left open. A program that cannot be loaded goes back to the menu with an error code from 2346-0200 to 2346-0205, depending on the library problem.
What you need and what is broken
The release asks for ns2jb updated to the 24 November 2026 build (commit ae33da1) or later. The project calls it work in progress that may have bugs. One known issue: file names with non-ASCII characters do not show up in listings.
kaiHEN has full system access, NAND included. Malicious software can brick the console, so only run homebrew from sources you know.
The official repository is ouncebrew/kaihen on GitHub, with the build on its releases page.
