Drop Windows from scope and add a native client packager

Horizon now targets Linux and macOS only: remove the Windows CI runners and
wgpu's DX12 backend, and update the scope docs. The Ubuntu RTX 4080 desktop
becomes the first physical Linux target. tools/package_native_client.py bundles
a release build with its prepared resources and a launcher for playing on
another machine of the same platform.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-08 10:48:58 +02:00
parent af747818f1
commit 08b8e71838
8 changed files with 152 additions and 29 deletions
+21 -4
View File
@@ -55,6 +55,23 @@ Worlds autosave every 6000 ticks (5 minutes), when chunks unload and on quit.
On headless Linux use `vscreen start ./target/release/horizon-client` and
`vscreen shot`.
### Play on another of your machines
Horizon targets Linux and macOS; Windows is out of scope. To play on a machine
without Rust, JDK or prepared resources, package a release build where they exist:
```sh
cargo build --release -p horizon-client
python3 tools/package_native_client.py --out ~/builds/horizon
```
The archive holds the binary, the prepared resources and `horizon.sh`. Copy it
to the target machine (same OS and architecture), unpack it and run
`horizon/horizon.sh`; `horizon.sh --install` adds an application menu entry.
Saves and `options.txt` go to `~/.local/share/horizon` (or `$HORIZON_HOME`), so
unpacking an update keeps them. The archive contains Mojang assets: keep it
private.
## How it fits together
- `streaming.rs`: worker pool that generates or loads, lights and meshes chunk
@@ -362,7 +379,7 @@ Vulkan llvmpipe software rendering. Textured geometry and resizing were visually
inspected; movement, arrow rotation and Ctrl+Q were exercised using virtual
physical key codes. Captured relative mouse movement and Escape release were
exercised through a virtual pointer. Native macOS/Metal and
Windows/Direct3D 12 runtime tests remain pending. Software-renderer frame rates
physical-GPU Linux runtime tests remain pending. Software-renderer frame rates
are not evidence of a hardware speedup.
The model gallery was also inspected at close range on Linux/Vulkan llvmpipe.
@@ -536,7 +553,7 @@ The Ctrl run recorded 71 sprint ticks and 1,948 sprint centimeters. The double-t
run visibly showed `Sprint true` during the second press and `Sprint false`
after releasing W. Both runs ended grounded and alive without an error, and
their views were visually inspected. These are development client checks;
macOS/Windows runtime acceptance and complete gameplay remain pending.
macOS runtime acceptance and complete gameplay remain pending.
## Crouching and dry pose transitions
@@ -575,7 +592,7 @@ visibly switched from crouching to standing after releasing Shift. It recorded
without an error. Both views were inspected. The
[renderer startup check](../benchmarks/rust-native-crouch-2026-10-07/startup-smoke.json),
seven client tests and all-target client Clippy also passed. These checks do not
establish full vanilla gameplay or final macOS/Linux/Windows release acceptance.
establish full vanilla gameplay or final macOS/Linux release acceptance.
## Pending attribute updates
@@ -614,4 +631,4 @@ recorded 36 sprinting ticks and 36 crouching ticks, ending grounded and alive
without an error. Its view was inspected. The
[startup check](../benchmarks/rust-native-attribute-updates-2026-10-07/startup-smoke.json),
seven client tests and all-target client Clippy passed. Full gameplay parity and
playable macOS/Linux/Windows release acceptance remain pending.
playable macOS/Linux release acceptance remain pending.
+1 -1
View File
@@ -156,7 +156,7 @@ software-renderer workload establish a real-hardware optimization result.
The local Linux host uses **Mesa llvmpipe software rendering**. It is useful for mod/mixin/startup/report validation, not for predicting M2 Pro, Windows GPU or Linux discrete-GPU performance. Warm-up/world loading on this host is slow. Demo credentials produce expected unavailable account-properties/Realms logs, and chat availability can be restricted; the independent F8 measurement shortcut avoids relying on chat.
CI compiles/builds on Linux, Windows and Apple Silicon macOS. Successful compilation is not graphics, authentication, UI or Mac-driver runtime validation. macOS 27 and the user's actual M2 Pro have not been tested here. Optional cinematic shaders and Vulkan are experiments; the OpenGL balanced pack is the first manual test.
CI compiles/builds on Linux and Apple Silicon macOS (Windows was dropped from scope on 2026-10-08; earlier Windows results below are historical). Successful compilation is not graphics, authentication, UI or Mac-driver runtime validation. macOS 27 and the user's actual M2 Pro have not been tested here. Optional cinematic shaders and Vulkan are experiments; the OpenGL balanced pack is the first manual test.
The [core comparison](core-performance.md) records numerical observations for
matched software-rendered workloads. They do not establish a Mac or hardware-GPU
+8 -7
View File
@@ -59,11 +59,12 @@ The playable Java performance packs remain available during development.
## Completion criteria and playable builds
The final deliverable is the complete Horizon Rust game with one-to-one parity
with pinned Java Edition 26.3, plus playable builds for **macOS, Linux and
Windows** that the user can download and test. Each platform must include a
packaged native executable, required runtime resources, launch instructions,
artifact checksums, and the tested OS/CPU/GPU configuration. The existing M2 Pro
Mac is the first physical macOS target.
with pinned Java Edition 26.3, plus playable builds for **macOS and Linux** that the user can download and
test. Windows is out of scope. Each platform must include a packaged native
executable, required runtime resources, launch instructions, artifact checksums,
and the tested OS/CPU/GPU configuration. The existing M2 Pro Mac is the first
physical macOS target; the Ubuntu 26.04 desktop (Intel i7-13700KF, NVIDIA RTX
4080, GNOME on Wayland) is the first physical Linux target.
A platform is complete only after its packaged Rust game is launched and tested:
create/load a world, render terrain, use keyboard/mouse controls, move and interact,
@@ -1219,7 +1220,7 @@ This component assumes immutable registered defaults with no modifiers; the
exporter verifies that assumption. Mutable custom suppliers and their internal
caches use the separate generic storage interfaces. Combined entity health and
dimension consequences, full gameplay, save/network codecs and playable native
macOS, Linux and Windows builds remain unfinished.
macOS and Linux builds remain unfinished.
The production health binding now accepts the live component through computed
attribute queries. Healing, health and base absorption limits, synchronized
@@ -1284,6 +1285,6 @@ The registered factories have no world access; the exporter verifies their
inherited implementation and captured arguments. This permits an immutable map
traversal during particle creation. Custom impure factories remain outside this
binding. Rendering, transport, full entity lifecycle integration and playable
macOS, Linux and Windows gameplay remain unfinished. In this pinned version,
macOS and Linux gameplay remain unfinished. In this pinned version,
`LivingEntity.updateDataBeforeSync` invokes dirty effect synchronization; it is a
separate phase from `tickEffects`.