nx_mod_manifest.nx
buildroot/runtime/nx_mod_manifest.nx
about
nx_mod_manifest.nx -- THE SOVEREIGN MOD PACKAGE COMMAND (/compare/modding MD18 mod_manifest_emit, 2026-09-06). A thin caller
of nx_mod_manifest_lib so the command line, the installer and the gate prove the SAME chain.
usage: nx_mod_manifest emit <out.nxmod> name=<n> version=<v> game=<a,b> licence=<id> [dep=<n@v>,<n@v>] [jrnl=<p>] [root=<dir>] <rel-path>...
nx_mod_manifest verify <manifest.nxmod> [root=<dir>]
exits: 0 emitted / ACCEPT | 2 usage | 3 the manifest or a member could not be read (named) | 4 REFUSED (the licence is not a
rights-table row, a member path is unsafe, a member is MISSING or TAMPERED, or the audit head does not match)
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_mod_manifest_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 11 | const MMC_EXIT_USAGE: i64 = 2 |
| 12 | const MMC_EXIT_UNREADABLE: i64 = 3 |
| 13 | const MMC_EXIT_REFUSE: i64 = 4 |
| 14 | const MMC_OUTFD: i64 = 1 |
| 15 | const MMC_KV_CAP: i64 = 64 |
functions
| 17 | func mmc_w(s: *u8) -> i64 { sys_write(MMC_OUTFD, s, mm_len(s)); return 0 } |
| 18 | func mmc_wn(v: i64) -> i64 { let t: *u8 = sys_mmap(32); var o: i64 = 0; var x: i64 = v; if x < 0 { t[0] = 45 as u8; o = 1; x = 0 - x } o = mm_putd(t, o, x); sys_write(MMC_OUTFD, t, o); return 0 } |
| 19 | func mmc_prefix(s: *u8, p: *u8) -> i64 { var i: i64 = 0; while p[i] != (0 as u8) { if s[i] != p[i] { return 0 } i = i + 1 } return 1 } |
| 21 | func mmc_kv(argc: i64, argv: *i64, key: *u8, dflt: *u8) -> *u8 |
| 26 | func mmc_is_kv(a: *u8) -> i64 |
| 36 | func mmc_usage() -> i64 |
| 40 | func main(argc: i64, argv: *i64) -> i64 |