4 Commits

Author SHA1 Message Date
ClydeyEXE 2d62f6c54d Fix setup bugs found in review: zip re-clone, bracketed paths, build exit
A zip install deleted and re-cloned the toolkit on every run, because the
hook line had landed between the toolkit check and its else. Disc paths with
[brackets] failed Test-Path's wildcard matching; they now use -LiteralPath. A
failed build's BUILD_EXIT=-1 did not match the exit pattern and crashed with
a raw error, and a missing build.log now stops with a message too. winget's
3010/1641 restart codes now end setup with "restart and run again".

check_files.py also blocks XBE tool output and logs, .gitignore covers
run*.txt and *.log, and the README's disk space figure is corrected.
2026-11-03 00:32:19 +00:00
ClydeyEXE 7b3c52767b Add a pre-commit file check, and tidy the repo for going public
tools/check_files.py refuses game data, generated code, game, image and
binary file types, files over 5 MB, and any file containing the local
default.xbe's certificate keys, without printing them. .githooks/pre-commit
runs it on staged files and setup turns the hook on; CI runs it on every
tracked file, and also checks that setup's toolkit pin matches the
submodule.

Personal rules and machine quirks move from CLAUDE.md to a gitignored
CLAUDE.local.md. CLAUDE.md and BUILDING.md no longer say
default_analysis.json holds keys: it does not, the parser's output does.
BUILDING.md's manual steps use build\venv and create build/ first, HISTORY.md
names the rewritten commit and drops "the owner", and the README notes the
CC0 file and where play_log.txt is.
2026-11-03 00:20:34 +00:00
ClydeyEXE 90ef9bdb6b Move CI to checkout@v7 and setup-python@v7, which run on Node 24 2026-11-03 00:03:21 +00:00
ClydeyEXE 8d05df2864 Add CI checks that run without the game
On every push and pull request: no game data or generated code is tracked,
the three patches apply to the pinned toolkit commit, the PowerShell scripts
parse and the Python tools compile. The game itself cannot be built in CI, as
that needs C generated from a player's own disc.
2026-11-02 23:57:50 +00:00