@wildshard/sdk 0.0.0 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (687) hide show
  1. package/GUIDE.md +790 -0
  2. package/README.md +14 -4
  3. package/bin/wildshard.mjs +38 -0
  4. package/lint/declaration-config.d.mts +2 -0
  5. package/lint/declaration-config.mjs +19 -0
  6. package/lint/engine-plugin.d.mts +2 -0
  7. package/lint/engine-plugin.mjs +40 -0
  8. package/lint/host-callbacks.d.mts +6 -0
  9. package/lint/host-callbacks.mjs +123 -0
  10. package/lint/host-files.d.mts +1 -0
  11. package/lint/host-files.mjs +7 -0
  12. package/lint/layer-exports.d.mts +2 -0
  13. package/lint/layer-exports.mjs +21 -0
  14. package/lint/legacy-line-basis.json +995 -0
  15. package/lint/nine-tiling-baseline.json +35 -0
  16. package/lint/ratchet.json +11 -0
  17. package/lint/runtime-files.d.mts +12 -0
  18. package/lint/runtime-files.json +16 -0
  19. package/lint/runtime-files.mjs +69 -0
  20. package/lint/runtime-performance.d.mts +6 -0
  21. package/lint/runtime-performance.mjs +184 -0
  22. package/lint/sdk-plugin.d.mts +4 -0
  23. package/lint/sdk-plugin.mjs +134 -0
  24. package/lint/shardfile-boundaries.d.mts +10 -0
  25. package/lint/shardfile-boundaries.mjs +122 -0
  26. package/lint/tile-bake-debt.json +556 -0
  27. package/package.json +371 -4
  28. package/scripts/agent-parity.mjs +1524 -0
  29. package/scripts/agent-sync.mjs +518 -0
  30. package/scripts/apfs-clone.mjs +67 -0
  31. package/scripts/assert-store-layout.mjs +23 -0
  32. package/scripts/astc6-phone-cap.d.mts +3 -0
  33. package/scripts/astc6-phone-cap.mjs +137 -0
  34. package/scripts/audit-assets.d.mts +10 -0
  35. package/scripts/audit-assets.mjs +151 -0
  36. package/scripts/bake/coatFiles.d.mts +6 -0
  37. package/scripts/bake/coatFiles.mjs +37 -0
  38. package/scripts/bake/environment.d.mts +2 -0
  39. package/scripts/bake/environment.mjs +58 -0
  40. package/scripts/bake/far-proxies.mjs +45 -0
  41. package/scripts/bake/keyed-sky.d.mts +4 -0
  42. package/scripts/bake/keyed-sky.mjs +34 -0
  43. package/scripts/bake/movers.mjs +56 -0
  44. package/scripts/bake/nativeWorld.d.mts +6 -0
  45. package/scripts/bake/nativeWorld.mjs +43 -0
  46. package/scripts/bake/navmeshGround.ts +22 -0
  47. package/scripts/bake/near-placeholder.mjs +331 -0
  48. package/scripts/bake/placeholderShards.mjs +41 -0
  49. package/scripts/bake/skins.mjs +15 -0
  50. package/scripts/bake/template-skins.mjs +33 -0
  51. package/scripts/bake/viewmodelBytes.ts +26 -0
  52. package/scripts/bake/viewmodelPage.ts +11 -0
  53. package/scripts/bake/worldHost.d.mts +35 -0
  54. package/scripts/bake/worldHost.mjs +110 -0
  55. package/scripts/bake-astc6.cache.json +80 -0
  56. package/scripts/bake-astc6.far-reach.cache.json +23 -0
  57. package/scripts/bake-astc6.list.json +111 -0
  58. package/scripts/bake-astc6.mjs +279 -0
  59. package/scripts/bake-astc6.nalati-grasslands.cache.json +42 -0
  60. package/scripts/bake-catalogue.mjs +44 -0
  61. package/scripts/bake-check.mjs +54 -0
  62. package/scripts/bake-chunk.mjs +124 -0
  63. package/scripts/bake-cloud-field.mjs +24 -0
  64. package/scripts/bake-coats.mjs +110 -0
  65. package/scripts/bake-data-maps.d.mts +24 -0
  66. package/scripts/bake-data-maps.mjs +72 -0
  67. package/scripts/bake-entry-programs.mjs +117 -0
  68. package/scripts/bake-geometry.mjs +106 -0
  69. package/scripts/bake-hybrid-tiles.mjs +28 -0
  70. package/scripts/bake-ktx2.cache.json +276 -0
  71. package/scripts/bake-ktx2.list.json +365 -0
  72. package/scripts/bake-ktx2.mjs +477 -0
  73. package/scripts/bake-map-glb.mjs +127 -0
  74. package/scripts/bake-map-rest.d.mts +7 -0
  75. package/scripts/bake-map-rest.mjs +50 -0
  76. package/scripts/bake-maps.mjs +200 -0
  77. package/scripts/bake-navmesh.mjs +259 -0
  78. package/scripts/bake-packs.mjs +129 -0
  79. package/scripts/bake-pickups.mjs +102 -0
  80. package/scripts/bake-query-terrain.mjs +64 -0
  81. package/scripts/bake-recurve-pool.mjs +16 -0
  82. package/scripts/bake-section-schemas.d.mts +3 -0
  83. package/scripts/bake-template-shardfile.mjs +32 -0
  84. package/scripts/bake-textures.mjs +80 -0
  85. package/scripts/bake-viewmodel-sets.json +45 -0
  86. package/scripts/bake-viewmodel-sets.mjs +137 -0
  87. package/scripts/bake-voxel-ao.mjs +119 -0
  88. package/scripts/bake-water-ripples.mjs +25 -0
  89. package/scripts/blender/README.md +129 -0
  90. package/scripts/blender/build.sh +166 -0
  91. package/scripts/blender/lib/export-scene.mjs +129 -0
  92. package/scripts/blender/lib/glb-digest.mjs +188 -0
  93. package/scripts/blender/lib/glb.py +68 -0
  94. package/scripts/blender/lib/save_blend.py +17 -0
  95. package/scripts/blender/lib/world_fixture.py +55 -0
  96. package/scripts/blender/targets.json +591 -0
  97. package/scripts/build-sdk.mjs +95 -0
  98. package/scripts/build-shardfiles.d.mts +7 -0
  99. package/scripts/build-shardfiles.mjs +206 -0
  100. package/scripts/capture-hero.mjs +137 -0
  101. package/scripts/check-lift-review.mjs +23 -0
  102. package/scripts/chromium-keychain-check.mjs +139 -0
  103. package/scripts/chromium-keychain.d.mts +1 -0
  104. package/scripts/chromium-keychain.mjs +5 -0
  105. package/scripts/compile-script.d.mts +3 -0
  106. package/scripts/compile-script.mjs +8 -0
  107. package/scripts/creature-color.mjs +255 -0
  108. package/scripts/decide/calibrate.py +127 -0
  109. package/scripts/decide/calibration/2026-10-03/labels-s1.tsv +281 -0
  110. package/scripts/decide/calibration/2026-10-03/labels-s2.tsv +97 -0
  111. package/scripts/decide/calibration/2026-10-03/labels-s3.tsv +48 -0
  112. package/scripts/decide/calibration/2026-10-03/labels-s3b.tsv +26 -0
  113. package/scripts/decide/calibration/2026-10-03/res-capture-status-v1.jsonl +376 -0
  114. package/scripts/decide/calibration/2026-10-03/res-text-garbled-strings.jsonl +48 -0
  115. package/scripts/decide/calibration/2026-10-03/res-text-garbled-v1.jsonl +73 -0
  116. package/scripts/decide/decide.py +262 -0
  117. package/scripts/decide/decide.sh +50 -0
  118. package/scripts/decide/layer-purity-pilot.mjs +41 -0
  119. package/scripts/decide/sets/capture-status.json +46 -0
  120. package/scripts/decide/sets/layer-purity.json +28 -0
  121. package/scripts/decide/sets/text-garbled.json +17 -0
  122. package/scripts/decide/test_decide.py +37 -0
  123. package/scripts/docs.mjs +15 -0
  124. package/scripts/entry-reads/crawl.ts +152 -0
  125. package/scripts/entry-reads/tsconfig.json +25 -0
  126. package/scripts/gen-format-schema.d.mts +2 -0
  127. package/scripts/gen-format-schema.mjs +21 -0
  128. package/scripts/gen-host-catalogue.d.mts +14 -0
  129. package/scripts/gen-host-catalogue.mjs +108 -0
  130. package/scripts/gen-shard-layout-doc.d.mts +4 -0
  131. package/scripts/gen-shard-layout-doc.mjs +55 -0
  132. package/scripts/gen-shards.d.mts +17 -0
  133. package/scripts/gen-shards.mjs +311 -0
  134. package/scripts/goldens/capture-inputs.d.mts +4 -0
  135. package/scripts/goldens/capture-inputs.mjs +34 -0
  136. package/scripts/goldens/colour_shift.py +27 -0
  137. package/scripts/goldens/native-residency.d.mts +10 -0
  138. package/scripts/goldens/native-residency.mjs +104 -0
  139. package/scripts/goldens/plot-inputs.d.mts +12 -0
  140. package/scripts/goldens/plot-inputs.mjs +46 -0
  141. package/scripts/gpu-texmem.mjs +98 -0
  142. package/scripts/horizon-matte/config.py +24 -0
  143. package/scripts/horizon-matte/encode.py +91 -0
  144. package/scripts/horizon-matte/key.py +141 -0
  145. package/scripts/horizon-matte/mkjobs.py +33 -0
  146. package/scripts/horizon-matte/mkjobs_day2.py +11 -0
  147. package/scripts/horizon-matte/overlap.py +80 -0
  148. package/scripts/horizon-matte/run_codex.py +57 -0
  149. package/scripts/horizon-matte/stitch.py +133 -0
  150. package/scripts/img2mesh/CC0.md +105 -0
  151. package/scripts/img2mesh/README.md +209 -0
  152. package/scripts/img2mesh/ab_board.py +102 -0
  153. package/scripts/img2mesh/birds/birds.json +255 -0
  154. package/scripts/img2mesh/birds/birds_atlas.py +150 -0
  155. package/scripts/img2mesh/birds/birds_fix_preview.mjs +103 -0
  156. package/scripts/img2mesh/birds/birds_fix_render.py +75 -0
  157. package/scripts/img2mesh/birds/birds_pack.py +110 -0
  158. package/scripts/img2mesh/birds/birds_phone_b.py +112 -0
  159. package/scripts/img2mesh/birds/birds_post.py +550 -0
  160. package/scripts/img2mesh/birds/birds_render.py +125 -0
  161. package/scripts/img2mesh/birds/birds_sheet.py +33 -0
  162. package/scripts/img2mesh/birds/birds_view.py +60 -0
  163. package/scripts/img2mesh/board.py +100 -0
  164. package/scripts/img2mesh/build_cc0.sh +52 -0
  165. package/scripts/img2mesh/build_driftwood.sh +12 -0
  166. package/scripts/img2mesh/build_faces.sh +53 -0
  167. package/scripts/img2mesh/build_props.py +81 -0
  168. package/scripts/img2mesh/cc0_export.py +186 -0
  169. package/scripts/img2mesh/driftwood_post.py +571 -0
  170. package/scripts/img2mesh/e304_faces.sh +67 -0
  171. package/scripts/img2mesh/face_remaster.py +911 -0
  172. package/scripts/img2mesh/face_views.py +95 -0
  173. package/scripts/img2mesh/faces-e304.json +9 -0
  174. package/scripts/img2mesh/faces.json +30 -0
  175. package/scripts/img2mesh/head_cut.py +100 -0
  176. package/scripts/img2mesh/hi3d_paint.py +94 -0
  177. package/scripts/img2mesh/hi3d_refine.py +161 -0
  178. package/scripts/img2mesh/hunyuan_cpu_rasterizer.sh +42 -0
  179. package/scripts/img2mesh/pine_hollow_phone.sh +13 -0
  180. package/scripts/img2mesh/props/coral-arch.json +32 -0
  181. package/scripts/img2mesh/props/ember-furnace.json +30 -0
  182. package/scripts/img2mesh/props/night-market-gate.json +10 -0
  183. package/scripts/img2mesh/render_still.py +86 -0
  184. package/scripts/img2mesh/rig_strip.mjs +46 -0
  185. package/scripts/img2mesh/rig_transfer.mjs +104 -0
  186. package/scripts/img2mesh/split_sheet.py +48 -0
  187. package/scripts/img2mesh/trellis_batch.py +110 -0
  188. package/scripts/img2mesh/versus_board.py +114 -0
  189. package/scripts/import-bundle.d.mts +2 -0
  190. package/scripts/import-bundle.mjs +20 -0
  191. package/scripts/ktx2-ab-board.py +133 -0
  192. package/scripts/ktx2-ab.mjs +111 -0
  193. package/scripts/ktx2-settings.mjs +18 -0
  194. package/scripts/land.d.mts +14 -0
  195. package/scripts/land.mjs +809 -0
  196. package/scripts/lint-dispatch.mjs +14 -0
  197. package/scripts/map-bake-frames.d.mts +4 -0
  198. package/scripts/map-bake-frames.mjs +23 -0
  199. package/scripts/map-geometry.d.mts +9 -0
  200. package/scripts/map-geometry.mjs +29 -0
  201. package/scripts/map-world.mjs +162 -0
  202. package/scripts/mockup-local.sh +46 -0
  203. package/scripts/music/export-midi.mjs +68 -0
  204. package/scripts/music/gen/analyze.py +308 -0
  205. package/scripts/music/gen/audio_jobs.py +46 -0
  206. package/scripts/music/gen/briefs.json +51 -0
  207. package/scripts/music/gen/build_page.py +334 -0
  208. package/scripts/music/gen/folk.json +3187 -0
  209. package/scripts/music/gen/gen_ace_step.py +156 -0
  210. package/scripts/music/gen/gen_heartmula.py +187 -0
  211. package/scripts/music/gen/gen_minimax.py +143 -0
  212. package/scripts/music/gen/gen_sao.py +122 -0
  213. package/scripts/music/gen/gen_sao_small.py +104 -0
  214. package/scripts/music/gen/gen_sfx.py +98 -0
  215. package/scripts/music/gen/gen_sfx_ezaudio.py +112 -0
  216. package/scripts/music/gen/gen_sfx_moss.py +112 -0
  217. package/scripts/music/gen/models.json +61 -0
  218. package/scripts/music/gen/nalati-jobs.json +104 -0
  219. package/scripts/music/gen/nalati-score-build.json +119 -0
  220. package/scripts/music/gen/nalati-score.json +3448 -0
  221. package/scripts/music/gen/ob7-fit-decisions.json +38 -0
  222. package/scripts/music/gen/ob7-score-jobs.json +152 -0
  223. package/scripts/music/gen/ob7-sfx-jobs.json +897 -0
  224. package/scripts/music/gen/ob7_build.py +469 -0
  225. package/scripts/music/gen/ob7_generate.py +67 -0
  226. package/scripts/music/gen/ob7_run.sh +42 -0
  227. package/scripts/music/gen/orchestral.json +3187 -0
  228. package/scripts/music/gen/own_score.py +486 -0
  229. package/scripts/music/gen/ph-jobs.json +27 -0
  230. package/scripts/music/gen/ph_page.py +222 -0
  231. package/scripts/music/gen/piano.json +3175 -0
  232. package/scripts/music/gen/rank_v3.py +248 -0
  233. package/scripts/music/gen/sfx-best.json +2486 -0
  234. package/scripts/music/gen/sfx-ezaudio.json +4082 -0
  235. package/scripts/music/gen/sfx-jobs.json +57 -0
  236. package/scripts/music/gen/sfx-minimax-jobs.json +16 -0
  237. package/scripts/music/gen/sfx-minimax.json +289 -0
  238. package/scripts/music/gen/sfx-moss.json +4082 -0
  239. package/scripts/music/gen/sfx-nalati-b3-jobs.json +17 -0
  240. package/scripts/music/gen/sfx-nalati-jobs.json +338 -0
  241. package/scripts/music/gen/sfx-nalati.json +11202 -0
  242. package/scripts/music/gen/sfx-nd-jobs.json +57 -0
  243. package/scripts/music/gen/sfx-nd-moss.json +2097 -0
  244. package/scripts/music/gen/sfx-nd-sa3-medium.json +2097 -0
  245. package/scripts/music/gen/sfx-nd-summary.json +38 -0
  246. package/scripts/music/gen/sfx-peaks.json +7 -0
  247. package/scripts/music/gen/sfx-ph-jobs.json +169 -0
  248. package/scripts/music/gen/sfx-ph-moss.json +6564 -0
  249. package/scripts/music/gen/sfx-ph-sa3-medium.json +7239 -0
  250. package/scripts/music/gen/sfx-ph-summary.json +63 -0
  251. package/scripts/music/gen/sfx-sa3-medium.json +4082 -0
  252. package/scripts/music/gen/sfx-sa3.json +4082 -0
  253. package/scripts/music/gen/sfx-summary.json +107 -0
  254. package/scripts/music/gen/sfx_build.py +332 -0
  255. package/scripts/music/gen/sfx_merge.py +255 -0
  256. package/scripts/music/gen/sfx_minimax.py +61 -0
  257. package/scripts/music/gen/sfx_nalati.py +331 -0
  258. package/scripts/music/gen/sfx_sprite.py +424 -0
  259. package/scripts/music/gen/stems.py +539 -0
  260. package/scripts/music/gen/test_loop_meter.py +29 -0
  261. package/scripts/music/gen/test_ob7_provenance.py +77 -0
  262. package/scripts/music/gen/v3-folk-build.json +148 -0
  263. package/scripts/music/gen/v3-folk.json +1818 -0
  264. package/scripts/music/gen/v3-jobs.json +145 -0
  265. package/scripts/music/gen/v3-orchestral-build.json +148 -0
  266. package/scripts/music/gen/v3-orchestral.json +1813 -0
  267. package/scripts/music/gen/v3-ph-folk-build.json +94 -0
  268. package/scripts/music/gen/v3-ph-folk.json +1806 -0
  269. package/scripts/music/gen/v3-ph-orchestral-build.json +94 -0
  270. package/scripts/music/gen/v3-ph-orchestral.json +1824 -0
  271. package/scripts/music/gen/v3-ph-piano-build.json +94 -0
  272. package/scripts/music/gen/v3-ph-piano.json +1818 -0
  273. package/scripts/music/gen/v3-piano-build.json +148 -0
  274. package/scripts/music/gen/v3-piano.json +1813 -0
  275. package/scripts/music/wildshard-theme.mid +0 -0
  276. package/scripts/music/wildshard-trailer30.mid +0 -0
  277. package/scripts/named-blob-output.d.mts +8 -0
  278. package/scripts/named-blob-output.mjs +48 -0
  279. package/scripts/pack-all.mjs +15 -0
  280. package/scripts/pid-lock.d.mts +1 -0
  281. package/scripts/pid-lock.mjs +63 -0
  282. package/scripts/practice/bake_dummy.py +53 -0
  283. package/scripts/practice/build_dummies.sh +43 -0
  284. package/scripts/practice/dummy_parts.py +568 -0
  285. package/scripts/practice/dummy_rig_gate.py +139 -0
  286. package/scripts/practice/gate_sheet.py +36 -0
  287. package/scripts/practice/generate_dummy_unimate.py +132 -0
  288. package/scripts/practice/pack_dummy.mjs +59 -0
  289. package/scripts/practice/repair_dummy_weights.mjs +68 -0
  290. package/scripts/practice/rig_dummy.py +828 -0
  291. package/scripts/practice/verify_unimate_skin.mjs +356 -0
  292. package/scripts/preparation-seed.mjs +15 -0
  293. package/scripts/prepare-basis-tool.mjs +6 -0
  294. package/scripts/prepare-product.d.mts +14 -0
  295. package/scripts/prepare-product.mjs +101 -0
  296. package/scripts/product-build-tools.d.mts +3 -0
  297. package/scripts/product-build-tools.json +3 -0
  298. package/scripts/product-build-tools.mjs +31 -0
  299. package/scripts/publish-public.mjs +7 -0
  300. package/scripts/push-tables.d.mts +1 -0
  301. package/scripts/push-tables.mjs +28 -0
  302. package/scripts/record-shard-mounts.mjs +133 -0
  303. package/scripts/sdk-externals.d.mts +2 -0
  304. package/scripts/sdk-externals.mjs +2 -0
  305. package/scripts/section-inventory.ts +209 -0
  306. package/scripts/select-candidate.mjs +15 -0
  307. package/scripts/shard-build-pool.d.mts +4 -0
  308. package/scripts/shard-build-pool.mjs +53 -0
  309. package/scripts/shard-line-baseline.json +17 -0
  310. package/scripts/shard-milestones.d.mts +15 -0
  311. package/scripts/shard-milestones.mjs +105 -0
  312. package/scripts/shard-output-report.d.mts +9 -0
  313. package/scripts/shard-output-report.mjs +85 -0
  314. package/scripts/shard-platform-cli.mjs +93 -0
  315. package/scripts/shard-progress.mjs +212 -0
  316. package/scripts/shard-timelapse.py +102 -0
  317. package/scripts/shardfile-cold-boot.mjs +79 -0
  318. package/scripts/shardfile-vite.d.mts +4 -0
  319. package/scripts/shardfile-vite.mjs +20 -0
  320. package/scripts/simplify-models.mjs +24 -0
  321. package/scripts/site-facts.mjs +88 -0
  322. package/scripts/test-template-gate.mjs +44 -0
  323. package/scripts/test_golden_compare.py +68 -0
  324. package/scripts/tex-tiers.cache.json +181 -0
  325. package/scripts/tex-tiers.mjs +240 -0
  326. package/scripts/texmem-probe.mjs +184 -0
  327. package/scripts/unused-assets.mjs +173 -0
  328. package/scripts/vite-tmp.d.mts +23 -0
  329. package/scripts/vite-tmp.mjs +157 -0
  330. package/scripts/wave-line-baselines.json +32 -0
  331. package/scripts/wildshard.d.mts +4 -0
  332. package/scripts/wildshard.mjs +105 -0
  333. package/scripts/witness-checkpoints.d.mts +10 -0
  334. package/scripts/witness-checkpoints.mjs +84 -0
  335. package/scripts/witness-generation.d.mts +10 -0
  336. package/scripts/witness-generation.mjs +45 -0
  337. package/scripts/witness-manifests.d.mts +8 -0
  338. package/scripts/witness-manifests.mjs +157 -0
  339. package/scripts/worktree-ignore.d.mts +4 -0
  340. package/scripts/worktree-ignore.mjs +36 -0
  341. package/scripts/worktree-reap.mjs +214 -0
  342. package/scripts/worktree.mjs +396 -0
  343. package/scripts/worldclaw/capture-front.sh +28 -0
  344. package/scripts/worldclaw/design-template.md +62 -0
  345. package/scripts/worldclaw/spec-map.py +92 -0
  346. package/scripts/worldclaw/spec.ts +96 -0
  347. package/skills/wildshard/SKILL.md +50 -0
  348. package/skills/wildshard-goldens/SKILL.md +54 -0
  349. package/skills/wildshard-mockup-to-model/SKILL.md +56 -0
  350. package/skills/wildshard-upgrade/SKILL.md +46 -0
  351. package/src/.oxfmtrc.json +50 -0
  352. package/src/.oxlintrc.json +173 -0
  353. package/src/cli/account/account.ts +199 -0
  354. package/src/cli/account/command.ts +193 -0
  355. package/src/cli/account/key.ts +154 -0
  356. package/src/cli/args.ts +97 -0
  357. package/src/cli/audio/audio.ts +24 -0
  358. package/src/cli/bin.mjs +8 -0
  359. package/src/cli/delete/delete.ts +258 -0
  360. package/src/cli/help.ts +196 -0
  361. package/src/cli/hero/adopt.ts +103 -0
  362. package/src/cli/hero/hero.ts +112 -0
  363. package/src/cli/hero/stamp.ts +298 -0
  364. package/src/cli/main.ts +292 -0
  365. package/src/cli/report.ts +16 -0
  366. package/src/cli/shardfile/command.ts +50 -0
  367. package/src/cli/shardfile/shardfile.ts +192 -0
  368. package/src/cli/upload/api.ts +246 -0
  369. package/src/cli/upload/compress.ts +55 -0
  370. package/src/cli/upload/hero.ts +62 -0
  371. package/src/cli/upload/placement.ts +115 -0
  372. package/src/cli/upload/provenance.ts +192 -0
  373. package/src/cli/upload/signature.ts +30 -0
  374. package/src/cli/upload/upload.ts +269 -0
  375. package/src/cli/upload/validate.ts +74 -0
  376. package/src/cli/upload/wire.ts +147 -0
  377. package/src/cli/version.ts +63 -0
  378. package/src/commons/bake/portableMath.ts +187 -0
  379. package/src/commons/catalogue.ts +10 -0
  380. package/src/commons/courseProgram.ts +32 -0
  381. package/src/commons/practiceCourse.ts +16 -0
  382. package/src/commons/scripts/abi.as +14 -0
  383. package/src/commons/scripts/bridge.as +14 -0
  384. package/src/commons/scripts/course.as +63 -0
  385. package/src/scripts/ask-new.sh +29 -0
  386. package/src/scripts/asks.mjs +141 -0
  387. package/src/scripts/herdr-prompt.sh +34 -0
  388. package/src/scripts/herdr-question-open.sh +67 -0
  389. package/src/scripts/md-wrap.mjs +229 -0
  390. package/src/server/app.ts +19 -0
  391. package/src/server/serve.ts +49 -0
  392. package/src/sharddev/admission.ts +7 -0
  393. package/src/sharddev/arenaView.ts +15 -0
  394. package/src/sharddev/as/groupBankV2.ts +36 -0
  395. package/src/sharddev/as/groupStepV2.ts +13 -0
  396. package/src/sharddev/as/ws.ts +30 -0
  397. package/src/sharddev/as/wsV2.ts +180 -0
  398. package/src/sharddev/assemblyscriptCompiler.d.mts +5 -0
  399. package/src/sharddev/assemblyscriptCompiler.mjs +14 -0
  400. package/src/sharddev/assetHandle.ts +84 -0
  401. package/src/sharddev/assetOwner.ts +70 -0
  402. package/src/sharddev/assetScope.ts +30 -0
  403. package/src/sharddev/assets.ts +21 -0
  404. package/src/sharddev/audio.ts +9 -0
  405. package/src/sharddev/audioEncode.ts +211 -0
  406. package/src/sharddev/author.ts +3 -0
  407. package/src/sharddev/authorError.ts +28 -0
  408. package/src/sharddev/authorManifest.ts +39 -0
  409. package/src/sharddev/bake/annulus.ts +19 -0
  410. package/src/sharddev/bake/assemblyscriptMemo.ts +76 -0
  411. package/src/sharddev/bake/assemblyscriptMemoPort.ts +4 -0
  412. package/src/sharddev/bake/authoredWorld.ts +201 -0
  413. package/src/sharddev/bake/basisEncoder.ts +95 -0
  414. package/src/sharddev/bake/basisGlb.ts +85 -0
  415. package/src/sharddev/bake/basisTool.ts +74 -0
  416. package/src/sharddev/bake/basisToolInputs.ts +476 -0
  417. package/src/sharddev/bake/byteCodec.ts +33 -0
  418. package/src/sharddev/bake/canvasAtlas.ts +406 -0
  419. package/src/sharddev/bake/coarseCopy.ts +59 -0
  420. package/src/sharddev/bake/colliders.ts +87 -0
  421. package/src/sharddev/bake/compactGlb.ts +224 -0
  422. package/src/sharddev/bake/compileScript.ts +119 -0
  423. package/src/sharddev/bake/compileScriptV2.ts +75 -0
  424. package/src/sharddev/bake/contactRows.ts +84 -0
  425. package/src/sharddev/bake/creaturePlacement.ts +117 -0
  426. package/src/sharddev/bake/export.ts +67 -0
  427. package/src/sharddev/bake/facetedGeometry.ts +379 -0
  428. package/src/sharddev/bake/farImpostor.ts +120 -0
  429. package/src/sharddev/bake/forest.ts +100 -0
  430. package/src/sharddev/bake/format-hook.mjs +2 -0
  431. package/src/sharddev/bake/generatorGlb.ts +23 -0
  432. package/src/sharddev/bake/geometryBounds.ts +77 -0
  433. package/src/sharddev/bake/geometryError.ts +48 -0
  434. package/src/sharddev/bake/glb.ts +355 -0
  435. package/src/sharddev/bake/glbCompression.ts +143 -0
  436. package/src/sharddev/bake/gltfSource.ts +59 -0
  437. package/src/sharddev/bake/groundMap.ts +142 -0
  438. package/src/sharddev/bake/image.ts +20 -0
  439. package/src/sharddev/bake/isleMap.ts +64 -0
  440. package/src/sharddev/bake/json.mjs +84 -0
  441. package/src/sharddev/bake/keyedSky.ts +47 -0
  442. package/src/sharddev/bake/keyedSkyMemo.ts +39 -0
  443. package/src/sharddev/bake/kinds.ts +137 -0
  444. package/src/sharddev/bake/lightSources.ts +31 -0
  445. package/src/sharddev/bake/mapAssembly.ts +84 -0
  446. package/src/sharddev/bake/mapRaster.ts +173 -0
  447. package/src/sharddev/bake/mapRest.ts +57 -0
  448. package/src/sharddev/bake/mapScenes.ts +234 -0
  449. package/src/sharddev/bake/materialGraph.ts +32 -0
  450. package/src/sharddev/bake/meadow.ts +27 -0
  451. package/src/sharddev/bake/meshoptChoiceMemo.ts +34 -0
  452. package/src/sharddev/bake/nativeInteractionFacts.ts +5 -0
  453. package/src/sharddev/bake/nativeLattice.ts +178 -0
  454. package/src/sharddev/bake/nativeRaster.ts +106 -0
  455. package/src/sharddev/bake/nativeTerrainField.ts +11 -0
  456. package/src/sharddev/bake/navigation-json.mjs +38 -0
  457. package/src/sharddev/bake/navigation.ts +113 -0
  458. package/src/sharddev/bake/navigationAsset.ts +18 -0
  459. package/src/sharddev/bake/nearPlaceholder.ts +206 -0
  460. package/src/sharddev/bake/normalizeRig.ts +80 -0
  461. package/src/sharddev/bake/phoneAstc.ts +93 -0
  462. package/src/sharddev/bake/placeholders.ts +581 -0
  463. package/src/sharddev/bake/placement.ts +80 -0
  464. package/src/sharddev/bake/portableBytes.ts +18 -0
  465. package/src/sharddev/bake/portableBytesMemo.ts +50 -0
  466. package/src/sharddev/bake/practiceCourse.ts +49 -0
  467. package/src/sharddev/bake/primitives.ts +96 -0
  468. package/src/sharddev/bake/props.ts +443 -0
  469. package/src/sharddev/bake/questPlacement.ts +98 -0
  470. package/src/sharddev/bake/rawTexture.ts +26 -0
  471. package/src/sharddev/bake/riderArms.ts +97 -0
  472. package/src/sharddev/bake/rig.ts +95 -0
  473. package/src/sharddev/bake/riggedHullRecipes.ts +40 -0
  474. package/src/sharddev/bake/signPlacements.ts +25 -0
  475. package/src/sharddev/bake/simplifier.ts +52 -0
  476. package/src/sharddev/bake/skinned.ts +312 -0
  477. package/src/sharddev/bake/slabChunks.ts +149 -0
  478. package/src/sharddev/bake/slabs.ts +263 -0
  479. package/src/sharddev/bake/source-loader.mjs +55 -0
  480. package/src/sharddev/bake/sourceMetadata.ts +54 -0
  481. package/src/sharddev/bake/species.ts +368 -0
  482. package/src/sharddev/bake/specimenCatalogue.ts +47 -0
  483. package/src/sharddev/bake/splatGround.ts +141 -0
  484. package/src/sharddev/bake/staticMaterials.ts +171 -0
  485. package/src/sharddev/bake/terrain.ts +195 -0
  486. package/src/sharddev/bake/texture.ts +33 -0
  487. package/src/sharddev/bake/textureWasm.ts +81 -0
  488. package/src/sharddev/bake/tileEncoder.ts +11 -0
  489. package/src/sharddev/bake/tileGrid.ts +62 -0
  490. package/src/sharddev/bake/v2Finite.ts +160 -0
  491. package/src/sharddev/bake/v2Fuel.ts +71 -0
  492. package/src/sharddev/bake/wholePartition.ts +74 -0
  493. package/src/sharddev/bake/wholePieceJoin.ts +147 -0
  494. package/src/sharddev/bake/world.ts +173 -0
  495. package/src/sharddev/bake/worldCollision.ts +128 -0
  496. package/src/sharddev/bake/worldGeometry.ts +237 -0
  497. package/src/sharddev/bake/worldGlb.ts +123 -0
  498. package/src/sharddev/bake/worldImage.ts +12 -0
  499. package/src/sharddev/bake/worldLod.ts +128 -0
  500. package/src/sharddev/bake/worldRows.ts +102 -0
  501. package/src/sharddev/bake/worldTextureMemo.ts +63 -0
  502. package/src/sharddev/bake/zstdBytesMemo.ts +52 -0
  503. package/src/sharddev/bake.ts +193 -0
  504. package/src/sharddev/bakePublication.ts +31 -0
  505. package/src/sharddev/behaviourSource.ts +94 -0
  506. package/src/sharddev/bin/wildshard.mjs +7 -0
  507. package/src/sharddev/blobBytes.ts +65 -0
  508. package/src/sharddev/blobs.ts +138 -0
  509. package/src/sharddev/bootInventory.ts +129 -0
  510. package/src/sharddev/bossProfiles.ts +18 -0
  511. package/src/sharddev/buildBehaviour.ts +77 -0
  512. package/src/sharddev/buildCacheMetrics.ts +17 -0
  513. package/src/sharddev/buildDecisionScripts.ts +122 -0
  514. package/src/sharddev/check.ts +117 -0
  515. package/src/sharddev/checkProject.ts +126 -0
  516. package/src/sharddev/cli.ts +191 -0
  517. package/src/sharddev/clientChannels.ts +169 -0
  518. package/src/sharddev/clientScripts.ts +10 -0
  519. package/src/sharddev/commons.ts +77 -0
  520. package/src/sharddev/commonsCosts.ts +11 -0
  521. package/src/sharddev/compileMovers.ts +11 -0
  522. package/src/sharddev/configBoundary.ts +6 -0
  523. package/src/sharddev/cookInput.ts +40 -0
  524. package/src/sharddev/crowds.ts +6 -0
  525. package/src/sharddev/decisionBindingMap.ts +11 -0
  526. package/src/sharddev/decisionScriptBindings.ts +117 -0
  527. package/src/sharddev/decisionScripts.ts +28 -0
  528. package/src/sharddev/decisionSource.ts +51 -0
  529. package/src/sharddev/dev.ts +113 -0
  530. package/src/sharddev/director.ts +26 -0
  531. package/src/sharddev/directorAbi.ts +77 -0
  532. package/src/sharddev/discoveryDocument.ts +97 -0
  533. package/src/sharddev/draft.ts +11 -0
  534. package/src/sharddev/eliteEntryRows.ts +29 -0
  535. package/src/sharddev/entries.ts +76 -0
  536. package/src/sharddev/entryReads.ts +73 -0
  537. package/src/sharddev/executeBundle.ts +55 -0
  538. package/src/sharddev/finds.ts +5 -0
  539. package/src/sharddev/formatJsonSchema.ts +3 -0
  540. package/src/sharddev/generationCache.ts +257 -0
  541. package/src/sharddev/generationRecipe.ts +94 -0
  542. package/src/sharddev/handwritten.ts +110 -0
  543. package/src/sharddev/immutable.ts +14 -0
  544. package/src/sharddev/interactions.ts +38 -0
  545. package/src/sharddev/kit/bakedGeometry.ts +16 -0
  546. package/src/sharddev/kit/geometryPack.ts +110 -0
  547. package/src/sharddev/ledger.ts +13 -0
  548. package/src/sharddev/looks/tileField.ts +67 -0
  549. package/src/sharddev/materialGraphFiles.ts +57 -0
  550. package/src/sharddev/materials.ts +574 -0
  551. package/src/sharddev/measure.ts +18 -0
  552. package/src/sharddev/modes.ts +115 -0
  553. package/src/sharddev/moverPrograms.ts +213 -0
  554. package/src/sharddev/movers.ts +75 -0
  555. package/src/sharddev/nativePopulationRows.ts +46 -0
  556. package/src/sharddev/newProject.ts +247 -0
  557. package/src/sharddev/noise.ts +54 -0
  558. package/src/sharddev/outputProduct.ts +188 -0
  559. package/src/sharddev/outputRuntime.ts +66 -0
  560. package/src/sharddev/performancePolicy.ts +18 -0
  561. package/src/sharddev/phasedBoss.ts +34 -0
  562. package/src/sharddev/physics.ts +194 -0
  563. package/src/sharddev/platformSections.ts +42 -0
  564. package/src/sharddev/plumbing.ts +8 -0
  565. package/src/sharddev/productOutput.ts +128 -0
  566. package/src/sharddev/project.ts +337 -0
  567. package/src/sharddev/projectCompilerIdentity.ts +94 -0
  568. package/src/sharddev/projectDecisions.ts +66 -0
  569. package/src/sharddev/projectEntryProof.ts +32 -0
  570. package/src/sharddev/projectGeneration.ts +219 -0
  571. package/src/sharddev/projectInputFiles.ts +47 -0
  572. package/src/sharddev/projectManifest.ts +108 -0
  573. package/src/sharddev/projectMap.ts +35 -0
  574. package/src/sharddev/projectOutput.ts +242 -0
  575. package/src/sharddev/projectPolicy.ts +17 -0
  576. package/src/sharddev/projectSections.ts +27 -0
  577. package/src/sharddev/questGraph.ts +25 -0
  578. package/src/sharddev/quests.ts +65 -0
  579. package/src/sharddev/random.ts +61 -0
  580. package/src/sharddev/refusals.ts +234 -0
  581. package/src/sharddev/reportCard.ts +13 -0
  582. package/src/sharddev/returnProjectionV2.ts +81 -0
  583. package/src/sharddev/rows.ts +192 -0
  584. package/src/sharddev/runtimeImports.ts +38 -0
  585. package/src/sharddev/runtimeMirrors.ts +39 -0
  586. package/src/sharddev/runtimePerformance.ts +38 -0
  587. package/src/sharddev/scene.ts +321 -0
  588. package/src/sharddev/sceneAnimation.ts +54 -0
  589. package/src/sharddev/sceneAudio.ts +64 -0
  590. package/src/sharddev/sceneDeclarations.ts +100 -0
  591. package/src/sharddev/sceneGraph.ts +139 -0
  592. package/src/sharddev/sceneTransform.ts +12 -0
  593. package/src/sharddev/schemaValidation.ts +61 -0
  594. package/src/sharddev/sections.ts +47 -0
  595. package/src/sharddev/shardSource.ts +59 -0
  596. package/src/sharddev/sourceReader.ts +26 -0
  597. package/src/sharddev/spawns.ts +38 -0
  598. package/src/sharddev/species/clips.ts +24 -0
  599. package/src/sharddev/species.ts +29 -0
  600. package/src/sharddev/speciesBrains.ts +19 -0
  601. package/src/sharddev/synth.ts +66 -0
  602. package/src/sharddev/test/compileDualScriptV2.ts +71 -0
  603. package/src/sharddev/test/compileSimV2.ts +21 -0
  604. package/src/sharddev/test/diskScriptScenario.ts +86 -0
  605. package/src/sharddev/test/scriptScenario.ts +249 -0
  606. package/src/sharddev/test/scriptSource.ts +12 -0
  607. package/src/sharddev/version.ts +4 -0
  608. package/src/sharddev/weapons/bowProfile.ts +20 -0
  609. package/src/sharddev/weapons/firearmRows.ts +11 -0
  610. package/src/sharddev/weapons/meleeProfile.ts +71 -0
  611. package/src/sharddev/weapons/thrownProfile.ts +10 -0
  612. package/src/sharddev/worldScenes.ts +308 -0
  613. package/src/sharddev/worldSource.ts +82 -0
  614. package/src/shards/_template/README.md +78 -0
  615. package/src/shards/_template/assets/2bf489fdb15f1734ddb4c4f32d500ec6da85c765ec7a4eb28dc6781160e7ec8c +0 -0
  616. package/src/shards/_template/assets/97ec4d8f75f5fa6239ee919444d6dc19fd35896bb305930c1f050ac6e0e0e6a6 +1 -0
  617. package/src/shards/_template/assets/a6a587a31327f936b1b04c05ade818c73fc8964260918662db43539465e27586 +0 -0
  618. package/src/shards/_template/assets/b4fbde0422e125b498c3dc8b9a5cc2516c8598f09e9d0e5f6b639b32f98179e6 +0 -0
  619. package/src/shards/_template/assets/bfa4dfc9c18979f904557ee8deab0058b8a399be10266f5fb1578b403f482fd4 +1 -0
  620. package/src/shards/_template/assets/ef3b7ff4fd22715771cb7d68a3977a903c5e7c3dc293542687d04b3ef3ace2cb +0 -0
  621. package/src/shards/_template/assets/f2db05998615ce1cb79ea96be32c168842eb6a2b34ec01feb86d36404603ee54 +0 -0
  622. package/src/shards/_template/assets/fef98ebb7fce6f66b26e78ac699e5c90f9bdcfaf8cabeb2b58125347eea8b4ab +0 -0
  623. package/src/shards/_template/behaviour/boss.as +39 -0
  624. package/src/shards/_template/behaviour/door.as +32 -0
  625. package/src/shards/_template/behaviour/hooks.json +129 -0
  626. package/src/shards/_template/behaviour/idle.as +75 -0
  627. package/src/shards/_template/behaviour/items.as +22 -0
  628. package/src/shards/_template/card/landscape.jpg +0 -0
  629. package/src/shards/_template/card/portrait.jpg +0 -0
  630. package/src/shards/_template/card/thumb.jpg +0 -0
  631. package/src/shards/_template/data/audio.json +45 -0
  632. package/src/shards/_template/data/bossDecision.json +83 -0
  633. package/src/shards/_template/data/budgets.json +70 -0
  634. package/src/shards/_template/data/card.json +281 -0
  635. package/src/shards/_template/data/clientScripts.json +987 -0
  636. package/src/shards/_template/data/creatures.json +65 -0
  637. package/src/shards/_template/data/director.json +39 -0
  638. package/src/shards/_template/data/encounters.json +96 -0
  639. package/src/shards/_template/data/items.json +172 -0
  640. package/src/shards/_template/data/layout.json +66 -0
  641. package/src/shards/_template/data/ledger.json +32 -0
  642. package/src/shards/_template/data/look.json +521 -0
  643. package/src/shards/_template/data/map.json +64 -0
  644. package/src/shards/_template/data/moves.json +16 -0
  645. package/src/shards/_template/data/placeholder.json +8 -0
  646. package/src/shards/_template/data/plumbing.json +32 -0
  647. package/src/shards/_template/data/quests.json +223 -0
  648. package/src/shards/_template/data/rows.json +423 -0
  649. package/src/shards/_template/data/skins.json +66 -0
  650. package/src/shards/_template/data/spawn.json +6 -0
  651. package/src/shards/_template/data/targets.json +150 -0
  652. package/src/shards/_template/data/text.json +12 -0
  653. package/src/shards/_template/data/ui.json +33 -0
  654. package/src/shards/_template/data/water.json +13 -0
  655. package/src/shards/_template/generators/behaviour.ts +34 -0
  656. package/src/shards/_template/generators/boss.ts +29 -0
  657. package/src/shards/_template/generators/buildOptions.ts +2 -0
  658. package/src/shards/_template/generators/cell.ts +224 -0
  659. package/src/shards/_template/generators/districts.ts +215 -0
  660. package/src/shards/_template/generators/farLook.ts +15 -0
  661. package/src/shards/_template/generators/generate.ts +27 -0
  662. package/src/shards/_template/generators/ground.ts +15 -0
  663. package/src/shards/_template/generators/kit.ts +69 -0
  664. package/src/shards/_template/generators/landscape.ts +59 -0
  665. package/src/shards/_template/generators/landscapeNoise.ts +62 -0
  666. package/src/shards/_template/generators/mapInputs.ts +10 -0
  667. package/src/shards/_template/generators/product.ts +100 -0
  668. package/src/shards/_template/generators/productOutput.ts +18 -0
  669. package/src/shards/_template/generators/props.ts +9 -0
  670. package/src/shards/_template/generators/templatePropsSource.ts +58 -0
  671. package/src/shards/_template/generators/terrain.ts +17 -0
  672. package/src/shards/_template/generators/world.ts +630 -0
  673. package/src/shards/_template/hero.json +10 -0
  674. package/src/shards/_template/look/entry-reads.json +20 -0
  675. package/src/shards/_template/manifest.json +281 -0
  676. package/src/shards/_template/shard.config.ts +10 -0
  677. package/src/shared/health.ts +10 -0
  678. package/src/tools/build-web.ts +59 -0
  679. package/src/tsconfig.json +30 -0
  680. package/src/web/app.tsx +53 -0
  681. package/src/web/index.html +12 -0
  682. package/src/web/main.tsx +10 -0
  683. package/src/web/tsconfig.json +13 -0
  684. package/tsconfig.author.json +23 -0
  685. package/tsconfig.commons.json +21 -0
  686. package/tsconfig.json +47 -0
  687. package/tsconfig.sharddev.json +20 -0
@@ -0,0 +1,3 @@
1
+ /** Compile AssemblyScript 0.28.20 and structurally meter ABI-v0 bytecode using Binaryen 132.0.0. */
2
+ export function compileScript(source: string, options?: { maximumPages?: number; sources?: Readonly<Record<string, string>> }): Promise<Uint8Array>;
3
+ export function instrumentScript(bytes: Uint8Array): Uint8Array;
@@ -0,0 +1,8 @@
1
+ /** Repository compatibility wrapper for the SDK's pinned portable compiler. */
2
+ import { compileScript as compile, instrumentScript as instrument } from '@wildshard/sdk/compileScript';
3
+
4
+ /** @param {Uint8Array} bytes */
5
+ export function instrumentScript(bytes) { return instrument(bytes); }
6
+ /** Compile and meter ABI-v0 source with the same SDK implementation used by outside authors.
7
+ * @param {string} source @param {{maximumPages?:number,sources?:Readonly<Record<string,string>>}} [options] */
8
+ export function compileScript(source, options = {}) { return compile(source, options); }
@@ -0,0 +1,255 @@
1
+ #!/usr/bin/env node
2
+ // creature-color.mjs — colour-match a shard's generated creature hulls to their codex references, then write the rig-ready
3
+ // sources (desktop 1024² + phone 512² textures, meshopt). Shard-agnostic copy of Nalati's scripts/nalati-models-color.mjs
4
+ // (the same Lab histogram + per-hue-sector match, verbatim), for the PBR hulls of a photoreal shard: the base-colour atlas
5
+ // is matched, the baked normal map rides along untouched. PINE-HOLLOW-REMASTER PH-M1.
6
+ //
7
+ // Per hull: the post-processed hull (`driftwood_post.py --keep-texture`: smooth, the generated texture baked ungraded on
8
+ // its own UVs + a tangent-space normal map from the high mesh) and its reference (`ref-<hull>.jpg` on white: the object is
9
+ // every pixel off the white, eroded 3 px so the anti-aliased rim doesn't count).
10
+ // - L (CIE Lab lightness) and chroma: histogram match, texels used by the mesh (UV-rasterised mask) → the reference's
11
+ // object pixels (TRELLIS bakes read darker and muddier than the photo);
12
+ // - per hue sector: L, chroma and hue pulled to the reference's same sector; a soft toe lift on the darkest L.
13
+ // Output: <src>/<hull>.glb + <hull>.phone.glb (the chunk's `src`; the former creature-rig-bake.mjs was deleted in E357 F7: needed the dev labs).
14
+ //
15
+ // node scripts/creature-color.mjs --chunk=pine-hollow # every hull
16
+ // node scripts/creature-color.mjs --chunk=pine-hollow --only=boar # some
17
+ // --post=~/ml/img2mesh/out/pine-hollow-creatures-post (the staging folder: <post>/<hull>/<hull>.glb)
18
+ import { createRequire } from 'node:module';
19
+ import { realpathSync, mkdirSync, statSync } from 'node:fs';
20
+ import { execFileSync } from 'node:child_process';
21
+ import { resolve as resolvePath, join } from 'node:path';
22
+ import { homedir } from 'node:os';
23
+
24
+ const ROOT = resolvePath(new URL('..', import.meta.url).pathname);
25
+ const req = createRequire(realpathSync(join(ROOT, 'node_modules/@gltf-transform/cli/package.json')));
26
+ const { NodeIO } = req('@gltf-transform/core');
27
+ const { ALL_EXTENSIONS, EXTMeshoptCompression } = req('@gltf-transform/extensions');
28
+ const { MeshoptDecoder } = req('meshoptimizer');
29
+ const sharp = req('sharp');
30
+
31
+ const argv = process.argv.slice(2);
32
+ const flag = (n, d) => { const a = argv.find((x) => x.startsWith(`--${n}=`)); return a ? a.slice(n.length + 3) : d; };
33
+ const only = flag('only', '').split(',').filter(Boolean);
34
+ const tilde = (p) => p.replace(/^~/, homedir());
35
+ const CHUNK = flag('chunk', 'pine-hollow');
36
+ const GT = join(ROOT, 'node_modules/.bin/gltf-transform');
37
+
38
+ /**
39
+ * Per chunk: `post` (the staging folder of the post-processed hulls), `src` (where the rig-ready sources go: the same
40
+ * folder as the references) and per hull the match knobs — k = blend 0..1 of the match; lift = L units added at L = 0
41
+ * (toe); sat = extra chroma multiplier; gain = L multiplier; hiSat = chroma multiplier on the light paint.
42
+ */
43
+ const CREATURE_CONFIGS = {
44
+ 'pine-hollow': {
45
+ post: '~/ml/img2mesh/out/pine-hollow-creatures-post',
46
+ src: 'art/pine-hollow/round-9-creature-refs',
47
+ hulls: {
48
+ 'deer-hind': { k: 0.85 }, 'deer-stag': { k: 0.85 }, boar: { k: 0.85 },
49
+ 'elk-cow': { k: 0.85 }, 'elk-bull': { k: 0.85 }, 'bear-black': { k: 0.8, lift: 2 }, 'bear-brown': { k: 0.85 },
50
+ // E322 F-M1: the Antler King's own upright hull (its own round and staging folder: the codex ref's backdrop sheet
51
+ // stripped from the post by the scratch strip step, art/pine-hollow/round-25-e322-king-rig/README.md)
52
+ 'antler-king-rig': { k: 0.8, src: 'art/pine-hollow/round-25-e322-king-rig', post: '~/ml/img2mesh/out/pine-hollow-king-rig-clean' },
53
+ },
54
+ },
55
+ };
56
+ const CFG = CREATURE_CONFIGS[CHUNK];
57
+ if (!CFG) throw new Error(`creature-color: no table for chunk '${CHUNK}'`);
58
+ const POST = tilde(flag('post', CFG.post));
59
+ const OUT0 = resolvePath(ROOT, CFG.src);
60
+ mkdirSync(OUT0, { recursive: true });
61
+ const TMP = flag('tmp', join('/tmp', `creature-color-${CHUNK}`));
62
+ mkdirSync(TMP, { recursive: true });
63
+
64
+ // ---- colour ----
65
+ const lin = (c) => (c <= 0.04045 ? c / 12.92 : ((c + 0.055) / 1.055) ** 2.4);
66
+ const gam = (c) => (c <= 0.0031308 ? 12.92 * c : 1.055 * c ** (1 / 2.4) - 0.055);
67
+ const LUT_LIN = new Float64Array(256).map((_, i) => lin(i / 255));
68
+ const f = (t) => (t > 216 / 24389 ? Math.cbrt(t) : (24389 / 27 * t + 16) / 116);
69
+ const fi = (t) => (t ** 3 > 216 / 24389 ? t ** 3 : (116 * t - 16) / (24389 / 27));
70
+ const XN = 0.95047, ZN = 1.08883;
71
+ /** sRGB bytes → Lab (Float32Array of 3·n) */
72
+ function toLab(rgba, n) {
73
+ const out = new Float32Array(n * 3);
74
+ for (let i = 0; i < n; i++) {
75
+ const r = LUT_LIN[rgba[i * 4]], g = LUT_LIN[rgba[i * 4 + 1]], b = LUT_LIN[rgba[i * 4 + 2]];
76
+ const x = (0.4124 * r + 0.3576 * g + 0.1805 * b) / XN, y = 0.2126 * r + 0.7152 * g + 0.0722 * b, z = (0.0193 * r + 0.1192 * g + 0.9505 * b) / ZN;
77
+ const fx = f(x), fy = f(y), fz = f(z);
78
+ out[i * 3] = 116 * fy - 16; out[i * 3 + 1] = 500 * (fx - fy); out[i * 3 + 2] = 200 * (fy - fz);
79
+ }
80
+ return out;
81
+ }
82
+ function labToRgb(L, a, b) {
83
+ const fy = (L + 16) / 116, fx = fy + a / 500, fz = fy - b / 200;
84
+ const x = fi(fx) * XN, y = fi(fy), z = fi(fz) * ZN;
85
+ const r = 3.2406 * x - 1.5372 * y - 0.4986 * z, g = -0.9689 * x + 1.8758 * y + 0.0415 * z, bb = 0.0557 * x - 0.204 * y + 1.057 * z;
86
+ const c = (v) => Math.round(255 * gam(Math.min(1, Math.max(0, v))));
87
+ return [c(r), c(g), c(bb)];
88
+ }
89
+ function stats(lab, idx) {
90
+ const m = [0, 0, 0], s = [0, 0, 0];
91
+ for (const i of idx) for (let c = 0; c < 3; c++) m[c] += lab[i * 3 + c];
92
+ for (let c = 0; c < 3; c++) m[c] /= idx.length;
93
+ for (const i of idx) for (let c = 0; c < 3; c++) s[c] += (lab[i * 3 + c] - m[c]) ** 2;
94
+ for (let c = 0; c < 3; c++) s[c] = Math.sqrt(s[c] / idx.length);
95
+ return { m, s };
96
+ }
97
+ /** a histogram (CDF) match LUT for one scalar channel sampled by fn(i) over 0..max, 10 bins per unit, smoothed */
98
+ function cdfLut(fnS, srcIdx, fnR, refIdx, max) {
99
+ const B = max * 10 + 1, hs = new Float64Array(B), hr = new Float64Array(B);
100
+ const bin = (v) => Math.min(B - 1, Math.max(0, Math.round(v * 10)));
101
+ for (const i of srcIdx) hs[bin(fnS(i))]++;
102
+ for (const i of refIdx) hr[bin(fnR(i))]++;
103
+ for (let i = 1; i < B; i++) { hs[i] += hs[i - 1]; hr[i] += hr[i - 1]; }
104
+ const ns = hs[B - 1], nr = hr[B - 1], lut = new Float32Array(B);
105
+ let j = 0;
106
+ for (let i = 0; i < B; i++) { const q = hs[i] / ns; while (j < B - 1 && hr[j] / nr < q) j++; lut[i] = j / 10; }
107
+ const sm = new Float32Array(B); // a 1.5-unit box so no banding
108
+ for (let i = 0; i < B; i++) { let t = 0, c = 0; for (let d = -15; d <= 15; d++) { const q = i + d; if (q >= 0 && q < B) { t += lut[q]; c++; } } sm[i] = t / c; }
109
+ return (v) => sm[Math.min(B - 1, Math.max(0, Math.round(v * 10)))];
110
+ }
111
+
112
+ /** per hue sector (12 × 30°, chroma > 6): share, mean chroma, mean L and the circular-mean hue */
113
+ const SECT = 12;
114
+ const sectorOf = (a, b) => Math.floor(((Math.atan2(b, a) / (2 * Math.PI) + 1) % 1) * SECT) % SECT;
115
+ function hueStats(lab, idx, mapL, mapC) {
116
+ const n = new Float64Array(SECT), c = new Float64Array(SECT), l = new Float64Array(SECT), sx = new Float64Array(SECT), sy = new Float64Array(SECT);
117
+ for (const i of idx) {
118
+ const a = lab[i * 3 + 1], b = lab[i * 3 + 2], C = Math.hypot(a, b);
119
+ if (C < 6) continue;
120
+ const s = sectorOf(a, b);
121
+ n[s] += 1; c[s] += mapC(C); l[s] += mapL(lab[i * 3]); sx[s] += a / C; sy[s] += b / C;
122
+ }
123
+ const tot = idx.length;
124
+ return Array.from({ length: SECT }, (_, s) => ({ share: n[s] / tot, C: n[s] ? c[s] / n[s] : 0, L: n[s] ? l[s] / n[s] : 0, h: Math.atan2(sy[s], sx[s]) }));
125
+ }
126
+
127
+ /** build the per-pixel colour map for this model: (L,a,b) → (L',a',b').
128
+ * Global: L and chroma each histogram-matched to the reference (the tonal / saturation distribution: nothing black,
129
+ * the grey stone greyer, the gold brighter). Then per hue sector (chromatic texels only): the sector's mean L and
130
+ * mean chroma pulled to the reference's same sector, and its hue nudged toward it (±20°) — so a crimson cape stays
131
+ * crimson and dark while bronze turns bright gold (a global shift would pull every hue toward the average). */
132
+ function makeMap(srcLab, srcIdx, refLab, refIdx, knobs) {
133
+ const k = knobs.k ?? 0.85, lift = knobs.lift ?? 4, sat = knobs.sat ?? 1, gain = knobs.gain ?? 1, hiSat = knobs.hiSat ?? 1;
134
+ const S = stats(srcLab, srcIdx), R = stats(refLab, refIdx);
135
+ const Cof = (lab) => (i) => Math.hypot(lab[i * 3 + 1], lab[i * 3 + 2]);
136
+ const mapL = cdfLut((i) => srcLab[i * 3], srcIdx, (i) => refLab[i * 3], refIdx, 100);
137
+ const mapC = cdfLut(Cof(srcLab), srcIdx, Cof(refLab), refIdx, 130);
138
+ const hs = hueStats(srcLab, srcIdx, mapL, mapC), hr = hueStats(refLab, refIdx, (v) => v, (v) => v);
139
+ const wrap = (d) => Math.atan2(Math.sin(d), Math.cos(d));
140
+ const clamp = (v, lo, hi) => Math.min(hi, Math.max(lo, v));
141
+ const sect = hs.map((s, i) => {
142
+ const r = hr[i];
143
+ if (s.share < 0.003 || r.share < 0.003) return { cr: 1, dl: 0, dh: 0 };
144
+ return { cr: clamp(r.C / Math.max(1e-3, s.C), 0.7, 1.4), dl: clamp(r.L - s.L, -15, 15), dh: clamp(wrap(r.h - s.h), -0.35, 0.35) };
145
+ });
146
+ return {
147
+ S, R,
148
+ map(L, a, b) {
149
+ const C = Math.hypot(a, b), h = Math.atan2(b, a);
150
+ const u = ((h / (2 * Math.PI) + 1) % 1) * SECT - 0.5, i0 = (Math.floor(u) + SECT) % SECT, i1 = (i0 + 1) % SECT, t = u - Math.floor(u);
151
+ const lerp = (key) => sect[i0][key] * (1 - t) + sect[i1][key] * t;
152
+ const w = clamp((C - 6) / 14, 0, 1); // chromatic weight
153
+ let L2 = mapL(L) + lerp('dl') * w;
154
+ L2 += lift * Math.max(0, 1 - L2 / 55) ** 2; // toe lift: nothing black
155
+ L2 = Math.min(98, L2 * gain);
156
+ const hi = clamp((L2 - 55) / 20, 0, 1); // the light paint (felt, birch): hiSat scales its chroma
157
+ // chroma hist-match as a ratio; near-grey texels are never pushed up (their hue is noise)
158
+ const up = mapC(C) / Math.max(C, 1e-3), rc = up > 1 ? 1 + (up - 1) * clamp((C - 3) / 7, 0, 1) : up;
159
+ const C2 = C * rc * (1 + (lerp('cr') - 1) * w) * sat * (1 + (hiSat - 1) * hi), h2 = h + lerp('dh') * w * 0.8;
160
+ const a2 = C2 * Math.cos(h2), b2 = C2 * Math.sin(h2);
161
+ return [L + (L2 - L) * k, a + (a2 - a) * k, b + (b2 - b) * k];
162
+ },
163
+ };
164
+ }
165
+
166
+ async function readRgba(pathOrBuf) {
167
+ const { data, info } = await sharp(pathOrBuf).ensureAlpha().raw().toBuffer({ resolveWithObject: true });
168
+ return { data, w: info.width, h: info.height };
169
+ }
170
+ async function applyMap(img, mapper) {
171
+ const { data, w, h } = await readRgba(img);
172
+ const n = w * h, lab = toLab(data, n), out = Buffer.from(data);
173
+ for (let i = 0; i < n; i++) {
174
+ if (data[i * 4 + 3] === 0) continue;
175
+ const [L, a, b] = mapper.map(lab[i * 3], lab[i * 3 + 1], lab[i * 3 + 2]);
176
+ const [r, g, bb] = labToRgb(L, a, b);
177
+ out[i * 4] = r; out[i * 4 + 1] = g; out[i * 4 + 2] = bb;
178
+ }
179
+ return sharp(out, { raw: { width: w, height: h, channels: 4 } }).png().toBuffer();
180
+ }
181
+
182
+ /** texels covered by the mesh's UV triangles */
183
+ function uvMask(doc, w, h) {
184
+ const mask = new Uint8Array(w * h);
185
+ for (const mesh of doc.getRoot().listMeshes()) for (const prim of mesh.listPrimitives()) {
186
+ const uv = prim.getAttribute('TEXCOORD_0'); if (!uv) continue;
187
+ const ind = prim.getIndices(); const nIdx = ind ? ind.getCount() : uv.getCount();
188
+ const at = (i) => (ind ? ind.getScalar(i) : i);
189
+ const p = [0, 0];
190
+ for (let t = 0; t < nIdx; t += 3) {
191
+ const P = [0, 1, 2].map((o) => { uv.getElement(at(t + o), p); return [p[0] * w, p[1] * h]; });
192
+ const x0 = Math.max(0, Math.floor(Math.min(P[0][0], P[1][0], P[2][0]))), x1 = Math.min(w - 1, Math.ceil(Math.max(P[0][0], P[1][0], P[2][0])));
193
+ const y0 = Math.max(0, Math.floor(Math.min(P[0][1], P[1][1], P[2][1]))), y1 = Math.min(h - 1, Math.ceil(Math.max(P[0][1], P[1][1], P[2][1])));
194
+ const d = (P[1][1] - P[2][1]) * (P[0][0] - P[2][0]) + (P[2][0] - P[1][0]) * (P[0][1] - P[2][1]);
195
+ if (Math.abs(d) < 1e-9) continue;
196
+ for (let y = y0; y <= y1; y++) for (let x = x0; x <= x1; x++) {
197
+ const px = x + 0.5, py = y + 0.5;
198
+ const l0 = ((P[1][1] - P[2][1]) * (px - P[2][0]) + (P[2][0] - P[1][0]) * (py - P[2][1])) / d;
199
+ const l1 = ((P[2][1] - P[0][1]) * (px - P[2][0]) + (P[0][0] - P[2][0]) * (py - P[2][1])) / d;
200
+ if (l0 >= -0.01 && l1 >= -0.01 && 1 - l0 - l1 >= -0.01) mask[y * w + x] = 1;
201
+ }
202
+ }
203
+ }
204
+ return mask;
205
+ }
206
+
207
+
208
+ /** the reference's object pixels: off the white background, eroded 3 px (the anti-aliased rim is neither) */
209
+ async function refObject(path) {
210
+ const ref = await readRgba(path);
211
+ const n = ref.w * ref.h, obj = new Uint8Array(n);
212
+ for (let i = 0; i < n; i++) { const m = Math.min(ref.data[i * 4], ref.data[i * 4 + 1], ref.data[i * 4 + 2]); obj[i] = 255 - m > 24 ? 1 : 0; }
213
+ let cur = obj;
214
+ for (let pass = 0; pass < 3; pass++) {
215
+ const next = new Uint8Array(cur);
216
+ for (let y = 1; y < ref.h - 1; y++) for (let x = 1; x < ref.w - 1; x++) {
217
+ const i = y * ref.w + x;
218
+ if (cur[i] && (!cur[i - 1] || !cur[i + 1] || !cur[i - ref.w] || !cur[i + ref.w])) next[i] = 0;
219
+ }
220
+ cur = next;
221
+ }
222
+ const idx = []; for (let i = 0; i < n; i++) if (cur[i]) idx.push(i);
223
+ return { ref, idx };
224
+ }
225
+
226
+ await MeshoptDecoder.ready;
227
+ const io = new NodeIO().registerExtensions(ALL_EXTENSIONS).registerDependencies({ 'meshopt.decoder': MeshoptDecoder });
228
+ for (const [name, knobs] of Object.entries(CFG.hulls)) {
229
+ if (only.length > 0 && !only.includes(name)) continue;
230
+ // a hull may keep its own round (`src`) and staging folder (`post`)
231
+ const OUT = knobs.src ? resolvePath(ROOT, knobs.src) : OUT0, POSTH = knobs.post ? tilde(knobs.post) : POST;
232
+ const doc = await io.read(join(POSTH, name, `${name}.glb`));
233
+ const mat = doc.getRoot().listMaterials()[0];
234
+ const tex = mat?.getBaseColorTexture() ?? doc.getRoot().listTextures()[0];
235
+ const img = tex?.getImage(); if (!tex || !img) throw new Error(`${name}: no base colour texture`);
236
+ const atlas = await readRgba(Buffer.from(img));
237
+ const mask = uvMask(doc, atlas.w, atlas.h);
238
+ const srcIdx = []; for (let i = 0; i < mask.length; i++) if (mask[i]) srcIdx.push(i);
239
+ const srcLab = toLab(atlas.data, atlas.w * atlas.h);
240
+ const { ref, idx: refIdx } = await refObject(join(OUT, `ref-${name}.jpg`));
241
+ const refLab = toLab(ref.data, ref.w * ref.h);
242
+ const mapper = makeMap(srcLab, srcIdx, refLab, refIdx, knobs);
243
+ const png = await applyMap(Buffer.from(img), mapper);
244
+ tex.setImage(new Uint8Array(png)).setMimeType('image/png');
245
+ for (const ext of doc.getRoot().listExtensionsUsed()) if (ext instanceof EXTMeshoptCompression) ext.dispose();
246
+ const mid = join(TMP, `${name}.glb`);
247
+ await io.write(mid, doc);
248
+ for (const [out, size] of [[`${name}.glb`, 1024], [`${name}.phone.glb`, 512]]) {
249
+ execFileSync(GT, ['optimize', mid, join(OUT, out), '--compress', 'meshopt', '--texture-compress', 'webp', '--texture-size', String(size),
250
+ '--simplify', 'false', '--instance', 'false', '--weld', 'false'], { stdio: 'pipe' });
251
+ }
252
+ const r = (v) => v.map((x) => x.toFixed(1)).join('/');
253
+ console.log(`${name.padEnd(11)} Lab src ${r(mapper.S.m)} -> ref ${r(mapper.R.m)} ` +
254
+ `${(statSync(join(OUT, `${name}.glb`)).size / 1e3).toFixed(0)} KB / ${(statSync(join(OUT, `${name}.phone.glb`)).size / 1e3).toFixed(0)} KB`);
255
+ }
@@ -0,0 +1,127 @@
1
+ #!/usr/bin/env python3
2
+ """calibrate.py — score a decide.py batch against hand labels (E394 D3, project/archive/2026-10-03-decision-models.md).
3
+
4
+ python3 scripts/decide/calibrate.py <set> <results.jsonl> <labels.tsv> [<labels.tsv> …]
5
+
6
+ labels.tsv: `id <TAB> screen <TAB> corrupt <TAB> note` for capture-status, `id <TAB> garbled <TAB> note` for
7
+ text-garbled; `id` is the image's file stem, `#` lines are comments. Prints, per check:
8
+ - AUC (threshold-free: the chance a random bad item scores above a random good one);
9
+ - at the set's own threshold: recall on bad items and the share of good items flagged;
10
+ - a threshold fitted on a random half (the lowest that keeps ≥ 90 % recall there) and the same two numbers on the
11
+ OTHER half, so the pass / fail is not tuned on the data it is judged on;
12
+ - the misses and false flags by id, worst first.
13
+ The D3 bar: ≥ 90 % recall on bad items while flagging ≤ 20 % of good ones.
14
+ """
15
+ from __future__ import annotations
16
+
17
+ import json
18
+ import random
19
+ import sys
20
+ from pathlib import Path
21
+
22
+
23
+ def read_labels(paths: list[str]) -> dict[str, list[str]]:
24
+ labels = {}
25
+ for path in paths:
26
+ for line in Path(path).read_text().splitlines():
27
+ if line.strip() and not line.startswith("#"):
28
+ cols = line.split("\t")
29
+ labels[cols[0]] = cols[1:]
30
+ return labels
31
+
32
+
33
+ def checks_for(set_name: str):
34
+ """(name, is_bad(label cols), score(answers), threshold) per check."""
35
+ if set_name == "capture-status":
36
+ bad_screens = ("loading", "blank", "error")
37
+
38
+ def screen_bad(cols):
39
+ return cols[0] in bad_screens
40
+
41
+ def screen_score(a):
42
+ return sum(a["screen"]["probabilities"][s] for s in bad_screens)
43
+
44
+ def corrupt_bad(cols):
45
+ return cols[1] == "1"
46
+
47
+ def any_bad(cols):
48
+ return screen_bad(cols) or corrupt_bad(cols)
49
+
50
+ def any_score(a):
51
+ return max(screen_score(a), a["corrupt"]["noul"])
52
+
53
+ return [
54
+ ("screen: loading / blank / error", screen_bad, screen_score, 0.5),
55
+ ("corrupt: render glitch", corrupt_bad, lambda a: a["corrupt"]["noul"], 0.5),
56
+ ("any flag", any_bad, any_score, 0.5),
57
+ ]
58
+ if set_name == "text-garbled":
59
+ return [("garbled text", lambda cols: cols[0] == "1", lambda a: a["garbled"]["noul"], 0.5)]
60
+ sys.exit(f"calibrate: no label mapping for set {set_name}")
61
+
62
+
63
+ def auc(pos: list[float], neg: list[float]) -> float:
64
+ if not pos or not neg:
65
+ return float("nan")
66
+ wins = sum((p > n) + 0.5 * (p == n) for p in pos for n in neg)
67
+ return wins / (len(pos) * len(neg))
68
+
69
+
70
+ def rates(items, threshold):
71
+ bad = [s for s, b, _ in items if b]
72
+ good = [s for s, b, _ in items if not b]
73
+ recall = sum(s >= threshold for s in bad) / len(bad) if bad else float("nan")
74
+ flagged = sum(s >= threshold for s in good) / len(good) if good else float("nan")
75
+ return recall, flagged, len(bad), len(good)
76
+
77
+
78
+ def fit_threshold(items, target_recall=0.9):
79
+ bad = sorted((s for s, b, _ in items if b), reverse=True)
80
+ if not bad:
81
+ return 0.5
82
+ k = max(1, int(round(target_recall * len(bad) + 0.4999)))
83
+ return bad[min(k, len(bad)) - 1]
84
+
85
+
86
+ def main() -> None:
87
+ if len(sys.argv) < 4:
88
+ sys.exit(__doc__)
89
+ set_name, results_path, label_paths = sys.argv[1], sys.argv[2], sys.argv[3:]
90
+ labels = read_labels(label_paths)
91
+ rows = []
92
+ for line in Path(results_path).read_text().splitlines():
93
+ r = json.loads(line)
94
+ if "error" in r:
95
+ print("error:", r["images"], r["error"])
96
+ continue
97
+ stem = Path(r["images"][0]).stem
98
+ if stem not in labels:
99
+ continue
100
+ rows.append((stem, labels[stem], r["answers"]))
101
+ print(f"{set_name}: {len(rows)} labelled results ({len(labels)} labels)")
102
+ rng = random.Random(394)
103
+ for name, is_bad, score, threshold in checks_for(set_name):
104
+ items = [(score(a), is_bad(cols), stem) for stem, cols, a in rows]
105
+ pos = [s for s, b, _ in items if b]
106
+ neg = [s for s, b, _ in items if not b]
107
+ recall, flagged, nb, ng = rates(items, threshold)
108
+ print(f"\n## {name}: {nb} bad / {ng} good · AUC {auc(pos, neg):.3f}")
109
+ print(f" at the set's threshold {threshold}: recall {recall:.0%} · good flagged {flagged:.0%}")
110
+ # split-half: fit on A, judge on B, and the other way round
111
+ shuffled = items[:]
112
+ rng.shuffle(shuffled)
113
+ half = len(shuffled) // 2
114
+ for fit, test, tag in ((shuffled[:half], shuffled[half:], "A→B"), (shuffled[half:], shuffled[:half], "B→A")):
115
+ t = fit_threshold(fit)
116
+ r2, f2, b2, g2 = rates(test, t)
117
+ print(f" fitted on {tag[0]} (threshold {t:.3f}), judged on {tag[2]}: recall {r2:.0%} of {b2} · good flagged {f2:.0%} of {g2}")
118
+ misses = sorted((s, stem) for s, b, stem in items if b and s < threshold)
119
+ false = sorted(((s, stem) for s, b, stem in items if not b and s >= threshold), reverse=True)
120
+ if misses:
121
+ print(" missed:", ", ".join(f"{stem} {s:.2f}" for s, stem in misses[:12]))
122
+ if false:
123
+ print(" false flags:", ", ".join(f"{stem} {s:.2f}" for s, stem in false[:12]))
124
+
125
+
126
+ if __name__ == "__main__":
127
+ main()
@@ -0,0 +1,281 @@
1
+ # id screen corrupt note
2
+ 000 world 0 amb: only sky + sea, no island
3
+ 001 world 0 amb: only sky + sea
4
+ 002 world 0 amb: only sky + sea
5
+ 006 world 0 aerial
6
+ 007 world 0 debug terrain patch in panorama
7
+ 026 world 0 model viewer
8
+ 049 world 0 model viewer
9
+ 055 loading 0 title card PROJECT WILDSHARD / ENTER THE CHUNK
10
+ 056 loading 0 title card
11
+ 061 world 0 model explorer UI
12
+ 064 world 1 pond rendered as black blob
13
+ 065 world 1 pond black blob
14
+ 066 world 1 pond black blob
15
+ 067 loading 0 title card
16
+ 068 loading 0 title card
17
+ 077 world 1 amb: pond radial smear glitch
18
+ 082 world 0 photoreal mockup, not a capture
19
+ 003 world 0
20
+ 004 world 0
21
+ 005 world 0
22
+ 008 world 0
23
+ 009 world 0
24
+ 010 world 0
25
+ 011 world 0
26
+ 012 world 0
27
+ 013 world 0
28
+ 014 world 0
29
+ 015 world 0
30
+ 016 world 0
31
+ 017 world 0
32
+ 018 world 0
33
+ 019 world 0
34
+ 020 world 0
35
+ 021 world 0
36
+ 022 world 0
37
+ 023 world 0
38
+ 024 world 0
39
+ 025 world 0
40
+ 027 world 0
41
+ 028 world 0
42
+ 029 world 0
43
+ 030 world 0
44
+ 031 world 0
45
+ 032 world 0
46
+ 033 world 0
47
+ 034 world 0
48
+ 035 world 0
49
+ 036 world 0
50
+ 037 world 0
51
+ 038 world 0
52
+ 039 world 0
53
+ 040 world 0
54
+ 041 world 0
55
+ 042 world 0
56
+ 043 world 0
57
+ 044 world 0
58
+ 045 world 0
59
+ 046 world 0
60
+ 047 world 0
61
+ 048 world 0
62
+ 050 world 0
63
+ 051 world 0
64
+ 052 world 0
65
+ 053 world 0
66
+ 054 world 0
67
+ 057 world 0
68
+ 058 world 0
69
+ 059 world 0
70
+ 060 world 0
71
+ 062 world 0
72
+ 063 world 0
73
+ 069 world 0
74
+ 070 world 0
75
+ 071 world 0
76
+ 072 world 0
77
+ 073 world 0
78
+ 074 world 0
79
+ 075 world 0
80
+ 076 world 0
81
+ 078 world 0
82
+ 079 world 0
83
+ 080 world 0
84
+ 081 world 0
85
+ 083 world 0
86
+ 084 world 0
87
+ 085 world 0
88
+ 086 world 0
89
+ 087 world 0
90
+ 088 world 0
91
+ 089 world 0
92
+ 090 world 0
93
+ 091 world 0
94
+ 092 world 0
95
+ 093 world 0
96
+ 094 world 0
97
+ 095 world 0
98
+ 096 world 0
99
+ 097 world 0
100
+ 098 world 0
101
+ 099 world 0
102
+ 100 world 0
103
+ 101 world 0
104
+ 102 world 0
105
+ 103 world 0
106
+ 104 world 0
107
+ 105 world 0
108
+ 106 world 0
109
+ 107 world 0
110
+ 108 world 0
111
+ 109 world 0
112
+ 110 world 0
113
+ 111 world 0
114
+ 112 world 0
115
+ 113 world 0
116
+ 114 world 0
117
+ 115 world 0
118
+ 116 world 0
119
+ 117 world 0
120
+ 118 world 0
121
+ 119 world 0
122
+ 120 world 0
123
+ 121 world 0
124
+ 122 world 0
125
+ 123 world 0
126
+ 124 world 0
127
+ 125 world 0
128
+ 126 world 0
129
+ 127 world 0
130
+ 128 world 0
131
+ 129 world 0
132
+ 130 world 0
133
+ 131 world 0
134
+ 132 world 0
135
+ 133 world 0
136
+ 134 world 0
137
+ 135 world 0
138
+ 136 world 0
139
+ 137 world 0
140
+ 138 world 0
141
+ 139 world 0
142
+ 140 world 0
143
+ 141 world 0
144
+ 142 world 0
145
+ 143 world 0
146
+ 144 world 0
147
+ 145 world 0
148
+ 146 world 0
149
+ 147 world 0
150
+ 148 world 0
151
+ 149 world 0
152
+ 150 world 0
153
+ 151 world 0
154
+ 152 world 0
155
+ 153 world 0
156
+ 154 world 0
157
+ 155 world 0
158
+ 156 world 0
159
+ 157 world 0
160
+ 158 world 0
161
+ 159 world 0
162
+ 160 world 0
163
+ 161 world 0
164
+ 162 world 0
165
+ 163 world 0
166
+ 164 world 0
167
+ 165 world 0
168
+ 166 world 0
169
+ 167 world 0
170
+ 168 world 0
171
+ 169 world 0
172
+ 170 world 0
173
+ 171 world 0
174
+ 172 world 0
175
+ 173 world 0
176
+ 174 world 0
177
+ 175 world 0
178
+ 176 world 0
179
+ 177 world 0
180
+ 178 world 0
181
+ 179 world 0
182
+ 180 world 0
183
+ 181 world 0
184
+ 182 world 0
185
+ 183 world 0
186
+ 184 world 0
187
+ 185 world 0
188
+ 186 world 0
189
+ 187 world 0
190
+ 188 world 0
191
+ 189 world 0
192
+ 190 world 0
193
+ 191 world 0
194
+ 192 world 0
195
+ 193 world 0
196
+ 194 world 0
197
+ 195 world 0
198
+ 196 world 0
199
+ 197 world 0
200
+ 198 world 0
201
+ 199 world 0
202
+ 200 world 0
203
+ 201 world 0
204
+ 202 world 0
205
+ 203 world 0
206
+ 204 world 0
207
+ 205 world 0
208
+ 206 world 0
209
+ 207 world 0
210
+ 208 world 0
211
+ 209 world 0
212
+ 210 world 0
213
+ 211 world 0
214
+ 212 world 0
215
+ 213 world 0
216
+ 214 world 0
217
+ 215 world 0
218
+ 216 menu 0 explorer menu
219
+ 217 world 0
220
+ 218 world 0
221
+ 219 world 0
222
+ 220 world 0
223
+ 221 world 0
224
+ 222 world 0
225
+ 223 world 0
226
+ 224 world 0
227
+ 225 world 0
228
+ 226 world 0
229
+ 227 world 0
230
+ 228 world 0
231
+ 229 world 0
232
+ 230 world 0
233
+ 231 world 0
234
+ 232 world 0
235
+ 233 world 0
236
+ 234 world 0
237
+ 235 world 0
238
+ 236 world 0
239
+ 237 world 0
240
+ 238 world 0
241
+ 239 world 0
242
+ 240 world 0
243
+ 241 world 0
244
+ 242 world 0
245
+ 243 world 0
246
+ 244 world 0
247
+ 245 world 0
248
+ 246 world 0
249
+ 247 world 0
250
+ 248 world 0
251
+ 249 world 0
252
+ 250 world 0
253
+ 251 world 0
254
+ 252 world 0
255
+ 253 world 0
256
+ 254 world 0
257
+ 255 world 0
258
+ 256 world 0
259
+ 257 world 0
260
+ 258 world 0
261
+ 259 world 0
262
+ 260 world 0
263
+ 261 world 0
264
+ 262 world 0
265
+ 263 world 0
266
+ 264 world 0
267
+ 265 world 0
268
+ 266 world 0
269
+ 267 world 0
270
+ 268 world 0
271
+ 269 world 0
272
+ 270 world 0
273
+ 271 world 0
274
+ 272 world 0
275
+ 273 world 0
276
+ 274 world 0
277
+ 275 world 0
278
+ 276 world 0
279
+ 277 world 0
280
+ 278 world 0
281
+ 279 world 0