code wiki / _hdl_build / nx_games_reg_seed.nx
nx_games_reg_seed.nx
buildroot/runtime/_hdl_build/nx_games_reg_seed.nx
about
nx_games_reg_seed.nx -- seed the UNIFIED GAMES registry into the SOVEREIGN content-addressed store via
nx_native_config (ncfg_*), NOT a pipe/tsv file (operator: no tsv; use the nishi data management). This is
the ONE SPACE for ALL our games (operator: "all our games in one space"), consolidating the 3 fragmented
sources discovered by nx_game_publish + the NAS-live web games:
- web (NAS-live, anon hub): voxels, tictactoe, econsim
- pets-wasm (nx_arcade_serve :7700): pets, pets3d, dungeon
- dungeon/tactics (knowledge/specs): abyss, crypt, skirmish, laststand
Row = {id, title, engine, path, deployed}. deployed=1 => NAS-served (the manifest hashes its bytes,
content-addressed version); deployed=0 => cataloged with its location (arcade:/spec:), not yet NAS-live
(deploying those runtimes is a separate task -- NOT faked with a hash). Additive: add games as more rows.
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_native_config.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
| none |
functions
| 14 | func gr_row(w: *i64, idx: i64, id: *u8, title: *u8, engine: *u8, path: *u8, deployed: *u8) -> i64 |
| 24 | func gr_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 26 | func main() -> i64 |