Skip to content

Launcher imports and exports, world datapacks and maps, one side panel layout - #2

Merged
benjaminbrtrd merged 32 commits into
mainfrom
feat/launcher-imports-exports-and-more
Nov 13, 2026
Merged

benjaminbrtrd merged 32 commits into
mainfrom
feat/launcher-imports-exports-and-more

Conversation

@benjaminbrtrd

Copy link
Copy Markdown
Owner

New features

  • Automatic memory: a new setting, on by default, gives each instance the memory its mods need (2 GB for Vanilla, up to 8 GB for big modpacks, never more than half of the computer's memory). An instance's own value still wins.
  • Datapacks per world: turn them on and off, add them from files, and a Discover › Datapacks page that installs into a chosen world.
  • Mod updates: review the changelogs before Update all, and Undo last update puts the previous files back.
  • Export an instance as a .mrpack or a CurseForge .zip.
  • Import from MultiMC, PolyMC, CurseForge, ATLauncher, GDLauncher, the Modrinth App and the Minecraft Launcher.
  • Shared settings: copy key bindings, options or the server list from another instance.
  • Desktop shortcuts that start an instance.
  • World map around the spawn, including Minecraft 26.1+ worlds (new region folder, spawn.pos, plain names in chunk palettes).
  • Discord Rich Presence, when built with CUBBY_DISCORD_CLIENT_ID.
  • Window size and position are remembered (tauri-plugin-window-state).

Interface

  • Every side panel but the Library's follows one layout (Inspector* components, styles/inspector.css): eyebrow, head, one status line, a primary action, secondary actions in two equal columns, sections, details, and the destructive action at the bottom.
  • Messages of the day are drawn like the game's server list (colours, styles, shadow, centred lines). The ping now keeps the § codes and JSON component colours.
  • Server rows line up their status, players, ping and instance in fixed columns, and stay on one line in narrow places.

Fixes

  • World icons and screenshots didn't show on macOS: the asset protocol refused files under .minecraft.
  • The crash screen names two mods the Fabric loader says don't work together (Sodium / Iris).
  • Side panel buttons no longer stick out of the panel; the big map fits its dialog.
  • The NBT writer wrote int arrays back empty (servers.dat).
  • In development, a hot reload no longer creates a second app state (dead links, missing account).

Checks

cargo test --workspace, cargo clippy --workspace --all-targets (no warnings), npm run check and npm test pass. Screens were checked with the sample data and partly in the desktop app on macOS. Not tested with a real Discord client; export, import, shortcuts and copied settings were only tried with sample data.

🤖 Generated with Claude Code

benjaminbrtrd and others added 30 commits November 8, 2026 17:52
A new global setting, on by default, gives each instance 2 GB for Vanilla and up to 8 GB for big
modpacks, never more than half of the computer's memory. An instance's own value still wins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…or Modrinth (backend)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Updates now record which old file became which new one next to the backup of the old files.
Undo puts the old files back and moves the new ones to the instance's trash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Files Modrinth or CurseForge know are listed for download (CurseForge by fingerprint, with an API
key); the rest and the chosen folders (config, options.txt...) are stored in overrides/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cher, the Modrinth App and the Minecraft Launcher

The import dialog now lists every launcher found in its usual folders, next to Prism Launcher.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A cubby://play/<id> link starts the instance; the shortcut is a .url on Windows, a .desktop file on
Linux and a small app on macOS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reads the region files (Minecraft 1.13 and newer), colours the top block of each column and shades it
by height. The PNG is kept in the instance folder until the world changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A small IPC client talks to the Discord app on the same computer. It needs a Discord application id
at build time (CUBBY_DISCORD_CLIENT_ID); players can turn it off in Settings › Game.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The asset protocol refused files under .minecraft on macOS and Linux (hidden folder): world icons and
  screenshots didn't show.
- Mod panel: actions right under the status, changelog as plain text with links reduced to their text,
  four lines with a button for the rest, and separate tags for on/off and update available.
- Datapack buttons wrap inside the world panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The equal-halves grid let long labels overflow the panel (Find on Modrinth / Add from file). They now share
the row when they fit, and take a row each when they don't.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"Mod 'Sodium' is incompatible with version 1.11.7 or earlier of mod 'Iris'" is now a conflict naming
both, with the versions, and offers to update the other mod or undo the last update when it touched
one of them. Log entries that hold several lines are read line by line. First UI tests: npm test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Datapacks get their own Discover tab and project pages; installing asks for the instance and the world.
Find on Modrinth in the Worlds tab opens it set to that world, instead of a search dialog. Also fixes
See the full page in Discover's install dialog, which read the project after closing it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Inspector components and styles (eyebrow, head with one status line, actions in two equal columns, sections,
details, notices, the destructive action at the bottom). The old global rules that pushed side panel buttons
to the right are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Backups, map and datapacks are sections with their action in the title row; the version warning and the
running game note are notices; Delete world, Delete and Remove sit at the bottom.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n the shared layout

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…model; French text

Same spacing, section titles, details and action grid as the other side panels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since 26.1 the overworld's regions are in dimensions/minecraft/overworld/region, the spawn is
Data.spawn.pos (an int array), and a block without properties is written in the chunk palette as its
bare name. The map looked in the old places and drew nothing. Int arrays are now kept by the NBT reader
and written back as they were (servers.dat).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d window size

- The ping keeps the message of the day's colours and styles (`§` codes, JSON components with named or hex
  colours); a Motd component draws it like the game's server list, spaces and shadow included.
- Server rows put the status, players, ping and instance in fixed columns.
- Server panel: Move up and Move down are actions, the version is plain text that fits the panel.
- The window reopens at the size and place it had (tauri-plugin-window-state).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…p fits its dialog

- A message line that starts with spaces was centred by the server for the game's font: it is trimmed and
  centred instead of being pushed to the right and cut.
- Server rows narrower than 820px (Overview) keep status, players, ping and Join on one line.
- The big map is never wider or taller than its dialog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A hot reload of the state module, or of a module it imports such as a catalog of texts, made a second state:
screens it reloaded showed no account and their links navigated a state the window didn't show.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On Windows the named pipe has no timeouts, so the import was unused and
Clippy failed with -D warnings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
benjaminbrtrd and others added 2 commits November 8, 2026 18:04
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README keeps the essentials: links, badges, features, screenshots,
building and license. The release steps move to CONTRIBUTING.md.

The screenshots come from the desktop app with real Modrinth content and
a world generated by the official server, instead of the sample data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benjaminbrtrd
benjaminbrtrd merged commit 2331c24 into main Nov 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant