nx_installed_census.nx
buildroot/runtime/nx_installed_census.nx
about
nx_installed_census.nx -- INSTALLED MODE of the intelmine miner, the thin program over nx_installed_census_lib.
nx_installed_census steam <steam-root> [maxdepth=4] [reviews-dir=knowledge/reviews/steam/] [fingerprints-conf]
Reads the Steam client's libraries and every app manifest, walks each install tree (bounded), fingerprints what the
title SHIPS from knowledge/reviewmine/fingerprints.conf, ties each row to the review rubric journaled for the same
appid, prints one INSTALLED line per title, and truncate-writes knowledge/reviews/installed/steam.census (a census is
a snapshot, so it is rewritten whole; a run appends nothing). Under WSL pass the Windows root (C:\Program Files
(x86)\Steam) or its /mnt/c form; both are mapped. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_reviewmine_lib.nxnx_installed_census_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
| 12 | const ICP_FP_CONF: *u8 = "knowledge/reviewmine/fingerprints.conf" |
| 13 | const ICP_OUT_DIR: *u8 = "knowledge/reviews/installed" |
| 14 | const ICP_CENSUS: *u8 = "knowledge/reviews/installed/steam.census" |
| 15 | const ICP_REVIEWS: *u8 = "knowledge/reviews/steam/" |
| 16 | const ICP_ROW_CAP: i64 = 8192 |
| 17 | const ICP_OUT_CAP: i64 = 1048576 |
| 18 | const ICP_EXIT_USAGE: i64 = 2 |
| 19 | const ICP_ARGC_MIN: i64 = 3 // nx_installed_census steam <steam-root> |
| 20 | const ICP_ARG_ROOT: i64 = 2 // argv positions |
| 21 | const ICP_ARG_DEPTH: i64 = 3 |
| 22 | const ICP_ARG_REVIEWS: i64 = 4 |
| 23 | const ICP_ARG_CONF: i64 = 5 |
| 24 | const ICP_HEADER: *u8 = "# knowledge/reviews/installed/steam.census -- snapshot rows i|appid|name|installdir|size_bytes|buildid|last_updated|last_played|language|library|on_disk|engine|anticheat|vr|audio|net|video|physics|script|mod|redist|files|dirs|walk_capped|reviews_journaled|review_score|total_positive|total_negative|walk_bytes|assets(ext:files:bytes top 8 by bytes)\n" |
functions
| 26 | func icp_usage() -> i64 |
| 30 | func icp_print_app(libidx: i64) -> i64 |
| 53 | func main(argc: i64, argv: *i64) -> i64 |