[GH-ISSUE #434] [Launcher] Prepare without the official Minecraft launcher (Prism, MultiMC, Modrinth, or a direct download for signed-in owners) #122

Closed
opened 2026-11-02 15:36:34 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/434

Reported by rdbt on Discord (2026-10-15): on Arch, the official Minecraft launcher crashes ("Service Crash: minecraft-launcher has encountered a fatal error"), so there is no way to get the 26.3 files Horizon prepares from. Prism Launcher and others keep them in a different layout, which Horizon doesn't read. Related: #419 (the "No files found" error doesn't explain any of this).

Today launcher/src/backend.rs (preparer) only accepts the official launcher's layout: <minecraft dir>/versions/26.3/26.3.json and 26.3.jar.

Wanted, in order:

  1. Find the files in other launchers. Detect Prism / MultiMC (libraries/com/mojang/minecraft/<v>/minecraft-<v>-client.jar + meta/net.minecraft/<v>.json), Modrinth App (meta/versions/<v>/), ATLauncher, GDLauncher, and accept them in "choose another folder". The version json format differs (Prism's meta vs Mojang's): read what horizon-prepare needs from either.
  2. Download for a signed-in owner. The launcher already signs in with Microsoft and checks the mcstore entitlement (account.rs). For an owner, fetch the 26.3 version json and client jar from Mojang's piston-meta, verify the sha1, and keep them in Horizon's own data dir, the way third-party launchers do. Nothing is committed or shipped by us; it's the player's download.
  3. Errors that say what to do (#419): which folders were checked, and the options above.

Not wanted: shipping any Mojang file, or a crack path; ownership stays required.

Originally created by @ludovic111 on GitHub (Oct 15, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/434 Reported by rdbt on Discord (2026-10-15): on Arch, the official Minecraft launcher crashes ("Service Crash: minecraft-launcher has encountered a fatal error"), so there is no way to get the 26.3 files Horizon prepares from. Prism Launcher and others keep them in a different layout, which Horizon doesn't read. Related: #419 (the "No files found" error doesn't explain any of this). Today `launcher/src/backend.rs` (`preparer`) only accepts the official launcher's layout: `<minecraft dir>/versions/26.3/26.3.json` and `26.3.jar`. Wanted, in order: 1. **Find the files in other launchers.** Detect Prism / MultiMC (`libraries/com/mojang/minecraft/<v>/minecraft-<v>-client.jar` + `meta/net.minecraft/<v>.json`), Modrinth App (`meta/versions/<v>/`), ATLauncher, GDLauncher, and accept them in "choose another folder". The version json format differs (Prism's meta vs Mojang's): read what horizon-prepare needs from either. 2. **Download for a signed-in owner.** The launcher already signs in with Microsoft and checks the `mcstore` entitlement (`account.rs`). For an owner, fetch the 26.3 version json and client jar from Mojang's piston-meta, verify the sha1, and keep them in Horizon's own data dir, the way third-party launchers do. Nothing is committed or shipped by us; it's the player's download. 3. **Errors that say what to do** (#419): which folders were checked, and the options above. Not wanted: shipping any Mojang file, or a crack path; ownership stays required.
bsakaguchi 2026-11-02 15:36:34 +07:00
Author
Owner

@ludovic111 commented on GitHub (Oct 15, 2026):

Claimed by ludovic on Discord (GitHub: ludovic111), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #434).

<!-- gh-comment-id:6203417133 --> @ludovic111 commented on GitHub (Oct 15, 2026): Claimed by `ludovic` on Discord (GitHub: `ludovic111`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #434). <!-- kira:work -->
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#122
No description provided.