Also: #2490's committed conflict markers in fssm_crosscheck.md resolved to main's text, the SHADER-605 section
moved below the troubleshooting table it split, a header rule for the export-format table, two backticked
paths that name no Leonida file, and the BOM dropped from anim_move.py and its test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ricardotanaka asked for the wrapped scan as a tool. Writing its tests showed the
doc's "static tiles are no control" was wrong: a 128 m tile's step is 128/65535,
not 1/512, so only 18.75% of its levels land on a 1/32 m grid. All 137 sampled
static tiles fit 0.0625 (none fits 0.0325), so the 0.0325 meshes are what ties
the local-space meshes to the CVehiclePoints documents.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All 161 local-space non-grid meshes put their x/y vertices on one of the three
nonzero fNavOverrideRecastCellSize values; the 9 on the odd 0.0325 share one
54 x 159-cell footprint and match 3 documents. No mesh holds a model-name hash.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review on #3834: an archive whose data offset pointed past its end was
scanned as an empty archive (exit 0). The tool now refuses a data start
outside 8..file size with exit 2. --out is compared with the inputs
through report_paths.same_report_path, as the other tools do. The
docstring and docs/navmesh.md now say that a polygon's height is the
mean of its vertex heights, and that surfaces above one another (a
bridge, stacked tiles of one sector) each add their plan area.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- design.md: escape the literal pipes that split contract-table rows again, and merge the 76 repeated topics into
one row each (sentence by sentence; no number dropped).
- d3d12_vulkan.md: one milestone row per ID (the most complete of each), and LEONIDA_ARENA_LOG documented with the
arena high-water report (D3D-55).
- navmesh.md: one item 4 and 5 under Remaining unknowns (the +0xB8 footprint and octree-key wording).
- sandbox.md: name vk_sandbox's source file; i18n index: one pt-BR row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first version called +0x18 bit 13 road surface. The count cannot
tell it from bit 8: both lie under about nine in ten lane nodes. The
tool now also counts the four combinations of the two bits (both, only
one, neither) for nodes and area: 89.6% of the nodes stand on polygons
with both bits, which cover 2.5% of the area, and bit 13 alone covers
9.5% with 0.6% of the nodes. The doc reports that, keeps SixNG's label
as its visual reading, and leaves which bit means road surface open.
docs/related_projects.md gets a SixNG entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two occupied slots with the same key and distinct payload indices passed
values_bijective, then folded into one dict entry in _grid_slots, so the
octree check passed and the depth and leaf counts lost an entry
(reported by Oblyterium on #3622). Require len(keys) == entries.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/navmesh.md left the polygon flag bits open and two road/pavement
labels from another project unconfirmed. tools/navmesh_nodes.py puts
every lane-graph node of levels.rpf on the navmesh polygon under it and
counts that polygon's +0x18 and +0x28 bits next to the plan area each
bit covers.
On one 1.0.2.1 package 63,793 of 63,806 nodes have a polygon within 3 m
(median 0.03 m), which confirms vertex = tile minimum + u16 / 65535 *
extent; 90.2% of them stand on a polygon with +0x18 bit 13, which covers
12.0% of the area: road surface, as SixNG labels it from a visual check.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
--deep now checks that every grid key is a sentinel-bit octree key (root 1,
child = parent << 3 | octant, every parent present) and that every inner
node's u32 word is 0x0000ff00, and reports key depths, the inner-node count
and leaf words by low byte. docs/navmesh.md records the measured layout;
the x/y order of octant bits 0/1 and the leaf fields' meaning stay open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All six nonzero values of u32@0xE8, read as bytes from the lowest
address, are a second, minute, hour and day of month (struct tm order);
no month or year is stored. The day-22 stamp marks the 3,003 tiles
stacked on 940 grid positions on top of the day-9 base grid (2,984 share
a position with a day-9 tile, and always come later in the archive).
Counts from tools/navmesh_decode.py's scan of the 1.0.2.1 package; no
geometry or game data.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Re-measured against the local package: the RPF9 stream boundary that ends a system prefix (and the negative on the 8 MiB rule), the PRD0 member type codes, and the navmesh polygon +4 packing. The navmesh road/pavement bit labels did not reproduce and are recorded as such. 6stars is cited as independent corroboration; no code was copied and the repository has no licence.
Counts over the 32 CVehiclePoints documents in common.rpf: one per vehicle,
Recast-style cell/agent overrides, empty boarding points and props, and mod
part names. Cross-checks: 25 of 31 model names are .yft models, all of them
also distant-light models. No names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The export stages write .obj models, .glb chunks, .ogg Opus and .wav PCM
straight from the package, but .gitignore and the No Game Data check only
named the archive, shader and texture types. A run pointed inside a checkout
could leave those untracked and get them staged; the check would also miss a
force-added one, along with .r9modeldata and .msixvc that .gitignore already
covers.
The bvh and navmesh examples also wrote their index reports into the working
directory, which puts game-derived JSON and CSV in the tree; point them at
<temp> like the movies note does.
Verified with git check-ignore on every new pattern and by matching sample
filenames against the workflow regex. Docs and ignore rules only.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
bvh_index, page_index, story_index, navmesh_index and psin_index:
- --limit 0 meant "no limit" (0 is falsy) and a negative --limit scanned
nothing and still exited 0 with an empty index. --limit must now be at
least 1 and --start 0 or more; argparse rejects anything else (rc 2).
- An empty .rpf crashed in mmap ("cannot mmap an empty file") and a file
shorter than the header word crashed in struct.unpack_from. bvh, page and
story now treat both as an archive with no streams.
- bvh_index directory mode: one bad archive no longer aborts the scan and
loses the results of the others; it is reported and skipped.
- A --start past the end of the archive is a one-line error (rc 2) instead
of a traceback (bvh also checked nothing and reported a negative span).
- page_index checks the output extension before the scan, not after it.
Docs: the accepted ranges and the empty-archive behaviour are written next
to each tool's usage in docs/{bvh,navmesh,page_directory,psin,story}.md.
Tests: synthetic cases for each tool; they fail on main and pass here.
Full RPF9 stream index of navmeshes.rpf (90,295 streams), the measured 0DRP directory-page layout, rejected AABB/NVMS pseudo-magics, and data/levels cross-check counts. Adds a stdlib navmesh_index.py and synthetic tests; no game data.