Files
DungeonCrawlerWorld/task-G5-report.md

3.7 KiB

Task G5 — Release exports and player documentation

Scope

Completed the desktop release handoff without changing gameplay behavior:

  • Added checked-in Linux/X11 and Windows Desktop release presets in export_presets.cfg.
  • Added scripts/build-linux.sh. It finds the selected Godot binary and its matching Linux template, exports build/linux/DungeonCrawlerWorld.x86_64, verifies the executable is non-empty, and smoke-launches the exported Linux artifact under the current X11 display or xvfb-run.
  • Added scripts/build-windows.sh. It requires the matching Windows template, exports build/windows/DungeonCrawlerWorld.exe, checks it is non-empty, and creates a manifest of the Windows distribution files. It explicitly does not claim to run Windows software from Linux.
  • Both build scripts stop before export with exit status 2 and a specific missing-template diagnostic when templates are absent.
  • Added a shell contract test that uses a fake Godot executable to prove both scripts reject missing templates before attempting an export.
  • Added player-facing installation, controls, save, accessibility, audio, limitation, content, asset-license, and source-modding documentation. The concise top-level README links to these guides and the release commands.
  • Ignored reproducible build/ output alongside the existing ignored artifacts/ output.

Verification

Executed with Godot 4.5.stable.official.876b29033.

  1. ./tests/scripts/test_export_scripts.sh passed. Both scripts reported their explicit missing-template behavior without invoking export.
  2. Matching Linux and Windows templates were installed in the active Godot Snap data directory, so both real exports were exercised:
    • ./scripts/build-linux.sh exported the Linux binary and completed its X11 smoke launch with no script or parse errors.
    • ./scripts/build-windows.sh exported the Windows distribution and validated its manifest. file identified the output as a PE32+ executable (GUI) x86-64 for Windows. This is format/file validation only; the Windows runtime was not executed on this Linux host.
  3. GODOT_BIN=/snap/bin/godot4 ./scripts/verify.sh passed completely:
    • Unit: 188 / 188 tests passed, 1,440 assertions.
    • Integration: 11 / 11 tests passed, 59,470 assertions.
    • E2E: 58 / 58 tests passed, 573 assertions.
    • Visual capture: passed. Initial capture measured dungeon_non_black_pixels=489308, visible_pixels=17524, explored_pixels=10438, explored_luminance=0.012, unknown_pixels=365325, and unknown_luminance=0.001. Exit capture measured dungeon_non_black_pixels=489252, visible_pixels=17404, explored_pixels=17146, explored_luminance=0.012, unknown_pixels=439497, and unknown_luminance=0.001.

GUT invalid-UID warnings plus Godot ObjectDB/resource cleanup warnings were emitted by the existing test environment; all suite processes returned success, and there were no test failures, parse errors, script errors, or visual-validation failures.

Artifact status

Generated outputs are intentionally Git-ignored and reproducible:

Platform Files Status
Linux x86_64 build/linux/DungeonCrawlerWorld.x86_64 (70,285,592 bytes), DungeonCrawlerWorld.pck (10,886,776 bytes) Exported and X11 smoke-tested on this Linux host.
Windows x86_64 build/windows/DungeonCrawlerWorld.exe (96,620,544 bytes), DungeonCrawlerWorld.pck (10,886,776 bytes), DungeonCrawlerWorld.exe.manifest Exported and manifest/PE-format validated on Linux; not runtime-tested on Windows.

Git

All G5 sources, documentation, presets, the export-script contract test, and this root report are committed locally in one commit. No push and no pull request were created.