-
-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Labels
Description
Feature Request: Xaero's Minimap & World Map Integration with Shared Maps
Description
I'd like to propose adding integration for Xaero's Minimap and Xaero's World Map mods to allow shared map data across different modpacks. Currently, the launcher efficiently manages mods via hard links from a shared folder, and it would be great to extend this functionality to Xaero's map data.
Problem
Xaero's maps are stored per-world in folders named after saved servers. However:
- The same server might be saved under different names (e.g., due to reconnects or manual edits), creating duplicate map data.
- Maps aren’t easily accessible across different modpack instances, even if they reference the same server.
Proposed Solution
- Shared Maps Folder: Store Xaero's map data (
XaeroWorldMap
andXaeroMinimap
directories) in a global location (similar to the shared mods folder). - Symbolic/Hard Links: Use links (like with mods) to reference maps in modpack instances, avoiding duplicates.
- Server ID Matching: Instead of relying solely on folder names, detect when multiple instances point to the same server (e.g., via IP/hostname or server UUID) and reuse the same map data.
Benefits
- Saves disk space by preventing duplicate maps.
- Preserves exploration progress across modpacks when playing on the same server.
- Consistent with the launcher’s existing design for shared resources.
Additional Notes
- Some users might want per-instance maps (e.g., for different gameplay styles). A toggle in launcher settings could allow choosing between shared or isolated maps.
- If server matching is tricky, a manual "map profile" system (where users assign a server to a shared map set) could work as an alternative.
- Reference: Xaero's Minimap FAQ (section on file structure).
Copilot