Commit Graph
7 Commits
Author SHA1 Message Date
mangavalkandClaude Fable 5.2 a8622e7462 tft: generic type engine (tft_types), number and button; notes on the Editor inspection
Record slots follow the Editor's visible attribute list; generated scripts are
templates compiled by the normal script compiler. Number (all backgrounds and
border styles) and button (solid background, all five styles) are byte-identical.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 19:16:21 +01:00
mangavalkandClaude Fable 5.2 b5eaa68298 tft: text (plain) and touch cap; 55 Editor samples reproduced byte for byte
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 18:29:12 +01:00
mangavalkandClaude Fable 5.2 0532a59120 tft: MCP tool build_tft, skill note, sample generator, notes for the next types
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 18:25:18 +01:00
mangavalkandClaude Fable 5.2 99a5240af0 tft: script tokens, global variables, timers, control flow
build-tft now reproduces 35 Editor-made samples byte for byte: assignments,
arithmetic, 27 commands, system variables and colours, attribute references,
Program.s globals, all page/hotspot/timer events, if/else/while/for.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 18:23:14 +01:00
mangavalkandClaude Fable 5.2 f66c902443 tft: page section format, pictures/fonts, first builder (nxhmi build-tft)
Byte-identical to Nextion Editor 1.68.2 for NX4832T035 projects made of pages,
hotspots and int variables with any pictures and fonts. Firmware files are read
from the user's Editor folder at build time. FORMAT.md section 7 documents the
header, resource area, code blob, attribute records, page table and objects.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 18:13:11 +01:00
mangavalkandClaude Fable 5.2 7337e693a5 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>
2026-11-16 16:54:59 +01:00
mangavalkandClaude Opus 5.5 69e22cfb06 openhmi-nx: decode, encode, render Nextion HMI projects; .tft research
Black-box reverse-engineered .HMI format (container, three checksums,
pages, all 31 component types, pictures, fonts), readable JSON, page
renderer matching Nextion Editor, demo project built from code and a
test suite (66 tests). See docs/COVERAGE.md for status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:11:02 +01:00