tft: all four checksums solved (three header CRCs, trailer for any length)
0x44 = CRC of the resource area, 0xC4 = CRC of header [0,0xC4), 0x18C = CRC of [0xC8,0x18C); trailer = CRC of the whole file ^ (len & 0xFF) ^ 0x56. tft.seal() recomputes all of them. Verified against 24 Editor-made files of 8 lengths. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
6b2835334a
commit
7337e693a5
6 files changed
+124
-22
No files matched your search
@@ -18,7 +18,7 @@ src/nxhmi/
|
||||
pictures.py N.i / N.is
|
||||
fonts.py .zi v6 fonts, generation from TrueType
|
||||
render.py page renderer matching the Editor canvas
|
||||
tft.py .tft research helpers (layout table, same-length trailer patch)
|
||||
tft.py .tft research helpers (layout table, header checksums, trailer, seal)
|
||||
cli.py python -m nxhmi ...
|
||||
mcp_server.py MCP server (stdio JSON-RPC, no deps) -- tools for Claude incl. render_page images
|
||||
examples/make_demo.py builds demo/ (demo.HMI, decoded/, render/)
|
||||
|
||||
Reference in new issue
Block a user