3.7 KiB
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, exportsbuild/linux/DungeonCrawlerWorld.x86_64, verifies the executable is non-empty, and smoke-launches the exported Linux artifact under the current X11 display orxvfb-run. - Added
scripts/build-windows.sh. It requires the matching Windows template, exportsbuild/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 ignoredartifacts/output.
Verification
Executed with Godot 4.5.stable.official.876b29033.
./tests/scripts/test_export_scripts.shpassed. Both scripts reported their explicit missing-template behavior without invoking export.- Matching Linux and Windows templates were installed in the active Godot Snap data directory, so both real exports were exercised:
./scripts/build-linux.shexported the Linux binary and completed its X11 smoke launch with no script or parse errors../scripts/build-windows.shexported the Windows distribution and validated its manifest.fileidentified the output as aPE32+ executable (GUI) x86-64for Windows. This is format/file validation only; the Windows runtime was not executed on this Linux host.
GODOT_BIN=/snap/bin/godot4 ./scripts/verify.shpassed 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, andunknown_luminance=0.001. Exit capture measureddungeon_non_black_pixels=489252,visible_pixels=17404,explored_pixels=17146,explored_luminance=0.012,unknown_pixels=439497, andunknown_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.