upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/world.md
diff options
context:
space:
mode:
authorDiesel <dev.diesel@proton.me>2026-11-21 22:44:07 +0100
committerDiesel <dev.diesel@proton.me>2026-11-21 22:44:07 +0100
commit5c1a1fbb6bf6f609eb4e61baa4961ce382743a4e (patch)
treeac8ad90058b97ab241fdc65edae3d4628d20ee1e /docs/world.md
parentc45309e29f21c1d5b75678db0e2dc2dd11cff25b (diff)
parent4e390e0871d7265e629b51aca8ff99a15a6a6845 (diff)
Merge main to include the compute Y/Z harness test fix
Diffstat (limited to 'docs/world.md')
-rw-r--r--docs/world.md33
1 files changed, 18 insertions, 15 deletions
diff --git a/docs/world.md b/docs/world.md
index 8d32b951a..718e9abc4 100644
--- a/docs/world.md
+++ b/docs/world.md
@@ -238,21 +238,19 @@ pattern in the 0–2 GiB family is a hash-table slot, not a matrix row.
238 238
239### How many are there? 239### How many are there?
240 240
241The measured 9,918 files and 680,228 entities are a **lower bound**, not a whole-archive total. The sample is 241A full sharded census of the `levels.rpf` data area now gives a measured total: **23,535 map resources /
24229 GiB of the 57 GiB map band (50.9%) and 39.23 GiB of the archive (55.3%, including the carver-indexed 0–2 GiB 2421,670,442 placement entities**. Every map row is exact against its declared entity size and every expected
243window). 243shard completed. The earlier bounded passes measured 9,918 files and 680,228 entities in 55.3% of the archive;
244 244that was a lower bound, and the full pass settles the extrapolation. See
245A single multiplier is weak because density is not uniform: sampled 1-GiB blocks range from 96 to 2,174 map 245[world_census.md](world_census.md) for the shard layout, the exactness condition and the 98.32% stream
246files and from 4,754 to 145,118 entities. Treating the 29 sampled 1-GiB units as exchangeable gives a 246coverage.
247uniform-block estimate of **~26,600 map files / ~1.77 million entities**. A 20,000-resample block bootstrap 247
248gives an approximate 95% interval of 16.0k–39.6k map files and 1.03M–2.64M entities. The selection was 248The full count is lower than SixNG's published 30,785 map files / 2,249,490 entities
249purposive, not random, so those bounds are approximate; they are not a census. 249(https://github.com/holdmysocks/SixNG). The difference is not yet explained. The census counts only
250 250validated `0x7a` resources whose schema includes `CMapData` and whose entity table is self-consistent;
251SixNG's published full-archive measurement, 30,785 map files / 2,249,490 entities 251SixNG may count archive entries, nested maps, or map resources that this scanner rejects. Treat the
252(https://github.com/holdmysocks/SixNG), lies inside that interval. It is external evidence, not a measurement 25223,535 / 1,670,442 figure as the measured count for this package and this validation rule, not as a
253made here. The observed 9,918 files are 32.2% of that count and 680,228 entities are 30.2%, even though 50.9% of 253claim about a different enumeration method.
254the map band was scanned. That gap is consistent with the unsampled parts being denser, with map files whose
255entity blocks live in graphics pages, or with both; only a full band scan can settle it.
256 254
257## What is readable, what is hash-only 255## What is readable, what is hash-only
258 256
@@ -304,6 +302,11 @@ Hash-only or opaque:
304It implements the header/schema validation above and the continuation join. It does not decrypt anything, 302It implements the header/schema validation above and the continuation join. It does not decrypt anything,
305does not extract models/textures, and keeps the output aggregate (one row per resource, no entity dump). 303does not extract models/textures, and keeps the output aggregate (one row per resource, no entity dump).
306 304
305`tools/world_census.py` scans the whole `levels.rpf` data area in shards and counts every validated
306`0x7a` map resource and placement entity. The measured full pass is 23,535 maps / 1,670,442 entities
307with 98.32% stream coverage; the exactness condition and byte accounting are in
308[world_census.md](world_census.md).
309
307```powershell 310```powershell
308python -I tools\world_index.py <levels.rpf> --start 21474836480 --limit 1073741824 ` 311python -I tools\world_index.py <levels.rpf> --start 21474836480 --limit 1073741824 `
309 --out work\world\levels-20-21.json --csv work\world\levels-20-21.csv 312 --out work\world\levels-20-21.json --csv work\world\levels-20-21.csv