nx_bspfacts.nx
buildroot/runtime/nx_bspfacts.nx
about
nx_bspfacts.nx -- CLI: BodySlide preset structural facts. nx_bspfacts probe|decode <preset.xml>
The Bethesda body-preset dialect beside nx_kkfacts (/compare/koikatsu card-class lane). Facts +
slider name/permil pairs of the FIRST preset; per-preset data goes to the CALLER's stdout only
and never enters a published plane (the k-wall in the lib header).
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_bspfacts_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
| 9 | const BSPC_CAP: i64 = 8388608 // presets measure KBs; 8MB is the refuse-beyond bound -- census abstains, never truncates silently |
| 10 | const BSPD_MAX_VALS: i64 = 512 // 3BA-class presets carry ~50..300 sliders per size; overflow visible via parsed vs printed |
functions
| 12 | func bc_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 13 | func bc_w(s: *u8) -> i64 { sys_write(1, s, bc_slen(s)); return 0 } |
| 14 | func bc_e(s: *u8) -> i64 { sys_write(2, s, bc_slen(s)); return 0 } |
| 15 | func bc_span(buf: *u8, off: i64, len: i64) -> i64 |
| 21 | func bc_num(v: i64) -> i64 |
| 34 | func bc_eq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] != (0 as u8) { return 0 } return 1 } called by 1: main |
| 36 | func main(argc: i64, argv: *i64) -> i64 |