Repository navigation
Installation
Use v0.1.0-dev.1 for the updated host kit. This is a host-setup update: app/service/HEN bytes are unchanged and the app version remains 0.1.0-dev. The original release and its app ZIP remain available.
| Situation | What to do |
|---|---|
| Matching Moader resident backend is already running this boot | Copy/update the console app |
| You need the resident service and game-file routing | Choose either backend route below |
| The console rebooted | Obtain a new verified held FS session and set up this boot's backend |
The precompiled host kit works through Python/Node; end users do not need an SDK or to compile HEN. Source SDK rebuilds are a separate Apple Silicon macOS workflow. See the short glossary for kaiHEN, hbmenu and FS.
- Download the unchanged Moader-v0.1.0-dev.1.zip.
- Close the Moader app before replacing it.
- Copy
switch/Moader.nroto the SD card'sswitch/folder by your usual SD/FTP method. - Open Moader from hbmenu.
If the matching resident service is running, the app connects to it. Otherwise it can host a foreground library/web interface, which stops when the app closes. An NRO copy does not install FS hooks or start a resident process. Copying the included kaihen/plugins/moader.nso only stages a plugin; it does not hot-reload a running service.
Download and extract Moader-backend-v0.1.0-dev.1.zip. Use the outer folder containing tools/ and START_HERE.txt. The kit includes the matched precompiled patched HEN, Moader binaries and source. First-use preparation downloads the pinned official kaiHEN archive and ns2jb source; internet access is needed then.
Choose one route. Both end by printing Moader's privileged installation command. Preparation never acquires FS or contacts the Switch. The final installer qualifies the actual held run and FS code/ABI before native work; a failure is not permission to bypass its guards.
| Route | Host requirements | Session source |
|---|---|---|
| A: direct ns2jb | Native Linux/macOS Node 24, Python 3.10+; Git to clone/checkout upstream | kurumuz ns2jb run.cjs --rpc
|
| B: mac2jb | macOS, Python 3.10+, exact mac2jb-bundled Node 24 | Fresh mac2jb verified FS session |
WSL2 users must complete networking preparation before Route A. Use Linux Node and two terminals in the same WSL distro; do not use node.exe, Windows run paths or a Windows terminal outside that distro for preparation/install.
The direct route is documented from pinned source/helper contracts. No new Linux/WSL device verification is claimed here; the published real-console validation used macOS/mac2jb. Use upstream requirements for console/application compatibility; no alternate CivSwitch entrypoint or stock-console installer is qualified.
Install native Node 24, Python 3.10+, and Git using your host's normal package tools. Check node --version and python3 --version; Node must report v24. Git is needed only to obtain this pinned upstream checkout:
git clone https://gitlab.com/kurumuz/ns2jb ns2jb
cd ns2jb
git checkout --detach 28f03b5895e5569d8fbc35cbed84906b8f0a65b2Read that checkout's pinned README and one-time SmileBASIC setup. Follow its current console/application prerequisites; Moader does not replace the upstream entry setup.
Replace YOUR_PC_LAN_IPV4 with the computer IPv4 that the Switch can reach and the host can bind, then run:
node run.cjs --rpc YOUR_PC_LAN_IPV4Follow upstream's printed SmileBASIC steps and the fresh V=START(...) line. The bootstrap's expected Out of memory message is described upstream. Wait for 4/4 verified, the held RPC/FS-ready message and the newly printed run folder. Keep Terminal 1, SmileBASIC and the computer awake/open through Moader installation.
Use run.cjs --rpc, not hen.cjs first: Moader's combined installer performs the HEN bootstrap later. A normal run without --rpc closes its endpoint after checks. Do not automate acquisition retries or repeat uncertain native operations.
Open another terminal in the extracted Moader host-kit folder, not the ns2jb checkout. On WSL both terminals must be inside the same distro. Replace the run-folder placeholder with Terminal 1's actual newly printed folder; the example is not a reusable session:
cd "YOUR_EXTRACTED_KIT_FOLDER"
python3 tools/install-from-rpc.py --prepare \
--run-dir "/path/to/ns2jb/runs/<actual-run>" \
--node "$(command -v node)"The selected Node must be the same native Node 24 used for Terminal 1. This route does not require mac2jb. Continue with review and install once.
Use the official mac2jb requirements and entry instructions to obtain a fresh verified current-boot FS session. Close foreground Moader first. Keep SmileBASIC and the mac2jb host open through installation. Python 3.10+ is required; the helper preserves the exact bundled Node 24 from the status command.
Open Terminal in the extracted host-kit folder: type cd , drag that folder into Terminal and press Return. Alternatively use cd "YOUR_EXTRACTED_KIT_FOLDER", replacing the placeholder.
Copy the entire newly generated four-argument mac2jb status command, preserving quoted paths. In macOS's default zsh, run:
read -r "MOADER_STATUS_COMMAND?Paste the full mac2jb status command: "
python3 tools/install-from-rpc.py --prepare --status-command "$MOADER_STATUS_COMMAND"Paste the full status command at the prompt. The pasted script is not executed and no shell eval is used. If using bash, replace the first line with read -r -p 'Paste the full mac2jb status command: ' MOADER_STATUS_COMMAND.
For either route, --prepare downloads missing pinned inputs, validates the kit and Node, creates a unique local installer snapshot and prints one exact installation command. It does not contact the Switch or install anything on it.
Inspect the printed command: it must use the intended Node 24, kit, newly prepared snapshot and the fresh held session. Then copy and run that exact printed command once. This is the privileged installation step. Keep Terminal 1/mac2jb and SmileBASIC open; do not run a second acquisition, bootstrap HEN separately, substitute a different snapshot or edit proof flags.
If installation fails, times out or reports uncertainty, stop and preserve its report. A native operation may already have completed; do not retry the same command. Follow setup recovery. A completed bootstrap retires the old diagnostic installation context; its command/handles are not reusable.
After success, use the supported kaiHEN hbmenu entry procedure and open Moader. Check the connected runtime and native startup/routing lines in Advanced/Debug. If the web listener is off press Y; ZR gives its URL/code. Pair the browser, then + can close the app while resident web stays available. Full usage.
Backend setup is once per boot, not part of everyday upload/enable/disable/removal. Saved preferences/library persist on SD; running backend state does not survive a console reboot. NRO/NSO copies alone do not replace running FS hooks or a resident service.
Microsoft documents mirrored networking on Windows 11 22H2+; it enables LAN access to WSL. Before any held run, configure Windows %UserProfile%\.wslconfig:
[wsl2]
networkingMode=mirroredApply it with wsl --shutdown in Windows, then reopen the distro. This stops WSL processes, so do it before acquisition. Inside Linux, use ip -4 addr show to check for the chosen LAN IPv4; it must be present/bindable there. See Microsoft WSL networking.
In elevated Windows PowerShell, add a port-specific Hyper-V rule on your trusted LAN:
New-NetFirewallHyperVRule -Name "MoaderNs2jb" -DisplayName "Moader ns2jb" -Direction Inbound -VMCreatorId '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -Protocol TCP -LocalPorts 39380Allow TCP 39380 through any other applicable host/Linux firewall; do not disable the firewall or set blanket inbound allow. Follow Microsoft's Hyper-V firewall guidance for local policy and rule cleanup.
The pinned runner binds its advertised IPv4 directly. For this runner, Microsoft's NAT portproxy reference is not sufficient by itself: forwarding a Windows LAN address does not make that address bindable inside NAT-mode Linux. Establish a correct bindable LAN path first or use native Linux. No NAT-only recipe or WSL/device test is claimed here.
In WSL, node -p 'process.platform' must print linux. Keep acquisition and installation in the same distro using Linux paths/Node. Never forward the separate loopback RPC bridge; only the initial Switch-to-host listener uses TCP 39380.
v0.1.0-dev.1 changes the host kit/docs only; existing app/service/HEN bytes and app display version stay 0.1.0-dev. Keep matched components. A later backend update needs its own qualified bootstrap; copying a new NSO does not hot-reload it.
Preserve user mods and preferences. Recoverable removal retains payloads for older open game objects; do not manually purge them during the boot. See Troubleshooting, Building and Maintaining.
Moader · Downloads · Issues · Discussions
Docs for v4.0.0; app version 4.0.0.
Moader
- Home
- v4.0.0 release notes
- v3.5.0 release notes (historical)
- v3.0.0 release notes (historical)
- v0.2.5 release notes (historical)
- v0.2.0 release notes (historical)
- v0.1.3 release notes
- v0.1.2 release notes (historical)
- v0.1.1 release notes (historical)
- Changelog
- Install / Linux / WSL / macOS
- Seedsow Lullaby
- CivSwitch entrypoint
- App and browser usage
- SD card layout
- Settings and Advanced
- Game-card checks
- Debugging and screenshots
- Troubleshooting
- How it works
- FAQ
- Validation
Project