[PR #40] [MERGED] classic_zoom 2.0.0: a native mod #48

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

📋 Pull Request Information

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

Base: main ← Head: classic-zoom-native


📝 Commits (1)

  • bbe01b5 classic_zoom 2.0.0: a native mod

📊 Changes

2 files changed (+17 additions, -2 deletions)

View changed files

➕ icons/classic_zoom.png (+0 -0)
📝 mods/classic_zoom.toml (+17 -2)

📄 Description

🤖 Written with my AI agent (Claude).

Classic Zoom 2.0.0 turns native, as asked in #36: kind = "native-mod", a new 2.0.0 version (classic_zoom-2.0.0.hnmod), and the 1.0.0 .hmod stays as it is. It also gets its icon in icons/classic_zoom.png.

Why by hand: the submit form can't change a project's kind yet.

The file needs staging. It's attached to the source's release:

The bundle follows native/zoom minus the settings page: a classic_zoom module plus HEAD helpers on native_key, native_wheel, native_zoom and native_mods (hooks 1). Same behaviour as 1.0.0: V by default, 3x, x1.1 per wheel step within 1x-10x, instant, slower turning, the wheel taken only while the key is held; the 1.0.0 key line key.classic_zoom.zoom carries over.

Checked locally:

  • cargo test: 2 passed (the zoom logic).
  • native.py check . on the pinned Horizon 6f8c7a0 with Horizon Mixins 0d6b103: "check": "ok" (RUSTFLAGS=-D warnings), and on the newest Nightly 5e391eb: "check": "ok".
  • native.py proof . (the built game driven with horizon-ctl --offscreen on temporary data, key moved to C in horizon-mods.txt): Options > Mods shows Classic Zoom 2.0.0: ON; V does nothing (screen difference 1.4), C zooms (29.3), the wheel zooms further while C is held (17.0) without moving the hotbar slot, letting go snaps back (4.3) and the wheel moves the slot again.
  • cargo horizon-mod registry review (Horizon main 4baa571): "classic_zoom: turns native; its .hmod versions stay published, and launchers keep the installed copies", 1 new version. registry check with the released file: "signature verified", no errors.

Not checked: building it together with Horizon's own native Zoom in one game (they use different keys and the zoom hook keeps the first mod's zoom).


🔄 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/40 **Author:** [@SU4G3](https://github.com/SU4G3) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `classic-zoom-native` --- ### 📝 Commits (1) - [`bbe01b5`](https://github.com/horizon-rust/horizon-mods/commit/bbe01b52ad9f9b2e62f178f88f820309a6c4ed82) classic_zoom 2.0.0: a native mod ### 📊 Changes **2 files changed** (+17 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `icons/classic_zoom.png` (+0 -0) 📝 `mods/classic_zoom.toml` (+17 -2) </details> ### 📄 Description > 🤖 Written with my AI agent (Claude). Classic Zoom 2.0.0 turns native, as asked in #36: `kind = "native-mod"`, a new `2.0.0` version (`classic_zoom-2.0.0.hnmod`), and the 1.0.0 `.hmod` stays as it is. It also gets its icon in `icons/classic_zoom.png`. **Why by hand:** the submit form can't change a project's kind yet. **The file needs staging.** It's attached to the source's release: - https://github.com/SU4G3/classic-zoom/releases/download/v2.0.0/classic_zoom-2.0.0.hnmod - SHA-256 `a8bdeba615ed31b9bd10280fcf8ba04a31935bc65fff429fc0e83d1c8090dac9`, 3 992 bytes, built from https://github.com/SU4G3/classic-zoom/tree/v2.0.0 (`python3 tools/native.py package .`, the vendored `native/tools/native.py`), signed with the entry's minisign key. **The bundle** follows `native/zoom` minus the settings page: a `classic_zoom` module plus HEAD helpers on `native_key`, `native_wheel`, `native_zoom` and `native_mods` (hooks 1). Same behaviour as 1.0.0: V by default, 3x, x1.1 per wheel step within 1x-10x, instant, slower turning, the wheel taken only while the key is held; the 1.0.0 key line `key.classic_zoom.zoom` carries over. **Checked locally:** - `cargo test`: 2 passed (the zoom logic). - `native.py check .` on the pinned Horizon `6f8c7a0` with Horizon Mixins `0d6b103`: `"check": "ok"` (`RUSTFLAGS=-D warnings`), and on the newest Nightly `5e391eb`: `"check": "ok"`. - `native.py proof .` (the built game driven with `horizon-ctl --offscreen` on temporary data, key moved to C in `horizon-mods.txt`): Options > Mods shows `Classic Zoom 2.0.0: ON`; V does nothing (screen difference 1.4), C zooms (29.3), the wheel zooms further while C is held (17.0) without moving the hotbar slot, letting go snaps back (4.3) and the wheel moves the slot again. - `cargo horizon-mod registry review` (Horizon main `4baa571`): "classic_zoom: turns native; its .hmod versions stay published, and launchers keep the installed copies", 1 new version. `registry check` with the released file: "signature verified", no errors. Not checked: building it together with Horizon's own native Zoom in one game (they use different keys and the zoom hook keeps the first mod's zoom). --- <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:49 +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#48
No description provided.