<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/tests/Rpf9DumpDiagnostics/Program.cs, branch ci/exclude-legacy-cpp-runtime-tests</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-24T11:05:56+00:00</updated>
<entry>
<title>rpf9dump: harden segment bounds and CLI option validation (RPF9DUMP-SEGMENTS-AND-CLI)</title>
<updated>2026-11-24T11:05:56+00:00</updated>
<author>
<name>kirigayakazima</name>
<email>46666711+kirigayakazima@users.noreply.github.com</email>
</author>
<published>2026-11-24T11:05:56+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=c28b21aa6151a3f572d4b8ab066c96fe8fe72f94'/>
<id>urn:sha1:c28b21aa6151a3f572d4b8ab066c96fe8fe72f94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Speed up make_game by overlapping stages and showing progress. (#1797)</title>
<updated>2026-11-23T15:32:22+00:00</updated>
<author>
<name>Mattia</name>
<email>mattia2700franzin+dev@gmail.com</email>
</author>
<published>2026-11-23T15:32:22+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=c646bf836777ef63587ecdbea44bd62df827c433'/>
<id>urn:sha1:c646bf836777ef63587ecdbea44bd62df827c433</id>
<content type='text'>
Squash-merged after diff review of PR #1797</content>
</entry>
<entry>
<title>rpf9dump: rescan instead of exporting from a partial index cache</title>
<updated>2026-11-22T20:02:25+00:00</updated>
<author>
<name>AAyberkU</name>
<email>97833630+AAyberkU@users.noreply.github.com</email>
</author>
<published>2026-11-22T17:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=78f92bcf2e8f61ca9dca4fbea38e194782cb688a'/>
<id>urn:sha1:78f92bcf2e8f61ca9dca4fbea38e194782cb688a</id>
<content type='text'>
rpf9dump shares %LOCALAPPDATA%\RpfPreview\Indexes with the rpf9-explorer GUI, which saves its model index
while it is still indexing and when a scan is cancelled, with IsComplete=false. rpf9dump trusted any cache that
loaded, so after a stopped GUI scan it exported only what had been indexed so far, published the manifest and
exited 0, and make_game.py never redid the step. A cached index now stands in for a full scan only when it is
marked complete or carries rpf9dump's own coverage text; otherwise rpf9dump scans again. Its own full scans are
saved with the complete mark, which the cache file already had a field for.

Co-Authored-By: Claude Mythos 5.2 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016ABh36DZ2sZNq3ChN6EZJs
</content>
</entry>
<entry>
<title>rpf9dump: export a window of a file, and per-geometry counts in the models manifest</title>
<updated>2026-11-22T17:49:28+00:00</updated>
<author>
<name>Davide</name>
<email>davidec98@live.it</email>
</author>
<published>2026-11-22T17:25:48+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=e6ab90d6d4a7a56fdf8dc9215afb52fc868316e9'/>
<id>urn:sha1:e6ab90d6d4a7a56fdf8dc9215afb52fc868316e9</id>
<content type='text'>
Models and textures no longer open the archive document. The entry list comes from this run's
scan or from the index cache, and every resource is read from its own compression blocks
(tools/rpf9dump/Segments.cs), which mirrors the checks ArchiveReader.ReadResourceData makes. That
makes a raw slice of an archive exportable: a window cut out of levels.rpf has no 9FPR header, so
there was nothing to open before, and the mode simply failed on it.

--start/--length scan one window instead of the whole file. A sub-range is never written to the
index cache, which is keyed by the file rather than by the window; the manifest records
Scan.Start and Scan.Length for it.

The manifest gains MeshTris, MeshModels and MeshGeoms: the per-geometry triangles and the
(model, geometry) pair the decoder puts in each mesh name, in the order of the OBJ's `o` groups.
A dehydrated BLAS leaf stores that pair as its geometry index (docs/bvh.md 4a), so a matching tool
can filter candidates on the manifest instead of reading every OBJ.

Measured: one 1 GiB slice of levels.rpf scans, recovers, decodes and exports 1,228 models in about
2 s. The project builds clean with no warnings; tests/Rpf9DumpDiagnostics covers the segment reader
(compressed and raw blocks, a block past the end, a short block, an entry without blocks) and the
mesh key parsing, and still passes.
</content>
</entry>
<entry>
<title>rpf9dump: read back cache counts written under any culture</title>
<updated>2026-11-22T04:21:29+00:00</updated>
<author>
<name>cxchhh</name>
<email>35392417+cxchhh@users.noreply.github.com</email>
</author>
<published>2026-11-22T04:21:29+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=eea367772de507bc866b501601197dfc708e209a'/>
<id>urn:sha1:eea367772de507bc866b501601197dfc708e209a</id>
<content type='text'>
The old coverage text used N0, whose group separator is not always one of
. , ' or a space: de-CH writes U+2019, ar-* U+066C, nqo U+060C, ff-Adlm
U+2E41. Accept any punctuation or space between the digits. With ICU, the
old pattern failed for 77 of 852 cultures and the new one for none; the
diagnostics test now checks every culture.

Reported by kotorvr in the review of #853.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>rpf9dump: record scan-level candidate and recovery counts</title>
<updated>2026-11-22T03:38:39+00:00</updated>
<author>
<name>cxchhh</name>
<email>35392417+cxchhh@users.noreply.github.com</email>
</author>
<published>2026-11-22T03:38:39+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=9e0d871d76eb0102cbc69d92262f9adfaf2eb9e5'/>
<id>urn:sha1:9e0d871d76eb0102cbc69d92262f9adfaf2eb9e5</id>
<content type='text'>
Candidates that RecoverAtOffsets rejects never reach the per-item loop,
so ModelDecodeFailures stays empty even when candidates are missing.
Write Scan { Candidates, Recovered, NotRecovered, Entries } into the
manifest and print the shortfall. Recovered counts resources (distinct
candidate offsets): since the 917e9b9 pin a drawable dictionary yields
one entry per child, so Entries can exceed Candidates.

On a cached run the candidate count comes from the index cache's coverage
text, which rpf9dump now writes with invariant digits; older caches with
grouped digits still parse. The count is null when another tool wrote the
cache.

Suggested by Kam471 in the review of #30; that follow-up commit was pushed
after #30 had been merged, so it is resubmitted here on current main.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>rpf9dump: write every output under a temporary name and rename it into place</title>
<updated>2026-11-21T20:22:35+00:00</updated>
<author>
<name>NWX10</name>
<email>179748639+NWX10@users.noreply.github.com</email>
</author>
<published>2026-11-21T20:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=65d927b61a88640d65317918923995aa39e1cd5f'/>
<id>urn:sha1:65d927b61a88640d65317918923995aa39e1cd5f</id>
<content type='text'>
make_game.py takes ttpf manifest.json and audio_manifest.json as proof that
a step finished, and every exporter skips a file that already exists. Both
were written in place, so a stopped run or a full disk could leave:

- a truncated manifest, after which make_game.py skips that texture pool
  or the audio banks on every later run, or
- a truncated .dds / .obj / .xma.wav under its final name, kept forever
  because the next run sees it exists.

All outputs (ttpf DDS + manifest, audio_manifest.json, XMA2 .xma.wav,
model .obj, embedded and dictionary .dds) now go through Util.WriteAtomic:
written to &lt;path&gt;.partial, then File.Move'd over the final name; the
temporary is removed on failure, and a stale one from a stopped run is
deleted first (WriteXmaWave opens its target with FileMode.CreateNew).
The models manifest already worked this way.

Util moves to its own file so tests/Rpf9DumpDiagnostics can link it; the
diagnostics program gains four checks for WriteAtomic.

AI-assisted.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Report model decode failure reasons in rpf9dump</title>
<updated>2026-11-21T17:35:55+00:00</updated>
<author>
<name>cxccxc</name>
<email>35392417+cxchhh@users.noreply.github.com</email>
</author>
<published>2026-11-21T17:35:55+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=58cb83df2c0526119a25371f3451479b59eede53'/>
<id>urn:sha1:58cb83df2c0526119a25371f3451479b59eede53</id>
<content type='text'>
</content>
</entry>
</feed>
