[PR #21] [MERGED] Horizon's native mods: one folder each in native/, with their history and CI #29

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

📋 Pull Request Information

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

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


📝 Commits (10+)

  • 647fa37 Native mod: zoom on Horizon's native hook points
  • d1fed6c Native mod: fps-overlay on Horizon's native hook points
  • 3448e18 Native mod: keystrokes on Horizon's native hook points
  • 6ca0d02 Native mod: minimap on Horizon's native hook points
  • 59ab4e8 Build on any Horizon whose hook points are at least the ones it needs
  • 1a48aa2 Build on any Horizon whose hook points are at least the ones it needs
  • d4beb82 Build on any Horizon whose hook points are at least the ones it needs
  • a683d6c Build on any Horizon whose hook points are at least the ones it needs
  • 5cfb57f Proof: check the screen once more after the last Esc
  • 1c69d4f Proof: check the screen once more after the last Esc

📊 Changes

55 files changed (+2270 additions, -0 deletions)

View changed files

➕ .github/workflows/native.yml (+117 -0)
📝 .gitignore (+2 -0)
📝 README.md (+20 -0)
➕ native/fps-overlay/Cargo.lock (+7 -0)
➕ native/fps-overlay/Cargo.toml (+11 -0)
➕ native/fps-overlay/LICENSE (+21 -0)
➕ native/fps-overlay/README.md (+43 -0)
➕ native/fps-overlay/compatibility.json (+8 -0)
➕ native/fps-overlay/mixins/fps_overlay/click.rs (+13 -0)
➕ native/fps-overlay/mixins/fps_overlay/horizon-mixin.toml (+57 -0)
➕ native/fps-overlay/mixins/fps_overlay/hud.rs (+23 -0)
➕ native/fps-overlay/mixins/fps_overlay/list.rs (+10 -0)
➕ native/fps-overlay/mixins/fps_overlay/runtime.rs (+133 -0)
➕ native/fps-overlay/mixins/fps_overlay/settings.rs (+9 -0)
➕ native/fps-overlay/proof.py (+39 -0)
➕ native/keystrokes/Cargo.lock (+7 -0)
➕ native/keystrokes/Cargo.toml (+11 -0)
➕ native/keystrokes/LICENSE (+21 -0)
➕ native/keystrokes/README.md (+43 -0)
➕ native/keystrokes/compatibility.json (+8 -0)

...and 35 more files

📄 Description

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

Horizon's four official native mods (zoom, fps-overlay, keystrokes, minimap) were one repo each (horizon-rust/horizon-mod-<name>). They move here, one folder each, as decided by the maintainer.

  • native/<name>/: each mod's crate, mixin bundle, compatibility.json, README and proof.py, added with git subtree add, so each repo's history is kept (git log -- native/zoom).
  • native/tools/native.py (shared): check | build | package | proof <mods…>. all names every mod. Several mods are applied together, as a player's set is. Everything builds under native/target/.
  • .github/workflows/native.yml runs only when native/** changes:
    • each changed folder: fmt, clippy, tests, the packaged .hnmod and what it holds, and the game with the mod applied (cargo check) on its pinned Horizon;
    • every mod together;
    • every Monday, all of them on the newest Nightly (the old repos' drift job), and on demand (workflow_dispatch, any Horizon commit).
  • All four are pinned to Horizon 1149c92 (hook points v1, horizon-rust/horizon#3346), built with horizon-mixins 0d6b103 (the launcher's default from horizon-rust/horizon#3361; 0.5.0 plus optional public support modules).
  • README: the layout table and a "Horizon's native mods" section.

The index entries (mods/*.toml) don't change here: they still ship the WebAssembly versions. Separate PRs turn them into native-mod entries, with source pointing at native/<name>, once the hook points are in a release.

The old repos are left untouched; the maintainer deletes them once this is merged and checked.

Checked locally (Mac mini):

  • native.py check all on 1149c92, with horizon-mixins 0500ff2 and again with 0d6b103: ok (18 injections; the game compiles with all four applied).
  • package all: 4 .hnmod files.
  • cargo test in each folder: passes.
  • The offscreen proofs (horizon-ctl, fresh temp homes) were run per mod before the move and passed. Since then the tools only moved, and proof.py is loaded the same way.

🤖 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/21 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/native-official-mods` --- ### 📝 Commits (10+) - [`647fa37`](https://github.com/horizon-rust/horizon-mods/commit/647fa375e60b5f3c54fcf8b5e584e0a66a995221) Native mod: zoom on Horizon's native hook points - [`d1fed6c`](https://github.com/horizon-rust/horizon-mods/commit/d1fed6cd563aa82657eb1eef94a879387e9eceff) Native mod: fps-overlay on Horizon's native hook points - [`3448e18`](https://github.com/horizon-rust/horizon-mods/commit/3448e187ca1721a4b1dbe9265d631e77c79b28af) Native mod: keystrokes on Horizon's native hook points - [`6ca0d02`](https://github.com/horizon-rust/horizon-mods/commit/6ca0d024068e9d3e861da608cacf946080985dfa) Native mod: minimap on Horizon's native hook points - [`59ab4e8`](https://github.com/horizon-rust/horizon-mods/commit/59ab4e8fe2588baf2f86af4ac32bfe8ca763dc17) Build on any Horizon whose hook points are at least the ones it needs - [`1a48aa2`](https://github.com/horizon-rust/horizon-mods/commit/1a48aa24dca702a41af7ca8484082de3e15ca4bc) Build on any Horizon whose hook points are at least the ones it needs - [`d4beb82`](https://github.com/horizon-rust/horizon-mods/commit/d4beb82c4c65cf3975af22c3e86a921ed74691d9) Build on any Horizon whose hook points are at least the ones it needs - [`a683d6c`](https://github.com/horizon-rust/horizon-mods/commit/a683d6c60f3c54c9991f8d0351e3755e48e61d1d) Build on any Horizon whose hook points are at least the ones it needs - [`5cfb57f`](https://github.com/horizon-rust/horizon-mods/commit/5cfb57fa2c68bb69dd3c8e6cfc3c9807e3332e90) Proof: check the screen once more after the last Esc - [`1c69d4f`](https://github.com/horizon-rust/horizon-mods/commit/1c69d4ffc922002cb7cc18e8040fd4a74635e2cf) Proof: check the screen once more after the last Esc ### 📊 Changes **55 files changed** (+2270 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/native.yml` (+117 -0) 📝 `.gitignore` (+2 -0) 📝 `README.md` (+20 -0) ➕ `native/fps-overlay/Cargo.lock` (+7 -0) ➕ `native/fps-overlay/Cargo.toml` (+11 -0) ➕ `native/fps-overlay/LICENSE` (+21 -0) ➕ `native/fps-overlay/README.md` (+43 -0) ➕ `native/fps-overlay/compatibility.json` (+8 -0) ➕ `native/fps-overlay/mixins/fps_overlay/click.rs` (+13 -0) ➕ `native/fps-overlay/mixins/fps_overlay/horizon-mixin.toml` (+57 -0) ➕ `native/fps-overlay/mixins/fps_overlay/hud.rs` (+23 -0) ➕ `native/fps-overlay/mixins/fps_overlay/list.rs` (+10 -0) ➕ `native/fps-overlay/mixins/fps_overlay/runtime.rs` (+133 -0) ➕ `native/fps-overlay/mixins/fps_overlay/settings.rs` (+9 -0) ➕ `native/fps-overlay/proof.py` (+39 -0) ➕ `native/keystrokes/Cargo.lock` (+7 -0) ➕ `native/keystrokes/Cargo.toml` (+11 -0) ➕ `native/keystrokes/LICENSE` (+21 -0) ➕ `native/keystrokes/README.md` (+43 -0) ➕ `native/keystrokes/compatibility.json` (+8 -0) _...and 35 more files_ </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Horizon's four official native mods (zoom, fps-overlay, keystrokes, minimap) were one repo each (`horizon-rust/horizon-mod-<name>`). They move here, one folder each, as decided by the maintainer. - `native/<name>/`: each mod's crate, mixin bundle, `compatibility.json`, README and `proof.py`, added with `git subtree add`, so each repo's history is kept (`git log -- native/zoom`). - `native/tools/native.py` (shared): `check | build | package | proof <mods…>`. `all` names every mod. Several mods are applied together, as a player's set is. Everything builds under `native/target/`. - `.github/workflows/native.yml` runs only when `native/**` changes: - each changed folder: fmt, clippy, tests, the packaged `.hnmod` and what it holds, and the game with the mod applied (`cargo check`) on its pinned Horizon; - every mod together; - every Monday, all of them on the newest Nightly (the old repos' drift job), and on demand (`workflow_dispatch`, any Horizon commit). - All four are pinned to Horizon `1149c92` (hook points v1, horizon-rust/horizon#3346), built with horizon-mixins `0d6b103` (the launcher's default from horizon-rust/horizon#3361; 0.5.0 plus optional public support modules). - README: the layout table and a "Horizon's native mods" section. The index entries (`mods/*.toml`) don't change here: they still ship the WebAssembly versions. Separate PRs turn them into `native-mod` entries, with `source` pointing at `native/<name>`, once the hook points are in a release. The old repos are left untouched; the maintainer deletes them once this is merged and checked. **Checked locally (Mac mini):** - `native.py check all` on 1149c92, with horizon-mixins 0500ff2 and again with 0d6b103: ok (18 injections; the game compiles with all four applied). - `package all`: 4 `.hnmod` files. - `cargo test` in each folder: passes. - The offscreen proofs (horizon-ctl, fresh temp homes) were run per mod before the move and passed. Since then the tools only moved, and `proof.py` is loaded the same way. 🤖 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:39 +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#29
No description provided.