Skip to content

kaiHEN 20261201.1 — whole-ROMFS HEN

Choose a tag to compare

@SeanHeuc SeanHeuc released this 01 Dec 06:39
· 20 commits to main since this release

kaiHEN 20261201.1 — whole-ROMFS HEN for nx2-layered

Based on kaiHEN 20261130.1. Only HEN is rebuilt; the RO, bootstrap, hbmenu, hbloader and shared libraries are unchanged from 20261130.1.

This release integrates Olmectron/kaihen branch nx2-whole-romfs-autoloader-1.4: whole-RomFS views for tools that run a game from SD card files, such as nx2-flow and nx2-layered.

What's new

  • Whole RomFS: with an empty romfs.whole in sdmc:/kaihen/contents/<folder-id>/, romfs.bin becomes the game's whole RomFS in place of the installed one, whatever its file count. A folder without romfs.whole is unchanged.
  • RomFS layer: with romfs.whole, an optional romfs.layer.bin is laid over romfs.bin, such as an update's RomFS kept apart from the base. Loose romfs/ files still lie over both images.
  • System resource size: an empty exefs/main.npdm.srs.<8 hex digits> serves the title's own main.npdm with the system resource size (the word at 0x14 of its META header) set to that hexadecimal value, in bytes. Nothing else of the NPDM changes.
  • HEN-only: the RO and bootstrap are not changed. Use them from 20261130.1.

The fork keeps HEN's segments where its base has them (text from 0, read-only data from 0x3b000, data from 0x4d000); the build stops if they move.

Install

  1. Copy the contents of sdcard/ to the SD card root, replacing /kaihen/bin/hen/main and /kaihen/system.json.
  2. Keep the 20261130.1 RO and bootstrap; this HEN is built for them.
  3. Restart the console.

Only HEN changes. The background ftpd plugin is not included. OunceShell is the app at switch/ounceshell/ounceshell.nro.

Warning

Experimental. Use it at your own risk. Starting a game through LayeredFS swaps the saves of an installed title: back up your saves first. Use only dumps of games you own.

Thanks to Olmectron for the whole-RomFS work and the nx2-layered/nx2-flow integration, and to ouncebrew for kaiHEN.