<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/tests/test_imhex_patterns.py, branch docs/pso-cache-scope-note</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-22T23:02:12+00:00</updated>
<entry>
<title>rpf: review nits; the ImHex pattern names +12 trailer_size</title>
<updated>2026-11-22T23:02:12+00:00</updated>
<author>
<name>Alex Collini</name>
<email>pipodi93@gmail.com</email>
</author>
<published>2026-11-22T23:02:12+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=93cb49a0995d0c47cfb4a6ebb671f6dcf620b9c1'/>
<id>urn:sha1:93cb49a0995d0c47cfb4a6ebb671f6dcf620b9c1</id>
<content type='text'>
movies.md says the bink_index counts for movies.rpf are derived, not a rerun, and names the 8 undecided
archives; rpf.md's small-block entropy wording; bink_index drops a redundant max().

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>tools/imhex: ImHex pattern for PSIN containers</title>
<updated>2026-11-22T14:14:51+00:00</updated>
<author>
<name>Leonardo Guimaraes</name>
<email>leozinhoszg@gmail.com</email>
</author>
<published>2026-11-22T14:14:51+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=52dc48074dafb4eed77857bde941a5cb73ca3263'/>
<id>urn:sha1:52dc48074dafb4eed77857bde941a5cb73ca3263</id>
<content type='text'>
psin.hexpat lays out a container as docs/psin.md describes it: the
big-endian first-section offset, the instance-data block table (rows,
the pppppppp end) and its blocks as raw bytes, the section chain, LSCH
struct headers and members and LENM enums and values (header count by
the fill-exact rule psin_index.py uses), the LSNS block table with
opaque 16-byte records, the LRSC 0DRP version and root block, and the
CHKS file size. A section past the end of a truncated stream is shown
as raw bytes.

tests/test_imhex_patterns.py builds a synthetic container from the
invented schema in test_psin_index.py, checks it with psin_index.parse
and psin_data.block_table, and when ImHex is installed compares the
pattern's output with both, plus a container cut inside LENM.
</content>
</entry>
<entry>
<title>tools/imhex: ImHex patterns for the RPF9 header and RBF0 records</title>
<updated>2026-11-22T14:07:12+00:00</updated>
<author>
<name>Leonardo Guimaraes</name>
<email>leozinhoszg@gmail.com</email>
</author>
<published>2026-11-22T14:07:12+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=60c624ec9b37a7a0b3612200970827c33dd0c90a'/>
<id>urn:sha1:60c624ec9b37a7a0b3612200970827c33dd0c90a</id>
<content type='text'>
rpf9.hexpat names the measured header fields (magic, data offset at +4;
the u32s at +8 and +12 unnamed) and shows the rest of the header and the
TOC as one opaque range; it decodes nothing there. rbf0.hexpat follows
the grammar in docs/rbf0.md section 3: 1-byte descriptor index and type,
all record types including 0x50, 8- or 4-byte values from the prologue,
and it stops where the root closes, as rbf0_index.parse_rbf0 does.

tests/test_imhex_patterns.py builds synthetic wide and narrow RBF0
streams and RPF9 headers, checks them with parse_rbf0, and when ImHex
is installed runs each pattern through `imhex --pl format -f json` and
compares the result with the parser's.
</content>
</entry>
</feed>
