Skip to content

kaiHEN 20261201.2

Choose a tag to compare

@SeanHeuc SeanHeuc released this 01 Dec 14:21
· 7 commits to main since this release

kaiHEN 20261201.2 — official 20261201 + Switch 1/S2E fix + SD log

This is the SeanHeuc/kaihen fork. It is
based on official kaiHEN 20261201 and carries only the two changes below.
The RO, bootstrap, hbmenu, hbloader, attach module and shared libraries are
the official 20261201 builds.

Differences from official 20261201

  • Switch 1 / Switch 2 Edition R-launch fix (hen/source/game_arm.cpp,
    ouncebrew/kaihen#47):
    • A 01 application is always served through the rtld path, even when its
      code mounts with content attributes 1 (a Switch 2 Edition running its
      Switch 1 program). Official 20261201 takes that mount for a native game,
      parks Loader for the native CodeFS exchange, and the launch hangs.
    • A native Switch 2 R launch no longer fails when Loader reuses the first
      CodeFS object address for the second mount. first_closed_ already proves
      the first object is gone, so a reused object address is not a duplicate
      mount.
  • SD log ([log] sd in sdmc:/kaihen/config/kaihen.ini):
    [log]
    sd = 1
    HEN then appends its diagnostics to sdmc:/kaihen/hen-log.txt every two
    seconds. The log is off by default. There is no hen-options.txt.
  • README: the fork README describes the two changes.

Everything else is official 20261201: LayeredFS (romfs.bin in parts,
romfs.replace, exefs/main.npdm, subsdk0-9), kaiHEN settings, RO
extensions, hbmenu netloader, and the official shared libraries.

Install

  1. Copy the contents of sdcard/ to the SD card root. The copy includes
    kaihen/bootstrap.bin, which Civ-Autoloader reads.
  2. The bootstrap.bin at the zip root is the same file, for acquisition tools
    that read it themselves.
  3. Restart the console.

Only the HEN binary changes from the official release. The zip also adds a
copy of the official bootstrap.bin under sdcard/kaihen/ for Civ-Autoloader
and sets system.json's version to 20261201.2. The background ftpd plugin is
not included. OunceShell is the app at switch/ounceshell/ounceshell.nro.

Warning

Experimental. Use it at your own risk. LayeredFS can swap the saves of an
installed title: back up your saves first. Use only dumps of games you own.

Thanks to ouncebrew for kaiHEN and to the upstream contributors.