[PR #4579] [MERGED] Import resource packs with modpacks #5705

Closed
opened 2026-11-03 05:14:27 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4579
Author: @gravitacia
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @levzzz5154

Base: main ← Head: codex/roadmap-resource-packs


📝 Commits (5)

  • 6fa052b Carry embedded and instance resource packs into imports
  • f7dc8dd Fetch indexed resource packs and report carry-over outcomes
  • 574c600 Use imported resource packs in launcher profiles
  • 9f2a443 Merge remote-tracking branch 'hr/main' into fix/pr-4579
  • b499251 Resource packs: a bad pack never blocks import or launch; hard-link fallback for downloads

📊 Changes

14 files changed (+1287 additions, -44 deletions)

View changed files

📝 ROADMAP.md (+2 -2)
📝 crates/horizon-port-pack/src/fetch.rs (+71 -12)
📝 crates/horizon-port-pack/src/import.rs (+11 -6)
📝 crates/horizon-port-pack/src/lib.rs (+1 -0)
📝 crates/horizon-port-pack/src/pipeline.rs (+8 -2)
📝 crates/horizon-port-pack/src/report.rs (+41 -1)
➕ crates/horizon-port-pack/src/resourcepacks.rs (+566 -0)
➕ crates/horizon-port-pack/src/resourcepacks/tests.rs (+413 -0)
📝 docs/modpacks.md (+23 -0)
📝 launcher/src/browser/horizon/pack.rs (+2 -1)
📝 launcher/src/modpacks.rs (+121 -6)
📝 launcher/src/modpacks_page.rs (+24 -7)
📝 roadmap/roadmap.json (+2 -2)
📝 roadmap/roadmap.toml (+2 -5)

📄 Description

Adds resource-pack import from Modrinth and CurseForge archives and installed instances. ZIP and directory packs are copied into the modpack’s own profile, with client overrides taking precedence.

Existing packs and user edits are preserved, and conflicts are reported instead of overwriting files. Profiles containing only resource packs can now launch. Players enable packs through the usual Resource Packs screen.

Import and profile tests pass, along with pr_ready. Visual testing is still pending.


🔄 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/pull/4579 **Author:** [@gravitacia](https://github.com/gravitacia) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `codex/roadmap-resource-packs` --- ### 📝 Commits (5) - [`6fa052b`](https://github.com/horizon-rust/horizon/commit/6fa052b4e06174572011182ad8a7f3cc75c1546d) Carry embedded and instance resource packs into imports - [`f7dc8dd`](https://github.com/horizon-rust/horizon/commit/f7dc8dd714427e400075bfa77dd8a10a3ff95e3a) Fetch indexed resource packs and report carry-over outcomes - [`574c600`](https://github.com/horizon-rust/horizon/commit/574c6005519a72c824c110c992fbe4e41c656429) Use imported resource packs in launcher profiles - [`9f2a443`](https://github.com/horizon-rust/horizon/commit/9f2a4433ecd5d043853ab953b9c2a1214ee1e336) Merge remote-tracking branch 'hr/main' into fix/pr-4579 - [`b499251`](https://github.com/horizon-rust/horizon/commit/b499251187ac40a260e4d080986ef66663e9584d) Resource packs: a bad pack never blocks import or launch; hard-link fallback for downloads ### 📊 Changes **14 files changed** (+1287 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `ROADMAP.md` (+2 -2) 📝 `crates/horizon-port-pack/src/fetch.rs` (+71 -12) 📝 `crates/horizon-port-pack/src/import.rs` (+11 -6) 📝 `crates/horizon-port-pack/src/lib.rs` (+1 -0) 📝 `crates/horizon-port-pack/src/pipeline.rs` (+8 -2) 📝 `crates/horizon-port-pack/src/report.rs` (+41 -1) ➕ `crates/horizon-port-pack/src/resourcepacks.rs` (+566 -0) ➕ `crates/horizon-port-pack/src/resourcepacks/tests.rs` (+413 -0) 📝 `docs/modpacks.md` (+23 -0) 📝 `launcher/src/browser/horizon/pack.rs` (+2 -1) 📝 `launcher/src/modpacks.rs` (+121 -6) 📝 `launcher/src/modpacks_page.rs` (+24 -7) 📝 `roadmap/roadmap.json` (+2 -2) 📝 `roadmap/roadmap.toml` (+2 -5) </details> ### 📄 Description Adds resource-pack import from Modrinth and CurseForge archives and installed instances. ZIP and directory packs are copied into the modpack’s own profile, with client overrides taking precedence. Existing packs and user edits are preserved, and conflicts are reported instead of overwriting files. Profiles containing only resource packs can now launch. Players enable packs through the usual Resource Packs screen. Import and profile tests pass, along with `pr_ready`. Visual testing is still pending. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:27 +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#5705
No description provided.