[PR #26] [MERGED] Zoom, FPS Counter, Keystrokes and Minimap turn native (2.0.0, Nightly 6f8c7a0) #34

Closed
opened 2026-11-03 04:02:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon-mods/pull/26
Author: @ludovic111
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @ludovic111

Base: main ← Head: feat/official-mods-native


📝 Commits (1)

  • 7b22747 Zoom, FPS Counter, Keystrokes and Minimap turn native (2.0.0)

📊 Changes

14 files changed (+75 additions, -19 deletions)

View changed files

📝 README.md (+1 -1)
📝 mods/fps_overlay.toml (+15 -2)
📝 mods/keystrokes.toml (+15 -2)
📝 mods/minimap.toml (+15 -2)
📝 mods/zoom.toml (+15 -2)
📝 native/fps-overlay/compatibility.json (+1 -1)
📝 native/fps-overlay/mixins/fps_overlay/horizon-mixin.toml (+1 -1)
📝 native/keystrokes/compatibility.json (+1 -1)
📝 native/keystrokes/mixins/keystrokes/horizon-mixin.toml (+1 -1)
📝 native/minimap/compatibility.json (+1 -1)
📝 native/minimap/mixins/minimap/horizon-mixin.toml (+1 -1)
📝 native/tools/native.py (+6 -2)
📝 native/zoom/compatibility.json (+1 -1)
📝 native/zoom/mixins/zoom/horizon-mixin.toml (+1 -1)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

The four official mods that need only the native hook points v1 switch to native-mod: Zoom, FPS Counter, Keystrokes, Minimap. Each gets a 2.0.0 .hnmod built from native/<name>/, pinned to Nightly 6f8c7a0 (nightly-source/2026-10-28-6f8c7a0). That is the first Nightly with hook points v1 (horizon-rust/horizon#3346, which includes the on/off from Options > Mods).

  • Players keep their mods and settings. Each 1.0.0 .hmod stays published, but the index lists only 2.0.0 (horizon#3321).
    • The launcher's update keeps a player's installed .hmod until a native build has the mod. Removing the mod removes both.
    • 2.0.0 reads the same settings files and keys as 1.0.0.
  • Recipes isn't in this PR. It needs hook points v2 (horizon#3434 and #3435). It stays pinned to 8f91683 until a Nightly ships them, then switches in its own PR.
  • native.py: without --horizon, mods pinned to different commits now build on the pin of the mods that need the most hook points. That's the launcher's rule, and each mod's need is still checked. So together checks all five without --horizon: here that is 8f91683.
  • README: Recipes is added to the list of native mods.

Repository variable HORIZON_REV (changed, with the orchestrator's approval)

The registry checks (check.yml) and publish.yml install cargo-horizon-mod at this commit.

Value
Old 9239089b76846ad61400b0946732f1298961cac9
New 6f8c7a0e5d531d3834c4d0be4659a1db8e7e5c2a (the same Nightly)

Why: the old tool refuses this PR. Tested locally with the tool built at each commit:

  • review: its kind can't change (×4);
  • check: unknown field `hooks` (×4);
  • build: fails the same way.

The old tool has neither horizon#3321 (an entry may turn native once) nor the hooks field.

Before changing the variable I checked that the new tool still accepts every entry already on main:

  • registry check with an empty base, so all 10 entries on main are checked as new: exit 0. That includes 9 sandbox trial runs, all ok.
  • registry build main: exit 0, 10 projects.

Files (in the staging prerelease as <sha256>.hnmod)

Entry File Size SHA-256
zoom zoom-2.0.0.hnmod 5886 49fa2d7d635225c53304fbf1477606c0677eb23d94dac75b730f6c3ba065f127
fps_overlay fps_overlay-2.0.0.hnmod 4647 bedb670e2490ce8239906c86eabd3a0c131ef5037b2937607231bdbdba38c171
keystrokes keystrokes-2.0.0.hnmod 5999 bed34d2f8049e92c52cd7c91c0c4c8c9d165faaf0183500cf4021d9e04783a7d
minimap minimap-2.0.0.hnmod 4859 6f5dbca0699562b088a04b3f5abdc1b7faf8da51257a96da0a4ed639c6644ed9

Each holds horizon-native.json (hooks: 1, horizon: 6f8c7a0…, mixins: 0d6b103…) plus the bundle's .rs and .toml files. They're made by native.py package from this branch's native/<name>/, deterministically.

Checks (Mac mini)

  • With the new tool, on this branch:
    • fetch.sh gets all 14 files (the four new ones from staging);
    • registry review, check and build all exit 0;
    • the index lists the four as native-mod with only 2.0.0.
  • native.py check zoom fps-overlay keystrokes minimap on 6f8c7a0: ok. native.py check all (five mods, on 8f91683): ok.
  • Proofs on 6f8c7a0 with horizon-ctl --offscreen and fresh data folders, one mod per build:
Mod Result
zoom ok: zooms (diff 28.0; unbound key 1.2), the wheel keeps the slot while held, settings stored
fps_overlay ok: Corner moves the box (diff 42.5 / 32.9), corner file written
keystrokes ok: diff 36.2 / 15.4, corner = top_left
minimap ok: diff 32.2 / 37.5, corner = top_left

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon-mods/pull/26 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/official-mods-native` --- ### 📝 Commits (1) - [`7b22747`](https://github.com/horizon-rust/horizon-mods/commit/7b2274734565232cb8b736a380ac063fa1ae47de) Zoom, FPS Counter, Keystrokes and Minimap turn native (2.0.0) ### 📊 Changes **14 files changed** (+75 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `mods/fps_overlay.toml` (+15 -2) 📝 `mods/keystrokes.toml` (+15 -2) 📝 `mods/minimap.toml` (+15 -2) 📝 `mods/zoom.toml` (+15 -2) 📝 `native/fps-overlay/compatibility.json` (+1 -1) 📝 `native/fps-overlay/mixins/fps_overlay/horizon-mixin.toml` (+1 -1) 📝 `native/keystrokes/compatibility.json` (+1 -1) 📝 `native/keystrokes/mixins/keystrokes/horizon-mixin.toml` (+1 -1) 📝 `native/minimap/compatibility.json` (+1 -1) 📝 `native/minimap/mixins/minimap/horizon-mixin.toml` (+1 -1) 📝 `native/tools/native.py` (+6 -2) 📝 `native/zoom/compatibility.json` (+1 -1) 📝 `native/zoom/mixins/zoom/horizon-mixin.toml` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. The four official mods that need only the native hook points v1 switch to `native-mod`: Zoom, FPS Counter, Keystrokes, Minimap. Each gets a 2.0.0 `.hnmod` built from `native/<name>/`, pinned to **Nightly `6f8c7a0`** (`nightly-source/2026-10-28-6f8c7a0`). That is the first Nightly with hook points v1 (horizon-rust/horizon#3346, which includes the on/off from Options > Mods). - **Players keep their mods and settings.** Each 1.0.0 `.hmod` stays published, but the index lists only 2.0.0 (horizon#3321). - The launcher's update keeps a player's installed `.hmod` until a native build has the mod. Removing the mod removes both. - 2.0.0 reads the same settings files and keys as 1.0.0. - **Recipes isn't in this PR.** It needs hook points v2 (horizon#3434 and #3435). It stays pinned to `8f91683` until a Nightly ships them, then switches in its own PR. - **`native.py`:** without `--horizon`, mods pinned to different commits now build on the pin of the mods that need the most hook points. That's the launcher's rule, and each mod's need is still checked. So `together` checks all five without `--horizon`: here that is `8f91683`. - **README:** Recipes is added to the list of native mods. ## Repository variable `HORIZON_REV` (changed, with the orchestrator's approval) The registry checks (`check.yml`) and `publish.yml` install `cargo-horizon-mod` at this commit. | | Value | |---|---| | Old | `9239089b76846ad61400b0946732f1298961cac9` | | New | `6f8c7a0e5d531d3834c4d0be4659a1db8e7e5c2a` (the same Nightly) | Why: the old tool refuses this PR. Tested locally with the tool built at each commit: - `review`: `its kind can't change` (×4); - `check`: ``unknown field `hooks` `` (×4); - `build`: fails the same way. The old tool has neither horizon#3321 (an entry may turn native once) nor the `hooks` field. Before changing the variable I checked that the new tool still accepts every entry already on main: - `registry check` with an empty base, so all 10 entries on main are checked as new: exit 0. That includes 9 sandbox trial runs, all ok. - `registry build main`: exit 0, 10 projects. ## Files (in the `staging` prerelease as `<sha256>.hnmod`) | Entry | File | Size | SHA-256 | |---|---|---|---| | zoom | zoom-2.0.0.hnmod | 5886 | `49fa2d7d635225c53304fbf1477606c0677eb23d94dac75b730f6c3ba065f127` | | fps_overlay | fps_overlay-2.0.0.hnmod | 4647 | `bedb670e2490ce8239906c86eabd3a0c131ef5037b2937607231bdbdba38c171` | | keystrokes | keystrokes-2.0.0.hnmod | 5999 | `bed34d2f8049e92c52cd7c91c0c4c8c9d165faaf0183500cf4021d9e04783a7d` | | minimap | minimap-2.0.0.hnmod | 4859 | `6f5dbca0699562b088a04b3f5abdc1b7faf8da51257a96da0a4ed639c6644ed9` | Each holds `horizon-native.json` (`hooks: 1`, `horizon: 6f8c7a0…`, `mixins: 0d6b103…`) plus the bundle's `.rs` and `.toml` files. They're made by `native.py package` from this branch's `native/<name>/`, deterministically. ## Checks (Mac mini) - With the new tool, on this branch: - `fetch.sh` gets all 14 files (the four new ones from staging); - `registry review`, `check` and `build` all exit 0; - the index lists the four as `native-mod` with only 2.0.0. - `native.py check zoom fps-overlay keystrokes minimap` on 6f8c7a0: ok. `native.py check all` (five mods, on 8f91683): ok. - Proofs on 6f8c7a0 with `horizon-ctl --offscreen` and fresh data folders, one mod per build: | Mod | Result | |---|---| | zoom | ok: zooms (diff 28.0; unbound key 1.2), the wheel keeps the slot while held, settings stored | | fps_overlay | ok: Corner moves the box (diff 42.5 / 32.9), `corner` file written | | keystrokes | ok: diff 36.2 / 15.4, `corner` = top_left | | minimap | ok: diff 32.2 / 37.5, `corner` = top_left | 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:02:43 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon-mods#34
No description provided.