From 3e104ee0f048f622c136310785260d037d1b3b24 Mon Sep 17 00:00:00 2001 From: RobinFiredrake Date: Sun, 15 Nov 2026 13:25:24 -0600 Subject: [PATCH] Exports include the Hunspell dictionaries; commit the user's preset edits Both presets' include_filter gains addons/hunspell/dictionaries/* so spellcheck works in exported builds. The file also carries the user's earlier preset edits (Windows preset matching Linux). Co-Authored-By: Claude Opus 5.5 --- docs/ARCHITECTURE.md | 2 +- docs/DESIGN.md | 11 +++-- export_presets.cfg | 102 +++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 105 insertions(+), 10 deletions(-) diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 4f67964..b5a1e3f 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -270,7 +270,7 @@ Each original file keeps one-line delegators, so callers are unchanged. - The Why pop-over opens above the tray and can cover the bottom of the board. - Not tried by hand yet: all of this was verified with headless tests and screenshots only. A hands-on playtest with a checklist is overdue. -- Linux and Windows export presets exist (both include `templates/*.json, help/*.txt`); no Mac +- Linux and Windows export presets exist (both include `templates/*.json, help/*.txt, addons/hunspell/dictionaries/*`); no Mac or Android preset yet. Both presets also pack `tests/` (harmless; could be excluded). - Loading a big board with every group expanded takes about 5 s (building `TableCard` nodes). - Group frames are rectangles; members are told apart by their coloured top-right corner. diff --git a/docs/DESIGN.md b/docs/DESIGN.md index 94087a3..4b8ed1a 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -109,8 +109,8 @@ spellcheck (Hunspell; per-spread dictionary; off on Android). Modules: ARCHITECT **Spellcheck:** the Godot-Hunspell prebuilt libraries (MIT, github.com/brunogbrito/Godot-Hunspell) are in `addons/hunspell/bin` with the user's OK (2026-11-15); Hunspell loads in Godot 4.7.2 and the underlines were checked in a screenshot. Hunspell prints "Wrote dictionary file…" lines on load -(normal). **Open:** exports need `addons/hunspell/dictionaries/*` in each preset's `include_filter` -(export_presets.cfg holds uncommitted user edits: ask first); not tried in an exported build yet. +(normal). Both export presets (Linux, Windows) include `addons/hunspell/dictionaries/*` (committed +2026-11-15 with the user's preset edits); spellcheck is not tried in an exported build yet. **Not hand-tested by the user yet** (only tests and screenshots): the whole round. **Next, likely:** the user hand-tests the Build UX round; spread links; new playtest reports. @@ -195,10 +195,9 @@ that works on any theme (solid background, stronger text, thicker borders, no ef on a temporary library). **Known, not urgent** -- `export_presets.cfg` (and `project.godot`) hold the user's uncommitted edits. The Windows preset's - `include_filter` now matches Linux (help + templates; verified by a real Windows export - 2026-11-11) but is still uncommitted with their edits; ask before committing. Both presets also - pack `tests/` (could add `tests/*` to the exclude filter). +- `export_presets.cfg` is committed (2026-11-15): both presets include help, templates and the + Hunspell dictionaries. Linux excludes `tests/*`; Windows still packs `tests/`. `project.godot` + still holds the user's uncommitted edit (boot splash fullsize/filter lines removed); ask first. - Size audit batches 1–2 done (2026-11-14): no script over 400 lines (ARCHITECTURE §3e). - Small ideas from the Perilous Void spread: an empty list shows blank in a sheet (no "none" default); a value change that should apply when a later value is rolled (Shattered lowers diff --git a/export_presets.cfg b/export_presets.cfg index f2c739a..6f7fd6a 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -1,16 +1,27 @@ +[runnable_presets] + +Linux="Linux" +"Windows Desktop"="Windows Desktop" + [preset.0] name="Linux" platform="Linux" -runnable=true dedicated_server=false custom_features="" export_filter="all_resources" -include_filter="templates/*.json, help/*.txt" +include_filter="templates/*.json, help/*.txt, addons/hunspell/dictionaries/*" exclude_filter="tests/*" -export_path="build/linux/TableTower.x86_64" +export_path="../../../TableTower/TableTarotv1.022.x86_64" +patches=PackedStringArray() +patch_delta_encoding=false +patch_delta_compression_level_zstd=19 +patch_delta_min_reduction=0.1 +patch_delta_include_filters="*" +patch_delta_exclude_filters="" encryption_include_filters="" encryption_exclude_filters="" +seed=0 encrypt_pck=false encrypt_directory=false script_export_mode=2 @@ -21,5 +32,90 @@ custom_template/debug="" custom_template/release="" debug/export_console_wrapper=1 binary_format/embed_pck=true +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false binary_format/architecture="x86_64" ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="#!/usr/bin/env bash +export DISPLAY=:0 +unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" +\"{temp_dir}/{exe_name}\" {cmd_args}" +ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash +pkill -x -f \"{temp_dir}/{exe_name} {cmd_args}\" +rm -rf \"{temp_dir}\"" + +[preset.1] + +name="Windows Desktop" +platform="Windows Desktop" +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="templates/*.json, help/*.txt, addons/hunspell/dictionaries/*" +exclude_filter="" +export_path="../../../TableTower/TableTarotv1.022.exe" +patches=PackedStringArray() +patch_delta_encoding=false +patch_delta_compression_level_zstd=19 +patch_delta_min_reduction=0.1 +patch_delta_include_filters="*" +patch_delta_exclude_filters="" +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.1.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=false +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false +binary_format/architecture="x86_64" +codesign/enable=false +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PackedStringArray() +application/modify_resources=true +application/icon="" +application/console_wrapper_icon="" +application/icon_interpolation=4 +application/file_version="" +application/product_version="" +application/company_name="" +application/product_name="" +application/file_description="" +application/copyright="" +application/trademarks="" +application/export_angle=0 +application/export_d3d12=0 +application/d3d12_agility_sdk_multiarch=true +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}' +$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}' +$trigger = New-ScheduledTaskTrigger -Once -At 00:00 +$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries +$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings +Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true +Start-ScheduledTask -TaskName godot_remote_debug +while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 } +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue" +ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue +Remove-Item -Recurse -Force '{temp_dir}'"